metanorma-itu 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/macos.yml +0 -1
- data/.github/workflows/ubuntu.yml +10 -7
- data/.github/workflows/windows.yml +0 -1
- data/lib/isodoc/itu/ref.rb +2 -0
- data/lib/metanorma/itu/processor.rb +0 -4
- data/lib/metanorma/itu/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c64bb790ac1dfa65f1a9f04584d0dd0ffd293c372df9b4812bc29501217bd1a4
|
4
|
+
data.tar.gz: efe01eee56939ed68f7dd70d846f6d54f1ec71903fa7509bc2f65764c5bb37d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a43368112b086f151bbd595a1a48d33563d7dba21435d1a16d78e3d21f2cd7c18a7ea1b22c4e3a3bef9cdb518e3e51207179df5e49a862bf9312bda2eaad72f
|
7
|
+
data.tar.gz: 57c8ef4499538f54207e74757834138aa515c2f4100ed546824f2ed44d416d9908a301afcbce1d8636e926d6b5a04d128467128ce3cc68956da58350d0622c34
|
data/.github/workflows/macos.yml
CHANGED
@@ -31,7 +31,6 @@ jobs:
|
|
31
31
|
uses: actions/setup-ruby@v1
|
32
32
|
with:
|
33
33
|
ruby-version: ${{ matrix.ruby }}
|
34
|
-
architecture: 'x64'
|
35
34
|
- name: Update gems
|
36
35
|
run: |
|
37
36
|
gem install bundler
|
@@ -39,15 +38,19 @@ jobs:
|
|
39
38
|
- name: Run specs
|
40
39
|
run: |
|
41
40
|
bundle exec rake
|
42
|
-
- name: Trigger
|
43
|
-
if:
|
41
|
+
- name: Trigger repositories
|
42
|
+
if: matrix.ruby == '2.6'
|
44
43
|
env:
|
45
|
-
GH_USERNAME:
|
46
|
-
GH_ACCESS_TOKEN: ${{ secrets.
|
44
|
+
GH_USERNAME: metanorma-ci
|
45
|
+
GH_ACCESS_TOKEN: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
|
47
46
|
run: |
|
48
47
|
curl -LO --retry 3 https://raw.githubusercontent.com/metanorma/metanorma-build-scripts/master/trigger-gh-actions.sh
|
49
48
|
[[ -f ".github/workflows/dependent_repos.env" ]] && source .github/workflows/dependent_repos.env
|
50
|
-
|
49
|
+
CLIENT_PAYLOAD=$(cat <<EOF
|
50
|
+
"{ "ref": "${GITHUB_REF}", "repo": "${GITHUB_REPOSITORY}" }"
|
51
|
+
EOF
|
52
|
+
)
|
53
|
+
for repo in $REPOS
|
51
54
|
do
|
52
|
-
sh trigger-gh-actions.sh $ORGANISATION $repo $GH_USERNAME $GH_ACCESS_TOKEN $GITHUB_REPOSITORY "
|
55
|
+
sh trigger-gh-actions.sh $ORGANISATION $repo $GH_USERNAME $GH_ACCESS_TOKEN $GITHUB_REPOSITORY "$CLIENT_PAYLOAD"
|
53
56
|
done
|
data/lib/isodoc/itu/ref.rb
CHANGED
@@ -5,6 +5,7 @@ require "fileutils"
|
|
5
5
|
module IsoDoc
|
6
6
|
module ITU
|
7
7
|
module BaseConvert
|
8
|
+
=begin
|
8
9
|
def norm_ref(isoxml, out, num)
|
9
10
|
q = "//bibliography/references[@normative = 'true']"
|
10
11
|
f = isoxml.at(ns(q)) or return num
|
@@ -15,6 +16,7 @@ module IsoDoc
|
|
15
16
|
end
|
16
17
|
num
|
17
18
|
end
|
19
|
+
=end
|
18
20
|
|
19
21
|
def nonstd_bibitem(list, b, ordinal, biblio)
|
20
22
|
list.tr **attr_code(iso_bibitem_entry_attrs(b, biblio)) do |ref|
|
@@ -30,10 +30,6 @@ module Metanorma
|
|
30
30
|
"Metanorma::ITU #{Metanorma::ITU::VERSION}"
|
31
31
|
end
|
32
32
|
|
33
|
-
def input_to_isodoc(file, filename)
|
34
|
-
Metanorma::Input::Asciidoc.new.process(file, filename, @asciidoctor_backend)
|
35
|
-
end
|
36
|
-
|
37
33
|
def output(isodoc_node, inname, outname, format, options={})
|
38
34
|
case format
|
39
35
|
when :html
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-itu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
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-
|
11
|
+
date: 2020-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: htmlentities
|