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 CHANGED
@@ -1,3 +1,4 @@
1
+ .rvmrc
1
2
  pkg
2
3
  coverage/
3
4
  doc
@@ -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
@@ -15,7 +15,7 @@ require 'time'
15
15
  module Eeml
16
16
 
17
17
  # library version number
18
- VERSION = '0.0.23'
18
+ VERSION = '0.0.24'
19
19
 
20
20
  # TODO: put in some configuration file, not here
21
21
  LOCAL_EEML_SCHEMA_LOCATION = 'schemas/eeml/005.xsd'
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: 49
4
+ hash: 47
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 23
10
- version: 0.0.23
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-08 00:00:00 +00:00
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/test_helper.rb
169
- - test/test_libxml_eeml_parser_v005.rb
168
+ - test/libxml_test_helper.rb
170
169
  - test/test_libxml_test_helper.rb
171
- - test/test_environment.rb
170
+ - test/test_libxml_eeml_parser_v005.rb
172
171
  - test/test_csv_parser_v2.rb
173
- - test/libxml_test_helper.rb
172
+ - test/test_helper.rb
174
173
  - test/test_csv_parser_v1.rb
174
+ - test/test_environment.rb