mnconvert 1.59.0 → 1.65.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: cc9c0c443aa9e8ded122260787bdf334bba6d1e0479c55b574b3becbf1b1151f
|
4
|
+
data.tar.gz: 5e0d62fca6c754f9464f504af180c483c33e9be03dfaf425531542869eaef422
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e9c6fbee4d717512be02f72dd23edd7d3b8f356df49e720362e4c1af72628e8bab468aefeff85ddb9c041916b0cf722434134fdde669e06a4dea57d1f41ec38
|
7
|
+
data.tar.gz: 49f469d7d564d73b91fa695dc3848a2709360e61b564e49ad5fb02f10bc9495408288ebefeb3b540bfa2a1a107262226e2ea56afa445642dd737327ac83a7faf
|
@@ -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.65.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-11-24 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.
|