redrug 0.2.2 → 0.2.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/bin/redrug +6 -9
- data/lib/red_rug.rb +1 -1
- metadata +3 -3
data/bin/redrug
CHANGED
|
@@ -15,7 +15,7 @@ EOF
|
|
|
15
15
|
|
|
16
16
|
version_help = <<EOF
|
|
17
17
|
|
|
18
|
-
RedRug #{RedRug.version}, Copyright 2012 Chad
|
|
18
|
+
RedRug #{RedRug.version}, Copyright 2012 Chad Perrin
|
|
19
19
|
May be distributed under the terms of the Open Works License.
|
|
20
20
|
|
|
21
21
|
EOF
|
|
@@ -35,11 +35,8 @@ OptionParser.new do |opts|
|
|
|
35
35
|
end
|
|
36
36
|
end.parse!
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
file = File.read(ARGV[0])
|
|
44
|
-
puts RedRug.to_html(file)
|
|
45
|
-
end
|
|
38
|
+
@content = String.new
|
|
39
|
+
|
|
40
|
+
$<.each {|line| @content << line }
|
|
41
|
+
|
|
42
|
+
puts RedRug.to_html @content
|
data/lib/red_rug.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: redrug
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -13,7 +13,7 @@ date: 2012-10-05 00:00:00.000000000 Z
|
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: redcarpet
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &21526420 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
@@ -21,7 +21,7 @@ dependencies:
|
|
|
21
21
|
version: '0'
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
24
|
+
version_requirements: *21526420
|
|
25
25
|
description: ! " RedRug is a wrapper for Redcarpet, intended to provide more convenient\n
|
|
26
26
|
\ interfaces for common Markdown parsing use cases.\n"
|
|
27
27
|
email: code@apotheon.net
|