i18n-migrations 2.0.4 → 2.0.5

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: 8fc754b54a85b172209a62717aabb6207bb646be0fca6e04d777732c0c5979bb
4
- data.tar.gz: d1b35b6d1d71c7ddfb83904cdff9cca5b307899330b363287c607220ceeccd72
3
+ metadata.gz: 2f7ee2c5ac86c602a98d44d88d9beb2b56f5982521bfd0d4d786d40b0cf5a0ab
4
+ data.tar.gz: 0a0104497bb427863c9b882ed4012d4987df4505aa31e940dcb95825db3553ea
5
5
  SHA512:
6
- metadata.gz: de609cad812e1793e2e9eeff28cfe60ccda2c8b50af2fe97b9f01270f1f661c870b1be3c79bd1ffbe52414e5cb8a54fd2fdc17016eceba94593ca9254bb95d05
7
- data.tar.gz: 4f023a9a8b03ffba035c6b293fb51ca68e9274d51cc3adf9a7658575c42df3268ad54e2a04b7ad4d63f43e55968927785f0b045becc646696f3b707eb346849c
6
+ metadata.gz: 9e424e65f15509548832954508ecf5f691be5d8375c5b22c6d026ee6e245aedf740913cfbc194efd05da112bb8fc540c973ceb1fe58ae91f21a0d69f826fc93e
7
+ data.tar.gz: 0dcea94acec54b24bf839a0173f43cf67c7ce440ac9ad696bb08a553bc22ef408f90189fc4491567576ae6fe9afc1c389dddb7296d58e4bcaa430ed377b2acdc
@@ -212,7 +212,7 @@ module I18n
212
212
  end
213
213
 
214
214
  def parse_yaml(string)
215
- YAML.load(string)
215
+ YAML.load(string) || {}
216
216
  end
217
217
 
218
218
  # flattens new_hash and adds it to hash
@@ -1,5 +1,5 @@
1
1
  module I18n
2
2
  module Migrations
3
- VERSION = "2.0.4"
3
+ VERSION = "2.0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n-migrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Lightsmith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-27 00:00:00.000000000 Z
11
+ date: 2020-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler