markdown_helper 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2eca1431b4a6c1e6a9afc424be9772d747ac81a5
4
- data.tar.gz: 39e06c13f4cf784946f2d012c229fd0e3c24aaaf
3
+ metadata.gz: f20468d3adaf8f70c7e5ca62a12d3796d11bf615
4
+ data.tar.gz: 01d3ae966a7217a012eaa2d32e603b233690ea8c
5
5
  SHA512:
6
- metadata.gz: 809c80de9019b5b59e457070e8c91d30b4671427422b870f7755973e88074364314cfeea8d5a6225cc4852557089b3f681bcb6a11db3e6294f0cf8c0b44a3a53
7
- data.tar.gz: a6f269cf8d9d9197462a3a6ef32987500ddf50833cf60cbadd297d9e4c8c180d9f3d9be618995a6b699c9e156b04b651dfcddaa3c83645cae974a4a6cf326a91
6
+ metadata.gz: f36d06b2272e6d662288040ba56ee9536c617496516606bf304f9f2d890af3d34dfb8fb200fa8de88f10b4f9341e0162688a33060bc34569280ec937b23a5c63
7
+ data.tar.gz: a5e5ddb4973689fbcee65d977c1c85edb3090d4c2cc74d7b3f8353ccd2b63ef4af3d03b15ed0c006ad40b6ab21f13510a9b176dc5897b6c6d3f1901acd481db1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- markdown_helper (0.1.7)
4
+ markdown_helper (0.1.8)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -2,7 +2,9 @@
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/markdown_helper.svg)](https://badge.fury.io/rb/markdown_helper)
4
4
 
5
- ## File Inclusion <img src="https://raw.githubusercontent.com/BurdetteLamar/MarkdownHelper/master/images/include.png" width="50">
5
+ ## File Inclusion
6
+
7
+ <img src="https://raw.githubusercontent.com/BurdetteLamar/MarkdownHelper/master/images/include.png" width="50">
6
8
 
7
9
  This markdown helper enables file inclusion in GitHub markdown.
8
10
 
data/Rakefile CHANGED
@@ -13,8 +13,8 @@ namespace :build do
13
13
  task :readme do
14
14
  require_relative 'lib/markdown_helper'
15
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')
16
+ markdown_helper.include('readme_files/highlight_ruby_template.md', 'readme_files/highlighted_ruby.md')
17
+ markdown_helper.include('readme_files/README.template.md', 'README.md')
18
18
  end
19
19
 
20
20
  end
@@ -1,3 +1,3 @@
1
1
  class MarkdownHelper
2
- VERSION = '0.1.7'
2
+ VERSION = '0.1.8'
3
3
  end
@@ -57,9 +57,10 @@ class MarkdownHelper
57
57
  message = "Warning: Included file has no trailing newline: #{include_file_path}"
58
58
  warn(message)
59
59
  end
60
- extname = File.extname(include_file_path)
61
- file_ext_key = extname.sub('.', '').to_sym
62
- treatment ||= @treatment_for_file_ext[file_ext_key]
60
+ # For later.
61
+ # extname = File.extname(include_file_path)
62
+ # file_ext_key = extname.sub('.', '').to_sym
63
+ # treatment ||= @treatment_for_file_ext[file_ext_key]
63
64
  if treatment == :verbatim
64
65
  # Pass through unadorned.
65
66
  output_lines.push(included_text)
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = 'Class to help with GitHub markdown.'
13
13
  spec.description = 'Class to help with GitHub markdown. So far: file inclusion.'
14
- spec.homepage = 'https://rubygems.org/gems/markdown_helper'
14
+ spec.homepage = 'https://github.com/BurdetteLamar/MarkdownHelper'
15
15
  spec.license = 'MIT'
16
16
 
17
17
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
@@ -2,7 +2,9 @@
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/markdown_helper.svg)](https://badge.fury.io/rb/markdown_helper)
4
4
 
5
- ## File Inclusion <img src="https://raw.githubusercontent.com/BurdetteLamar/MarkdownHelper/master/images/include.png" width="50">
5
+ ## File Inclusion
6
+
7
+ <img src="https://raw.githubusercontent.com/BurdetteLamar/MarkdownHelper/master/images/include.png" width="50">
6
8
 
7
9
  This markdown helper enables file inclusion in GitHub markdown.
8
10
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markdown_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - burdettelamar
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-02-25 00:00:00.000000000 Z
11
+ date: 2018-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -90,15 +90,15 @@ files:
90
90
  - lib/markdown_helper.rb
91
91
  - lib/markdown_helper/version.rb
92
92
  - markdown_helper.gemspec
93
- - readme/README.template.md
94
- - readme/code_block_ruby_template.md
95
- - readme/highlight_ruby_template.md
96
- - readme/highlighted_ruby.md
97
- - readme/include.md
98
- - readme/include.rb
99
- - readme/usage.rb
100
- - readme/verbatim_ruby_template.md
101
- homepage: https://rubygems.org/gems/markdown_helper
93
+ - readme_files/README.template.md
94
+ - readme_files/code_block_ruby_template.md
95
+ - readme_files/highlight_ruby_template.md
96
+ - readme_files/highlighted_ruby.md
97
+ - readme_files/include.md
98
+ - readme_files/include.rb
99
+ - readme_files/usage.rb
100
+ - readme_files/verbatim_ruby_template.md
101
+ homepage: https://github.com/BurdetteLamar/MarkdownHelper
102
102
  licenses:
103
103
  - MIT
104
104
  metadata: {}