singleton-ruby 0.1.6 → 0.1.7

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
  SHA256:
3
- metadata.gz: f0abd7a01826bb75e0b2d1c652f8245992a31000d1e6da052e3ddd444aa56554
4
- data.tar.gz: 8c7424f2b42ea4d16556111541f275998a09892967581269ef15ad66557a183c
3
+ metadata.gz: ce278f87ad2d126f157bd01f73dfde7261d130151ca8b434880b81fd963059e5
4
+ data.tar.gz: 42ebbf6d9e61acce392a64a7be42d423e2608ec5068ce5960bec9c58077aa7ae
5
5
  SHA512:
6
- metadata.gz: c8cf069e94dd35cd61b6ba833c2b3b7253eb214343deaeb036de2c8cdb1608154123ef38eddd14b1d515f3dbf085fa6ca3a06e924e94a2a61392b6c3ff8e1fce
7
- data.tar.gz: 61d39ee45bb285a598fd67358be529541b32a79f55ec3c66e9e25e6dc730b8ceb89c9f0fbef1347233e7728abfd627afcb61c733dc0e7c572478788ee28de118
6
+ metadata.gz: 2c1470e61f1f06b84057b72003a285fdfed9daefefe39adf2e0f9d0f090a210531223d47e83ee081e903f7f1c545082683f306172fc5ccec03500796abbf9cf5
7
+ data.tar.gz: b7b17bcee21fbce9b639cf94ef4491ad6e9cc9a85ce9884ea9cc5cbefd51ae7b437c8bb3a7f83b6f20371c973e56283ef6653ec85259aa3ac289e14a336981c2
@@ -60,7 +60,12 @@ module SgtnClient
60
60
 
61
61
  default = SgtnClient::Config.configurations.default
62
62
  if items.nil? || items["messages"] == nil
63
- items = SgtnClient::Source.getSources(component, default)
63
+ items = {}
64
+ s = SgtnClient::Source.getSources(component, default)
65
+ key, value = s.first
66
+ items["component"] = key
67
+ items["messages"] = value
68
+ items["locale"] = 'source'
64
69
  end
65
70
  return items
66
71
  end
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
 
2
- VERSION_INFO = [0, 1, 6].freeze
2
+ VERSION_INFO = [0, 1, 7].freeze
3
3
  VERSION = VERSION_INFO.map(&:to_s).join('.').freeze
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.1.6
4
+ version: 0.1.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-10-08 00:00:00.000000000 Z
11
+ date: 2021-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client