secure_data_bag 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fb494d07480badb2e1c62aabd80810409d32ca93
4
- data.tar.gz: 95d4446511ed6b770cecf006c1b1c3821facd5fe
3
+ metadata.gz: 68c90555111b2f6ef773c3aff88d05b9d7335e1c
4
+ data.tar.gz: 3a041cf31f796a35a4fce93391cee4afbc70110e
5
5
  SHA512:
6
- metadata.gz: 79cbdc261ba669f94176a24ccef2faa416902f20a05efcfa17b756bb2e4b287c38a8cd8631ccfaa30a369a54c078758db3976d9a62c444f3e2cabf5a06e5616d
7
- data.tar.gz: 3caf9f754cabef378eed0b80d6cd1a81d0589284b38d45cd793f0a050a5cd9432e35b4feb8931f3730f4692834cb51171aa1476639fe9343473b94a198fa0bb9
6
+ metadata.gz: db18be8c4b9d5418647cd699c7efcbeeb43a0f76f2e35e012b0a92f6910d5a12a5cb79ad3fa7364672a02a86a458343759a50ec7c17f24aeca0f375e8737e037
7
+ data.tar.gz: 9b818ec9bb0d19956578a3705e461979b0b8c4ff19d97ffb6675cfa6c9f882df3765a5a2ee37bd00c8ca2c1d2a91399c4b71b167cb99ee2b8a7d56bcd7b3110e
@@ -1,6 +1,6 @@
1
1
 
2
2
  require 'yaml'
3
- require 'ffi_yajl'
3
+ require 'yajl'
4
4
  require 'openssl'
5
5
  require 'base64'
6
6
  require 'digest/sha2'
@@ -62,7 +62,7 @@ module SecureDataBag
62
62
  value << openssl_decryptor.final
63
63
 
64
64
  if value.include? "json_wrapper"
65
- value = FFI_Yajl::Parser.parse(value)["json_wrapper"]
65
+ value = Yajl::Parser.parse(value)["json_wrapper"]
66
66
  end
67
67
  @openssl_decryptor = nil
68
68
  end
@@ -1,6 +1,6 @@
1
1
 
2
2
  require 'yaml'
3
- require 'ffi_yajl'
3
+ require 'yajl'
4
4
  require 'openssl'
5
5
  require 'base64'
6
6
  require 'digest/sha2'
@@ -70,7 +70,7 @@ module SecureDataBag
70
70
  end
71
71
 
72
72
  def serialize_value(value)
73
- FFI_Yajl::Encoder.encode(:json_wrapper => value)
73
+ Yajl::Encoder.encode(:json_wrapper => value)
74
74
  end
75
75
 
76
76
  def openssl_encryptor
@@ -1,5 +1,5 @@
1
1
 
2
2
  module SecureDataBag
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: secure_data_bag
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Serafini