secure_yaml 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module SecureYaml
2
2
 
3
- VERSION = "1.0.3"
3
+ VERSION = "1.0.4"
4
4
 
5
5
  end
@@ -3,8 +3,8 @@ require 'spec_helper'
3
3
  describe 'Loader' do
4
4
 
5
5
  before(:each) do
6
- @encrypted_yaml = {prop: 'encrypted'}
7
- @decrypted_yaml = {prop: 'decrytped'}
6
+ @encrypted_yaml = {:prop => 'encrypted'}
7
+ @decrypted_yaml = {:prop => 'decrytped'}
8
8
  @decrypter = double(SecureYaml::YamlDecrypter)
9
9
  SecureYaml::YamlDecrypter.stub(:new).and_return(@decrypter)
10
10
  end
@@ -4,7 +4,7 @@ describe 'SecureYaml' do
4
4
 
5
5
  before(:each) do
6
6
  @secret_key = 'secret key'
7
- @yaml = {prop: 'test'}
7
+ @yaml = {:prop => 'test'}
8
8
  loader = double(SecureYaml::Loader)
9
9
  loader.stub(:load).and_return(@yaml)
10
10
  SecureYaml::Loader.stub(:new).with(@secret_key).and_return(loader)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: secure_yaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: