strings2conf 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 +14 -0
- data/.rspec +2 -0
- data/.rubocop.yml +16 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +2 -0
- data/LICENSE.txt +21 -0
- data/README.md +49 -0
- data/Rakefile +6 -0
- data/bin/setup +8 -0
- data/bin/simple_convert +6 -0
- data/lib/strings2conf/version.rb +3 -0
- data/lib/strings2conf.rb +53 -0
- data/lib/templates/confluence.html.erb +158 -0
- data/strings2conf.gemspec +26 -0
- metadata +117 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 8f3a87ca23a209fcb1b754913a39396d39ce3929
|
4
|
+
data.tar.gz: 8f781b38b83d3ea9bbe080f624fe05424b844932
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 24fc1cc16778eea2637b80f3424fc1a23c32d3ef3a9823578fb36f35bfdb1eddbe49345674f166e6e8ab229eb24b875c4c50f1a0f153f0bb10ca296c548d3ffc
|
7
|
+
data.tar.gz: 9b9b22fc708cc37236e0462cf63ecc8505088cd8b6e71d35a18c9ed19a04f01caf032bdeb68f95a6da54432ce0f690d863d692daca609f126c81d8edd586caab
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
AllCops:
|
2
|
+
TargetRubyVersion: 2.3
|
3
|
+
|
4
|
+
Style/ClosingParenthesisIndentation:
|
5
|
+
Enabled: false
|
6
|
+
|
7
|
+
Style/FrozenStringLiteralComment:
|
8
|
+
Enabled: false
|
9
|
+
|
10
|
+
# I like Puppet hash behavior
|
11
|
+
Style/TrailingCommaInLiteral:
|
12
|
+
Enabled: false
|
13
|
+
|
14
|
+
# Not until RubyMine learns to indent these properly
|
15
|
+
Style/MultilineMethodCallIndentation:
|
16
|
+
Enabled: false
|
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at thepegasd@gmail.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2017 Vladimir Tyshkevich
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# Strings2conf
|
2
|
+
|
3
|
+
## Installation
|
4
|
+
|
5
|
+
Add this line to your application's Gemfile:
|
6
|
+
|
7
|
+
```ruby
|
8
|
+
gem 'strings2conf'
|
9
|
+
```
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install strings2conf
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
```bash
|
22
|
+
bundle exec bin/simple_convert path/to/json
|
23
|
+
```
|
24
|
+
or something like this:
|
25
|
+
```ruby
|
26
|
+
require 'puppet-strings'
|
27
|
+
require 'strings2conf'
|
28
|
+
|
29
|
+
PuppetStrings.generate(:json => 'path/to/module.json')
|
30
|
+
Strings2conf.convert(File.read('path/to/module.json'))
|
31
|
+
```
|
32
|
+
|
33
|
+
## Development
|
34
|
+
|
35
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
36
|
+
|
37
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
38
|
+
|
39
|
+
## Contributing
|
40
|
+
|
41
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/v0v04ka/strings2conf. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
42
|
+
|
43
|
+
## License
|
44
|
+
|
45
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
46
|
+
|
47
|
+
## Code of Conduct
|
48
|
+
|
49
|
+
Everyone interacting in the Strings2conf project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/strings2conf/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
data/bin/setup
ADDED
data/bin/simple_convert
ADDED
data/lib/strings2conf.rb
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
require 'strings2conf/version'
|
2
|
+
require 'json'
|
3
|
+
require 'erb'
|
4
|
+
include ERB::Util
|
5
|
+
|
6
|
+
module Strings2conf
|
7
|
+
class Util
|
8
|
+
DEFAULT_CODE_BLOCK_PARAMETERS = {
|
9
|
+
linenumbers: true,
|
10
|
+
theme: 'RDark',
|
11
|
+
}.freeze
|
12
|
+
|
13
|
+
def self.code_block(code, params = {})
|
14
|
+
ac_params = DEFAULT_CODE_BLOCK_PARAMETERS
|
15
|
+
.merge(params)
|
16
|
+
.map { |name, value|
|
17
|
+
" <ac:parameter ac:name=\"#{name}\">#{value}</ac:parameter>"
|
18
|
+
}
|
19
|
+
.join("\n")
|
20
|
+
|
21
|
+
<<~HTML
|
22
|
+
<ac:structured-macro ac:name="code">
|
23
|
+
#{ac_params}
|
24
|
+
<ac:plain-text-body><![CDATA[#{code}]]></ac:plain-text-body>
|
25
|
+
</ac:structured-macro>
|
26
|
+
HTML
|
27
|
+
end
|
28
|
+
|
29
|
+
def self.parse_param(instance, param)
|
30
|
+
name = param['name']
|
31
|
+
types = if param['types']
|
32
|
+
" [ #{param['types'].map { |t| "<code>#{t}</code>" }.join(',')} ] "
|
33
|
+
else
|
34
|
+
''
|
35
|
+
end
|
36
|
+
defaults = if instance.key?('defaults') and instance['defaults'].key?(name)
|
37
|
+
" (defaults to: <code>#{h instance['defaults'][name]}</code>) "
|
38
|
+
else
|
39
|
+
''
|
40
|
+
end
|
41
|
+
<<~HTML
|
42
|
+
<li><strong><code>#{name}</code></strong>#{types}#{defaults}#{h param['text']}</li>
|
43
|
+
HTML
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
def self.convert(json)
|
48
|
+
@data = JSON.parse json
|
49
|
+
template_path = File.dirname(File.expand_path(__FILE__)) + '/templates/confluence.html.erb'
|
50
|
+
ERB.new(File.read(template_path), nil, '-').result(binding)
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
@@ -0,0 +1,158 @@
|
|
1
|
+
<%#
|
2
|
+
|
3
|
+
Table of Contents
|
4
|
+
|
5
|
+
-%>
|
6
|
+
<ac:structured-macro ac:name="toc">
|
7
|
+
<ac:parameter ac:name="maxLevel">2</ac:parameter>
|
8
|
+
</ac:structured-macro>
|
9
|
+
<%#
|
10
|
+
|
11
|
+
Parse classes
|
12
|
+
|
13
|
+
-%>
|
14
|
+
<%- if @data['puppet_classes'].any? -%>
|
15
|
+
<h1>Classes</h1>
|
16
|
+
<%- @data['puppet_classes'].each do |puppet_class| -%>
|
17
|
+
<h2><%= puppet_class['name'] %></h2>
|
18
|
+
<%- if puppet_class['docstring']['tags'] -%>
|
19
|
+
<p><%= h(puppet_class['docstring']['text']).gsub("\n\n", "<br/>\n") %></p>
|
20
|
+
<%- api = puppet_class['docstring']['tags'].select { |a| a['tag_name'].eql? 'api' } -%>
|
21
|
+
<%- if api.any? and api[0]['text'].eql? 'private' -%>
|
22
|
+
<ac:structured-macro ac:name="note">
|
23
|
+
<ac:rich-text-body>
|
24
|
+
<p>This class is private. It's intended solely for internal module usage.</p>
|
25
|
+
</ac:rich-text-body>
|
26
|
+
</ac:structured-macro>
|
27
|
+
<%- end -%>
|
28
|
+
<%- for tag in puppet_class['docstring']['tags'] -%>
|
29
|
+
<%- unless %w(param example api).include? tag['tag_name'] -%>
|
30
|
+
<h3><%= tag['tag_name'].capitalize %></h3>
|
31
|
+
<p><%= h tag['name'] %> <%= h tag['text'] %></p>
|
32
|
+
<%- end -%>
|
33
|
+
<%- end -%>
|
34
|
+
<%- params = puppet_class['docstring']['tags'].select { |a| a['tag_name'].eql? 'param' } -%>
|
35
|
+
<%- if params.any? -%>
|
36
|
+
<h3>Parameters</h3>
|
37
|
+
<ul>
|
38
|
+
<%- for param in params -%>
|
39
|
+
<%= Strings2conf::Util::parse_param(puppet_class, param) %>
|
40
|
+
<%- end -%>
|
41
|
+
</ul>
|
42
|
+
<%- end -%>
|
43
|
+
<%- examples = puppet_class['docstring']['tags'].select { |a| a['tag_name'].eql? 'example' } -%>
|
44
|
+
<%- if examples.any? -%>
|
45
|
+
<h3>Examples</h3>
|
46
|
+
<%- examples.each do |example| -%>
|
47
|
+
<%= Strings2conf::Util::code_block(example['text'], title: example['name'], language: :ruby) -%>
|
48
|
+
<%- end -%>
|
49
|
+
<%- end -%>
|
50
|
+
<%- end -%>
|
51
|
+
<%= Strings2conf::Util::code_block(puppet_class['source'], title: puppet_class['file'], collapse: true, language: :ruby) -%>
|
52
|
+
<%- end -%>
|
53
|
+
<%- end -%>
|
54
|
+
<%#
|
55
|
+
|
56
|
+
Parse defined types
|
57
|
+
|
58
|
+
-%>
|
59
|
+
<%- if @data['defined_types'].any? -%>
|
60
|
+
<h1>Defined Types</h1>
|
61
|
+
<%- @data['defined_types'].each do |defined_type| -%>
|
62
|
+
<h2><%= defined_type['name'] %></h2>
|
63
|
+
<%- if defined_type['docstring']['tags'] -%>
|
64
|
+
<p><%= h(defined_type['docstring']['text']).gsub("\n\n", "<br/>\n") %></p>
|
65
|
+
<%- api = defined_type['docstring']['tags'].select { |a| a['tag_name'].eql? 'api' } -%>
|
66
|
+
<%- if api.any? and api[0]['text'].eql? 'private' -%>
|
67
|
+
<ac:structured-macro ac:name="note">
|
68
|
+
<ac:rich-text-body>
|
69
|
+
<p>This defined type is private. It's intended solely for internal module usage.</p>
|
70
|
+
</ac:rich-text-body>
|
71
|
+
</ac:structured-macro>
|
72
|
+
<%- end -%>
|
73
|
+
<%- for tag in defined_type['docstring']['tags'] -%>
|
74
|
+
<%- unless %w(param example api).include? tag['tag_name'] -%>
|
75
|
+
<h3><%= tag['tag_name'].capitalize %></h3>
|
76
|
+
<p><%= h tag['name'] %> <%= h tag['text'] %></p>
|
77
|
+
<%- end -%>
|
78
|
+
<%- end -%>
|
79
|
+
<%- params = defined_type['docstring']['tags'].select { |a| a['tag_name'].eql? 'param' } -%>
|
80
|
+
<%- if params.any? -%>
|
81
|
+
<h3>Parameters</h3>
|
82
|
+
<ul>
|
83
|
+
<%- for param in params -%>
|
84
|
+
<%= Strings2conf::Util::parse_param(defined_type, param) %>
|
85
|
+
<%- end -%>
|
86
|
+
</ul>
|
87
|
+
<%- end -%>
|
88
|
+
<%- examples = defined_type['docstring']['tags'].select { |a| a['tag_name'].eql? 'example' } -%>
|
89
|
+
<%- if examples.any? -%>
|
90
|
+
<h3>Examples</h3>
|
91
|
+
<%- examples.each do |example| -%>
|
92
|
+
<%= Strings2conf::Util::code_block(example['text'], title: example['name'], language: :ruby) -%>
|
93
|
+
<%- end -%>
|
94
|
+
<%- end -%>
|
95
|
+
<%- end -%>
|
96
|
+
<%= Strings2conf::Util::code_block(defined_type['source'], title: defined_type['file'], collapse: true, language: :ruby) -%>
|
97
|
+
<%- end -%>
|
98
|
+
<%- end -%>
|
99
|
+
<%#
|
100
|
+
|
101
|
+
Parse functions
|
102
|
+
|
103
|
+
-%>
|
104
|
+
<%- if @data['puppet_functions'].any? -%>
|
105
|
+
<h1>Functions</h1>
|
106
|
+
<%- @data['puppet_functions'].each do |puppet_function| -%>
|
107
|
+
<h2><%= puppet_function['name'] %></h2>
|
108
|
+
<p><%= h(puppet_function['docstring']['text']).gsub("\n\n", "<br/>\n") %></p>
|
109
|
+
<%-
|
110
|
+
tags = puppet_function['docstring']['tags']
|
111
|
+
examples = tags.select { |a| a['tag_name'].eql? 'example' }
|
112
|
+
overloads = tags.select { |a| a['tag_name'].eql? 'overload' }
|
113
|
+
-%>
|
114
|
+
<%- if overloads.any? -%>
|
115
|
+
<%- overloads.each_with_index do |overload, index| -%>
|
116
|
+
<h3>Signature #<%= index + 1 %></h3>
|
117
|
+
<%= Strings2conf::Util::code_block(overload['signature'], language: :ruby, linenumbers: false) -%>
|
118
|
+
<%- tags = overload['docstring']['tags'] -%>
|
119
|
+
<%- params = tags.select { |a| a['tag_name'].eql? 'param' } -%>
|
120
|
+
<%- returns = tags.select { |a| a['tag_name'].eql? 'return' } -%>
|
121
|
+
<%- if params.any? -%>
|
122
|
+
<h3>Parameters</h3>
|
123
|
+
<%- params.each do |param| -%>
|
124
|
+
<%= Strings2conf::Util::parse_param(overload, param) %>
|
125
|
+
<%- end -%>
|
126
|
+
<%- end -%>
|
127
|
+
<%- if returns.any? -%>
|
128
|
+
<h3>Returns</h3>
|
129
|
+
<%- returns.each do |ret| -%>
|
130
|
+
<p>[ <code><%= ret['types'].join(',') %></code> ] <%= ret['text'] %></p>
|
131
|
+
<%- end -%>
|
132
|
+
<%- end -%>
|
133
|
+
<%- end -%>
|
134
|
+
<%- else -%>
|
135
|
+
<%- params = tags.select { |a| a['tag_name'].eql? 'param' } -%>
|
136
|
+
<%- returns = tags.select { |a| a['tag_name'].eql? 'return' } -%>
|
137
|
+
<%- if params.any? -%>
|
138
|
+
<h3>Parameters</h3>
|
139
|
+
<%- params.each do |param| -%>
|
140
|
+
<%= Strings2conf::Util::parse_param(puppet_function, param) %>
|
141
|
+
<%- end -%>
|
142
|
+
<%- end -%>
|
143
|
+
<%- if returns.any? -%>
|
144
|
+
<h3>Returns</h3>
|
145
|
+
<%- returns.each do |ret| -%>
|
146
|
+
<p>[ <code><%= ret['types'].join(',') %></code> ] <%= ret['text'] %></p>
|
147
|
+
<%- end -%>
|
148
|
+
<%- end -%>
|
149
|
+
<%- end -%>
|
150
|
+
<%- if examples.any? -%>
|
151
|
+
<h3>Examples</h3>
|
152
|
+
<%- examples.each do |example| -%>
|
153
|
+
<%= Strings2conf::Util::code_block(example['text'], title: example['name'], language: :ruby) -%>
|
154
|
+
<%- end -%>
|
155
|
+
<%- end -%>
|
156
|
+
<%= Strings2conf::Util::code_block(puppet_function['source'], title: puppet_function['file'], collapse: true, language: :ruby) -%>
|
157
|
+
<%- end -%>
|
158
|
+
<%- end -%>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
lib = File.expand_path('../lib', __FILE__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require 'strings2conf/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = 'strings2conf'
|
7
|
+
spec.version = Strings2conf::VERSION
|
8
|
+
spec.authors = ['Vladimir Tyshkevich', 'Eugene Piven']
|
9
|
+
spec.email = ['vtyshkevich@iponweb.net', 'epiven@iponweb.net']
|
10
|
+
|
11
|
+
spec.summary = 'Convert puppet-strings JSON output to Confluence storage format'
|
12
|
+
spec.homepage = 'https://github.com/pegasd/strings2conf'
|
13
|
+
spec.license = 'MIT'
|
14
|
+
|
15
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
16
|
+
f.match(%r{^(test|spec|features)/})
|
17
|
+
end
|
18
|
+
spec.bindir = 'exe'
|
19
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
|
+
spec.require_paths = ['lib']
|
21
|
+
|
22
|
+
spec.add_runtime_dependency 'puppet-strings', '~> 1.0'
|
23
|
+
spec.add_development_dependency 'bundler', '~> 1.15'
|
24
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
25
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
26
|
+
end
|
metadata
ADDED
@@ -0,0 +1,117 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: strings2conf
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Vladimir Tyshkevich
|
8
|
+
- Eugene Piven
|
9
|
+
autorequire:
|
10
|
+
bindir: exe
|
11
|
+
cert_chain: []
|
12
|
+
date: 2017-08-21 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: puppet-strings
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '1.0'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '1.0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: bundler
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '1.15'
|
35
|
+
type: :development
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '1.15'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: rake
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '10.0'
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '10.0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: rspec
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '3.0'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '3.0'
|
70
|
+
description:
|
71
|
+
email:
|
72
|
+
- vtyshkevich@iponweb.net
|
73
|
+
- epiven@iponweb.net
|
74
|
+
executables: []
|
75
|
+
extensions: []
|
76
|
+
extra_rdoc_files: []
|
77
|
+
files:
|
78
|
+
- ".gitignore"
|
79
|
+
- ".rspec"
|
80
|
+
- ".rubocop.yml"
|
81
|
+
- ".travis.yml"
|
82
|
+
- CODE_OF_CONDUCT.md
|
83
|
+
- Gemfile
|
84
|
+
- LICENSE.txt
|
85
|
+
- README.md
|
86
|
+
- Rakefile
|
87
|
+
- bin/setup
|
88
|
+
- bin/simple_convert
|
89
|
+
- lib/strings2conf.rb
|
90
|
+
- lib/strings2conf/version.rb
|
91
|
+
- lib/templates/confluence.html.erb
|
92
|
+
- strings2conf.gemspec
|
93
|
+
homepage: https://github.com/pegasd/strings2conf
|
94
|
+
licenses:
|
95
|
+
- MIT
|
96
|
+
metadata: {}
|
97
|
+
post_install_message:
|
98
|
+
rdoc_options: []
|
99
|
+
require_paths:
|
100
|
+
- lib
|
101
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - ">="
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '0'
|
106
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
requirements: []
|
112
|
+
rubyforge_project:
|
113
|
+
rubygems_version: 2.6.11
|
114
|
+
signing_key:
|
115
|
+
specification_version: 4
|
116
|
+
summary: Convert puppet-strings JSON output to Confluence storage format
|
117
|
+
test_files: []
|