flipper-cloud 0.11.0.beta4 → 0.11.0.beta5
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 +4 -4
- data/lib/flipper/cloud.rb +3 -0
- data/lib/flipper/version.rb +1 -1
- data/spec/flipper/cloud_spec.rb +18 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69429bf4abe99db6b66e1186a93105882f513a04
|
4
|
+
data.tar.gz: cf7f5835c0411ffd5a652e2b6ff9a00f0c85ed0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f182daa55104e0a506bcdadf078ed53dd3c41733ec51c974e12297d8f6537c57762dcc362bbe6d0fdd5792e6a9cfc79b14b6cc5201d3d41664a8b0286f747b7a
|
7
|
+
data.tar.gz: e165c4331d6a5874bd09c6dd61cda93f491d4bb57b7089d53ea7d6831d9e0ff806fd31dfca4120a0b4d4535c615eb5c2cd1c40f77ad19ff7b81a1fbfad66180e
|
data/lib/flipper/cloud.rb
CHANGED
data/lib/flipper/version.rb
CHANGED
data/spec/flipper/cloud_spec.rb
CHANGED
@@ -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.
|
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-
|
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.
|
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.
|
26
|
+
version: 0.11.0.beta5
|
27
27
|
description: FeatureFlipper.com adapter for Flipper
|
28
28
|
email:
|
29
29
|
- nunemaker@gmail.com
|