flipper-cloud 0.11.0.beta4 → 0.11.0.beta5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 35b32dfc86bd5320e6e9c71472ebc882c82c197b
4
- data.tar.gz: a2813c39e2b5ddddde7712ee88a48a3c4e14c919
3
+ metadata.gz: 69429bf4abe99db6b66e1186a93105882f513a04
4
+ data.tar.gz: cf7f5835c0411ffd5a652e2b6ff9a00f0c85ed0d
5
5
  SHA512:
6
- metadata.gz: 1632d38593bb9a06532729397948afb14539c00d72a636a79f2510ac501bb208159f7df87d9ed7a5d5da44c6efc79c0542ee29af6a27be644bb30544da71a761
7
- data.tar.gz: f1b34ba791300fd32c0747caf9744eb278c9caccf61663eb8abc17b28d0d9b38c276e15d2afae856be71d5900223f6a0a55d57797ed66c5dd88f1b3e896bde15
6
+ metadata.gz: f182daa55104e0a506bcdadf078ed53dd3c41733ec51c974e12297d8f6537c57762dcc362bbe6d0fdd5792e6a9cfc79b14b6cc5201d3d41664a8b0286f747b7a
7
+ data.tar.gz: e165c4331d6a5874bd09c6dd61cda93f491d4bb57b7089d53ea7d6831d9e0ff806fd31dfca4120a0b4d4535c615eb5c2cd1c40f77ad19ff7b81a1fbfad66180e
@@ -29,6 +29,9 @@ module Flipper
29
29
  headers: {
30
30
  "Feature-Flipper-Token" => token,
31
31
  },
32
+ read_timeout: options[:read_timeout],
33
+ open_timeout: options[:open_timeout],
34
+ debug_output: options[:debug_output],
32
35
  }
33
36
  adapter = Flipper::Adapters::Http.new(http_options)
34
37
 
@@ -1,3 +1,3 @@
1
1
  module Flipper
2
- VERSION = '0.11.0.beta4'.freeze
2
+ VERSION = '0.11.0.beta5'.freeze
3
3
  end
@@ -68,4 +68,22 @@ RSpec.describe Flipper::Cloud do
68
68
  # instance.adapter is memoizable adapter instance
69
69
  expect(instance.adapter.adapter).to be_instance_of(Flipper::Adapters::Instrumented)
70
70
  end
71
+
72
+ it 'can set debug_output' do
73
+ expect(Flipper::Adapters::Http::Client).to receive(:new)
74
+ .with(hash_including(debug_output: STDOUT))
75
+ described_class.new('asdf', debug_output: STDOUT)
76
+ end
77
+
78
+ it 'can set read_timeout' do
79
+ expect(Flipper::Adapters::Http::Client).to receive(:new)
80
+ .with(hash_including(read_timeout: 1))
81
+ described_class.new('asdf', read_timeout: 1)
82
+ end
83
+
84
+ it 'can set open_timeout' do
85
+ expect(Flipper::Adapters::Http::Client).to receive(:new)
86
+ .with(hash_including(open_timeout: 1))
87
+ described_class.new('asdf', open_timeout: 1)
88
+ end
71
89
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flipper-cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0.beta4
4
+ version: 0.11.0.beta5
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Nunemaker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-10 00:00:00.000000000 Z
11
+ date: 2017-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flipper
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0.beta4
19
+ version: 0.11.0.beta5
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.11.0.beta4
26
+ version: 0.11.0.beta5
27
27
  description: FeatureFlipper.com adapter for Flipper
28
28
  email:
29
29
  - nunemaker@gmail.com