adiwg-mdcodes 2.9.4.pre.beta.1 → 2.10.1

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
  SHA256:
3
- metadata.gz: 06541df71613afb7f534df10320441b3a06bbcc4c410c1f87388f65b8a6bee1d
4
- data.tar.gz: 7720c74e196c68acaa6c6364fcfe06742a9c23826614b8dd67146ec57f88f668
3
+ metadata.gz: c5760ca9aae5b5cbabf14da365052721ffa9f1ebd59034a63eec7e2ee032ff6d
4
+ data.tar.gz: b6ddac3da2275f5765655411ffe1c562d06a4f25727ee22d034f1e7029995c38
5
5
  SHA512:
6
- metadata.gz: c4ad9a60335ff66ea7c45850e271fed09387e99852a0f4c7f2f958878feed01a514c12727a5e0846fceabb739a251b64bdb14bebeb764b548630cc244b2795d5
7
- data.tar.gz: 8c242851c319dffff4a51859bd8091a502c7b701488f0f18619cfbd2c423187e69fc318c5080847b451820bccd74c1dc123225121a85cbe0ffd5fd0828804146
6
+ metadata.gz: 2f5aadead0fad28dea983fd43b758c1db31126370ca58753359b565f608a036707d92712e2bf35ba720eecb6020b9467d84810bf4f21787cb3c35314735c5567
7
+ data.tar.gz: 926609242465563cc59966176f0450cf15d1ad7655dd06c525bb0306d173d78d1f3a54a13ee153ca853f1ad430beead6d7cc56fcf0a009640d6fee39c31812e0
@@ -0,0 +1,41 @@
1
+ name: Deploy to GitHub Pages
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+
8
+ jobs:
9
+ create-release:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v3
13
+
14
+ - name: Use Node.js
15
+ uses: actions/setup-node@v3
16
+ with:
17
+ node-version: "16"
18
+
19
+ - name: Create Tag
20
+ id: create_tag
21
+ env:
22
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23
+ run: |
24
+ # Read version from package.json
25
+ version=$(node -p "require('./package.json').version")
26
+ version_tag="v$version"
27
+ echo "Version from package.json: $version_tag"
28
+ echo "version=$version_tag" >> $GITHUB_OUTPUT
29
+ git tag $version_tag
30
+ git push origin $version_tag
31
+
32
+ - name: Create GitHub Release
33
+ uses: ncipollo/release-action@v1
34
+ with:
35
+ tag: ${{ steps.create_tag.outputs.version }}
36
+ name: Release ${{ steps.create_tag.outputs.version }}
37
+ body: Automated release for version ${{ steps.create_tag.outputs.version }}.
38
+ draft: false
39
+ prerelease: false
40
+ env:
41
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -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
data/.gitignore CHANGED
@@ -24,4 +24,5 @@ dev
24
24
  mkmf.log
25
25
  node_modules
26
26
  resources/js
27
+ resources/json
27
28
  .vscode
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- adiwg-mdcodes (2.9.4.pre.beta.1)
4
+ adiwg-mdcodes (2.10.1)
5
5
  json (~> 2.0)
6
6
 
7
7
  GEM
@@ -30,7 +30,7 @@
30
30
 
31
31
  module ADIWG
32
32
  module Mdcodes
33
- VERSION = "2.9.4-beta.1"
33
+ VERSION = "2.10.1"
34
34
  end
35
35
  end
36
36
 
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "mdcodes",
3
- "version": "2.9.4-beta.1",
3
+ "version": "2.10.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "mdcodes",
9
- "version": "2.9.4-beta.1",
9
+ "version": "2.10.1",
10
10
  "license": "Unlicense",
11
11
  "dependencies": {
12
12
  "buildify": "github:powmedia/buildify#20458a121411f759dcc5ec1b441695eb7fc2b3b7",
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdcodes",
3
- "version": "2.9.4-beta.1",
3
+ "version": "2.10.1",
4
4
  "main": "index.js",
5
5
  "description": "CodeLists for ADIwg mdJSON",
6
6
  "repository": {
@@ -26,7 +26,8 @@
26
26
  },
27
27
  "scripts": {
28
28
  "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",
30
+ "test": "bundle && bundle exec rake test"
30
31
  },
31
32
  "dependencies": {
32
33
  "buildify": "github:powmedia/buildify#20458a121411f759dcc5ec1b441695eb7fc2b3b7",
@@ -8,18 +8,18 @@ sourceName: "ADIwg_DataQualityElement"
8
8
  extensible: true
9
9
  description: "ISO data quality element class names"
10
10
  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" }
@@ -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
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adiwg-mdcodes
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.4.pre.beta.1
4
+ version: 2.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - stansmith907, jlblcc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-10 00:00:00.000000000 Z
11
+ date: 2024-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -75,6 +75,8 @@ executables: []
75
75
  extensions: []
76
76
  extra_rdoc_files: []
77
77
  files:
78
+ - ".github/workflows/create-release.yml"
79
+ - ".github/workflows/run-tests.yml"
78
80
  - ".gitignore"
79
81
  - ".npmignore"
80
82
  - ".travis.yml"
@@ -132,7 +134,7 @@ files:
132
134
  - resources/iso_obligation.yml
133
135
  - resources/iso_onlineFunction.yml
134
136
  - resources/iso_operationTypeCode.yml
135
- - resources/iso_parameterDirectionCode.yml
137
+ - resources/iso_parameterDirection.yml
136
138
  - resources/iso_pixelOrientation.yml
137
139
  - resources/iso_polarisationOrientationCode.yml
138
140
  - resources/iso_presentationForm.yml
@@ -168,9 +170,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
168
170
  version: '0'
169
171
  required_rubygems_version: !ruby/object:Gem::Requirement
170
172
  requirements:
171
- - - ">"
173
+ - - ">="
172
174
  - !ruby/object:Gem::Version
173
- version: 1.3.1
175
+ version: '0'
174
176
  requirements: []
175
177
  rubygems_version: 3.1.6
176
178
  signing_key:
@@ -1,12 +0,0 @@
1
-
2
- codelistType: "staticList"
3
- codelistName: "iso_parameterDirection"
4
- source: "ISO"
5
- sourceName: "SV_ParameterDirection"
6
- extensible: true
7
- description: "class of information to which the referencing entity applies"
8
- codelist:
9
- - { code: "001", codeName: "in", description: "the parameter is an input parameter to the service instance" }
10
- - { code: "002", codeName: "out", description: "the parameter is an output parameter to the service instance" }
11
- - { code: "003", codeName: "in/out", description: "the parameter is both an input and output parameter to the service instance" }
12
-