r18n-core 2.0.1 → 2.0.2

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
  SHA1:
3
- metadata.gz: ae56d575f84ac7a894d396ecc237bfb4143c37be
4
- data.tar.gz: 0eda9e98a00b40c74b147fcf5a33e3731b99a96e
3
+ metadata.gz: 82de4fba19ac7e49e6fb02e5571a09b83b29cf83
4
+ data.tar.gz: 79d4bf3644c58ce43cfb86bbc4bc6710d4e4b9cf
5
5
  SHA512:
6
- metadata.gz: c37b640bf3239a6a84e85d2a1eec63a15be7044e760c2efbc9ae6bf9748144c1c45db5881662d25eaa70e0699e44f7199fb0ece8ef98d8aee73f73aed721c70d
7
- data.tar.gz: 6cf7f356193a677314128f7dd66c200768406ffd25a1441ba5dc6a32277060848ceaf7d5a35fad7702b7cde7a63eec67e9ac0197da252417d67c0e5b25a3d637
6
+ metadata.gz: 619447ede85423cdea346b4fa35d8097a808346ac3825e4352de633abcd627d1ae9918b776e973ea350cad1ec60a07effad402d7d0db7117ea9449b75f0f822f
7
+ data.tar.gz: cee37ba1f7ae0f6c0d937c211856e96b54192e410e64976b27f0da738f32de269732e5170cfa55eb80ffe65fe5d4f90eb5fcfce15754a1b015e38fbc871728f7
data/ChangeLog.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 2.0.2 (Budapest)
2
+ * Fix array support in translations.
3
+ * Fix Rails support for dialect locales.
4
+
1
5
  ## 2.0.1 (Amsterdam)
2
6
  * Fix Dutch locale.
3
7
 
@@ -102,7 +102,7 @@ module R18n
102
102
  end
103
103
  end
104
104
  @data[name] = value
105
- elsif @data[name].is_a? Translation
105
+ elsif @data[name].is_a? Translation and value.is_a? Hash
106
106
  @data[name].merge! value, locale
107
107
  end
108
108
  end
@@ -1,3 +1,3 @@
1
1
  module R18n
2
- VERSION = '2.0.1'.freeze unless defined? R18n::VERSION
2
+ VERSION = '2.0.2'.freeze unless defined? R18n::VERSION
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: r18n-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Sitnik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-08 00:00:00.000000000 Z
11
+ date: 2014-12-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2
14
14
  R18n is a i18n tool to translate your Ruby application.