ff-ruby-server-sdk 1.0.1 → 1.0.2.rc1
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/CHANGELOG.md +5 -1
- data/example/example.rb +4 -3
- data/lib/ff/ruby/server/sdk/version.rb +1 -1
- data/scripts/openapi.sh +14 -14
- data/scripts/sdk_specs.sh +1 -1
- metadata +188 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2597658c1a6717df136035cd00ddc1f0208d62cb625ace39c33d7e5a34b3e468
|
4
|
+
data.tar.gz: 3fb99b5496bb97802c55d2946641583b4f4bd2568827f4c8a02f4f7b909cc55e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68e2be8404dc2e1ba3ba77119eff42d26c3799213a6473a6908f447f8f4f8e18b006c887d1685a45a9810a274fa493eccb4e98969b8ebb5e8c0793c05b3fda27
|
7
|
+
data.tar.gz: 699491d8f605fd94061f0bad2ab491237bd0dd77cdb494908fbd079e7a4a92cd69755133596492c97c0aab8fdac07d79dc3f55206ecbb93c7289d7df0ab41452
|
data/CHANGELOG.md
CHANGED
data/example/example.rb
CHANGED
@@ -20,6 +20,7 @@ executor = Concurrent::FixedThreadPool.new(100)
|
|
20
20
|
|
21
21
|
keys = {
|
22
22
|
|
23
|
+
# "UAT" => "834b1749-073b-4a97-8424-03893572bab5",
|
23
24
|
"Freemium" => "1f3339b4-e004-457a-91f7-9b5ce173eaaf",
|
24
25
|
"Non-Freemium" => "a30cf6aa-67f2-4545-8ac7-f86709f4f3a0"
|
25
26
|
}
|
@@ -31,12 +32,12 @@ keys.each do |name, key|
|
|
31
32
|
config = ConfigBuilder.new
|
32
33
|
.logger(logger)
|
33
34
|
.build
|
34
|
-
|
35
|
-
client = CfClient.new(key, config)
|
36
|
-
|
35
|
+
# UAT:
|
37
36
|
# .config_url("https://config.feature-flags.uat.harness.io/api/1.0")
|
38
37
|
# .event_url("https://event.feature-flags.uat.harness.io/api/1.0")
|
39
38
|
|
39
|
+
client = CfClient.new(key, config)
|
40
|
+
|
40
41
|
client.init
|
41
42
|
|
42
43
|
config.logger.debug "We will wait for the initialization"
|
data/scripts/openapi.sh
CHANGED
@@ -43,20 +43,20 @@ if which openapi-generator-cli; then
|
|
43
43
|
fi
|
44
44
|
fi
|
45
45
|
|
46
|
-
if gem install rspec-expectations && \
|
47
|
-
gem install rspec-mocks && \
|
48
|
-
gem install rake && \
|
49
|
-
gem install minitest && \
|
50
|
-
gem install standard && \
|
51
|
-
gem install pp && \
|
52
|
-
gem install libcache && \
|
53
|
-
gem install rufus-scheduler && \
|
54
|
-
gem install jwt && \
|
55
|
-
gem install moneta && \
|
56
|
-
gem install rest-client && \
|
57
|
-
gem install sse-client && \
|
58
|
-
gem install concurrent-ruby && \
|
59
|
-
gem install murmurhash3 && \
|
46
|
+
if gem install rspec-expectations -v 3.11.0 && \
|
47
|
+
gem install rspec-mocks -v 3.11.0 && \
|
48
|
+
gem install rake -v 13.0 && \
|
49
|
+
gem install minitest -v 5.15.0 && \
|
50
|
+
gem install standard -v 1.11.0 && \
|
51
|
+
gem install pp -v 0.3.0 && \
|
52
|
+
gem install libcache -v 0.4.2 && \
|
53
|
+
gem install rufus-scheduler -v 3.8.1 && \
|
54
|
+
gem install jwt -v 2.3.0 && \
|
55
|
+
gem install moneta -v 1.4.2 && \
|
56
|
+
gem install rest-client -v 2.1.0 && \
|
57
|
+
gem install sse-client -v 1.1.0 && \
|
58
|
+
gem install concurrent-ruby -v 1.1.10 && \
|
59
|
+
gem install murmurhash3 -v 0.1.6 && \
|
60
60
|
cd "$dir_path/.." && \
|
61
61
|
openapi-generator-cli generate -i api.yaml -g ruby -o "$generated_path" && \
|
62
62
|
cd "$generated_path" && gem build openapi_client.gemspec && \
|
data/scripts/sdk_specs.sh
CHANGED
metadata
CHANGED
@@ -1,15 +1,197 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ff-ruby-server-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- 'Miloš Vasić, cyr.: Милош Васић'
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
12
|
-
dependencies:
|
11
|
+
date: 2022-05-09 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rake
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '13.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '13.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: minitest
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '5.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '5.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: standard
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.3'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.3'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: pp
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.3.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.3.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rufus-scheduler
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 3.8.1
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 3.8.1
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: libcache
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.4.2
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.4.2
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: jwt
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 2.3.0
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 2.3.0
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: moneta
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 1.4.2
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 1.4.2
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rest-client
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 2.1.0
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 2.1.0
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: sse-client
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - '='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 1.1.0
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - '='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 1.1.0
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: concurrent
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - '='
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 0.2.2
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - '='
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 0.2.2
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: concurrent-ruby
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - '='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 1.1.10
|
174
|
+
type: :runtime
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - '='
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 1.1.10
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: murmurhash3
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - '='
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: 0.1.6
|
188
|
+
type: :runtime
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - '='
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: 0.1.6
|
13
195
|
description: Harness is a feature management platform that helps teams to build better
|
14
196
|
software and to test features quicker.
|
15
197
|
email:
|
@@ -126,9 +308,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
126
308
|
version: 2.6.0
|
127
309
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
310
|
requirements:
|
129
|
-
- - "
|
311
|
+
- - ">"
|
130
312
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
313
|
+
version: 1.3.1
|
132
314
|
requirements: []
|
133
315
|
rubygems_version: 3.3.7
|
134
316
|
signing_key:
|