encrypted_strings 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc
CHANGED
data/Rakefile
CHANGED
@@ -86,8 +86,8 @@ module PluginAWeek #:nodoc:
|
|
86
86
|
raise ArgumentError, "Unknown key(s): #{invalid_options.join(", ")}" unless invalid_options.empty?
|
87
87
|
|
88
88
|
options = {
|
89
|
-
:private_key_file =>
|
90
|
-
:public_key_file =>
|
89
|
+
:private_key_file => AsymmetricCipher.default_private_key_file,
|
90
|
+
:public_key_file => AsymmetricCipher.default_public_key_file
|
91
91
|
}.merge(options)
|
92
92
|
|
93
93
|
@public_key = @private_key = nil
|
@@ -47,7 +47,7 @@ module PluginAWeek #:nodoc:
|
|
47
47
|
invalid_options = options.keys - [:salt]
|
48
48
|
raise ArgumentError, "Unknown key(s): #{invalid_options.join(", ")}" unless invalid_options.empty?
|
49
49
|
|
50
|
-
options = {:salt =>
|
50
|
+
options = {:salt => ShaCipher.default_salt}.merge(options)
|
51
51
|
|
52
52
|
self.salt = options[:salt].to_s
|
53
53
|
|
@@ -68,8 +68,8 @@ module PluginAWeek #:nodoc:
|
|
68
68
|
raise ArgumentError, "Unknown key(s): #{invalid_options.join(", ")}" unless invalid_options.empty?
|
69
69
|
|
70
70
|
options = {
|
71
|
-
:algorithm =>
|
72
|
-
:password =>
|
71
|
+
:algorithm => SymmetricCipher.default_algorithm,
|
72
|
+
:password => SymmetricCipher.default_password
|
73
73
|
}.merge(options)
|
74
74
|
|
75
75
|
self.algorithm = options[:algorithm]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: encrypted_strings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Pfeifer
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-12-
|
12
|
+
date: 2008-12-04 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|