mn2pdf 1.49 → 1.52
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +1 -1
- data/.github/workflows/release-tag.yml +3 -3
- data/.github/workflows/release.yml +18 -6
- data/.gitignore +4 -1
- data/bin/mn2pdf.jar +0 -0
- data/lib/mn2pdf/version.rb +1 -1
- data/mn2pdf.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8012686623fa5ae03b3efffbd2b3c479678144844cd4b3cdbc22598fd2c4030d
|
4
|
+
data.tar.gz: 31636de16aed44dd3248c59c6dbf98f120d50d30a8f47ab9390a65c4820dc312
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65d60c995dfc571a854bd24c5aee5723e459e734548d8be11dde2a35edbc1d84f6cab4d10b878edf62b120c8dd93fc110e355ac322ab70528de6799ee05118b9
|
7
|
+
data.tar.gz: 2c7e2b4eeac9fbe5c62f1eead0a0ad6e5559f288553bca74953d5bff843558a0201c5bc7659ad1399d1cb9209194c8888c97cd46fd29d4e037c415a9c1ac4277
|
data/.github/workflows/rake.yml
CHANGED
@@ -9,7 +9,7 @@ jobs:
|
|
9
9
|
runs-on: ubuntu-18.04
|
10
10
|
if: startsWith(github.event.client_payload.ref, 'refs/tags/v')
|
11
11
|
steps:
|
12
|
-
- uses: actions/checkout@
|
12
|
+
- uses: actions/checkout@v3
|
13
13
|
with:
|
14
14
|
token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
|
15
15
|
|
@@ -20,7 +20,7 @@ jobs:
|
|
20
20
|
|
21
21
|
- uses: ruby/setup-ruby@v1
|
22
22
|
with:
|
23
|
-
ruby-version: '
|
23
|
+
ruby-version: '3.1'
|
24
24
|
bundler-cache: true
|
25
25
|
|
26
26
|
- run: gem install gem-release
|
@@ -47,4 +47,4 @@ jobs:
|
|
47
47
|
with:
|
48
48
|
assignees: CAMOBAP
|
49
49
|
update_existing: true
|
50
|
-
search_existing: all
|
50
|
+
search_existing: all
|
@@ -16,13 +16,19 @@ jobs:
|
|
16
16
|
release:
|
17
17
|
runs-on: ubuntu-18.04
|
18
18
|
steps:
|
19
|
-
- uses: actions/checkout@
|
19
|
+
- uses: actions/checkout@v3
|
20
|
+
with:
|
21
|
+
token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
|
20
22
|
|
21
23
|
- uses: ruby/setup-ruby@v1
|
22
24
|
with:
|
23
|
-
ruby-version: '
|
25
|
+
ruby-version: '3.1'
|
24
26
|
bundler-cache: true
|
25
27
|
|
28
|
+
- if: github.event_name == 'workflow_dispatch' && inputs.next_version != 'skip'
|
29
|
+
run: |
|
30
|
+
rm -f bin/mn2pdf.jar
|
31
|
+
|
26
32
|
- run: bundle exec rake bin/mn2pdf.jar
|
27
33
|
|
28
34
|
- run: bundle exec rake
|
@@ -30,17 +36,23 @@ jobs:
|
|
30
36
|
- run: gem install gem-release
|
31
37
|
|
32
38
|
- run: |
|
33
|
-
git config user.name
|
34
|
-
git config user.email
|
39
|
+
git config user.name "metanorma-ci"
|
40
|
+
git config user.email "metanorma-ci@users.noreply.github.com"
|
35
41
|
|
36
|
-
- if: github.event_name == 'workflow_dispatch' &&
|
37
|
-
run:
|
42
|
+
- if: github.event_name == 'workflow_dispatch' && inputs.next_version != 'skip'
|
43
|
+
run: |
|
44
|
+
gem bump --version ${{ inputs.next_version }} --no-commit
|
45
|
+
git add -u lib/mn2pdf/version.rb
|
46
|
+
git commit -m "Bump version to ${mnconvert_VERSION}"
|
47
|
+
git tag v${{ inputs.next_version }}
|
48
|
+
git push origin HEAD:${GITHUB_REF} --tags
|
38
49
|
|
39
50
|
- name: Publish to rubygems.org
|
40
51
|
env:
|
41
52
|
RUBYGEMS_API_KEY: ${{secrets.METANORMA_CI_RUBYGEMS_API_KEY}}
|
42
53
|
run: |
|
43
54
|
gem install gem-release
|
55
|
+
mkdir -p ~/.gem
|
44
56
|
cat > ~/.gem/credentials << EOF
|
45
57
|
---
|
46
58
|
:rubygems_api_key: ${RUBYGEMS_API_KEY}
|
data/.gitignore
CHANGED
data/bin/mn2pdf.jar
CHANGED
Binary file
|
data/lib/mn2pdf/version.rb
CHANGED
data/mn2pdf.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
spec.files = `git ls-files`.split("\n")
|
22
22
|
spec.test_files = `git ls-files -- {spec}/*`.split("\n") << "bin/mn2pdf.jar"
|
23
|
-
spec.required_ruby_version = Gem::Requirement.new(">= 2.
|
23
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
|
24
24
|
|
25
25
|
# Specify which files should be added to the gem when it is released.
|
26
26
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mn2pdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.52'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |
|
14
14
|
mn2pdf converts Metanorma XML into PDF.
|
@@ -49,14 +49,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
49
49
|
requirements:
|
50
50
|
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: 2.
|
52
|
+
version: 2.7.0
|
53
53
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
54
54
|
requirements:
|
55
55
|
- - ">="
|
56
56
|
- !ruby/object:Gem::Version
|
57
57
|
version: '0'
|
58
58
|
requirements: []
|
59
|
-
rubygems_version: 3.
|
59
|
+
rubygems_version: 3.3.26
|
60
60
|
signing_key:
|
61
61
|
specification_version: 4
|
62
62
|
summary: mn2pdf converts Metanorma XML into PDF.
|