kookaburra 0.13.0 → 0.14.0
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/VERSION +1 -1
- data/kookaburra.gemspec +1 -1
- data/lib/kookaburra/test_data.rb +1 -1
- data/test/kookaburra/test_data_test.rb +7 -0
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.14.0
|
data/kookaburra.gemspec
CHANGED
data/lib/kookaburra/test_data.rb
CHANGED
@@ -17,5 +17,12 @@ describe Kookaburra::TestData do
|
|
17
17
|
td2 = Kookaburra::TestData.new
|
18
18
|
assert_equal 'baz', td2.default(:foo)['bar']
|
19
19
|
end
|
20
|
+
|
21
|
+
it 'raises an IndexError if the requested default has not been defined' do
|
22
|
+
td = Kookaburra::TestData.new
|
23
|
+
assert_raises IndexError do
|
24
|
+
td.default(:foobar)
|
25
|
+
end
|
26
|
+
end
|
20
27
|
end
|
21
28
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kookaburra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 39
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 14
|
9
9
|
- 0
|
10
|
-
version: 0.
|
10
|
+
version: 0.14.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Renewable Funding, LLC
|