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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5d78fcacc8142b47dd5f7faad6e32fbc99eff658
4
- data.tar.gz: fdf491fab26c8882dbc760b8b9cffc18cdf90864
3
+ metadata.gz: 683bd04ca360d0f58c10c3567665fe10a61823aa
4
+ data.tar.gz: '0593cde9de63104759c53878b323ae8baddbe17e'
5
5
  SHA512:
6
- metadata.gz: b6cd38b96677681cb003f0802a957c52bc5fe76cda67d450e8e73b1e7cc9e7704e5d744c71643a5cf9f0b42c6e429ad464b340af9e0f7e754da46e90df5d3f62
7
- data.tar.gz: 72cafe6bf5f2990526dc991751528263162919c76aee3bbb27f55a03290106c1866060bb8db66963080f4967b2cd186dd5aa04d4f6b53e31322ee7002ea9dd75
6
+ metadata.gz: 5b0efb6a9b861cf6764e4c2fc5e5b655e118120f12d50d2b29ad8d168dbb18f306eaebcf179393d685f55820065f2541945ca7838096ae78e82fda696c019143
7
+ data.tar.gz: a23304e4f40d0f13792379cb97c8a64c114584e8ed00e96c14e99fc80fec5894de047c6699b38ae1bbd75b0e46e89da9abca0df261b91c02df6f2b37bde0b6d1
@@ -1,5 +1,6 @@
1
1
  [{
2
2
  "addressType": ["mailing", "physical"],
3
+ "description": "description",
3
4
  "deliveryPoint": [
4
5
  "deliveryPoint0",
5
6
  "deliveryPoint1"
@@ -1,6 +1,6 @@
1
1
  module ADIWG
2
2
  module MdjsonSchemas
3
3
  # Current schema version number
4
- VERSION = "2.0.0-alpha.5"
4
+ VERSION = "2.0.0-alpha.6"
5
5
  end
6
6
  end
@@ -182,6 +182,10 @@
182
182
  "type": "string"
183
183
  }
184
184
  },
185
+ "description": {
186
+ "type": "string",
187
+ "description": "Description of the address."
188
+ },
185
189
  "deliveryPoint": {
186
190
  "type": "array",
187
191
  "description": "Address line for the location.",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "schema.json#",
3
3
  "$schema": "http://json-schema.org/draft-04/schema#",
4
- "version": "2.0.0-alpha",
4
+ "version": "2.0.0-alpha.6",
5
5
  "description": "schema for ADIwg mdJSON metadata",
6
6
  "example": "../examples/mdJson.json",
7
7
  "type": "object",
@@ -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.5
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