eeml 0.0.23 → 0.0.24
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/lib/eeml/environment_builder.rb +1 -1
- data/lib/eeml.rb +1 -1
- metadata +8 -8
data/.gitignore
CHANGED
@@ -39,7 +39,7 @@ module Eeml
|
|
39
39
|
elsif json["version"].to_f == Constants::JSON_API['0.6-alpha'][:version].to_f
|
40
40
|
parser = JsonEnvironmentParserV006.new
|
41
41
|
else
|
42
|
-
raise "Invalid version specification. Permitted versions are #{Constants::EEML['0.5.0'][:version]}, #{Constants::JSON_API["0.6-alpha"][:version]} and #{Constants::JSON_API["1.0.0"][:version]}"
|
42
|
+
raise JSON::ParserError, "Invalid version specification. Permitted versions are #{Constants::EEML['0.5.0'][:version]}, #{Constants::JSON_API["0.6-alpha"][:version]} and #{Constants::JSON_API["1.0.0"][:version]}"
|
43
43
|
end
|
44
44
|
return parser.make_environment_from_hash(json)
|
45
45
|
end
|
data/lib/eeml.rb
CHANGED
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: 47
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 24
|
10
|
+
version: 0.0.24
|
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: 2010-10-
|
21
|
+
date: 2010-10-27 00:00:00 +00:00
|
22
22
|
default_executable:
|
23
23
|
dependencies:
|
24
24
|
- !ruby/object:Gem::Dependency
|
@@ -165,10 +165,10 @@ signing_key:
|
|
165
165
|
specification_version: 3
|
166
166
|
summary: Simple little library for programmatically manipulating EEML documents.
|
167
167
|
test_files:
|
168
|
-
- test/
|
169
|
-
- test/test_libxml_eeml_parser_v005.rb
|
168
|
+
- test/libxml_test_helper.rb
|
170
169
|
- test/test_libxml_test_helper.rb
|
171
|
-
- test/
|
170
|
+
- test/test_libxml_eeml_parser_v005.rb
|
172
171
|
- test/test_csv_parser_v2.rb
|
173
|
-
- test/
|
172
|
+
- test/test_helper.rb
|
174
173
|
- test/test_csv_parser_v1.rb
|
174
|
+
- test/test_environment.rb
|