eeml 0.0.37 → 0.0.38
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/eeml.rb +1 -1
- data/lib/eeml/constants.rb +1 -1
- data/test/test_environment.rb +6 -0
- metadata +4 -4
data/lib/eeml.rb
CHANGED
data/lib/eeml/constants.rb
CHANGED
data/test/test_environment.rb
CHANGED
|
@@ -596,6 +596,12 @@ class TestEnvironment < Test::Unit::TestCase
|
|
|
596
596
|
assert_equal false, env.private
|
|
597
597
|
end
|
|
598
598
|
|
|
599
|
+
test "raise an exception if asked to parse a valid json document, that doesn't have basic elements" do
|
|
600
|
+
assert_raise(JSON::ParserError) do
|
|
601
|
+
environment = Environment.new_from_json('{"foo":"bar"}')
|
|
602
|
+
end
|
|
603
|
+
end
|
|
604
|
+
|
|
599
605
|
# --- -------------------------------------------------------
|
|
600
606
|
# --- csv input stuff -------------------------------------------------------
|
|
601
607
|
# --- -------------------------------------------------------
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: eeml
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 83
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 38
|
|
10
|
+
version: 0.0.38
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Neill Bogie
|
|
@@ -18,7 +18,7 @@ autorequire:
|
|
|
18
18
|
bindir: bin
|
|
19
19
|
cert_chain: []
|
|
20
20
|
|
|
21
|
-
date: 2011-
|
|
21
|
+
date: 2011-03-14 00:00:00 +00:00
|
|
22
22
|
default_executable:
|
|
23
23
|
dependencies:
|
|
24
24
|
- !ruby/object:Gem::Dependency
|