md_inc 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile.lock +1 -1
- data/lib/md_inc/md_inc_commands.rb +6 -1
- data/lib/md_inc/version.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
|
@@ -32,7 +32,7 @@ module MdInc
|
|
|
32
32
|
elsif ltype == :single_line_cmd
|
|
33
33
|
result << process_single_line_cmd(line)
|
|
34
34
|
else
|
|
35
|
-
result << line
|
|
35
|
+
result << process_text(line)
|
|
36
36
|
end
|
|
37
37
|
end
|
|
38
38
|
result
|
|
@@ -60,6 +60,11 @@ module MdInc
|
|
|
60
60
|
end
|
|
61
61
|
end
|
|
62
62
|
|
|
63
|
+
def process_text(text)
|
|
64
|
+
# Do nothing, allows plugins to override to provide custom processing.
|
|
65
|
+
text
|
|
66
|
+
end
|
|
67
|
+
|
|
63
68
|
def process_single_line_cmd(line)
|
|
64
69
|
evaluate(line[1..-1])
|
|
65
70
|
end
|
data/lib/md_inc/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: md_inc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
12
|
+
date: 2013-08-01 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: MdInc is a simple text inclusion utility (it sucks in files) intended
|
|
15
15
|
for use with markdown and similar utilities.
|
|
@@ -53,7 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
53
53
|
version: '0'
|
|
54
54
|
requirements: []
|
|
55
55
|
rubyforge_project:
|
|
56
|
-
rubygems_version: 1.8.
|
|
56
|
+
rubygems_version: 1.8.25
|
|
57
57
|
signing_key:
|
|
58
58
|
specification_version: 3
|
|
59
59
|
summary: A simple text inclusion utility
|