legal_markdown 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
data/lib/legal_markdown.rb
CHANGED
@@ -11,9 +11,12 @@ module LegalMarkdown
|
|
11
11
|
STDERR.puts "Sorry, I didn't understand that. Please give me your legal_markdown filenames or \"-\" for stdin."
|
12
12
|
exit 0
|
13
13
|
elsif args.include?("--headers")
|
14
|
-
|
14
|
+
MakeYamlFrontMatter.new(args)
|
15
15
|
else
|
16
|
-
|
16
|
+
LegalToMarkdown.parse_markdown(args)
|
17
17
|
end
|
18
18
|
end
|
19
|
-
end
|
19
|
+
end
|
20
|
+
|
21
|
+
# if launched as a standalone program, not loaded as a module
|
22
|
+
LegalToMarkdown.parse if __FILE__ == $0
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: legal_markdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -118,7 +118,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
118
118
|
version: '0'
|
119
119
|
segments:
|
120
120
|
- 0
|
121
|
-
hash:
|
121
|
+
hash: 2038724006731789222
|
122
122
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
123
|
none: false
|
124
124
|
requirements:
|
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
127
|
version: '0'
|
128
128
|
segments:
|
129
129
|
- 0
|
130
|
-
hash:
|
130
|
+
hash: 2038724006731789222
|
131
131
|
requirements: []
|
132
132
|
rubyforge_project:
|
133
133
|
rubygems_version: 1.8.25
|