metanorma-plugin-lutaml 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/CODE_OF_CONDUCT.md +46 -0
- data/Gemfile +4 -0
- data/LICENSE +25 -0
- data/README.adoc +76 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/metanorma-plugin-lutaml.rb +9 -0
- data/lib/metanorma/plugin/lutaml/lutaml_preprocessor.rb +113 -0
- data/lib/metanorma/plugin/lutaml/version.rb +7 -0
- data/metanorma-plugin-lutaml.gemspec +43 -0
- metadata +279 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0e854f55d18dbd63e113f74e940689320384a8840912ef16f7a6880e13672ee6
|
4
|
+
data.tar.gz: ebf477f3262b209fc4edad4b1908b911d7737d343c2eb42383207de0aeb30b2d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e530b0648b11116825ac6f1435f5c8d533102bbd212b6e4ab4d4c81d3378d67cb2c39ce32dffe5585d8801b34e2b8a647809fd2eafbdd879e27a01b975f3888e
|
7
|
+
data.tar.gz: 5a216d14209e1183b19c1301c7273639f379ab1d7e025a7ded83f135a46a5834568bb154335d8bd7cfc33c967825ae5d7b38c96289d0047c8c74cee3b9b2f0ca
|
data/.gitignore
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
|
6
|
+
|
7
|
+
## Our Standards
|
8
|
+
|
9
|
+
Examples of behavior that contributes to creating a positive environment include:
|
10
|
+
|
11
|
+
* Using welcoming and inclusive language
|
12
|
+
* Being respectful of differing viewpoints and experiences
|
13
|
+
* Gracefully accepting constructive criticism
|
14
|
+
* Focusing on what is best for the community
|
15
|
+
* Showing empathy towards other community members
|
16
|
+
|
17
|
+
Examples of unacceptable behavior by participants include:
|
18
|
+
|
19
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
|
20
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
21
|
+
* Public or private harassment
|
22
|
+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
|
23
|
+
* Other conduct which could reasonably be considered inappropriate in a professional setting
|
24
|
+
|
25
|
+
## Our Responsibilities
|
26
|
+
|
27
|
+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
|
28
|
+
|
29
|
+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
|
30
|
+
|
31
|
+
## Scope
|
32
|
+
|
33
|
+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
|
34
|
+
|
35
|
+
## Enforcement
|
36
|
+
|
37
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at ronald.tse@ribose.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
|
38
|
+
|
39
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
|
40
|
+
|
41
|
+
## Attribution
|
42
|
+
|
43
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
|
44
|
+
|
45
|
+
[homepage]: http://contributor-covenant.org
|
46
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
BSD 2-Clause License
|
2
|
+
|
3
|
+
Copyright (c) 2020, Ribose
|
4
|
+
All rights reserved.
|
5
|
+
|
6
|
+
Redistribution and use in source and binary forms, with or without
|
7
|
+
modification, are permitted provided that the following conditions are met:
|
8
|
+
|
9
|
+
* Redistributions of source code must retain the above copyright notice, this
|
10
|
+
list of conditions and the following disclaimer.
|
11
|
+
|
12
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
13
|
+
this list of conditions and the following disclaimer in the documentation
|
14
|
+
and/or other materials provided with the distribution.
|
15
|
+
|
16
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
17
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
18
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
19
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
20
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
21
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
22
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
23
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
24
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
25
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
data/README.adoc
ADDED
@@ -0,0 +1,76 @@
|
|
1
|
+
= metanorma-plugin-lutaml
|
2
|
+
|
3
|
+
== Functionality
|
4
|
+
|
5
|
+
Metanorma plugin that allows you to access lutaml objects from a Metanorma document
|
6
|
+
|
7
|
+
=== Installation
|
8
|
+
|
9
|
+
[source,console]
|
10
|
+
----
|
11
|
+
$ gem install metanorma-plugin-lutaml
|
12
|
+
----
|
13
|
+
|
14
|
+
=== Usage
|
15
|
+
|
16
|
+
Given `example.exp` file with the content:
|
17
|
+
|
18
|
+
[source,exp]
|
19
|
+
----
|
20
|
+
SCHEMA test_schema 'test';
|
21
|
+
|
22
|
+
(* Need select elements for measure_value *)
|
23
|
+
REFERENCE FROM measure_schema
|
24
|
+
(measure_value);
|
25
|
+
|
26
|
+
TYPE my_type1 = EXTENSIBLE SELECT;
|
27
|
+
END_TYPE;
|
28
|
+
|
29
|
+
TYPE my_type2 = EXTENSIBLE ENUMERATION;
|
30
|
+
END_TYPE;
|
31
|
+
|
32
|
+
TYPE my_type3 = EXTENSIBLE ENUMERATION;
|
33
|
+
END_TYPE;
|
34
|
+
|
35
|
+
TYPE my_type4 = EXTENSIBLE ENUMERATION;
|
36
|
+
END_TYPE;
|
37
|
+
|
38
|
+
TYPE my_type5 = EXTENSIBLE ENUMERATION;
|
39
|
+
END_TYPE;
|
40
|
+
END_SCHEMA;
|
41
|
+
----
|
42
|
+
|
43
|
+
And the `lutaml` macro block:
|
44
|
+
|
45
|
+
[source,adoc]
|
46
|
+
-----
|
47
|
+
[lutaml,example.exp,my_context]
|
48
|
+
----
|
49
|
+
|
50
|
+
{% for schema in my_context.schemas %}
|
51
|
+
== {{schema.id}}
|
52
|
+
|
53
|
+
{% for entity in schema.entities %}
|
54
|
+
=== {{entity.id}}
|
55
|
+
{% endfor %}
|
56
|
+
|
57
|
+
{% endfor %}
|
58
|
+
----
|
59
|
+
-----
|
60
|
+
|
61
|
+
Will produce this output:
|
62
|
+
|
63
|
+
[source,adoc]
|
64
|
+
-----
|
65
|
+
== test_schema
|
66
|
+
|
67
|
+
=== my_type1
|
68
|
+
=== my_type2
|
69
|
+
=== my_type3
|
70
|
+
=== my_type4
|
71
|
+
=== my_type5
|
72
|
+
-----
|
73
|
+
|
74
|
+
== Documentation
|
75
|
+
|
76
|
+
See https://www.metanorma.com.
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "metanorma/plugin/lutaml"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
@@ -0,0 +1,113 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "liquid"
|
4
|
+
require "asciidoctor"
|
5
|
+
require "asciidoctor/reader"
|
6
|
+
require "lutaml"
|
7
|
+
|
8
|
+
module Metanorma
|
9
|
+
module Plugin
|
10
|
+
module Lutaml
|
11
|
+
# Class for processing Lutaml files
|
12
|
+
class LutamlPreprocessor < Asciidoctor::Extensions::Preprocessor
|
13
|
+
|
14
|
+
def process(document, reader)
|
15
|
+
input_lines = reader.readlines.to_enum
|
16
|
+
Asciidoctor::Reader.new(processed_lines(document, input_lines))
|
17
|
+
end
|
18
|
+
|
19
|
+
protected
|
20
|
+
|
21
|
+
def content_from_file(document, file_path)
|
22
|
+
::Lutaml::Parser
|
23
|
+
.parse(File.new(relative_file_path(document, file_path),
|
24
|
+
encoding: "UTF-8"))
|
25
|
+
end
|
26
|
+
|
27
|
+
private
|
28
|
+
|
29
|
+
def processed_lines(document, input_lines)
|
30
|
+
result = []
|
31
|
+
loop do
|
32
|
+
result.push(*process_text_blocks(document, input_lines))
|
33
|
+
end
|
34
|
+
result
|
35
|
+
end
|
36
|
+
|
37
|
+
def relative_file_path(document, file_path)
|
38
|
+
docfile_directory = File.dirname(
|
39
|
+
document.attributes["docfile"] || "."
|
40
|
+
)
|
41
|
+
document
|
42
|
+
.path_resolver
|
43
|
+
.system_path(file_path, docfile_directory)
|
44
|
+
end
|
45
|
+
|
46
|
+
def process_text_blocks(document, input_lines)
|
47
|
+
line = input_lines.next
|
48
|
+
block_match = line.match(/^\[lutaml,(.+?),(.+?)\]/)
|
49
|
+
return [line] if block_match.nil?
|
50
|
+
|
51
|
+
end_mark = input_lines.next
|
52
|
+
parse_template(document,
|
53
|
+
collect_internal_block_lines(document,
|
54
|
+
input_lines,
|
55
|
+
end_mark),
|
56
|
+
block_match)
|
57
|
+
end
|
58
|
+
|
59
|
+
def collect_internal_block_lines(_document, input_lines, end_mark)
|
60
|
+
current_block = []
|
61
|
+
while (block_line = input_lines.next) != end_mark
|
62
|
+
current_block.push(block_line)
|
63
|
+
end
|
64
|
+
current_block
|
65
|
+
end
|
66
|
+
|
67
|
+
def parse_template(document, current_block, block_match)
|
68
|
+
context_items = content_from_file(document, block_match[1])
|
69
|
+
parse_context_block(document: document,
|
70
|
+
context_lines: current_block,
|
71
|
+
context_items: context_items,
|
72
|
+
context_name: block_match[2].strip)
|
73
|
+
rescue StandardError => e
|
74
|
+
document.logger
|
75
|
+
.warn("Failed to parse lutaml \
|
76
|
+
block: #{e.message}")
|
77
|
+
[]
|
78
|
+
end
|
79
|
+
|
80
|
+
def parse_context_block(context_lines:,
|
81
|
+
context_items:,
|
82
|
+
context_name:,
|
83
|
+
document:)
|
84
|
+
render_result, errors = render_liquid_string(
|
85
|
+
template_string: context_lines.join("\n"),
|
86
|
+
context_items: context_items,
|
87
|
+
context_name: context_name
|
88
|
+
)
|
89
|
+
notify_render_errors(document, errors)
|
90
|
+
render_result.split("\n")
|
91
|
+
end
|
92
|
+
|
93
|
+
def render_liquid_string(template_string:, context_items:,
|
94
|
+
context_name:)
|
95
|
+
liquid_template = Liquid::Template.parse(template_string)
|
96
|
+
rendered_string = liquid_template
|
97
|
+
.render(context_name => context_items,
|
98
|
+
strict_variables: true,
|
99
|
+
error_mode: :warn)
|
100
|
+
[rendered_string, liquid_template.errors]
|
101
|
+
end
|
102
|
+
|
103
|
+
def notify_render_errors(document, errors)
|
104
|
+
errors.each do |error_obj|
|
105
|
+
document
|
106
|
+
.logger
|
107
|
+
.warn("Liquid render error: #{error_obj.message}")
|
108
|
+
end
|
109
|
+
end
|
110
|
+
end
|
111
|
+
end
|
112
|
+
end
|
113
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
lib = File.expand_path("lib", __dir__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require "metanorma/plugin/lutaml/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "metanorma-plugin-lutaml"
|
7
|
+
spec.version = Metanorma::Plugin::Lutaml::VERSION
|
8
|
+
spec.authors = ["Ribose Inc."]
|
9
|
+
spec.email = ["open.source@ribose.com"]
|
10
|
+
|
11
|
+
spec.summary = "Metanorma plugin for LutaML"
|
12
|
+
spec.description = "Metanorma plugin for LutaML"
|
13
|
+
|
14
|
+
spec.homepage = "https://github.com/metanorma/metanorma-plugin-lutaml"
|
15
|
+
spec.license = "BSD-2-Clause"
|
16
|
+
|
17
|
+
# Specify which files should be added to the gem when it is released.
|
18
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
19
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
20
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
21
|
+
end
|
22
|
+
spec.bindir = "exe"
|
23
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
24
|
+
spec.require_paths = ["lib"]
|
25
|
+
|
26
|
+
spec.add_dependency "liquid"
|
27
|
+
spec.add_dependency "lutaml", "~> 0.3.0"
|
28
|
+
spec.add_dependency "lutaml-uml", "~> 0.2.0"
|
29
|
+
spec.add_dependency "metanorma"
|
30
|
+
spec.add_dependency "relaton-cli"
|
31
|
+
|
32
|
+
spec.add_development_dependency "byebug"
|
33
|
+
spec.add_development_dependency "equivalent-xml"
|
34
|
+
spec.add_development_dependency "metanorma-standoc"
|
35
|
+
spec.add_development_dependency "pry", "~> 0.12.2"
|
36
|
+
spec.add_development_dependency "rake", "~> 12.0"
|
37
|
+
spec.add_development_dependency "rspec", "~> 3.6"
|
38
|
+
spec.add_development_dependency "rubocop", "= 0.54.0"
|
39
|
+
spec.add_development_dependency "simplecov", "~> 0.15"
|
40
|
+
spec.add_development_dependency "timecop", "~> 0.9"
|
41
|
+
spec.add_development_dependency "vcr", "~> 5.0.0"
|
42
|
+
spec.add_development_dependency "webmock"
|
43
|
+
end
|
metadata
ADDED
@@ -0,0 +1,279 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: metanorma-plugin-lutaml
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ribose Inc.
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-10-28 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: liquid
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: lutaml
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.3.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.3.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: lutaml-uml
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.2.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.2.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: metanorma
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: relaton-cli
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: byebug
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: equivalent-xml
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: metanorma-standoc
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: pry
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 0.12.2
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 0.12.2
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rake
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '12.0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '12.0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: rspec
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '3.6'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '3.6'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: rubocop
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - '='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 0.54.0
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - '='
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 0.54.0
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: simplecov
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0.15'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0.15'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: timecop
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0.9'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0.9'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: vcr
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - "~>"
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: 5.0.0
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - "~>"
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: 5.0.0
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: webmock
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - ">="
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
description: Metanorma plugin for LutaML
|
238
|
+
email:
|
239
|
+
- open.source@ribose.com
|
240
|
+
executables: []
|
241
|
+
extensions: []
|
242
|
+
extra_rdoc_files: []
|
243
|
+
files:
|
244
|
+
- ".gitignore"
|
245
|
+
- CODE_OF_CONDUCT.md
|
246
|
+
- Gemfile
|
247
|
+
- LICENSE
|
248
|
+
- README.adoc
|
249
|
+
- Rakefile
|
250
|
+
- bin/console
|
251
|
+
- bin/setup
|
252
|
+
- lib/metanorma-plugin-lutaml.rb
|
253
|
+
- lib/metanorma/plugin/lutaml/lutaml_preprocessor.rb
|
254
|
+
- lib/metanorma/plugin/lutaml/version.rb
|
255
|
+
- metanorma-plugin-lutaml.gemspec
|
256
|
+
homepage: https://github.com/metanorma/metanorma-plugin-lutaml
|
257
|
+
licenses:
|
258
|
+
- BSD-2-Clause
|
259
|
+
metadata: {}
|
260
|
+
post_install_message:
|
261
|
+
rdoc_options: []
|
262
|
+
require_paths:
|
263
|
+
- lib
|
264
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
265
|
+
requirements:
|
266
|
+
- - ">="
|
267
|
+
- !ruby/object:Gem::Version
|
268
|
+
version: '0'
|
269
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
270
|
+
requirements:
|
271
|
+
- - ">="
|
272
|
+
- !ruby/object:Gem::Version
|
273
|
+
version: '0'
|
274
|
+
requirements: []
|
275
|
+
rubygems_version: 3.0.3
|
276
|
+
signing_key:
|
277
|
+
specification_version: 4
|
278
|
+
summary: Metanorma plugin for LutaML
|
279
|
+
test_files: []
|