metanorma-mpfd 0.3.15 → 0.3.16

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: 77082fb21e5dbefe95f1755dadf504bbeff41b55a9749c55dd917574b7243861
4
- data.tar.gz: bdc6df32dd4391587af79ed14979307e1ef14a88ecd4f812c74fd3270fb4e651
3
+ metadata.gz: ae8e908874e5ba2f1d35d653196027436ed4cb24110b641523d08d9ee4e476d2
4
+ data.tar.gz: b65b04a1821afd9978ae35b7331521d42d98a1308811b335dd0a798d64c9f21f
5
5
  SHA512:
6
- metadata.gz: '0088a8ecc9f2e6ecf3a5e0a1dc10e422ca593fd0cbca6997a4bbb2b91b84da51e77493dcf5419b8f983047fc49721b377bae0b8a1f699d03c171cd3b3517f28b'
7
- data.tar.gz: 2356684bdc7eeb7802eeb6263d21a927cad705528236daa1c4b253057581af521c4c79fe3ef80cf883c8e644e0af5ea4da3b96831a3bf08939fe8cf78845589d
6
+ metadata.gz: 8f5fa1dcfeca7fa42e1972a7ac3507baaaf2037f93b78af6024870b1ee490d84776bc6317aae4720876d5dcc6f31bc50d44b34284d7c13e5e4f724f82745badc
7
+ data.tar.gz: ef85686e806d035c3d43ec0b43b0eaf1c46247e6c2d117da38f7fb77c49bf96a0c777be874ab2c783465865246d036e93c8803e6e7fbe47410503c2f239bfe2f
@@ -1,12 +1,11 @@
1
- # Auto-generated !!! Do not edit it manually
2
- # use ci-master https://github.com/metanorma/metanorma-build-scripts
1
+ # Auto-generated by Cimas: Do not edit it manually!
2
+ # See https://github.com/metanorma/cimas
3
3
  name: macos
4
4
 
5
5
  on:
6
6
  push:
7
7
  branches: [ master ]
8
8
  pull_request:
9
- branches: [ '**' ]
10
9
 
11
10
  jobs:
12
11
  test-macos:
@@ -1,12 +1,11 @@
1
- # Auto-generated !!! Do not edit it manually
2
- # use ci-master https://github.com/metanorma/metanorma-build-scripts
1
+ # Auto-generated by Cimas: Do not edit it manually!
2
+ # See https://github.com/metanorma/cimas
3
3
  name: ubuntu
4
4
 
5
5
  on:
6
6
  push:
7
7
  branches: [ master ]
8
8
  pull_request:
9
- branches: [ '**' ]
10
9
 
11
10
  jobs:
12
11
  test-linux:
@@ -25,7 +24,7 @@ jobs:
25
24
  architecture: 'x64'
26
25
  - name: Update gems
27
26
  run: |
28
- gem install bundler
27
+ gem install bundler
29
28
  bundle install --jobs 4 --retry 3
30
29
  - name: Use Node
31
30
  uses: actions/setup-node@v1
@@ -37,3 +36,15 @@ jobs:
37
36
  - name: Run specs
38
37
  run: |
39
38
  bundle exec rake
39
+ - name: Trigger dependent repositories
40
+ if: github.ref == 'refs/heads/master'
41
+ env:
42
+ GH_USERNAME: ${{ secrets.PAT_USERNAME }}
43
+ GH_ACCESS_TOKEN: ${{ secrets.PAT_TOKEN }}
44
+ run: |
45
+ curl -LO --retry 3 https://raw.githubusercontent.com/metanorma/metanorma-build-scripts/master/trigger-gh-actions.sh
46
+ [[ -f ".github/workflows/dependent_repos.env" ]] && source .github/workflows/dependent_repos.env
47
+ for repo in $DEPENDENT_REPOS
48
+ do
49
+ sh trigger-gh-actions.sh $ORGANISATION $repo $GH_USERNAME $GH_ACCESS_TOKEN $GITHUB_REPOSITORY
50
+ done
@@ -1,12 +1,11 @@
1
- # Auto-generated !!! Do not edit it manually
2
- # use ci-master https://github.com/metanorma/metanorma-build-scripts
1
+ # Auto-generated by Cimas: Do not edit it manually!
2
+ # See https://github.com/metanorma/cimas
3
3
  name: windows
4
4
 
5
5
  on:
6
6
  push:
7
7
  branches: [ master ]
8
8
  pull_request:
9
- branches: [ '**' ]
10
9
 
11
10
  jobs:
12
11
  test-windows:
@@ -26,7 +25,7 @@ jobs:
26
25
  - name: Update gems
27
26
  shell: pwsh
28
27
  run: |
29
- gem install bundler
28
+ gem install bundler
30
29
  bundle config --local path vendor/bundle
31
30
  bundle update
32
31
  bundle install --jobs 4 --retry 3
data/README.adoc CHANGED
@@ -1,8 +1,9 @@
1
1
  = Metanorma-MPFD: Metanorma processor for MPFA documents
2
2
 
3
3
  image:https://img.shields.io/gem/v/metanorma-mpfd.svg["Gem Version", link="https://rubygems.org/gems/metanorma-mpfd"]
4
- image:https://travis-ci.com/metanorma/metanorma-mpfd.svg["Build Status", link="https://travis-ci.com/metanorma/metanorma-mpfd"]
5
- image:https://ci.appveyor.com/api/projects/status/oprurhccr4hv0yy8?svg=true["Appveyor Build Status", link="https://ci.appveyor.com/project/metanorma/metanorma-mpfd"]
4
+ image:https://github.com/metanorma/metanorma-mpfd/workflows/macos/badge.svg["Build Status (macOS)", link="https://github.com/metanorma/metanorma-mpfd/actions?workflow=macos"]
5
+ image:https://github.com/metanorma/metanorma-mpfd/workflows/ubuntu/badge.svg["Build Status (ubuntu)", link="https://github.com/metanorma/metanorma-mpfd/actions?workflow=ubuntu"]
6
+ image:https://github.com/metanorma/metanorma-mpfd/workflows/windows/badge.svg["Build Status (Windows)", link="https://github.com/metanorma/metanorma-mpfd/actions?workflow=windows"]
6
7
  image:https://codeclimate.com/github/metanorma/metanorma-mpfd/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/metanorma-mpfd"]
7
8
  image:https://img.shields.io/github/issues-pr-raw/metanorma/metanorma-mpfd.svg["Pull Requests", link="https://github.com/metanorma/metanorma-mpfd/pulls"]
8
9
  image:https://img.shields.io/github/commits-since/metanorma/metanorma-mpfd/latest.svg["Commits since latest",link="https://github.com/metanorma/metanorma-mpfd/releases"]
@@ -703,21 +703,11 @@
703
703
  </define>
704
704
  <define name="TypedTitleString">
705
705
  <optional>
706
- <attribute name="type">
707
- <ref name="TitleType"/>
708
- </attribute>
706
+ <attribute name="type"/>
709
707
  </optional>
710
708
  <ref name="FormattedString"/>
711
709
  </define>
712
- <define name="TitleType">
713
- <choice>
714
- <value>alternative</value>
715
- <value>original</value>
716
- <value>unofficial</value>
717
- <value>subtitle</value>
718
- <value>main</value>
719
- </choice>
720
- </define>
710
+ <!-- TitleType = ( "alternative" | "original" | "unofficial" | "subtitle" | "main" ) -->
721
711
  <define name="TypedUri">
722
712
  <optional>
723
713
  <attribute name="type"/>
@@ -92,7 +92,7 @@ module Asciidoctor
92
92
  word_converter(node).convert filename unless node.attr("nodoc")
93
93
  pdf_converter(node).convert filename unless node.attr("nodoc")
94
94
  end
95
- @log.write(@filename + ".err") unless @novalid
95
+ @log.write(@localdir + @filename + ".err") unless @novalid
96
96
  @files_to_delete.each { |f| FileUtils.rm f }
97
97
  ret
98
98
  end
@@ -101,9 +101,7 @@
101
101
  <ref name="structuredidentifier"/>
102
102
  </zeroOrMore>
103
103
  </define>
104
- <define name="TitleType">
105
- <text/>
106
- </define>
104
+ <!-- TitleType = text -->
107
105
  <define name="sections">
108
106
  <element name="sections">
109
107
  <oneOrMore>
@@ -51,8 +51,6 @@ module IsoDoc
51
51
 
52
52
  def version(isoxml, _out)
53
53
  super
54
- revdate = get[:revdate]
55
- set(:revdate_monthyear, monthyr(revdate))
56
54
  edition = isoxml.at(ns("//version/edition"))
57
55
  if edition
58
56
  set(
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Mpfd
3
- VERSION = "0.3.15"
3
+ VERSION = "0.3.16"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-mpfd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.15
4
+ version: 0.3.16
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-03-20 00:00:00.000000000 Z
11
+ date: 2020-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htmlentities