adiwg-mdcodes 2.10.0 → 2.10.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e45dcab110b344916eab23281ccd460a8fae09cd52f506931a9ea9a59a4dbed0
4
- data.tar.gz: 339d928942d808ab50eedb54e7f30022b0cb9c1571af640e5164fc62f974802c
3
+ metadata.gz: c5760ca9aae5b5cbabf14da365052721ffa9f1ebd59034a63eec7e2ee032ff6d
4
+ data.tar.gz: b6ddac3da2275f5765655411ffe1c562d06a4f25727ee22d034f1e7029995c38
5
5
  SHA512:
6
- metadata.gz: 50f57f5cabf4ad65e251cb0010aaafec572ee78d5f08ed52a4730866e6707b620c8ecce5acc3172de81beeae662c4b63075df579161b457dbf05f851e3fdaa8c
7
- data.tar.gz: 1e891b78d38cd922077e0f192e07dd0cbd05905228d5e1d5dbf11ecd3f83df904303ea447bce8d480a9dc60d52b65d54694c40052020e62560a3fe22b14ad7e9
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/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- adiwg-mdcodes (2.10.0)
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.10.0"
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.10.0",
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.10.0",
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.10.0",
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": "bundle && 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",
@@ -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.10.0
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-26 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
@@ -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
-