browsermob-proxy 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 12560fbaf3be7cee85565cdafc44429b393a3ca6
4
- data.tar.gz: 2261e5b2be1871c539351af9b4cbd6a3beaa6591
3
+ metadata.gz: 10733afcc2b776e0a5bef4369436ccc1db174436
4
+ data.tar.gz: f4ca31c55c2a73816344951a31c2cdb47b11b8e3
5
5
  SHA512:
6
- metadata.gz: 45fbe33909820112dc59664407358a01ad7b7600fe25558ff8db3623ca4beb3c3a003c85aacdbb873376c64e05235621c267fd6361fdf3f3c4addd88079a773b
7
- data.tar.gz: 3d84b98806736425abefaebaf11e2805a80d4e02dff4aaa4c906b6395c5b6db457fba722e1fe2cba8b945d1f7f80fb7514a551e2f60556d46c7cfe9fa47892b0
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
 
@@ -1,5 +1,5 @@
1
1
  module BrowserMob
2
2
  module Proxy
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
4
4
  end
5
5
  end
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.5
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: