mnconvert 1.59.0 → 1.64.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/prepare.yml +2 -1
- data/.github/workflows/rake.yml +3 -2
- data/.github/workflows/release-tag.yml +1 -1
- data/.github/workflows/release.yml +2 -2
- data/Rakefile +10 -9
- data/bin/mnconvert.jar +0 -0
- data/lib/mnconvert/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e58610b9a3da972ecad040409d437d421704f75020e1f0527caf25bd5ac614c2
|
4
|
+
data.tar.gz: 0b69c1bb89b06772ea0db878013543a16555d58c5237aee5dcfe9096a921279b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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@
|
46
|
+
- uses: actions/upload-artifact@v4
|
46
47
|
with:
|
47
48
|
name: ieee-test-input
|
48
49
|
path: |
|
data/.github/workflows/rake.yml
CHANGED
@@ -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@
|
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@
|
47
|
+
- uses: actions/download-artifact@v4.1.7
|
47
48
|
with:
|
48
49
|
name: ieee-test-input
|
49
50
|
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@
|
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${
|
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
|
-
|
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(
|
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
|
-
|
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(
|
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
|
-
|
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(
|
49
|
+
saved_file.write(uri_open(url).read)
|
49
50
|
end
|
50
51
|
end
|
data/bin/mnconvert.jar
CHANGED
Binary file
|
data/lib/mnconvert/version.rb
CHANGED
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.
|
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-
|
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.
|
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.
|