hermod 1.2.5 → 1.2.6
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e281315f76218c847f1a16a9a1828dcafc4e9447
|
|
4
|
+
data.tar.gz: b35324a2d9c5b62459ff6e4340d5e47e58eeb011
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c86cfb504e7721ef2da0dbb0b1894d19f791b9208c407d8fb9a7e0d3d1760b9f0ed15a5f2de4216d42554a5fdb733fde49c2c913051304e7e0f89515b1558b35
|
|
7
|
+
data.tar.gz: 997794075ef8441ca110a13d21b1e57e1ba77cb003ab147ada1a8f7d6dfa547dcd58c1942e2f9b35f1adf7ff6f02f52b4dcfb291a4b27c57d5d1709f4ac21566
|
data/lib/hermod/version.rb
CHANGED
|
@@ -51,6 +51,14 @@ module Hermod
|
|
|
51
51
|
ex = proc { subject.student_loan 0 }.must_raise Hermod::InvalidInputError
|
|
52
52
|
ex.message.must_equal "student_loan cannot be zero"
|
|
53
53
|
end
|
|
54
|
+
|
|
55
|
+
it "should treat blank nodes as zero nodes" do
|
|
56
|
+
subject.ni nil
|
|
57
|
+
value_of_node("NI").must_equal "0.00"
|
|
58
|
+
|
|
59
|
+
subject.tax nil
|
|
60
|
+
nodes("Tax").must_be_empty
|
|
61
|
+
end
|
|
54
62
|
end
|
|
55
63
|
end
|
|
56
64
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hermod
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Harry Mills
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-11-
|
|
11
|
+
date: 2014-11-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: libxml-ruby
|