singleton-ruby 0.0.2 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +17 -0
- data/README.md +3 -0
- data/Rakefile +140 -0
- data/lib/generators/sgtnclient/USAGE +3 -0
- data/lib/generators/sgtnclient/install_generator.rb +15 -0
- data/lib/generators/sgtnclient/templates/sgtnclient.rb +2 -0
- data/lib/generators/sgtnclient/templates/sgtnclient.yml +33 -0
- data/lib/sgtn-client/api/source.rb +64 -0
- data/lib/sgtn-client/api/translation.rb +83 -0
- data/lib/sgtn-client/cldr/core_ext.rb +3 -0
- data/lib/sgtn-client/cldr/localized_date.rb +27 -0
- data/lib/sgtn-client/cldr/localized_datetime.rb +33 -0
- data/lib/sgtn-client/cldr/localized_time.rb +27 -0
- data/lib/sgtn-client/core/cache.rb +83 -0
- data/lib/sgtn-client/core/config.rb +173 -0
- data/lib/sgtn-client/core/exceptions.rb +112 -0
- data/lib/sgtn-client/core/logging.rb +50 -0
- data/lib/sgtn-client/core/request.rb +17 -0
- data/lib/{sgtn-client.rb → sgtn-client/sgtn-client.rb} +29 -1
- data/lib/sgtn-client/util/cache-util.rb +35 -0
- data/lib/sgtn-client/util/validate-util.rb +44 -0
- data/lib/singleton-ruby.rb +2 -0
- data/lib/version.rb +3 -0
- data/spec/config/locales/default/JAVA/en.yml +2 -0
- data/spec/config/locales/l10n/bundles/logInsight/4.8.1/JAVA/messages_en.json +1 -0
- data/spec/config/locales/l10n/bundles/logInsight/4.8.1/JAVA/messages_zh_CN.json +11 -0
- data/spec/config/sgtnclient-invalidate.yml +48 -0
- data/spec/config/sgtnclient.yml +11 -2
- data/spec/spec_helper.rb +2 -1
- data/spec/unit/cache_spec.rb +35 -0
- data/spec/unit/config_spec.rb +1 -1
- data/spec/unit/datetime_spec.rb +43 -0
- data/spec/unit/inconfig_spec.rb +17 -0
- data/spec/unit/logging_spec.rb +2 -3
- data/spec/unit/offclient_spec.rb +15 -0
- data/spec/unit/restclient_spec.rb +10 -1
- metadata +50 -3
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: singleton-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- VMware G11n Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: twitter_cldr
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '6.6'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '6.6'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: webmock
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -209,21 +223,48 @@ extensions: []
|
|
209
223
|
extra_rdoc_files:
|
210
224
|
- README.md
|
211
225
|
files:
|
226
|
+
- Gemfile
|
212
227
|
- README.md
|
213
|
-
-
|
228
|
+
- Rakefile
|
229
|
+
- lib/generators/sgtnclient/USAGE
|
230
|
+
- lib/generators/sgtnclient/install_generator.rb
|
231
|
+
- lib/generators/sgtnclient/templates/sgtnclient.rb
|
232
|
+
- lib/generators/sgtnclient/templates/sgtnclient.yml
|
233
|
+
- lib/sgtn-client/api/source.rb
|
234
|
+
- lib/sgtn-client/api/translation.rb
|
235
|
+
- lib/sgtn-client/cldr/core_ext.rb
|
236
|
+
- lib/sgtn-client/cldr/localized_date.rb
|
237
|
+
- lib/sgtn-client/cldr/localized_datetime.rb
|
238
|
+
- lib/sgtn-client/cldr/localized_time.rb
|
239
|
+
- lib/sgtn-client/core/cache.rb
|
240
|
+
- lib/sgtn-client/core/config.rb
|
241
|
+
- lib/sgtn-client/core/exceptions.rb
|
242
|
+
- lib/sgtn-client/core/logging.rb
|
243
|
+
- lib/sgtn-client/core/request.rb
|
244
|
+
- lib/sgtn-client/sgtn-client.rb
|
245
|
+
- lib/sgtn-client/util/cache-util.rb
|
246
|
+
- lib/sgtn-client/util/validate-util.rb
|
247
|
+
- lib/singleton-ruby.rb
|
248
|
+
- lib/version.rb
|
249
|
+
- spec/config/locales/default/JAVA/en.yml
|
214
250
|
- spec/config/locales/l10n/bundles/logInsight/4.8.1/JAVA/messages_de.json
|
215
251
|
- spec/config/locales/l10n/bundles/logInsight/4.8.1/JAVA/messages_en.json
|
216
252
|
- spec/config/locales/l10n/bundles/logInsight/4.8.1/JAVA/messages_latest.json
|
217
253
|
- spec/config/locales/l10n/bundles/logInsight/4.8.1/JAVA/messages_zh-Hans.json
|
218
254
|
- spec/config/locales/l10n/bundles/logInsight/4.8.1/JAVA/messages_zh-Hant.json
|
255
|
+
- spec/config/locales/l10n/bundles/logInsight/4.8.1/JAVA/messages_zh_CN.json
|
219
256
|
- spec/config/locales/l10n/bundles/logInsight/4.8.1/creation.json
|
220
257
|
- spec/config/locales/l10n/bundles/logInsight/4.8.1/version.json
|
221
258
|
- spec/config/sample_data.yml
|
259
|
+
- spec/config/sgtnclient-invalidate.yml
|
222
260
|
- spec/config/sgtnclient.yml
|
223
261
|
- spec/log/http.log
|
224
262
|
- spec/spec_helper.rb
|
225
263
|
- spec/support/sample_data.rb
|
264
|
+
- spec/unit/cache_spec.rb
|
226
265
|
- spec/unit/config_spec.rb
|
266
|
+
- spec/unit/datetime_spec.rb
|
267
|
+
- spec/unit/inconfig_spec.rb
|
227
268
|
- spec/unit/logging_spec.rb
|
228
269
|
- spec/unit/offclient_spec.rb
|
229
270
|
- spec/unit/restclient_spec.rb
|
@@ -252,19 +293,25 @@ signing_key:
|
|
252
293
|
specification_version: 4
|
253
294
|
summary: Singleton client for Ruby.
|
254
295
|
test_files:
|
296
|
+
- spec/config/locales/default/JAVA/en.yml
|
255
297
|
- spec/config/locales/l10n/bundles/logInsight/4.8.1/JAVA/messages_de.json
|
256
298
|
- spec/config/locales/l10n/bundles/logInsight/4.8.1/JAVA/messages_en.json
|
257
299
|
- spec/config/locales/l10n/bundles/logInsight/4.8.1/JAVA/messages_latest.json
|
258
300
|
- spec/config/locales/l10n/bundles/logInsight/4.8.1/JAVA/messages_zh-Hans.json
|
259
301
|
- spec/config/locales/l10n/bundles/logInsight/4.8.1/JAVA/messages_zh-Hant.json
|
302
|
+
- spec/config/locales/l10n/bundles/logInsight/4.8.1/JAVA/messages_zh_CN.json
|
260
303
|
- spec/config/locales/l10n/bundles/logInsight/4.8.1/creation.json
|
261
304
|
- spec/config/locales/l10n/bundles/logInsight/4.8.1/version.json
|
262
305
|
- spec/config/sample_data.yml
|
306
|
+
- spec/config/sgtnclient-invalidate.yml
|
263
307
|
- spec/config/sgtnclient.yml
|
264
308
|
- spec/log/http.log
|
265
309
|
- spec/spec_helper.rb
|
266
310
|
- spec/support/sample_data.rb
|
311
|
+
- spec/unit/cache_spec.rb
|
267
312
|
- spec/unit/config_spec.rb
|
313
|
+
- spec/unit/datetime_spec.rb
|
314
|
+
- spec/unit/inconfig_spec.rb
|
268
315
|
- spec/unit/logging_spec.rb
|
269
316
|
- spec/unit/offclient_spec.rb
|
270
317
|
- spec/unit/restclient_spec.rb
|