symmetric-encryption 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -28,7 +28,7 @@ module SymmetricEncryption #:nodoc:
|
|
28
28
|
#
|
29
29
|
# Loaded before Active Record initializes since database.yml can have encrypted
|
30
30
|
# passwords in it
|
31
|
-
|
31
|
+
config.before_configuration do
|
32
32
|
config_file = Rails.root.join("config", "symmetric-encryption.yml")
|
33
33
|
if config_file.file?
|
34
34
|
::SymmetricEncryption.load!(config_file, Rails.env)
|
@@ -1,14 +1,14 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
|
3
3
|
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/1">
|
4
|
-
<file>
|
5
|
-
<url>lib/symmetric_encryption/encryption.rb</url>
|
6
|
-
<line>60</line>
|
7
|
-
</file>
|
8
4
|
<file>
|
9
5
|
<url>lib/symmetric/encryption.rb</url>
|
10
6
|
<line>62</line>
|
11
7
|
</file>
|
8
|
+
<file>
|
9
|
+
<url>lib/symmetric_encryption/encryption.rb</url>
|
10
|
+
<line>60</line>
|
11
|
+
</file>
|
12
12
|
<file>
|
13
13
|
<url>lib/symmetric_encryption/symmetric_encryption.rb</url>
|
14
14
|
<line>60</line>
|
Binary file
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 5
|
8
|
-
-
|
9
|
-
version: 0.5.
|
8
|
+
- 2
|
9
|
+
version: 0.5.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Reid Morrison
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2012-04-
|
17
|
+
date: 2012-04-17 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|
@@ -52,6 +52,7 @@ files:
|
|
52
52
|
- symmetric-encryption-0.2.0.gem
|
53
53
|
- symmetric-encryption-0.4.0.gem
|
54
54
|
- symmetric-encryption-0.5.0.gem
|
55
|
+
- symmetric-encryption-0.5.1.gem
|
55
56
|
- test/attr_encrypted_test.rb
|
56
57
|
- test/cipher_test.rb
|
57
58
|
- test/config/database.yml
|