markdown_helper 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 +9 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +24 -0
- data/LICENSE +21 -0
- data/LICENSE.txt +21 -0
- data/README.md +67 -0
- data/Rakefile +22 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/images/include.png +0 -0
- data/lib/markdown_helper.rb +94 -0
- data/lib/markdown_helper/version.rb +3 -0
- data/markdown_helper.gemspec +38 -0
- data/readme/README.template.md +38 -0
- data/readme/code_block_ruby_template.md +1 -0
- data/readme/highlight_ruby_template.md +1 -0
- data/readme/highlighted_ruby.md +8 -0
- data/readme/include.md +5 -0
- data/readme/include.rb +5 -0
- data/readme/usage.rb +6 -0
- data/readme/verbatim_ruby_template.md +1 -0
- metadata +123 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 8f73122af24017cc7c6cbd5bb2b7a920d28bc03f
|
4
|
+
data.tar.gz: 73415a069fa49e73e08d95128a885a0adf6a9b65
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 7bb0b0d35c6bb7a0677848d016c53bfcfcba4b8cbb5bf94917de2a8ac2edf1f3e625508c547dac954b605725f8824432e9ad7da9506c03cfd785cda54d0b4929
|
7
|
+
data.tar.gz: 64625aa4899d6db4cffeac7ba22a14b38f557ec3c7e5413ecda9a858c7988c922e44cc2008b8bffe499e3105e3fb67c35b82fc5a79ec58ec573f8e4926338e2a
|
data/.gitignore
ADDED
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 BurdetteLamar@Yahoo.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/Gemfile.lock
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
markdown_helper (0.1.0)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
diff-lcs (1.3)
|
10
|
+
minitest (5.11.3)
|
11
|
+
rake (10.5.0)
|
12
|
+
|
13
|
+
PLATFORMS
|
14
|
+
x86-mingw32
|
15
|
+
|
16
|
+
DEPENDENCIES
|
17
|
+
bundler (~> 1.14)
|
18
|
+
diff-lcs (= 1.3)
|
19
|
+
markdown_helper!
|
20
|
+
minitest (~> 5.0)
|
21
|
+
rake (~> 10.0)
|
22
|
+
|
23
|
+
BUNDLED WITH
|
24
|
+
1.16.1
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2018 Burdette Lamar
|
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 all
|
13
|
+
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 THE
|
21
|
+
SOFTWARE.
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 burdettelamar
|
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,67 @@
|
|
1
|
+
# MarkdownHelper
|
2
|
+
|
3
|
+
## File Inclusion <img src="/images/include.png" width="50">
|
4
|
+
|
5
|
+
This markdown helper enables file inclusion in GitHub markdown.
|
6
|
+
|
7
|
+
(Actually this README file is built using the file inclusion.)
|
8
|
+
|
9
|
+
You can use it to merge external files into a markdown (```.md```) file.
|
10
|
+
|
11
|
+
The merged text can be highlighted in a code block:
|
12
|
+
|
13
|
+
<code>include.rb</code>
|
14
|
+
```ruby
|
15
|
+
class RubyCode
|
16
|
+
def initialize
|
17
|
+
raise RuntimeError.new('I am only an example!')
|
18
|
+
end
|
19
|
+
end
|
20
|
+
```
|
21
|
+
|
22
|
+
or plain in a code block:
|
23
|
+
|
24
|
+
<code>include.rb</code>
|
25
|
+
```
|
26
|
+
class RubyCode
|
27
|
+
def initialize
|
28
|
+
raise RuntimeError.new('I am only an example!')
|
29
|
+
end
|
30
|
+
end
|
31
|
+
```
|
32
|
+
|
33
|
+
or verbatim (which GitHub renders however it likes).
|
34
|
+
|
35
|
+
## Usage
|
36
|
+
|
37
|
+
### Including Files in Markdown
|
38
|
+
|
39
|
+
<code>include.md</code>
|
40
|
+
```verbatim
|
41
|
+
@[ruby](include.rb)
|
42
|
+
|
43
|
+
@[:code_block](include.rb)
|
44
|
+
|
45
|
+
@[:verbatim](include.rb)
|
46
|
+
```
|
47
|
+
|
48
|
+
Each inclusion line has:
|
49
|
+
|
50
|
+
* A leading ```@``` character.
|
51
|
+
* A *treatment* in square brackets, one of:
|
52
|
+
* Highlighting mode such as ```[ruby]```, to include a highlighted code block. This can be any Ace mode mentioned in [GitHub Languages](https://github.com/github/linguist/blob/master/lib/linguist/languages.yml).
|
53
|
+
* ```[:code_block]```, to include a plain code block.
|
54
|
+
* ```[:verbatim]```, to include text verbatim (to be rendered as markdown).
|
55
|
+
* A relative file path in parentheses, pointing to the file to be included.
|
56
|
+
|
57
|
+
### Including the Files
|
58
|
+
|
59
|
+
<code>usage.rb</code>
|
60
|
+
```ruby
|
61
|
+
require 'markdown_helper'
|
62
|
+
|
63
|
+
markdown_helper = MarkdownHelper.new
|
64
|
+
template_file_path = 'highlight_ruby_template.md'
|
65
|
+
markdown_file_path = 'highlighted_ruby.rb'
|
66
|
+
markdown_helper.include(template_file_path, markdown_file_path)
|
67
|
+
```
|
data/Rakefile
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'bundler/gem_tasks'
|
2
|
+
require 'rake/testtask'
|
3
|
+
|
4
|
+
Rake::TestTask.new(:test) do |t|
|
5
|
+
t.libs << 'test'
|
6
|
+
t.libs << 'lib'
|
7
|
+
t.test_files = FileList['test/**/*_test.rb']
|
8
|
+
end
|
9
|
+
|
10
|
+
namespace :build do
|
11
|
+
|
12
|
+
desc 'Build README.md file from README.template.md'
|
13
|
+
task :readme do
|
14
|
+
require_relative 'lib/markdown_helper'
|
15
|
+
markdown_helper = MarkdownHelper.new
|
16
|
+
markdown_helper.include('readme/highlight_ruby_template.md', 'readme/highlighted_ruby.md')
|
17
|
+
markdown_helper.include('readme/README.template.md', 'README.md')
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
21
|
+
|
22
|
+
task :default => :test
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'markdown_helper'
|
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
data/images/include.png
ADDED
Binary file
|
@@ -0,0 +1,94 @@
|
|
1
|
+
require 'markdown_helper/version'
|
2
|
+
|
3
|
+
class MarkdownHelper
|
4
|
+
|
5
|
+
INCLUDE_REGEXP = /^@\[(:code_block|:verbatim|\w+)\]/
|
6
|
+
|
7
|
+
attr_accessor :tag_as_generated
|
8
|
+
|
9
|
+
DEFAULT_TREATMENT_FOR_FILE_EXT = {
|
10
|
+
:md => :verbatim,
|
11
|
+
:rb => 'ruby',
|
12
|
+
:xml => 'xml',
|
13
|
+
}
|
14
|
+
|
15
|
+
def initialize
|
16
|
+
@treatment_for_file_ext = DEFAULT_TREATMENT_FOR_FILE_EXT
|
17
|
+
@treatment_for_file_ext.default = :code_block
|
18
|
+
self.tag_as_generated = false
|
19
|
+
end
|
20
|
+
|
21
|
+
def get_treatment(file_type)
|
22
|
+
@treatment_for_file_ext[file_type]
|
23
|
+
end
|
24
|
+
|
25
|
+
def set_treatment(file_type, treatment)
|
26
|
+
treatment_symbols = [:verbatim, :code_block]
|
27
|
+
if treatment_symbols.include?(treatment) || treatment.kind_of?(String)
|
28
|
+
@treatment_for_file_ext[file_type] = treatment
|
29
|
+
else
|
30
|
+
message = "treatment must be a single word or must be in #{treatment_symbols.inspect}, not #{treatment.inspect}"
|
31
|
+
raise ArgumentError.new(message)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
def include(template_file_path, markdown_file_path)
|
36
|
+
output_lines = []
|
37
|
+
File.open(template_file_path, 'r') do |template_file|
|
38
|
+
if tag_as_generated
|
39
|
+
output_lines.push("<!--- GENERATED FILE, DO NOT EDIT --->\n")
|
40
|
+
end
|
41
|
+
template_file.each_line do |input_line|
|
42
|
+
match_data = input_line.match(INCLUDE_REGEXP)
|
43
|
+
unless match_data
|
44
|
+
output_lines.push(input_line)
|
45
|
+
next
|
46
|
+
end
|
47
|
+
treatment = case match_data[1]
|
48
|
+
when ':code_block'
|
49
|
+
:code_block
|
50
|
+
when ':verbatim'
|
51
|
+
:verbatim
|
52
|
+
else
|
53
|
+
match_data[1]
|
54
|
+
end
|
55
|
+
file_path_in_parens = input_line.sub(INCLUDE_REGEXP, '')
|
56
|
+
unless file_path_in_parens.start_with?('(') && file_path_in_parens.end_with?(")\n")
|
57
|
+
raise RuntimeError.new(file_path_in_parens.inspect)
|
58
|
+
end
|
59
|
+
relative_file_path = file_path_in_parens.sub('(', '').sub(")\n", '')
|
60
|
+
include_file_path = File.join(
|
61
|
+
File.dirname(template_file_path),
|
62
|
+
relative_file_path,
|
63
|
+
)
|
64
|
+
included_text = File.read(include_file_path)
|
65
|
+
unless included_text.match("\n")
|
66
|
+
message = "Warning: Included file has no trailing newline: #{include_file_path}"
|
67
|
+
warn(message)
|
68
|
+
end
|
69
|
+
extname = File.extname(include_file_path)
|
70
|
+
file_ext_key = extname.sub('.', '').to_sym
|
71
|
+
treatment ||= @treatment_for_file_ext[file_ext_key]
|
72
|
+
if treatment == :verbatim
|
73
|
+
# Pass through unadorned.
|
74
|
+
output_lines.push(included_text)
|
75
|
+
else
|
76
|
+
# Use the file name as a label.
|
77
|
+
file_name_line = format("<code>%s</code>\n", File.basename(include_file_path))
|
78
|
+
output_lines.push(file_name_line)
|
79
|
+
# Put into code block.
|
80
|
+
language = treatment == :code_block ? '' : treatment
|
81
|
+
output_lines.push("```#{language}\n")
|
82
|
+
output_lines.push(included_text)
|
83
|
+
output_lines.push("```\n")
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
87
|
+
output = output_lines.join('')
|
88
|
+
File.open(markdown_file_path, 'w') do |md_file|
|
89
|
+
md_file.write(output)
|
90
|
+
end
|
91
|
+
output
|
92
|
+
end
|
93
|
+
|
94
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'markdown_helper/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'markdown_helper'
|
8
|
+
spec.version = MarkdownHelper::VERSION
|
9
|
+
spec.authors = ['burdettelamar']
|
10
|
+
spec.email = ['BurdetteLamar@Yahoo.com']
|
11
|
+
|
12
|
+
spec.summary = 'Module to help with GitHub markdown.'
|
13
|
+
spec.description = 'Module to help with GitHub markdown. So far: file inclusion.'
|
14
|
+
spec.homepage = 'https://rubygems.org/gems/markdown_helper'
|
15
|
+
spec.license = 'MIT'
|
16
|
+
|
17
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
+
# if spec.respond_to?(:metadata)
|
20
|
+
# spec.metadata['allowed_push_host'] = 'https://rubygems.org/'
|
21
|
+
# spec.metadata['allowed_push_host'] = "http://rubygems.org"
|
22
|
+
# else
|
23
|
+
# raise 'RubyGems 2.0 or newer is required to protect against ' \
|
24
|
+
# 'public gem pushes.'
|
25
|
+
# end
|
26
|
+
|
27
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
28
|
+
f.match(%r{^(test|spec|features)/})
|
29
|
+
end
|
30
|
+
spec.bindir = 'exe'
|
31
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
32
|
+
spec.require_paths = ['lib']
|
33
|
+
|
34
|
+
spec.add_development_dependency 'bundler', '~> 1.14'
|
35
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
36
|
+
spec.add_development_dependency 'minitest', '~> 5.0'
|
37
|
+
spec.add_development_dependency 'diff-lcs', '~> 1.3'
|
38
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# MarkdownHelper
|
2
|
+
|
3
|
+
## File Inclusion <img src="/images/include.png" width="50">
|
4
|
+
|
5
|
+
This markdown helper enables file inclusion in GitHub markdown.
|
6
|
+
|
7
|
+
(Actually this README file is built using the file inclusion.)
|
8
|
+
|
9
|
+
You can use it to merge external files into a markdown (```.md```) file.
|
10
|
+
|
11
|
+
The merged text can be highlighted in a code block:
|
12
|
+
|
13
|
+
@[ruby](include.rb)
|
14
|
+
|
15
|
+
or plain in a code block:
|
16
|
+
|
17
|
+
@[:code_block](include.rb)
|
18
|
+
|
19
|
+
or verbatim (which GitHub renders however it likes).
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
### Including Files in Markdown
|
24
|
+
|
25
|
+
@[verbatim](include.md)
|
26
|
+
|
27
|
+
Each inclusion line has:
|
28
|
+
|
29
|
+
* A leading ```@``` character.
|
30
|
+
* A *treatment* in square brackets, one of:
|
31
|
+
* Highlighting mode such as ```[ruby]```, to include a highlighted code block. This can be any Ace mode mentioned in [GitHub Languages](https://github.com/github/linguist/blob/master/lib/linguist/languages.yml).
|
32
|
+
* ```[:code_block]```, to include a plain code block.
|
33
|
+
* ```[:verbatim]```, to include text verbatim (to be rendered as markdown).
|
34
|
+
* A relative file path in parentheses, pointing to the file to be included.
|
35
|
+
|
36
|
+
### Including the Files
|
37
|
+
|
38
|
+
@[ruby](usage.rb)
|
@@ -0,0 +1 @@
|
|
1
|
+
@[:code_block](include.rb)
|
@@ -0,0 +1 @@
|
|
1
|
+
@[ruby](include.rb)
|
data/readme/include.md
ADDED
data/readme/include.rb
ADDED
data/readme/usage.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
@[:verbatim](include.rb)
|
metadata
ADDED
@@ -0,0 +1,123 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: markdown_helper
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- burdettelamar
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-02-15 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.14'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.14'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: minitest
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '5.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '5.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: diff-lcs
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.3'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.3'
|
69
|
+
description: 'Module to help with GitHub markdown. So far: file inclusion.'
|
70
|
+
email:
|
71
|
+
- BurdetteLamar@Yahoo.com
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- ".gitignore"
|
77
|
+
- ".travis.yml"
|
78
|
+
- CODE_OF_CONDUCT.md
|
79
|
+
- Gemfile
|
80
|
+
- Gemfile.lock
|
81
|
+
- LICENSE
|
82
|
+
- LICENSE.txt
|
83
|
+
- README.md
|
84
|
+
- Rakefile
|
85
|
+
- bin/console
|
86
|
+
- bin/setup
|
87
|
+
- images/include.png
|
88
|
+
- lib/markdown_helper.rb
|
89
|
+
- lib/markdown_helper/version.rb
|
90
|
+
- markdown_helper.gemspec
|
91
|
+
- readme/README.template.md
|
92
|
+
- readme/code_block_ruby_template.md
|
93
|
+
- readme/highlight_ruby_template.md
|
94
|
+
- readme/highlighted_ruby.md
|
95
|
+
- readme/include.md
|
96
|
+
- readme/include.rb
|
97
|
+
- readme/usage.rb
|
98
|
+
- readme/verbatim_ruby_template.md
|
99
|
+
homepage: https://rubygems.org/gems/markdown_helper
|
100
|
+
licenses:
|
101
|
+
- MIT
|
102
|
+
metadata: {}
|
103
|
+
post_install_message:
|
104
|
+
rdoc_options: []
|
105
|
+
require_paths:
|
106
|
+
- lib
|
107
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ">="
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0'
|
112
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0'
|
117
|
+
requirements: []
|
118
|
+
rubyforge_project:
|
119
|
+
rubygems_version: 2.4.5.2
|
120
|
+
signing_key:
|
121
|
+
specification_version: 4
|
122
|
+
summary: Module to help with GitHub markdown.
|
123
|
+
test_files: []
|