translation 1.8.3 → 1.8.4
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/README.md +1 -1
- data/lib/translation_io/flat_hash.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cc4d310a1304b751f3d62ee5163fd20afd5ae0bf
|
|
4
|
+
data.tar.gz: 059d55d777d7e0672c3e826db523440c7665f7dc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5476b81adeaaef13be180f18fc10aed9a006ca0f1b83aa453ea97f0c4ec7395779094a44debca5e06af75f1ad809c0ddbbab88a8806b55b15e397191910e5b2d
|
|
7
|
+
data.tar.gz: 626d298948f5ff3df4d1a6fa2dd0e83d76b44702432881d787fd55ade97d0656ebaeb7b9260a84dec16c641d2bff60a2f01c3e8a54f563746b996a10f59e203b
|
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Gem for [Translation.io](http://translation.io). . [ ](https://app.codeship.com/projects/20528) [](https://codeclimate.com/github/aurels/translation-gem) [](https://codeclimate.com/github/aurels/translation-gem/coverage)
|
|
2
2
|
|
|
3
3
|
## Description
|
|
4
4
|
|
|
@@ -51,7 +51,7 @@ module TranslationIO
|
|
|
51
51
|
|
|
52
52
|
# array is terminal
|
|
53
53
|
if key_string == ''
|
|
54
|
-
current_object[array_pos] = value
|
|
54
|
+
current_object[array_pos] = value if current_object.is_a?(Array)
|
|
55
55
|
end
|
|
56
56
|
# next is hash
|
|
57
57
|
elsif key_string[0] != '[' && (key_string.include?('.') or key_string.include?('['))
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: translation
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.8.
|
|
4
|
+
version: 1.8.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Aurelien Malisart
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2016-
|
|
12
|
+
date: 2016-12-02 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: gettext
|