metanorma-plugin-datastruct 0.2.0 → 0.2.3
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.yml +2 -2
- data/Gemfile +1 -0
- data/lib/liquid/custom_filters/replace_regex.rb +8 -0
- data/lib/metanorma/plugin/datastruct/base_structured_text_preprocessor.rb +1 -0
- data/lib/metanorma/plugin/datastruct/version.rb +1 -1
- data/metanorma-plugin-datastruct.gemspec +6 -4
- metadata +10 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe622d105e9790da8f5d61265addc954c5718827464c6b7069bfcf4f28b854e2
|
4
|
+
data.tar.gz: aa6fd9ec16c14b9d558631ce6dd3f87a4a5547d7cd917a8651489018ca7b9bdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57afedfbda26e055e3b09cc7ea5fd84978c95862039ce7894438ad6acead8dff3551fc9c7980fa006ad98eadfc6d3ed5d1c76dbe465c89df487aaa69be44c642
|
7
|
+
data.tar.gz: 23171c33074450db80cd6c6ab310cfdab19153428bf147beb9a7478edc3d7a61c55a89e29274debece82663ffc9d98d9d886a3193cce259b37e78a1bc40fe046
|
data/.github/workflows/rake.yml
CHANGED
@@ -15,10 +15,10 @@ on:
|
|
15
15
|
|
16
16
|
jobs:
|
17
17
|
release:
|
18
|
-
uses: metanorma/
|
18
|
+
uses: metanorma/ci/.github/workflows/rubygems-release.yml@main
|
19
19
|
with:
|
20
20
|
next_version: ${{ github.event.inputs.next_version }}
|
21
|
-
event_name: ${{ github.event_name }}
|
22
21
|
secrets:
|
23
22
|
rubygems-api-key: ${{ secrets.METANORMA_CI_RUBYGEMS_API_KEY }}
|
23
|
+
pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
|
24
24
|
|
data/Gemfile
CHANGED
@@ -7,6 +7,7 @@ require "liquid/custom_blocks/key_iterator"
|
|
7
7
|
require "liquid/custom_blocks/with_yaml_nested_context"
|
8
8
|
require "liquid/custom_blocks/with_json_nested_context"
|
9
9
|
require "liquid/custom_filters/values"
|
10
|
+
require "liquid/custom_filters/replace_regex"
|
10
11
|
|
11
12
|
Liquid::Template.register_tag("keyiterator", Liquid::CustomBlocks::KeyIterator)
|
12
13
|
Liquid::Template
|
@@ -17,16 +17,17 @@ Gem::Specification.new do |spec|
|
|
17
17
|
# Specify which files should be added to the gem when it is released.
|
18
18
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
19
19
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
20
|
-
`git ls-files -z`.split("\x0").reject
|
20
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
21
|
+
f.match(%r{^(test|spec|features)/})
|
22
|
+
end
|
21
23
|
end
|
22
24
|
spec.bindir = "exe"
|
23
25
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
24
26
|
spec.require_paths = ["lib"]
|
25
27
|
|
26
28
|
spec.add_dependency "asciidoctor", "~> 2.0.0"
|
27
|
-
spec.add_dependency "relaton-cli"
|
28
29
|
spec.add_dependency "isodoc"
|
29
|
-
spec.add_dependency "
|
30
|
+
spec.add_dependency "relaton-cli"
|
30
31
|
|
31
32
|
spec.add_development_dependency "byebug"
|
32
33
|
spec.add_development_dependency "equivalent-xml"
|
@@ -37,6 +38,7 @@ Gem::Specification.new do |spec|
|
|
37
38
|
spec.add_development_dependency "rubocop", "= 0.54.0"
|
38
39
|
spec.add_development_dependency "simplecov", "~> 0.15"
|
39
40
|
spec.add_development_dependency "timecop", "~> 0.9"
|
40
|
-
spec.add_development_dependency "vcr", "~>
|
41
|
+
spec.add_development_dependency "vcr", "~> 6.1.0"
|
41
42
|
spec.add_development_dependency "webmock"
|
43
|
+
spec.metadata["rubygems_mfa_required"] = "false"
|
42
44
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-plugin-datastruct
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 2.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: isodoc
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: relaton-cli
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
@@ -52,20 +52,6 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: liquid
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '4'
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '4'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: byebug
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -198,14 +184,14 @@ dependencies:
|
|
198
184
|
requirements:
|
199
185
|
- - "~>"
|
200
186
|
- !ruby/object:Gem::Version
|
201
|
-
version:
|
187
|
+
version: 6.1.0
|
202
188
|
type: :development
|
203
189
|
prerelease: false
|
204
190
|
version_requirements: !ruby/object:Gem::Requirement
|
205
191
|
requirements:
|
206
192
|
- - "~>"
|
207
193
|
- !ruby/object:Gem::Version
|
208
|
-
version:
|
194
|
+
version: 6.1.0
|
209
195
|
- !ruby/object:Gem::Dependency
|
210
196
|
name: webmock
|
211
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -243,6 +229,7 @@ files:
|
|
243
229
|
- lib/liquid/custom_blocks/key_iterator.rb
|
244
230
|
- lib/liquid/custom_blocks/with_json_nested_context.rb
|
245
231
|
- lib/liquid/custom_blocks/with_yaml_nested_context.rb
|
232
|
+
- lib/liquid/custom_filters/replace_regex.rb
|
246
233
|
- lib/liquid/custom_filters/values.rb
|
247
234
|
- lib/metanorma-plugin-datastruct.rb
|
248
235
|
- lib/metanorma/plugin/datastruct/base_structured_text_preprocessor.rb
|
@@ -253,7 +240,8 @@ files:
|
|
253
240
|
homepage: https://github.com/metanorma/metanorma-plugin-datastruct
|
254
241
|
licenses:
|
255
242
|
- BSD-2-Clause
|
256
|
-
metadata:
|
243
|
+
metadata:
|
244
|
+
rubygems_mfa_required: 'false'
|
257
245
|
post_install_message:
|
258
246
|
rdoc_options: []
|
259
247
|
require_paths:
|
@@ -269,7 +257,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
269
257
|
- !ruby/object:Gem::Version
|
270
258
|
version: '0'
|
271
259
|
requirements: []
|
272
|
-
rubygems_version: 3.
|
260
|
+
rubygems_version: 3.3.26
|
273
261
|
signing_key:
|
274
262
|
specification_version: 4
|
275
263
|
summary: Metanorma plugin for yaml2text and json2text
|