signed_json 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile.lock +1 -1
- data/lib/signed_json.rb +1 -1
- data/lib/signed_json/version.rb +1 -1
- data/spec/signed_json_spec.rb +6 -0
- metadata +3 -3
data/Gemfile.lock
CHANGED
data/lib/signed_json.rb
CHANGED
data/lib/signed_json/version.rb
CHANGED
data/spec/signed_json_spec.rb
CHANGED
@@ -55,6 +55,12 @@ describe SignedJson do
|
|
55
55
|
}.should raise_error(SignedJson::InputError)
|
56
56
|
end
|
57
57
|
|
58
|
+
it "raises InputError for nil input" do
|
59
|
+
lambda {
|
60
|
+
SignedJson::Signer.new('key').decode(nil)
|
61
|
+
}.should raise_error(SignedJson::InputError)
|
62
|
+
end
|
63
|
+
|
58
64
|
end
|
59
65
|
|
60
66
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 3
|
9
|
+
version: 0.0.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Paul Annesley
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-12-
|
17
|
+
date: 2010-12-08 00:00:00 +11:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|