adiwg-json_schemas 0.8.1 → 0.9.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/test/tc_schemas.rb CHANGED
@@ -48,6 +48,11 @@ class TestExamples < Test::Unit::TestCase
48
48
  assert(errors.empty?, errors.join("/n"))
49
49
  end
50
50
 
51
+ def test_minimum_example
52
+ errors = JSON::Validator.fully_validate(@@schema , @@ex + 'minimum_example.json')
53
+ assert(errors.empty?, errors.join("/n"))
54
+ end
55
+
51
56
  def test_lcc_example
52
57
  errors = JSON::Validator.fully_validate(@@schema , @@ex + 'lcc_project_example.json')
53
58
  assert(errors.empty?, errors.join("/n"))
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adiwg-json_schemas
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Bradley, Stan Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-29 00:00:00.000000000 Z
11
+ date: 2014-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -99,6 +99,7 @@ files:
99
99
  - examples/keywords.json
100
100
  - examples/lcc_project_example.json
101
101
  - examples/maintInfo.json
102
+ - examples/minimum_example.json
102
103
  - examples/onlineResource.json
103
104
  - examples/resolution.json
104
105
  - examples/resourceConstraints.json