prefab-cloud-ruby 0.6.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.tool-versions +1 -0
- data/CODEOWNERS +1 -0
- data/Gemfile +7 -3
- data/Gemfile.lock +46 -11
- data/README.md +10 -1
- data/VERSION +1 -1
- data/compile_protos.sh +3 -0
- data/lib/prefab/client.rb +16 -7
- data/lib/prefab/config_client.rb +57 -20
- data/lib/prefab/config_helper.rb +20 -0
- data/lib/prefab/config_loader.rb +13 -11
- data/lib/prefab/config_resolver.rb +37 -41
- data/lib/prefab/feature_flag_client.rb +100 -11
- data/lib/prefab-cloud-ruby.rb +3 -0
- data/lib/prefab_pb.rb +201 -132
- data/lib/prefab_services_pb.rb +6 -6
- data/prefab-cloud-ruby.gemspec +31 -29
- data/run_test_harness_server.sh +2 -0
- data/test/harness_server.rb +51 -0
- data/test/test_config_loader.rb +20 -20
- data/test/test_config_resolver.rb +119 -37
- data/test/test_feature_flag_client.rb +191 -35
- data/test/test_helper.rb +18 -3
- metadata +77 -18
- data/.ruby-version +0 -1
metadata
CHANGED
@@ -1,37 +1,51 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prefab-cloud-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeff Dwyer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.0'
|
17
20
|
- - ">="
|
18
21
|
- !ruby/object:Gem::Version
|
19
22
|
version: 1.0.5
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
20
27
|
- - "~>"
|
21
28
|
- !ruby/object:Gem::Version
|
22
29
|
version: '1.0'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.0.5
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: faraday
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0'
|
23
40
|
type: :runtime
|
24
41
|
prerelease: false
|
25
42
|
version_requirements: !ruby/object:Gem::Requirement
|
26
43
|
requirements:
|
27
44
|
- - ">="
|
28
45
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
30
|
-
- - "~>"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '1.0'
|
46
|
+
version: '0'
|
33
47
|
- !ruby/object:Gem::Dependency
|
34
|
-
name:
|
48
|
+
name: ld-eventsource
|
35
49
|
requirement: !ruby/object:Gem::Requirement
|
36
50
|
requirements:
|
37
51
|
- - ">="
|
@@ -58,20 +72,48 @@ dependencies:
|
|
58
72
|
- - ">="
|
59
73
|
- !ruby/object:Gem::Version
|
60
74
|
version: '0'
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: google-protobuf
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
type: :runtime
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: googleapis-common-protos-types
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
type: :runtime
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0'
|
61
103
|
- !ruby/object:Gem::Dependency
|
62
104
|
name: grpc-tools
|
63
105
|
requirement: !ruby/object:Gem::Requirement
|
64
106
|
requirements:
|
65
|
-
- - "
|
107
|
+
- - ">="
|
66
108
|
- !ruby/object:Gem::Version
|
67
|
-
version:
|
109
|
+
version: '0'
|
68
110
|
type: :development
|
69
111
|
prerelease: false
|
70
112
|
version_requirements: !ruby/object:Gem::Requirement
|
71
113
|
requirements:
|
72
|
-
- - "
|
114
|
+
- - ">="
|
73
115
|
- !ruby/object:Gem::Version
|
74
|
-
version:
|
116
|
+
version: '0'
|
75
117
|
- !ruby/object:Gem::Dependency
|
76
118
|
name: shoulda
|
77
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -104,16 +146,16 @@ dependencies:
|
|
104
146
|
name: bundler
|
105
147
|
requirement: !ruby/object:Gem::Requirement
|
106
148
|
requirements:
|
107
|
-
- - "
|
149
|
+
- - ">="
|
108
150
|
- !ruby/object:Gem::Version
|
109
|
-
version: '
|
151
|
+
version: '0'
|
110
152
|
type: :development
|
111
153
|
prerelease: false
|
112
154
|
version_requirements: !ruby/object:Gem::Requirement
|
113
155
|
requirements:
|
114
|
-
- - "
|
156
|
+
- - ">="
|
115
157
|
- !ruby/object:Gem::Version
|
116
|
-
version: '
|
158
|
+
version: '0'
|
117
159
|
- !ruby/object:Gem::Dependency
|
118
160
|
name: juwelier
|
119
161
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,6 +184,20 @@ dependencies:
|
|
142
184
|
- - ">="
|
143
185
|
- !ruby/object:Gem::Version
|
144
186
|
version: '0'
|
187
|
+
- !ruby/object:Gem::Dependency
|
188
|
+
name: thin
|
189
|
+
requirement: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - ">="
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: '0'
|
194
|
+
type: :development
|
195
|
+
prerelease: false
|
196
|
+
version_requirements: !ruby/object:Gem::Requirement
|
197
|
+
requirements:
|
198
|
+
- - ">="
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: '0'
|
145
201
|
description: RateLimits & Config as a service
|
146
202
|
email: jdwyer@prefab.cloud
|
147
203
|
executables: []
|
@@ -151,7 +207,8 @@ extra_rdoc_files:
|
|
151
207
|
- README.md
|
152
208
|
files:
|
153
209
|
- ".envrc"
|
154
|
-
- ".
|
210
|
+
- ".tool-versions"
|
211
|
+
- CODEOWNERS
|
155
212
|
- Gemfile
|
156
213
|
- Gemfile.lock
|
157
214
|
- LICENSE.txt
|
@@ -164,6 +221,7 @@ files:
|
|
164
221
|
- lib/prefab/cancellable_interceptor.rb
|
165
222
|
- lib/prefab/client.rb
|
166
223
|
- lib/prefab/config_client.rb
|
224
|
+
- lib/prefab/config_helper.rb
|
167
225
|
- lib/prefab/config_loader.rb
|
168
226
|
- lib/prefab/config_resolver.rb
|
169
227
|
- lib/prefab/feature_flag_client.rb
|
@@ -175,7 +233,9 @@ files:
|
|
175
233
|
- lib/prefab_pb.rb
|
176
234
|
- lib/prefab_services_pb.rb
|
177
235
|
- prefab-cloud-ruby.gemspec
|
236
|
+
- run_test_harness_server.sh
|
178
237
|
- test/.prefab.test.config.yaml
|
238
|
+
- test/harness_server.rb
|
179
239
|
- test/test_config_loader.rb
|
180
240
|
- test/test_config_resolver.rb
|
181
241
|
- test/test_feature_flag_client.rb
|
@@ -200,8 +260,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
200
260
|
- !ruby/object:Gem::Version
|
201
261
|
version: '0'
|
202
262
|
requirements: []
|
203
|
-
|
204
|
-
rubygems_version: 2.6.14
|
263
|
+
rubygems_version: 3.2.32
|
205
264
|
signing_key:
|
206
265
|
specification_version: 4
|
207
266
|
summary: Prefab Ruby Infrastructure
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.4.2
|