md_inc 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- md_inc (0.2.9)
4
+ md_inc (0.3.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -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
@@ -1,3 +1,3 @@
1
1
  module MdInc
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
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.2
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-03-25 00:00:00.000000000 Z
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.10
56
+ rubygems_version: 1.8.25
57
57
  signing_key:
58
58
  specification_version: 3
59
59
  summary: A simple text inclusion utility