mnconvert 1.59.0 → 1.64.0

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: 5c6abad25d8d4e753ccd5945aefe771c126b6031e9dc3c3b3f0a9e525f281be7
4
- data.tar.gz: f84409b1bdfe98de3102dbe4cc5283fef89770f786bbf13f9f8eba95813a9217
3
+ metadata.gz: e58610b9a3da972ecad040409d437d421704f75020e1f0527caf25bd5ac614c2
4
+ data.tar.gz: 0b69c1bb89b06772ea0db878013543a16555d58c5237aee5dcfe9096a921279b
5
5
  SHA512:
6
- metadata.gz: 726ccbe55e698cbfc7202a3037e68a67bff893fd286213a256bad2d98ecb56c752c5605887735ce8d6b9ebf4aee3581939f35058c90d332fce114daae4affd6f
7
- data.tar.gz: 7d3bf9e3b84d5ae5301166099d90c3befbf948a59f65ea706712cab1e883801a77e596eb3aa12205fe733b91a8bfc887fc4fb17f690fe0d9663806ecb61324b2
6
+ metadata.gz: 04c581e894c129a4e784f98b83dabbe06a25c3acd6a1b6ab7631471d8372edcbbb214e4985a45473403e245cad42b5f2633eadcda36827b11dbbbc3b7f0a439e
7
+ data.tar.gz: 29a605c15895812f60bb93f4d591b69937c3ba4fa44ca27964a244438aa984f28aca9d4fdc297f3d77b1d5aa1db8d2a274d59188f7821fd9e49b6c4dd9059613
@@ -22,6 +22,7 @@ jobs:
22
22
  - uses: actions/checkout@v3
23
23
  with:
24
24
  repository: metanorma/ieee-stl
25
+ ref: main
25
26
  token: ${{ secrets.pat_token || github.token }}
26
27
  path: ieee/stl
27
28
 
@@ -42,7 +43,7 @@ jobs:
42
43
  use-bundler: true
43
44
  agree-to-terms: true
44
45
 
45
- - uses: actions/upload-artifact@v3
46
+ - uses: actions/upload-artifact@v4
46
47
  with:
47
48
  name: ieee-test-input
48
49
  path: |
@@ -5,6 +5,7 @@ on:
5
5
  branches: [ master, main ]
6
6
  tags: [ v* ]
7
7
  pull_request:
8
+ workflow_dispatch:
8
9
 
9
10
  jobs:
10
11
  prepare:
@@ -33,7 +34,7 @@ jobs:
33
34
  matrix: ${{ fromJson(needs.prepare.outputs.matrix) }}
34
35
 
35
36
  steps:
36
- - uses: actions/checkout@v3
37
+ - uses: actions/checkout@v4
37
38
  with:
38
39
  submodules: true
39
40
 
@@ -43,7 +44,7 @@ jobs:
43
44
  bundler-cache: true
44
45
  rubygems: ${{ matrix.ruby.rubygems }}
45
46
 
46
- - uses: actions/download-artifact@v3
47
+ - uses: actions/download-artifact@v4.1.7
47
48
  with:
48
49
  name: ieee-test-input
49
50
  path: ieee
@@ -22,7 +22,7 @@ jobs:
22
22
  with:
23
23
  token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
24
24
 
25
- - uses: actions/download-artifact@v3
25
+ - uses: actions/download-artifact@v4.1.7
26
26
  with:
27
27
  name: ieee-test-input
28
28
  path: ieee
@@ -36,7 +36,7 @@ jobs:
36
36
  ruby-version: ${{ needs.prepare.outputs.default-ruby-version }}
37
37
  bundler-cache: true
38
38
 
39
- - uses: actions/download-artifact@v3
39
+ - uses: actions/download-artifact@v4.1.7
40
40
  with:
41
41
  name: ieee-test-input
42
42
  path: ieee
@@ -55,7 +55,7 @@ jobs:
55
55
  run: |
56
56
  git add -u bin/mnconvert.jar lib/mnconvert/version.rb
57
57
  git commit -m "Bump version to ${{ inputs.next_version }}"
58
- git tag v${mnconvert_VERSION}
58
+ git tag v${{ inputs.next_version }}
59
59
  git push origin HEAD:${GITHUB_REF} --tags
60
60
 
61
61
  - uses: actions-mn/gem-release@main
data/Rakefile CHANGED
@@ -20,31 +20,32 @@ end
20
20
  file "bin/mnconvert.jar" do |file|
21
21
  ver = MnConvert::MNCONVERT_JAR_VERSION
22
22
  url = "https://github.com/metanorma/mnconvert/releases/download/v#{ver}/mnconvert-#{ver}.jar"
23
+ puts "Downloading... #{url}"
23
24
  File.open(file.name, "wb") do |f|
24
25
  f.write uri_open(url).read
25
26
  end
26
27
  end
27
28
 
28
29
  file "spec/fixtures/rice-en.cd.mn.xml" do |file|
29
- uri = "https://raw.githubusercontent.com/metanorma/mn-samples-iso/gh-pages/documents/international-standard/rice-en.cd.xml"
30
-
30
+ url = "https://raw.githubusercontent.com/metanorma/mn-samples-iso/gh-pages/documents/international-standard/rice-2023/document-en.cd.xml"
31
+ puts "Downloading... #{url}"
31
32
  File.open(file.name, "w") do |saved_file|
32
- saved_file.write(uri_open(uri).read)
33
+ saved_file.write(uri_open(url).read)
33
34
  end
34
35
  end
35
36
 
36
37
  file "spec/fixtures/rice-en.final.sts.xml" do |file|
37
- uri = "https://raw.githubusercontent.com/metanorma/sts2mn/master/src/test/resources/rice-en.final.sts.xml"
38
-
38
+ url = "https://raw.githubusercontent.com/metanorma/sts2mn/master/src/test/resources/rice-en.final.sts.xml"
39
+ puts "Downloading... #{url}"
39
40
  File.open(file.name, "w") do |saved_file|
40
- saved_file.write(uri_open(uri).read)
41
+ saved_file.write(uri_open(url).read)
41
42
  end
42
43
  end
43
44
 
44
45
  file "spec/fixtures/rfc8650.xml" do |file|
45
- uri = "https://raw.githubusercontent.com/metanorma/mnconvert/main/src/test/resources/rfc/rfc8650.xml"
46
-
46
+ url = "https://raw.githubusercontent.com/metanorma/mnconvert/main/src/test/resources/rfc/rfc8650.xml"
47
+ puts "Downloading... #{url}"
47
48
  File.open(file.name, "w") do |saved_file|
48
- saved_file.write(uri_open(uri).read)
49
+ saved_file.write(uri_open(url).read)
49
50
  end
50
51
  end
data/bin/mnconvert.jar CHANGED
Binary file
@@ -1,4 +1,4 @@
1
1
  module MnConvert
2
- VERSION = "1.59.0"
2
+ VERSION = "1.64.0"
3
3
  MNCONVERT_JAR_VERSION = VERSION
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mnconvert
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.59.0
4
+ version: 1.64.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-02-28 00:00:00.000000000 Z
11
+ date: 2024-10-10 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
14
  mnconvert converts Metanorma XML into NISO STS XML.
@@ -58,7 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
58
  - !ruby/object:Gem::Version
59
59
  version: '0'
60
60
  requirements: []
61
- rubygems_version: 3.3.26
61
+ rubygems_version: 3.5.16
62
62
  signing_key:
63
63
  specification_version: 4
64
64
  summary: mnconvert converts Metanorma XML into NISO STS XML.