browsermob-proxy 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +6 -0
- data/README.md +3 -2
- data/Rakefile +1 -1
- data/browsermob-proxy.gemspec +1 -0
- data/lib/browsermob/proxy/version.rb +1 -1
- data/spec/spec_helper.rb +5 -0
- metadata +121 -65
data/.travis.yml
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
# before_script:
|
2
|
+
# - sudo apt-get install -y unzip
|
3
|
+
# - curl -k -L -O https://github.com/downloads/webmetrics/browsermob-proxy/browsermob-proxy-2.0-beta-3-bin.zip
|
4
|
+
# - unzip browsermob-proxy-2.0-beta-3-bin.zip
|
5
|
+
# - ln -s ./browsermob-proxy-2.0-beta-3 /tmp/browsermob-proxy
|
6
|
+
# - sh -e /etc/init.d/xvfb start
|
data/README.md
CHANGED
@@ -3,6 +3,9 @@ browsermob-proxy-rb
|
|
3
3
|
|
4
4
|
Ruby client for the BrowserMob Proxy 2.0 REST API.
|
5
5
|
|
6
|
+
[![Build Status](https://secure.travis-ci.org/jarib/browsermob-proxy-rb.png)](http://travis-ci.org/jarib/browsermob-proxy-rb)
|
7
|
+
|
8
|
+
|
6
9
|
How to use with selenium-webdriver
|
7
10
|
----------------------------------
|
8
11
|
|
@@ -52,7 +55,6 @@ proxy.close
|
|
52
55
|
|
53
56
|
```
|
54
57
|
|
55
|
-
|
56
58
|
Viewing HARs
|
57
59
|
------------
|
58
60
|
|
@@ -60,7 +62,6 @@ The HAR gem includes a HAR viewer. After running the code above, you can view th
|
|
60
62
|
|
61
63
|
$ har /tmp/google.har
|
62
64
|
|
63
|
-
|
64
65
|
See also
|
65
66
|
--------
|
66
67
|
|
data/Rakefile
CHANGED
data/browsermob-proxy.gemspec
CHANGED
@@ -21,6 +21,7 @@ Gem::Specification.new do |s|
|
|
21
21
|
|
22
22
|
s.add_development_dependency "rspec", ">= 2.5.0"
|
23
23
|
s.add_development_dependency "selenium-webdriver", "~> 2.7"
|
24
|
+
s.add_development_dependency "rake", "~> 0.9.2"
|
24
25
|
|
25
26
|
s.files = `git ls-files`.split("\n")
|
26
27
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,90 +1,137 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: browsermob-proxy
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 5
|
10
|
+
version: 0.0.5
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- jari.bakken
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2011-10-10 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: rest-client
|
16
|
-
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
24
|
none: false
|
18
|
-
requirements:
|
19
|
-
- -
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 3
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
version: "0"
|
22
32
|
type: :runtime
|
23
|
-
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
26
35
|
name: childprocess
|
27
|
-
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
38
|
none: false
|
29
|
-
requirements:
|
30
|
-
- -
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
hash: 3
|
43
|
+
segments:
|
44
|
+
- 0
|
45
|
+
version: "0"
|
33
46
|
type: :runtime
|
34
|
-
|
35
|
-
|
36
|
-
- !ruby/object:Gem::Dependency
|
47
|
+
version_requirements: *id002
|
48
|
+
- !ruby/object:Gem::Dependency
|
37
49
|
name: json
|
38
|
-
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
39
52
|
none: false
|
40
|
-
requirements:
|
41
|
-
- -
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
hash: 3
|
57
|
+
segments:
|
58
|
+
- 0
|
59
|
+
version: "0"
|
44
60
|
type: :runtime
|
45
|
-
|
46
|
-
|
47
|
-
- !ruby/object:Gem::Dependency
|
61
|
+
version_requirements: *id003
|
62
|
+
- !ruby/object:Gem::Dependency
|
48
63
|
name: har
|
49
|
-
|
64
|
+
prerelease: false
|
65
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
50
66
|
none: false
|
51
|
-
requirements:
|
52
|
-
- -
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
hash: 3
|
71
|
+
segments:
|
72
|
+
- 0
|
73
|
+
version: "0"
|
55
74
|
type: :runtime
|
56
|
-
|
57
|
-
|
58
|
-
- !ruby/object:Gem::Dependency
|
75
|
+
version_requirements: *id004
|
76
|
+
- !ruby/object:Gem::Dependency
|
59
77
|
name: rspec
|
60
|
-
|
78
|
+
prerelease: false
|
79
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
61
80
|
none: false
|
62
|
-
requirements:
|
63
|
-
- -
|
64
|
-
- !ruby/object:Gem::Version
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
hash: 27
|
85
|
+
segments:
|
86
|
+
- 2
|
87
|
+
- 5
|
88
|
+
- 0
|
65
89
|
version: 2.5.0
|
66
90
|
type: :development
|
67
|
-
|
68
|
-
|
69
|
-
- !ruby/object:Gem::Dependency
|
91
|
+
version_requirements: *id005
|
92
|
+
- !ruby/object:Gem::Dependency
|
70
93
|
name: selenium-webdriver
|
71
|
-
|
94
|
+
prerelease: false
|
95
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
72
96
|
none: false
|
73
|
-
requirements:
|
97
|
+
requirements:
|
74
98
|
- - ~>
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
hash: 13
|
101
|
+
segments:
|
102
|
+
- 2
|
103
|
+
- 7
|
104
|
+
version: "2.7"
|
77
105
|
type: :development
|
106
|
+
version_requirements: *id006
|
107
|
+
- !ruby/object:Gem::Dependency
|
108
|
+
name: rake
|
78
109
|
prerelease: false
|
79
|
-
|
110
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
111
|
+
none: false
|
112
|
+
requirements:
|
113
|
+
- - ~>
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
hash: 63
|
116
|
+
segments:
|
117
|
+
- 0
|
118
|
+
- 9
|
119
|
+
- 2
|
120
|
+
version: 0.9.2
|
121
|
+
type: :development
|
122
|
+
version_requirements: *id007
|
80
123
|
description: Ruby client for the BrowserMob Proxy REST API
|
81
|
-
email:
|
124
|
+
email:
|
82
125
|
- jari.bakken@gmail.com
|
83
126
|
executables: []
|
127
|
+
|
84
128
|
extensions: []
|
129
|
+
|
85
130
|
extra_rdoc_files: []
|
86
|
-
|
131
|
+
|
132
|
+
files:
|
87
133
|
- .gitignore
|
134
|
+
- .travis.yml
|
88
135
|
- Gemfile
|
89
136
|
- LICENSE
|
90
137
|
- README.md
|
@@ -107,29 +154,38 @@ files:
|
|
107
154
|
- spec/unit/webdriver_listener_spec.rb
|
108
155
|
homepage: http://github.com/jarib/browsermob-proxy-rb
|
109
156
|
licenses: []
|
157
|
+
|
110
158
|
post_install_message:
|
111
159
|
rdoc_options: []
|
112
|
-
|
160
|
+
|
161
|
+
require_paths:
|
113
162
|
- lib
|
114
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
163
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
115
164
|
none: false
|
116
|
-
requirements:
|
117
|
-
- -
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
|
120
|
-
|
165
|
+
requirements:
|
166
|
+
- - ">="
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
hash: 3
|
169
|
+
segments:
|
170
|
+
- 0
|
171
|
+
version: "0"
|
172
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
121
173
|
none: false
|
122
|
-
requirements:
|
123
|
-
- -
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
|
174
|
+
requirements:
|
175
|
+
- - ">="
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
hash: 3
|
178
|
+
segments:
|
179
|
+
- 0
|
180
|
+
version: "0"
|
126
181
|
requirements: []
|
182
|
+
|
127
183
|
rubyforge_project: browsermob-proxy-rb
|
128
184
|
rubygems_version: 1.8.10
|
129
185
|
signing_key:
|
130
186
|
specification_version: 3
|
131
187
|
summary: Ruby client for the BrowserMob Proxy REST API
|
132
|
-
test_files:
|
188
|
+
test_files:
|
133
189
|
- spec/e2e/listener_spec.rb
|
134
190
|
- spec/e2e/selenium_spec.rb
|
135
191
|
- spec/fixtures/1.html
|