dropmire 0.1.8 → 0.1.9
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/lib/dropmire/error/parse_error.rb +2 -0
- data/lib/dropmire/version.rb +1 -1
- data/spec/validator_spec.rb +5 -0
- metadata +2 -2
data/lib/dropmire/version.rb
CHANGED
data/spec/validator_spec.rb
CHANGED
@@ -14,5 +14,10 @@ describe Dropmire::Validator do
|
|
14
14
|
@text2 = """%FLTALLAHASSEEJACOBSEN$CONNOR$ALAN^6357 SINKOLA DR^ ?;6360101021210193207=1506199306070=?+! 323124522 E 1602 ECCECC00000?"""
|
15
15
|
expect { Dropmire::Validator.new(@text2) }.to raise_error
|
16
16
|
end
|
17
|
+
|
18
|
+
it "raises exception for empty string" do
|
19
|
+
@text2 = ""
|
20
|
+
expect { Dropmire::Validator.new(@text2) }.to raise_error
|
21
|
+
end
|
17
22
|
end
|
18
23
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dropmire
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-12-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|