browsermob-proxy 0.2.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +7 -4
- data/README.md +12 -2
- data/browsermob-proxy.gemspec +7 -7
- data/lib/browsermob/proxy/version.rb +1 -1
- metadata +11 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 114defa30b29402e5ecdc57bd8ad116a9fc210fd
|
4
|
+
data.tar.gz: f64a697e23451bee02901408d94f181d0a0f1a73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5456edda03236e69727c6f8b1a1196da132fe25e29efd8a68a87e7f2a06014fa01b6bea914a4621bfacf838f5af876c3396369d65009a122d0fc3b8d0416effd
|
7
|
+
data.tar.gz: 930cf704af1c451eff5f3ad3782fad77ffa550528eba1dd85c2d64e7c9dda1e3b663c95cca4f265124eb780ba6e664916632f563d26f9d59208711b46ae30f60
|
data/.travis.yml
CHANGED
@@ -1,12 +1,15 @@
|
|
1
1
|
rvm:
|
2
|
-
- 1.9.3
|
3
2
|
- 2.0.0
|
4
3
|
- 2.1.0
|
5
4
|
before_script:
|
6
5
|
- sudo apt-get install -y unzip
|
7
|
-
- curl -k -L -O https://
|
8
|
-
- unzip browsermob-proxy-2.
|
9
|
-
- export BROWSERMOB_PROXY_HOME=`pwd`/browsermob-proxy-2.
|
6
|
+
- curl -k -L -O https://github.com/lightbody/browsermob-proxy/releases/download/browsermob-proxy-2.1.4/browsermob-proxy-2.1.4-bin.zip
|
7
|
+
- unzip browsermob-proxy-2.1.4-bin.zip
|
8
|
+
- export BROWSERMOB_PROXY_HOME=`pwd`/browsermob-proxy-2.1.4
|
10
9
|
- sudo chmod +x $BROWSERMOB_PROXY_HOME/bin/browsermob-proxy
|
10
|
+
- wget https://github.com/mozilla/geckodriver/releases/download/v0.19.1/geckodriver-v0.19.1-linux64.tar.gz
|
11
|
+
- mkdir geckodriver
|
12
|
+
- tar -xzf geckodriver-v0.19.1-linux64.tar.gz -C geckodriver
|
13
|
+
- export PATH=$PATH:$PWD/geckodriver
|
11
14
|
- sh -e /etc/init.d/xvfb start
|
12
15
|
- export DISPLAY=:99
|
data/README.md
CHANGED
@@ -3,8 +3,15 @@ browsermob-proxy-rb
|
|
3
3
|
|
4
4
|
Ruby client for the BrowserMob Proxy 2.0 REST API.
|
5
5
|
|
6
|
-
|
6
|
+
NOTE: The BrowserMob Proxy is no longer actively maintained and has had no releases since 2016.
|
7
7
|
|
8
|
+
A [BrowserMob Proxy alternative](http://browserup.com/blog/announcement-an-actively-maintained-fork-of-the-browsermob-proxy/) is now
|
9
|
+
available in the [BrowserUp Proxy](https://github.com/browserup/browserup-proxy). The BrowserUp Proxy is an actively maintained fork of the BrowserMob proxy. It has added HTTP/2, Java 11, Brotli compression
|
10
|
+
support, and more. It is an API compatible drop-in replacement, so using it is just a matter of using the BrowserUp proxy binary instead.
|
11
|
+
|
12
|
+
The only compatibility exception is the deprecated legacy API.
|
13
|
+
|
14
|
+
This release of browsermob-proxy-rb should work with the binary for either the BrowserUp Proxy, or the BrowserMob Proxy.
|
8
15
|
|
9
16
|
How to use with selenium-webdriver
|
10
17
|
----------------------------------
|
@@ -64,6 +71,7 @@ The HAR gem includes a HAR viewer. After running the code above, you can view th
|
|
64
71
|
|
65
72
|
See also
|
66
73
|
--------
|
74
|
+
* https://github.com/browserup/browserup-proxy
|
67
75
|
|
68
76
|
* http://bmp.lightbody.net/
|
69
77
|
* https://github.com/lightbody/browsermob-proxy
|
@@ -82,7 +90,9 @@ Note on Patches/Pull Requests
|
|
82
90
|
Copyright
|
83
91
|
---------
|
84
92
|
|
85
|
-
Copyright 2011-
|
93
|
+
Copyright 2011-2019 Jari Bakken
|
94
|
+
|
95
|
+
Copyright 2019 Eric Beland
|
86
96
|
|
87
97
|
Licensed under the Apache License, Version 2.0 (the "License");
|
88
98
|
you may not use this file except in compliance with the License.
|
data/browsermob-proxy.gemspec
CHANGED
@@ -6,12 +6,12 @@ Gem::Specification.new do |s|
|
|
6
6
|
s.name = "browsermob-proxy"
|
7
7
|
s.version = BrowserMob::Proxy::VERSION
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
|
-
s.authors = ["
|
10
|
-
s.email = ["
|
11
|
-
s.homepage = "http://github.com/
|
12
|
-
s.summary = %q{Ruby client for the BrowserMob Proxy REST API}
|
13
|
-
s.description = %q{Ruby client for the BrowserMob Proxy REST API}
|
14
|
-
s.license = 'Apache'
|
9
|
+
s.authors = ["Eric Beland"]
|
10
|
+
s.email = ["ebeland@browserup.com"]
|
11
|
+
s.homepage = "http://github.com/browserup/browsermob-proxy-rb"
|
12
|
+
s.summary = %q{Ruby client for the BrowserMob and BrowserUp Proxy REST API}
|
13
|
+
s.description = %q{Ruby client for the BrowserMob and BrowserUp Proxy REST API}
|
14
|
+
s.license = 'Apache-2.0'
|
15
15
|
|
16
16
|
s.rubyforge_project = "browsermob-proxy-rb"
|
17
17
|
|
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.add_runtime_dependency "har"
|
22
22
|
|
23
23
|
s.add_development_dependency "rspec", "~> 2.0"
|
24
|
-
s.add_development_dependency "selenium-webdriver", "~>
|
24
|
+
s.add_development_dependency "selenium-webdriver", "~> 3.7"
|
25
25
|
s.add_development_dependency "rake", "~> 0.9.2"
|
26
26
|
s.add_development_dependency "rack", "~> 1.5"
|
27
27
|
s.add_development_dependency "puma"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: browsermob-proxy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Eric Beland
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '3.7'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '3.7'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rake
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,9 +136,9 @@ dependencies:
|
|
136
136
|
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
|
-
description: Ruby client for the BrowserMob Proxy REST API
|
139
|
+
description: Ruby client for the BrowserMob and BrowserUp Proxy REST API
|
140
140
|
email:
|
141
|
-
-
|
141
|
+
- ebeland@browserup.com
|
142
142
|
executables: []
|
143
143
|
extensions: []
|
144
144
|
extra_rdoc_files: []
|
@@ -166,9 +166,9 @@ files:
|
|
166
166
|
- spec/spec_helper.rb
|
167
167
|
- spec/unit/client_spec.rb
|
168
168
|
- spec/unit/webdriver_listener_spec.rb
|
169
|
-
homepage: http://github.com/
|
169
|
+
homepage: http://github.com/browserup/browsermob-proxy-rb
|
170
170
|
licenses:
|
171
|
-
- Apache
|
171
|
+
- Apache-2.0
|
172
172
|
metadata: {}
|
173
173
|
post_install_message:
|
174
174
|
rdoc_options: []
|
@@ -186,10 +186,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
186
186
|
version: '0'
|
187
187
|
requirements: []
|
188
188
|
rubyforge_project: browsermob-proxy-rb
|
189
|
-
rubygems_version: 2.
|
189
|
+
rubygems_version: 2.6.11
|
190
190
|
signing_key:
|
191
191
|
specification_version: 4
|
192
|
-
summary: Ruby client for the BrowserMob Proxy REST API
|
192
|
+
summary: Ruby client for the BrowserMob and BrowserUp Proxy REST API
|
193
193
|
test_files:
|
194
194
|
- spec/e2e/listener_spec.rb
|
195
195
|
- spec/e2e/selenium_spec.rb
|
@@ -201,4 +201,3 @@ test_files:
|
|
201
201
|
- spec/spec_helper.rb
|
202
202
|
- spec/unit/client_spec.rb
|
203
203
|
- spec/unit/webdriver_listener_spec.rb
|
204
|
-
has_rdoc:
|