Skip to content

Commit 76acece

Browse files
committed
Merge branch 'develop' into fix-merge-conflicts
2 parents 2f0b0c1 + a2d028a commit 76acece

8 files changed

+66
-21
lines changed

.github/workflows/run-tests.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Run Tests
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
build-and-test:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v3
11+
12+
- name: Set up Node.js
13+
uses: actions/setup-node@v3
14+
with:
15+
node-version: '20'
16+
17+
- name: Install Node.js dependencies
18+
run: npm install --force
19+
20+
- name: Set up Ruby
21+
uses: ruby/setup-ruby@v1
22+
with:
23+
ruby-version: '2.7'
24+
25+
- name: Install Ruby dependencies
26+
run: bundle install
27+
28+
- name: Build Project
29+
run: npm run build
30+
31+
- name: Run Tests
32+
run: bundle exec rake test

Gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
adiwg-mdcodes (2.9.3)
4+
adiwg-mdcodes (2.10.0)
55
json (~> 2.0)
66

77
GEM

lib/adiwg/mdcodes/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
module ADIWG
3232
module Mdcodes
33-
VERSION = "2.9.3"
33+
VERSION = "2.10.0"
3434
end
3535
end
3636

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mdcodes",
3-
"version": "2.9.3",
3+
"version": "2.10.0",
44
"main": "index.js",
55
"description": "CodeLists for ADIwg mdJSON",
66
"repository": {
@@ -26,7 +26,7 @@
2626
},
2727
"scripts": {
2828
"prepublishOnly": "scripts/prepublish.js",
29-
"build": "npm i --force && grunt convert && grunt concat-json && npm run prepublishOnly"
29+
"build": "bundle && npm i --force && grunt convert && grunt concat-json && npm run prepublishOnly"
3030
},
3131
"dependencies": {
3232
"buildify": "github:powmedia/buildify#20458a121411f759dcc5ec1b441695eb7fc2b3b7",

resources/adiwg_dataQualityElement.yml

+15-15
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ sourceName: "ADIwg_DataQualityElement"
88
extensible: true
99
description: "ISO data quality element class names"
1010
codelist:
11-
- { code: "001", codeName: AbsolutePositionalAccuracy, description: "closeness of reported coordinate values to values accepted as or being true" }
12-
- { code: "002", codeName: RelativePositionalAccuracy, description: "closeness of the relative positions of features in the scope to their respective relative positions accepted as or being true" }
13-
- { code: "003", codeName: GriddedDataPositionalAccuracy, description: "closeness of gridded data position values to values accepted as or being true" }
14-
- { code: "004", codeName: ConceptualConsistency, description: "adherence to rules of the conceptual schema" }
15-
- { code: "005", codeName: DomainConsistency, description: "adherence of values to the value domains" }
16-
- { code: "006", codeName: FormatConsistency, description: "degree to which data is stored in accordance with the physical structure of the dataset, as described by the scope" }
17-
- { code: "007", codeName: TopologicalConsistency, description: "correctness of the explicitly encoded topological characteristics of the dataset as described by the scope" }
18-
- { code: "008", codeName: ThematicClassificationCorrectness, description: "comparison of the classes assigned to features or their attributes to a universe of discourse" }
19-
- { code: "009", codeName: NonQuantitativeAttributeCorrectness, description: "correctness of non-quantitative attributes" }
20-
- { code: "010", codeName: QuantitativeAttributeAccuracy, description: "accuracy of quantitative attributes" }
21-
- { code: "011", codeName: AccuracyOfATimeMeasurement, description: "correctness of the temporal references of an item (reporting of error in time measurement)" }
22-
- { code: "012", codeName: TemporalValidity, description: "validity of data specified by the scope with respect to time" }
23-
- { code: "013", codeName: TemporalConsistency, description: "correctness of ordered events or sequences, if reported" }
24-
- { code: "014", codeName: Commission, description: "excess data present in the dataset, as described by the scope" }
25-
- { code: "015", codeName: Omission, description: "data absent from the dataset, as described by the scope" }
11+
- { code: "001", codeName: DQ_AbsoluteExternalPositionalAccuracy, description: "closeness of reported coordinate values to values accepted as or being true" }
12+
- { code: "002", codeName: DQ_RelativeInternalPositionalAccuracy, description: "closeness of the relative positions of features in the scope to their respective relative positions accepted as or being true" }
13+
- { code: "003", codeName: DQ_GriddedDataPositionalAccuracy, description: "closeness of gridded data position values to values accepted as or being true" }
14+
- { code: "004", codeName: DQ_ConceptualConsistency, description: "adherence to rules of the conceptual schema" }
15+
- { code: "005", codeName: DQ_DomainConsistency, description: "adherence of values to the value domains" }
16+
- { code: "006", codeName: DQ_FormatConsistency, description: "degree to which data is stored in accordance with the physical structure of the dataset, as described by the scope" }
17+
- { code: "007", codeName: DQ_TopologicalConsistency, description: "correctness of the explicitly encoded topological characteristics of the dataset as described by the scope" }
18+
- { code: "008", codeName: DQ_ThematicClassificationCorrectness, description: "comparison of the classes assigned to features or their attributes to a universe of discourse" }
19+
- { code: "009", codeName: DQ_NonQuantitativeAttributeCorrectness, description: "correctness of non-quantitative attributes" }
20+
- { code: "010", codeName: DQ_QuantitativeAttributeAccuracy, description: "accuracy of quantitative attributes" }
21+
- { code: "011", codeName: DQ_AccuracyOfATimeMeasurement, description: "correctness of the temporal references of an item (reporting of error in time measurement)" }
22+
- { code: "012", codeName: DQ_TemporalValidity, description: "validity of data specified by the scope with respect to time" }
23+
- { code: "013", codeName: DQ_TemporalConsistency, description: "correctness of ordered events or sequences, if reported" }
24+
- { code: "014", codeName: DQ_CompletenessCommission, description: "excess data present in the dataset, as described by the scope" }
25+
- { code: "015", codeName: DQ_CompletenessOmission, description: "data absent from the dataset, as described by the scope" }

resources/adiwg_namespace.yml

+2
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ codelist:
2323
- {code: "spatialreference.org", codeName: SR-ORG, description: "Coordinate reference system from SpatialReference.org database"}
2424
- {code: "org.adiwg.code.mapGridSystem", codeName: mapGridSystem, description: "Name of the grid UTM, State Plane, or other grid system used by a spatial reference system."}
2525
- {code: "org.adiwg.code.mapProjection", codeName: mapProjection, description: "Name of the planar, grid, or local projection used by a spatial reference system."}
26+
- {code: "org.adiwg.code.bureauCode", codeName: bureauCode, description: "DCAT-US combined federal agency and bureau code from OMB Circular A-11."}
27+
- {code: "org.adiwg.code.programCode", codeName: programCode, description: "DCAT-US Federal Program Inventory program code."}

resources/iso_parameterDirection.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
codelistType: "staticList"
2+
codelistName: "iso_parameterDirection"
3+
source: "ISO"
4+
sourceName: "SV_ParameterDirection"
5+
extensible: true
6+
description: "class of information to which the referencing entity applies"
7+
codelist:
8+
- {code: "001", codeName: in, description: "the parameter is an input parameter to the service instance"}
9+
- {code: "002", codeName: out, description: "the parameter is an output parameter to the service instance"}
10+
- {code: "003", codeName: in/out, description: "the parameter is both an input and output parameter to the service instance"}
11+

0 commit comments

Comments
 (0)