browsermob-proxy 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/browsermob/proxy/client.rb +7 -7
- data/lib/browsermob/proxy/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10733afcc2b776e0a5bef4369436ccc1db174436
|
4
|
+
data.tar.gz: f4ca31c55c2a73816344951a31c2cdb47b11b8e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 485b20b18bc7771eff5836f2c45d6ad566d1bf2c5131c0fff900ff656a9ef3331cbcc5c4800b7922d55caa771a9389c8582a5fbd7d9bb73d03142887835eb5fc
|
7
|
+
data.tar.gz: f030b905d45673a987095c9f285028f93d10c6ca54b78b5d75cb21f78b6851a7a78bb2f0b0db2b5c85b404bad085db52aa9de50881f52bb5cdd150fe45eec0ac
|
@@ -116,6 +116,13 @@ module BrowserMob
|
|
116
116
|
@resource["auth/basic/#{domain}"].post data.to_json, :content_type => "application/json"
|
117
117
|
end
|
118
118
|
|
119
|
+
TIMEOUTS = {
|
120
|
+
request: :requestTimeout,
|
121
|
+
read: :readTimeout,
|
122
|
+
connection: :connectionTimeout,
|
123
|
+
dns_cache: :dnsCacheTimeout
|
124
|
+
}
|
125
|
+
|
119
126
|
#
|
120
127
|
# Specify timeouts that will be used by a proxy
|
121
128
|
# (see README of browsermob-proxy itself for more info about what they mean)
|
@@ -127,13 +134,6 @@ module BrowserMob
|
|
127
134
|
# @option timeouts [Numeric] :dns_cache dns cache timeout
|
128
135
|
#
|
129
136
|
|
130
|
-
TIMEOUTS = {
|
131
|
-
request: :requestTimeout,
|
132
|
-
read: :readTimeout,
|
133
|
-
connection: :connectionTimeout,
|
134
|
-
dns_cache: :dnsCacheTimeout
|
135
|
-
}
|
136
|
-
|
137
137
|
def timeouts(timeouts = {})
|
138
138
|
params = {}
|
139
139
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: browsermob-proxy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jari.bakken
|
@@ -201,3 +201,4 @@ 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:
|