From a2d028a8c99343d3c764f4711a6cd8d2b208654e Mon Sep 17 00:00:00 2001 From: Johnathan Date: Tue, 10 Dec 2024 19:45:17 -0700 Subject: [PATCH] Prepare release version 2.10.0 (#93) * Update Gemfile.lock and package-lock.json versions to 2.9.3 * Add bureauCode and programCode to adiwg_namespace (#85) * feat: Update data quality element code list The data quality element code list has been updated with requested changes. * Update adiwg-mdcodes to version 2.9.4-beta.0 * Update data quality element code list * Update adiwg-mdcodes to version 2.9.4-beta.1 * chore: Update version to 2.10.0-beta.0 * chore: Update version to 2.9.4-beta.4 * Revert dataQualityElement list (#88) * chore: Increment beta version * chore: Update adiwg-mdcodes to version 2.10.0-beta.2 * chore: Update build script to include bundle command * chore: Update version to 2.9.4-beta.5 * chore: Update adiwg-mdcodes to version 2.10.0 * Release Version 2.9.3 (#92) * Change default branch to dev (#49) * Update CHANGELOG * Bump path-parse from 1.0.6 to 1.0.7 Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. - [Release notes](https://github.com/jbgutierrez/path-parse/releases) - [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7) --- updated-dependencies: - dependency-name: path-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] * Bump grunt from 1.0.4 to 1.5.3 Bumps [grunt](https://github.com/gruntjs/grunt) from 1.0.4 to 1.5.3. - [Release notes](https://github.com/gruntjs/grunt/releases) - [Changelog](https://github.com/gruntjs/grunt/blob/main/CHANGELOG) - [Commits](https://github.com/gruntjs/grunt/compare/v1.0.4...v1.5.3) --- updated-dependencies: - dependency-name: grunt dependency-type: direct:development ... Signed-off-by: dependabot[bot] * add orcid and ror to namespaces * implement feedback * Updating JSON files * bump version * add data quality report type codelist * update descriptions * update file name * bump version * Update description * Bump lodash from 4.17.15 to 4.17.21 (#42) Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.21) --- updated-dependencies: - dependency-name: lodash dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump minimatch from 3.0.4 to 3.0.8 (#45) Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/isaacs/minimatch/releases) - [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md) - [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.0.8) --- updated-dependencies: - dependency-name: minimatch dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump async from 2.6.1 to 3.2.3 (#46) Bumps [async](https://github.com/caolan/async) from 2.6.1 to 3.2.3. - [Release notes](https://github.com/caolan/async/releases) - [Changelog](https://github.com/caolan/async/blob/master/CHANGELOG.md) - [Commits](https://github.com/caolan/async/compare/v2.6.1...v3.2.3) --- updated-dependencies: - dependency-name: async dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * update npm version --------- Signed-off-by: dependabot[bot] Co-authored-by: Josh Bradley Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tim Zwolak Co-authored-by: Chris MacDermaid Co-authored-by: Chris MacDermaid <64213093+chris-macdermaid@users.noreply.github.com> Co-authored-by: Johnathan * Merge dev into develop (#59) * Remove "geographic" from description (#54) * Remove "geographic" from description * Update iso_scope.yml Update definition from "a dataset" to "the dataset" to match the definition as defined in https://standards.iso.org/iso/19115/-3/mcc/1.0/codelists.xml. --------- Co-authored-by: Hilmar Maier * Data Quality Code Lists (#53) * Fix Data Quality Element Rename iso_dataQualityElement.yml to adiwg_dataQualityElement.yml. Fix codelistName, source, and sourceName. * Add iso_valueStructure.yml * Add iso_evaluationMethodTypeCode * Add adiwg_evaluationMethod * Add iso_uom * Rename iso_uom to adiwg_unitsOfMeasure Also add more units. * Remove Comment * Update .gitignore --------- Co-authored-by: Johnathan * Fix Yaml Files & Increment Version (#62) * 2.9.0 * Update buildify dependency * Fix Yaml & Json Files * Remove bower.json * Update mdCodes Version Increment minor version to 2.9.0 * Update README.md (and hopefully fix develop master conflicts) (#63) * Update CHANGELOG * Bump path-parse from 1.0.6 to 1.0.7 Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. - [Release notes](https://github.com/jbgutierrez/path-parse/releases) - [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7) --- updated-dependencies: - dependency-name: path-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] * Bump grunt from 1.0.4 to 1.5.3 Bumps [grunt](https://github.com/gruntjs/grunt) from 1.0.4 to 1.5.3. - [Release notes](https://github.com/gruntjs/grunt/releases) - [Changelog](https://github.com/gruntjs/grunt/blob/main/CHANGELOG) - [Commits](https://github.com/gruntjs/grunt/compare/v1.0.4...v1.5.3) --- updated-dependencies: - dependency-name: grunt dependency-type: direct:development ... Signed-off-by: dependabot[bot] * add orcid and ror to namespaces * implement feedback * Updating JSON files * bump version * add data quality report type codelist * update descriptions * update file name * bump version * Update description * Bump lodash from 4.17.15 to 4.17.21 (#42) Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.21) --- updated-dependencies: - dependency-name: lodash dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump minimatch from 3.0.4 to 3.0.8 (#45) Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/isaacs/minimatch/releases) - [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md) - [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.0.8) --- updated-dependencies: - dependency-name: minimatch dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump async from 2.6.1 to 3.2.3 (#46) Bumps [async](https://github.com/caolan/async) from 2.6.1 to 3.2.3. - [Release notes](https://github.com/caolan/async/releases) - [Changelog](https://github.com/caolan/async/blob/master/CHANGELOG.md) - [Commits](https://github.com/caolan/async/compare/v2.6.1...v3.2.3) --- updated-dependencies: - dependency-name: async dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * update npm version * Fix Merge Errors * Fix Merge Errors * Fix package-lock.json * Update README.md --------- Signed-off-by: dependabot[bot] Co-authored-by: Josh Bradley Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tim Zwolak Co-authored-by: Chris MacDermaid Co-authored-by: Chris MacDermaid <64213093+chris-macdermaid@users.noreply.github.com> * Code list updates (#69) * Update CHANGELOG * Bump path-parse from 1.0.6 to 1.0.7 Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. - [Release notes](https://github.com/jbgutierrez/path-parse/releases) - [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7) --- updated-dependencies: - dependency-name: path-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] * Bump grunt from 1.0.4 to 1.5.3 Bumps [grunt](https://github.com/gruntjs/grunt) from 1.0.4 to 1.5.3. - [Release notes](https://github.com/gruntjs/grunt/releases) - [Changelog](https://github.com/gruntjs/grunt/blob/main/CHANGELOG) - [Commits](https://github.com/gruntjs/grunt/compare/v1.0.4...v1.5.3) --- updated-dependencies: - dependency-name: grunt dependency-type: direct:development ... Signed-off-by: dependabot[bot] * add orcid and ror to namespaces * implement feedback * Updating JSON files * bump version * add data quality report type codelist * update descriptions * update file name * bump version * Update description * Bump lodash from 4.17.15 to 4.17.21 (#42) Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.21) --- updated-dependencies: - dependency-name: lodash dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump minimatch from 3.0.4 to 3.0.8 (#45) Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/isaacs/minimatch/releases) - [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md) - [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.0.8) --- updated-dependencies: - dependency-name: minimatch dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump async from 2.6.1 to 3.2.3 (#46) Bumps [async](https://github.com/caolan/async) from 2.6.1 to 3.2.3. - [Release notes](https://github.com/caolan/async/releases) - [Changelog](https://github.com/caolan/async/blob/master/CHANGELOG.md) - [Commits](https://github.com/caolan/async/compare/v2.6.1...v3.2.3) --- updated-dependencies: - dependency-name: async dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * update npm version * Update data quality element class names Removed DQ_ prefix. * Update package versions to 2.9.1 * Update codeName in adiwg_dataQualityElement.json * Update version to 2.9.1 * Remove iso_dataQualityElement.json * Fix bug in login functionality * Add build script to package.json * Refactored data quality in version 2.9.1 * Delete iso_dataQualityElement.yml codelist --------- Signed-off-by: dependabot[bot] Co-authored-by: Josh Bradley Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tim Zwolak Co-authored-by: Chris MacDermaid Co-authored-by: Chris MacDermaid <64213093+chris-macdermaid@users.noreply.github.com> * Add Missing Data Quality Report Type (#70) * Update adiwg_dataQualityElement.yml codelist * Update version to 2.9.2 * Update adiwg_dataQualityElement.json and mdcodes.json codelists * fix typo in codeName (#75) * fix typo in codeName * chore: Update package version to 2.9.3-beta.0 --------- Co-authored-by: Johnathan Aspinwall * fix code list (#76) * fix code list * chore: Bump version to 2.9.3-beta.1 in package.json --------- Co-authored-by: Johnathan Aspinwall Co-authored-by: Hilmar Maier * Add mi event type code list (#77) * Add eventTypeCode list * update source name and codelist name * chore: Bump version to 2.9.3-beta.2 in package.json * Change to numerical codes * change description --------- Co-authored-by: Johnathan Aspinwall * Add parameterDirection codelist (#80) * Update codes with requested changes (#81) * Update codes with requested changes * Update adiwg_dataQualityElement.yml * Update adiwg_dataQualityElement.yml * Update data quality element code list --------- Co-authored-by: Johnathan Co-authored-by: Johnathan Aspinwall * Update Gemfile.lock and package-lock.json versions to 2.9.3 (#83) * chore: Remove unused ISO data quality element codelist * Remove unused ISO data quality element codelist * Remove resources/json resources/json is a build artifact, it does not need to be stored in the repository. It does need to be included in the published versions. * feat: Add GitHub Actions workflow for automated release creation (#95) --------- Signed-off-by: dependabot[bot] Co-authored-by: Hilmar Maier Co-authored-by: Josh Bradley Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tim Zwolak Co-authored-by: Chris MacDermaid Co-authored-by: Chris MacDermaid <64213093+chris-macdermaid@users.noreply.github.com> Co-authored-by: J-Oliveros <97468338+J-Oliveros@users.noreply.github.com> * feat: Add GitHub Actions workflow for running tests and update parameter direction resources * fix: Update GitHub Actions workflow to force install Node.js dependencies and reorder build step * fix: Update Node.js version in GitHub Actions workflow to 20 --------- Signed-off-by: dependabot[bot] Co-authored-by: J-Oliveros <97468338+J-Oliveros@users.noreply.github.com> Co-authored-by: Hilmar Maier Co-authored-by: Josh Bradley Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tim Zwolak Co-authored-by: Chris MacDermaid Co-authored-by: Chris MacDermaid <64213093+chris-macdermaid@users.noreply.github.com> --- .github/workflows/run-tests.yml | 32 ++++++++++++++++++++++++ Gemfile.lock | 2 +- lib/adiwg/mdcodes/version.rb | 2 +- package-lock.json | 4 +-- package.json | 4 +-- resources/adiwg_dataQualityElement.yml | 30 +++++++++++----------- resources/adiwg_namespace.yml | 2 ++ resources/iso_parameterDirection.yml | 11 ++++++++ resources/iso_parameterDirectionCode.yml | 12 --------- 9 files changed, 66 insertions(+), 33 deletions(-) create mode 100644 .github/workflows/run-tests.yml create mode 100644 resources/iso_parameterDirection.yml delete mode 100644 resources/iso_parameterDirectionCode.yml diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml new file mode 100644 index 0000000..d4d87b1 --- /dev/null +++ b/.github/workflows/run-tests.yml @@ -0,0 +1,32 @@ +name: Run Tests + +on: + push: + +jobs: + build-and-test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: '20' + + - name: Install Node.js dependencies + run: npm install --force + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: '2.7' + + - name: Install Ruby dependencies + run: bundle install + + - name: Build Project + run: npm run build + + - name: Run Tests + run: bundle exec rake test diff --git a/Gemfile.lock b/Gemfile.lock index fd0abba..f64376e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - adiwg-mdcodes (2.9.3) + adiwg-mdcodes (2.10.0) json (~> 2.0) GEM diff --git a/lib/adiwg/mdcodes/version.rb b/lib/adiwg/mdcodes/version.rb index 6239940..a910f7a 100644 --- a/lib/adiwg/mdcodes/version.rb +++ b/lib/adiwg/mdcodes/version.rb @@ -30,7 +30,7 @@ module ADIWG module Mdcodes - VERSION = "2.9.3" + VERSION = "2.10.0" end end diff --git a/package-lock.json b/package-lock.json index 02308fd..ede60c0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mdcodes", - "version": "2.9.3", + "version": "2.10.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mdcodes", - "version": "2.9.3", + "version": "2.10.0", "license": "Unlicense", "dependencies": { "buildify": "github:powmedia/buildify#20458a121411f759dcc5ec1b441695eb7fc2b3b7", diff --git a/package.json b/package.json index dab22da..0989b6e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mdcodes", - "version": "2.9.3", + "version": "2.10.0", "main": "index.js", "description": "CodeLists for ADIwg mdJSON", "repository": { @@ -26,7 +26,7 @@ }, "scripts": { "prepublishOnly": "scripts/prepublish.js", - "build": "npm i --force && grunt convert && grunt concat-json && npm run prepublishOnly" + "build": "bundle && npm i --force && grunt convert && grunt concat-json && npm run prepublishOnly" }, "dependencies": { "buildify": "github:powmedia/buildify#20458a121411f759dcc5ec1b441695eb7fc2b3b7", diff --git a/resources/adiwg_dataQualityElement.yml b/resources/adiwg_dataQualityElement.yml index 8aeae8f..6048207 100644 --- a/resources/adiwg_dataQualityElement.yml +++ b/resources/adiwg_dataQualityElement.yml @@ -8,18 +8,18 @@ sourceName: "ADIwg_DataQualityElement" extensible: true description: "ISO data quality element class names" codelist: - - { code: "001", codeName: AbsolutePositionalAccuracy, description: "closeness of reported coordinate values to values accepted as or being true" } - - { 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" } - - { code: "003", codeName: GriddedDataPositionalAccuracy, description: "closeness of gridded data position values to values accepted as or being true" } - - { code: "004", codeName: ConceptualConsistency, description: "adherence to rules of the conceptual schema" } - - { code: "005", codeName: DomainConsistency, description: "adherence of values to the value domains" } - - { 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" } - - { code: "007", codeName: TopologicalConsistency, description: "correctness of the explicitly encoded topological characteristics of the dataset as described by the scope" } - - { code: "008", codeName: ThematicClassificationCorrectness, description: "comparison of the classes assigned to features or their attributes to a universe of discourse" } - - { code: "009", codeName: NonQuantitativeAttributeCorrectness, description: "correctness of non-quantitative attributes" } - - { code: "010", codeName: QuantitativeAttributeAccuracy, description: "accuracy of quantitative attributes" } - - { code: "011", codeName: AccuracyOfATimeMeasurement, description: "correctness of the temporal references of an item (reporting of error in time measurement)" } - - { code: "012", codeName: TemporalValidity, description: "validity of data specified by the scope with respect to time" } - - { code: "013", codeName: TemporalConsistency, description: "correctness of ordered events or sequences, if reported" } - - { code: "014", codeName: Commission, description: "excess data present in the dataset, as described by the scope" } - - { code: "015", codeName: Omission, description: "data absent from the dataset, as described by the scope" } + - { code: "001", codeName: DQ_AbsoluteExternalPositionalAccuracy, description: "closeness of reported coordinate values to values accepted as or being true" } + - { 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" } + - { code: "003", codeName: DQ_GriddedDataPositionalAccuracy, description: "closeness of gridded data position values to values accepted as or being true" } + - { code: "004", codeName: DQ_ConceptualConsistency, description: "adherence to rules of the conceptual schema" } + - { code: "005", codeName: DQ_DomainConsistency, description: "adherence of values to the value domains" } + - { 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" } + - { code: "007", codeName: DQ_TopologicalConsistency, description: "correctness of the explicitly encoded topological characteristics of the dataset as described by the scope" } + - { code: "008", codeName: DQ_ThematicClassificationCorrectness, description: "comparison of the classes assigned to features or their attributes to a universe of discourse" } + - { code: "009", codeName: DQ_NonQuantitativeAttributeCorrectness, description: "correctness of non-quantitative attributes" } + - { code: "010", codeName: DQ_QuantitativeAttributeAccuracy, description: "accuracy of quantitative attributes" } + - { code: "011", codeName: DQ_AccuracyOfATimeMeasurement, description: "correctness of the temporal references of an item (reporting of error in time measurement)" } + - { code: "012", codeName: DQ_TemporalValidity, description: "validity of data specified by the scope with respect to time" } + - { code: "013", codeName: DQ_TemporalConsistency, description: "correctness of ordered events or sequences, if reported" } + - { code: "014", codeName: DQ_CompletenessCommission, description: "excess data present in the dataset, as described by the scope" } + - { code: "015", codeName: DQ_CompletenessOmission, description: "data absent from the dataset, as described by the scope" } diff --git a/resources/adiwg_namespace.yml b/resources/adiwg_namespace.yml index 3337d3a..1631e81 100644 --- a/resources/adiwg_namespace.yml +++ b/resources/adiwg_namespace.yml @@ -23,3 +23,5 @@ codelist: - {code: "spatialreference.org", codeName: SR-ORG, description: "Coordinate reference system from SpatialReference.org database"} - {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."} - {code: "org.adiwg.code.mapProjection", codeName: mapProjection, description: "Name of the planar, grid, or local projection used by a spatial reference system."} + - {code: "org.adiwg.code.bureauCode", codeName: bureauCode, description: "DCAT-US combined federal agency and bureau code from OMB Circular A-11."} + - {code: "org.adiwg.code.programCode", codeName: programCode, description: "DCAT-US Federal Program Inventory program code."} \ No newline at end of file diff --git a/resources/iso_parameterDirection.yml b/resources/iso_parameterDirection.yml new file mode 100644 index 0000000..a08904c --- /dev/null +++ b/resources/iso_parameterDirection.yml @@ -0,0 +1,11 @@ +codelistType: "staticList" +codelistName: "iso_parameterDirection" +source: "ISO" +sourceName: "SV_ParameterDirection" +extensible: true +description: "class of information to which the referencing entity applies" +codelist: + - {code: "001", codeName: in, description: "the parameter is an input parameter to the service instance"} + - {code: "002", codeName: out, description: "the parameter is an output parameter to the service instance"} + - {code: "003", codeName: in/out, description: "the parameter is both an input and output parameter to the service instance"} + \ No newline at end of file diff --git a/resources/iso_parameterDirectionCode.yml b/resources/iso_parameterDirectionCode.yml deleted file mode 100644 index 1df4bd0..0000000 --- a/resources/iso_parameterDirectionCode.yml +++ /dev/null @@ -1,12 +0,0 @@ - -codelistType: "staticList" -codelistName: "iso_parameterDirection" -source: "ISO" -sourceName: "SV_ParameterDirection" -extensible: true -description: "class of information to which the referencing entity applies" -codelist: - - { code: "001", codeName: "in", description: "the parameter is an input parameter to the service instance" } - - { code: "002", codeName: "out", description: "the parameter is an output parameter to the service instance" } - - { code: "003", codeName: "in/out", description: "the parameter is both an input and output parameter to the service instance" } - \ No newline at end of file