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 +4 -4
- data/lib/sgtn-client/api/translation.rb +6 -1
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce278f87ad2d126f157bd01f73dfde7261d130151ca8b434880b81fd963059e5
|
4
|
+
data.tar.gz: 42ebbf6d9e61acce392a64a7be42d423e2608ec5068ce5960bec9c58077aa7ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 =
|
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
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.
|
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-
|
11
|
+
date: 2021-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|