immosquare-yaml 0.1.2 → 0.1.3

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: 7ace65cc1c3b599449f0c7af622e242507a010262e536484c1424bb19eeb9ba3
4
- data.tar.gz: b10ce8e8239464b58ff87be76512db3fd2731c38aabf256d4f917d26e5cc8ede
3
+ metadata.gz: 036dbd81c5acc9b557da4d9765e2b2ebf24d5f574943461d6bd544cf33ab5f20
4
+ data.tar.gz: fd3c98b6489a5072191a99fffe9e16605b90221b72d85c29a3bc405f0fa47df9
5
5
  SHA512:
6
- metadata.gz: '048cdac2661a8ab810c12547f5e398612b5a6f94788340055cf8e46b004f3a357b9c1269f210bf29e75fa329248d86f4a92108ad097aabcf39fe91b722af5d12'
7
- data.tar.gz: f4eddc1f73762f31a84b6f2b30e5dbc2bcc7c63ce8f5cb83a8ad5668dbde11d71d3a7aed5b37d0c7bf7c8fef02e0e74743bb0f992ccc9ae304b27adf37ff5da8
6
+ metadata.gz: 107c708c81effd4afb3118aa77faff2a99861aa6ad2a91adc66344264351fc060ee73bbe873478c0bd5c2d3042e3236b2ed1f2fa9462594e77e773fffc7f7f16
7
+ data.tar.gz: 546f425d1df76736a6986345f4375cd3d4cf8a597ed364ba06f3757e2be584805be90f9124babdc8af16d298bcc002f4902674f376e51358f343c3affe26140e
@@ -312,7 +312,11 @@ module ImmosquareYaml
312
312
  ## We put the translations in the original array
313
313
  ##============================================================##
314
314
  ai_resuslts.each do |index, translation|
315
- array[index][2] = translation
315
+ begin
316
+ array[index.to_i][2] = translation
317
+ rescue StandardError => e
318
+ puts(e.message)
319
+ end
316
320
  end
317
321
 
318
322
  ##============================================================##
@@ -1,3 +1,3 @@
1
1
  module ImmosquareYaml
2
- VERSION = "0.1.2".freeze
2
+ VERSION = "0.1.3".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: immosquare-yaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - IMMO SQUARE