metanorma-cli 1.1.4 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 588971d18bd72f78a9e831ca4771f4e41628be1f1bf07f33bfdecbfd080b5fed
4
- data.tar.gz: cddb573b4356361f4ae6c30517f5a0ddd94edd1e0f9ab59497fd79d305628ace
3
+ metadata.gz: 13e00898d6da770a5a0cca7456e933676657e7c9fb7ea216cea5c0a8f7bdf641
4
+ data.tar.gz: fd6bd6274f4f009eef477935dac2a6eb1ba0b85f568d9bb5beb3f033a5748889
5
5
  SHA512:
6
- metadata.gz: 423a612fb6fcadb03b05576acb4ea4900fe52cb5f940f2519a170b504ec38446864812161aede7dd6b9ae3052b1b87b9adb654e1b37a2f2421b165ccc9993439
7
- data.tar.gz: dd7033bbdd890ebf8095e04ea8ab48d527b76ed8f5bc387105d3b2a1b710ed9d50c5ace6bdc7a95ad3f2610623910c11167b94b5db0124de90c799c1c4d18c50
6
+ metadata.gz: 00a80e85a45101eaa350c520614a437b41bb29303edbf8d083c8e35aecbabafc2fe48760e774cc921d7765d026d5692fadd4d057eedfd56ff6d2c1dd92e02443
7
+ data.tar.gz: 90d7d87f9428d90dc415240d080e31e9ce7842e0e3bcc63ca9e0ac5c7627d5c9ab903de3b506de7ac9653c841cd3464b446e76a81663929b6fc1e8013396fcdf
@@ -24,7 +24,7 @@ GEM
24
24
  specs:
25
25
  addressable (2.6.0)
26
26
  public_suffix (>= 2.0.2, < 4.0)
27
- algoliasearch (1.25.2)
27
+ algoliasearch (1.26.0)
28
28
  httpclient (~> 2.8, >= 2.8.3)
29
29
  json (>= 1.5.1)
30
30
  asciidoctor (1.5.8)
@@ -71,7 +71,7 @@ GEM
71
71
  algoliasearch
72
72
  iecbib (~> 0.2.1)
73
73
  iso-bib-item (~> 0.4.2)
74
- isodoc (0.9.16)
74
+ isodoc (0.9.17)
75
75
  asciimath
76
76
  html2doc (~> 0.8.6)
77
77
  htmlentities (~> 4.3.4)
@@ -85,17 +85,18 @@ GEM
85
85
  thread_safe
86
86
  uuidtools
87
87
  isoics (0.1.7)
88
- json (2.1.0)
88
+ json (2.2.0)
89
89
  liquid (4.0.1)
90
- metanorma (0.3.8)
90
+ metanorma (0.3.9)
91
91
  asciidoctor
92
- metanorma-acme (1.1.1)
92
+ htmlentities
93
+ metanorma-acme (1.1.2)
93
94
  asciidoctor (~> 1.5.7)
94
95
  htmlentities (~> 4.3.4)
95
96
  isodoc (~> 0.9.0)
96
97
  metanorma-standoc (~> 1.1.0)
97
98
  ruby-jing
98
- metanorma-csand (1.1.1)
99
+ metanorma-csand (1.1.2)
99
100
  asciidoctor (~> 1.5.7)
100
101
  asciimath
101
102
  htmlentities (~> 4.3.4)
@@ -108,10 +109,10 @@ GEM
108
109
  ruby-xslt
109
110
  thread_safe
110
111
  uuidtools
111
- metanorma-csd (1.1.1)
112
+ metanorma-csd (1.1.2)
112
113
  isodoc (~> 0.9.6)
113
114
  metanorma-standoc (~> 1.1.0)
114
- metanorma-gb (1.1.1)
115
+ metanorma-gb (1.1.2)
115
116
  gb-agencies (~> 0.0.4)
116
117
  isodoc (~> 0.9.1)
117
118
  metanorma-iso (~> 1.1.0)
@@ -119,13 +120,13 @@ GEM
119
120
  metanorma-ietf (1.0.1)
120
121
  isodoc (~> 0.9.6)
121
122
  metanorma-standoc (~> 1.1.0)
122
- metanorma-iso (1.1.1)
123
+ metanorma-iso (1.1.2)
123
124
  asciidoctor (~> 1.5.7)
124
125
  iev (~> 0.2.0)
125
126
  isodoc (~> 0.9.8)
126
127
  metanorma-standoc (~> 1.1.0)
127
128
  ruby-jing
128
- metanorma-m3d (1.1.1)
129
+ metanorma-m3d (1.1.2)
129
130
  asciidoctor (~> 1.5.7)
130
131
  asciimath
131
132
  htmlentities (~> 4.3.4)
@@ -138,33 +139,33 @@ GEM
138
139
  ruby-xslt
139
140
  thread_safe
140
141
  uuidtools
141
- metanorma-mpfd (0.1.7)
142
+ metanorma-mpfd (0.1.8)
142
143
  asciidoctor (~> 1.5.7)
143
144
  htmlentities (~> 4.3.4)
144
145
  isodoc (~> 0.9.0)
145
146
  metanorma-standoc (~> 1.1.0)
146
147
  nokogiri
147
148
  twitter_cldr
148
- metanorma-nist (0.0.3)
149
+ metanorma-nist (0.0.4)
149
150
  asciidoctor (~> 1.5.7)
150
151
  htmlentities (~> 4.3.4)
151
152
  isodoc (~> 0.9.0)
152
153
  metanorma-standoc (~> 1.1.0)
153
154
  ruby-jing
154
- metanorma-ogc (0.0.5)
155
+ metanorma-ogc (0.0.6)
155
156
  asciidoctor (~> 1.5.7)
156
157
  htmlentities (~> 4.3.4)
157
158
  iso-639
158
159
  isodoc (~> 0.9.0)
159
160
  metanorma-standoc (~> 1.1.0)
160
161
  ruby-jing
161
- metanorma-rsd (1.1.1)
162
+ metanorma-rsd (1.1.2)
162
163
  asciidoctor (~> 1.5.7)
163
164
  htmlentities (~> 4.3.4)
164
165
  isodoc (~> 0.9.0)
165
166
  metanorma-standoc (~> 1.1.0)
166
167
  nokogiri
167
- metanorma-standoc (1.1.2)
168
+ metanorma-standoc (1.1.3)
168
169
  asciidoctor (~> 1.5.7)
169
170
  concurrent-ruby
170
171
  html2doc (~> 0.8.0)
@@ -173,7 +174,7 @@ GEM
173
174
  relaton (~> 0.3.1)
174
175
  ruby-jing
175
176
  sterile (~> 1.0.14)
176
- metanorma-unece (0.0.10)
177
+ metanorma-unece (0.0.11)
177
178
  asciidoctor (~> 1.5.7)
178
179
  htmlentities (~> 4.3.4)
179
180
  iso-639
@@ -88,6 +88,12 @@ opt_parser = OptionParser.new do |opts|
88
88
  'Export Relaton XML for document to nominated filename'
89
89
  ) { |v| options[:relaton] = v }
90
90
 
91
+ opts.on(
92
+ '-S',
93
+ '--sourcecode DIR',
94
+ 'Export sourcecode fragments from this document to nominated directory'
95
+ ) { |v| options[:sourcecode] = v }
96
+
91
97
  opts.on_tail("-h", "--help", "Show this message") do
92
98
  puts opts
93
99
  exit
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Cli
3
- VERSION = "1.1.4"
3
+ VERSION = "1.1.5"
4
4
  end
5
5
  end
@@ -0,0 +1,5 @@
1
+ def ruby(x)
2
+ if x < 0 && x > 1
3
+ return
4
+ end
5
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-31 00:00:00.000000000 Z
11
+ date: 2019-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -365,6 +365,7 @@ files:
365
365
  - lib/metanorma/cli.rb
366
366
  - lib/metanorma/cli/version.rb
367
367
  - metanorma-cli.gemspec
368
+ - sourcecode/0
368
369
  - test.rxl
369
370
  homepage: https://www.metanorma.com
370
371
  licenses: