mn2pdf 1.14 → 1.18

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: 82af57c19a4ae8d9c5f3cbe5fed8bcc96d2d26b5206ae284eb3fc2462e92d158
4
- data.tar.gz: 85a28f89397def52e9fd69aae9d68d1f14df1f9c13e8d0ae27f564ddbff9ae04
3
+ metadata.gz: 566d5b5ffb2a58c2d3b24f4c11fcceba7ab0c6f1e6490b19583dc2ed9c2c2722
4
+ data.tar.gz: aa9202fe0306336241bf7fafcf8c24111819175d54e9c51bba133c65394f2e0c
5
5
  SHA512:
6
- metadata.gz: dcd915e64519fe78db26923f47dc0aa2d70359c8e56937f7db87085211be628d8a45a8e892dd6b13a488d0c3b15a760e4aabf6491f7a12c2bcdc508d7fc5f109
7
- data.tar.gz: 02c10ee79ef1f4ed1c0205a2b35de46ec628cacc1edcff7d126ff247b95e5cd60576ad4dce85d826d07972288df7a51a2c3d78dced023f19a0b2255aa52f480b
6
+ metadata.gz: d8994ac34a230e7c16f65da65680ef4dc235f19faffa28b91c754dc48bfeceb9fc848b388ce973aec5c385d3e30cc7bc6dd51e91e4ac2980c40ec07a4254c567
7
+ data.tar.gz: 430308b6a21f43054f4f275162c5df940946a344691b184357ec9b3690dbfe6bb69eafd82e99e52b133c31fbe12908fc7e2e4ef4c756b073fca196c8cb1dbb84
@@ -6,15 +6,23 @@ on:
6
6
  push:
7
7
  branches: [ master ]
8
8
  pull_request:
9
+ paths-ignore:
10
+ - .github/workflows/ubuntu.yml
11
+ - .github/workflows/windows.yml
9
12
 
10
13
  jobs:
11
14
  test-macos:
12
15
  name: Test on Ruby ${{ matrix.ruby }} macOS
13
16
  runs-on: macos-latest
17
+ continue-on-error: ${{ matrix.experimental }}
14
18
  strategy:
15
19
  fail-fast: false
16
20
  matrix:
17
21
  ruby: [ '2.6', '2.5', '2.4' ]
22
+ experimental: [false]
23
+ include:
24
+ - ruby: '2.7'
25
+ experimental: true
18
26
  steps:
19
27
  - uses: actions/checkout@master
20
28
  - name: Use Ruby
@@ -9,12 +9,12 @@ 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@v2
12
+ - uses: actions/checkout@v1
13
13
  - name: Add writable remote
14
14
  run: |
15
- git config --global user.name "${GITHUB_ACTOR}"
16
- git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
17
- git remote add github https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
15
+ git config --global user.name "metanorma-ci"
16
+ git config --global user.email "metanorma-ci@users.noreply.github.com"
17
+ git remote add github "https://metanorma-ci:${{ secrets.METANORMA_CI_PAT_TOKEN }}@github.com/$GITHUB_REPOSITORY.git"
18
18
  git pull github ${GITHUB_REF} --ff-only
19
19
  - name: Parse mn2pdf version
20
20
  env:
@@ -28,7 +28,7 @@ jobs:
28
28
  bundle exec rake
29
29
  - name: Publish to rubygems.org
30
30
  env:
31
- RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
31
+ RUBYGEMS_API_KEY: ${{secrets.METANORMA_CI_RUBYGEMS_API_KEY}}
32
32
  run: |
33
33
  gem install gem-release
34
34
  touch ~/.gem/credentials
@@ -5,16 +5,26 @@ name: ubuntu
5
5
  on:
6
6
  push:
7
7
  branches: [ master ]
8
+ tags:
9
+ - '*'
8
10
  pull_request:
11
+ paths-ignore:
12
+ - .github/workflows/macos.yml
13
+ - .github/workflows/windows.yml
9
14
 
10
15
  jobs:
11
16
  test-linux:
12
17
  name: Test on Ruby ${{ matrix.ruby }} Ubuntu
13
18
  runs-on: ubuntu-latest
19
+ continue-on-error: ${{ matrix.experimental }}
14
20
  strategy:
15
21
  fail-fast: false
16
22
  matrix:
17
23
  ruby: [ '2.6', '2.5', '2.4' ]
24
+ experimental: [false]
25
+ include:
26
+ - ruby: '2.7'
27
+ experimental: true
18
28
  steps:
19
29
  - uses: actions/checkout@master
20
30
  - name: Use Ruby
@@ -29,3 +39,15 @@ jobs:
29
39
  - name: Run specs
30
40
  run: |
31
41
  bundle exec rake
42
+ - name: Trigger dependent repositories
43
+ if: github.ref == 'refs/heads/master' && matrix.ruby == '2.6'
44
+ env:
45
+ GH_USERNAME: ${{ secrets.PAT_USERNAME }}
46
+ GH_ACCESS_TOKEN: ${{ secrets.PAT_TOKEN }}
47
+ run: |
48
+ curl -LO --retry 3 https://raw.githubusercontent.com/metanorma/metanorma-build-scripts/master/trigger-gh-actions.sh
49
+ [[ -f ".github/workflows/dependent_repos.env" ]] && source .github/workflows/dependent_repos.env
50
+ for repo in $DEPENDENT_REPOS
51
+ do
52
+ sh trigger-gh-actions.sh $ORGANISATION $repo $GH_USERNAME $GH_ACCESS_TOKEN $GITHUB_REPOSITORY "{ \"ref\": \"${GITHUB_REF}\" }"
53
+ done
@@ -6,15 +6,23 @@ on:
6
6
  push:
7
7
  branches: [ master ]
8
8
  pull_request:
9
+ paths-ignore:
10
+ - .github/workflows/macos.yml
11
+ - .github/workflows/ubuntu.yml
9
12
 
10
13
  jobs:
11
14
  test-windows:
12
15
  name: Test on Ruby ${{ matrix.ruby }} Windows
13
16
  runs-on: windows-latest
17
+ continue-on-error: ${{ matrix.experimental }}
14
18
  strategy:
15
19
  fail-fast: false
16
20
  matrix:
17
21
  ruby: [ '2.6', '2.5', '2.4' ]
22
+ experimental: [false]
23
+ include:
24
+ - ruby: '2.7'
25
+ experimental: true
18
26
  steps:
19
27
  - uses: actions/checkout@master
20
28
  - name: Use Ruby
Binary file
@@ -1,3 +1,3 @@
1
1
  module Mn2pdf
2
- VERSION = '1.14'
2
+ VERSION = '1.18'
3
3
  end
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.14'
4
+ version: '1.18'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-10 00:00:00.000000000 Z
11
+ date: 2020-06-24 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
14
  mn2pdf converts Metanorma XML into PDF.