strongbox 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/strongbox.rb +1 -1
- data/lib/strongbox/lock.rb +4 -0
- data/test/strongbox_test.rb +6 -0
- metadata +3 -3
data/lib/strongbox.rb
CHANGED
data/lib/strongbox/lock.rb
CHANGED
data/test/strongbox_test.rb
CHANGED
@@ -46,6 +46,12 @@ class StrongboxTest < Test::Unit::TestCase
|
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
49
|
+
should 'impliment to_json' do
|
50
|
+
assert_nothing_raised do
|
51
|
+
@dummy.secret.to_json
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
49
55
|
context 'updating unencrypted fields' do
|
50
56
|
setup do
|
51
57
|
@dummy.in_the_clear = 'I see you...'
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: strongbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 6
|
10
|
+
version: 0.4.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Spike Ilacqua
|