crypt_keeper_providers 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ module CryptKeeperProviders
10
10
  #
11
11
  # options - A hash of options. :passphrase is required
12
12
  def initialize(options = {})
13
- @key = options.delete :passphrase
13
+ @key = options[:passphrase]
14
14
  @aes = ::OpenSSL::Cipher::Cipher.new("AES-256-CBC")
15
15
  @aes.padding = 1
16
16
  @key = Digest::SHA1.hexdigest(key).unpack('a2'*32).map{|x|x.hex}.pack('c'*32)
@@ -1,3 +1,3 @@
1
1
  module CryptKeeperProviders
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crypt_keeper_providers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-07-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &7948520 !ruby/object:Gem::Requirement
16
+ requirement: &12987180 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 2.10.0
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *7948520
24
+ version_requirements: *12987180
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: guard
27
- requirement: &7947820 !ruby/object:Gem::Requirement
27
+ requirement: &13000640 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.2.0
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *7947820
35
+ version_requirements: *13000640
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: guard-rspec
38
- requirement: &7947140 !ruby/object:Gem::Requirement
38
+ requirement: &12997240 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.1.0
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *7947140
46
+ version_requirements: *12997240
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rake
49
- requirement: &7946380 !ruby/object:Gem::Requirement
49
+ requirement: &12993640 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: 0.9.2.2
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *7946380
57
+ version_requirements: *12993640
58
58
  description: Encryption providers for crypt_keeper
59
59
  email:
60
60
  - jmazzi@gmail.com
@@ -89,7 +89,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
89
89
  version: '0'
90
90
  segments:
91
91
  - 0
92
- hash: 287859248753652762
92
+ hash: 1171779919379127825
93
93
  required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  version: '0'
99
99
  segments:
100
100
  - 0
101
- hash: 287859248753652762
101
+ hash: 1171779919379127825
102
102
  requirements: []
103
103
  rubyforge_project:
104
104
  rubygems_version: 1.8.11