yaml_recrypt 0.1.6 → 0.1.7

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: 6e2a16431a5634aae120548c40a1f63edd54c481
4
- data.tar.gz: 2a556d1ae3783fe4320ee4fd3f6a0dc36ced848b
3
+ metadata.gz: 0e91d7a37558ba9e0cbb20e94c31079132ff99f3
4
+ data.tar.gz: 486f5289d1bde4ed28713a42251077f2d1a7eef8
5
5
  SHA512:
6
- metadata.gz: 107773fe07db8d52d904b07714156c4128904f5c7b0439ca680c1f31fc45f4fe1ca7b1a98a45b61e51851c75dc3d73d355d9425276cf45d3070876c26838ef66
7
- data.tar.gz: 18d8e52777b04e4d470b04b191074a32338d59be87b37823e0002b2301d2b969f5fa1b59c2d99326a245cf28161f280d459399c45ad9af244d96803fa656dde2
6
+ metadata.gz: 3d4f528ce2ba54c675c99b06f1a31502348b0403f122be1284285f4e71465536be4aba1115f134b328f2d748f4a1635f54c5866e1af89efdae848461914f8552
7
+ data.tar.gz: b4284b06d3216514307773bd72ff8274786b8900bbaefac2a2342e62a38060e7ab4f3905843e62eaa470a7407e22e79a2aef2a410ad74ed5d7cfabfb9fc2433a
@@ -1,3 +1,3 @@
1
1
  module YamlRecrypt
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
data/lib/yaml_recrypt.rb CHANGED
@@ -78,7 +78,7 @@ module YamlRecrypt
78
78
 
79
79
  def self.process_value(value, gpg_home, eyaml_pub_key)
80
80
  changed = 0
81
- if value.class == String
81
+ if value.class == String and ! value.empty?
82
82
  split = value.split("\n")
83
83
 
84
84
  # PGP values are always broken onto newlines
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yaml_recrypt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geoff Williams