translation 1.8.3 → 1.8.4

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: 0e8a83b63a255c4559e8d3fdc583b3ec47f5a359
4
- data.tar.gz: e69e58523e02c3ca29c75bd29d09809c296edcee
3
+ metadata.gz: cc4d310a1304b751f3d62ee5163fd20afd5ae0bf
4
+ data.tar.gz: 059d55d777d7e0672c3e826db523440c7665f7dc
5
5
  SHA512:
6
- metadata.gz: 4889808a2a62fd9f3f259eacad4cda0e4cf1e77f06fd0844ee6e219f674cfc9b95a7048ba2697075cfd230ab4f29c6e5329881d3d58966793aa763827500ec5c
7
- data.tar.gz: 47d894aeb43db702d600d13cb70e4972ce4f79d5216cc7b5dcd4509960ae3e4e8f4d68a24d6ecea40c1354c99561c4f56d9650ec065833897a1f8eb00b3e481d
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). ![Build Status](https://www.codeship.io/projects/f7cd4ac0-b73c-0131-51ea-522dcd2196ed/status) [![Code Climate](https://codeclimate.com/github/aurels/translation-gem/badges/gpa.svg)](https://codeclimate.com/github/aurels/translation-gem) [![Test Coverage](https://codeclimate.com/github/aurels/translation-gem/badges/coverage.svg)](https://codeclimate.com/github/aurels/translation-gem/coverage)
1
+ # Gem for [Translation.io](http://translation.io). [ ![Codeship Status](https://app.codeship.com/projects/f7cd4ac0-b73c-0131-51ea-522dcd2196ed/status?branch=master)](https://app.codeship.com/projects/20528) [![Code Climate](https://codeclimate.com/github/aurels/translation-gem/badges/gpa.svg)](https://codeclimate.com/github/aurels/translation-gem) [![Test Coverage](https://codeclimate.com/github/aurels/translation-gem/badges/coverage.svg)](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.3
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-10-06 00:00:00.000000000 Z
12
+ date: 2016-12-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gettext