adiwg-mdjson_schemas 2.0.0.pre.alpha.5 → 2.0.0.pre.alpha.6
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.
- checksums.yaml +4 -4
- data/examples/address.json +1 -0
- data/lib/adiwg/mdjson_schemas/version.rb +1 -1
- data/schema/contact.json +4 -0
- data/schema/schema.json +1 -1
- data/test/tc_version.rb +10 -0
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 683bd04ca360d0f58c10c3567665fe10a61823aa
|
4
|
+
data.tar.gz: '0593cde9de63104759c53878b323ae8baddbe17e'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b0efb6a9b861cf6764e4c2fc5e5b655e118120f12d50d2b29ad8d168dbb18f306eaebcf179393d685f55820065f2541945ca7838096ae78e82fda696c019143
|
7
|
+
data.tar.gz: a23304e4f40d0f13792379cb97c8a64c114584e8ed00e96c14e99fc80fec5894de047c6699b38ae1bbd75b0e46e89da9abca0df261b91c02df6f2b37bde0b6d1
|
data/examples/address.json
CHANGED
data/schema/contact.json
CHANGED
data/schema/schema.json
CHANGED
data/test/tc_version.rb
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
require 'minitest/autorun'
|
2
|
+
require 'json'
|
3
|
+
require File.join(File.dirname(__FILE__), '..', 'lib', 'adiwg-mdjson_schemas.rb')
|
4
|
+
|
5
|
+
class TestSchemaVersion < Minitest::Test
|
6
|
+
def test_schema_version
|
7
|
+
schema = JSON.load File.new(File.join(File.dirname(__FILE__), '..', 'schema', 'schema.json'))
|
8
|
+
assert_equal(ADIWG::MdjsonSchemas::VERSION, schema['version'], 'Gem version and schema versions are not equal')
|
9
|
+
end
|
10
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adiwg-mdjson_schemas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.pre.alpha.
|
4
|
+
version: 2.0.0.pre.alpha.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Bradley, Stan Smith
|
@@ -297,6 +297,7 @@ files:
|
|
297
297
|
- test/tc_uri.rb
|
298
298
|
- test/tc_usage.rb
|
299
299
|
- test/tc_vectorRepresentation.rb
|
300
|
+
- test/tc_version.rb
|
300
301
|
- test/tc_verticalExtent.rb
|
301
302
|
- test/tc_voucher.rb
|
302
303
|
- test/tu_utils.rb
|
@@ -399,6 +400,7 @@ test_files:
|
|
399
400
|
- test/tc_uri.rb
|
400
401
|
- test/tc_usage.rb
|
401
402
|
- test/tc_vectorRepresentation.rb
|
403
|
+
- test/tc_version.rb
|
402
404
|
- test/tc_verticalExtent.rb
|
403
405
|
- test/tc_voucher.rb
|
404
406
|
- test/tu_utils.rb
|