ravicious-clothmark 0.2.1 → 0.2.2
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/VERSION +1 -1
- data/bin/clothmark +19 -14
- data/clothmark.gemspec +2 -2
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.2
|
data/bin/clothmark
CHANGED
|
@@ -6,7 +6,7 @@ require File.expand_path(File.dirname(__FILE__) + '/../lib/clothmark')
|
|
|
6
6
|
options = {}
|
|
7
7
|
|
|
8
8
|
optparse = OptionParser.new do |opts|
|
|
9
|
-
|
|
9
|
+
@usage = opts
|
|
10
10
|
opts.on('-h', '--help', 'Display this screen') do
|
|
11
11
|
puts opts
|
|
12
12
|
exit
|
|
@@ -37,19 +37,24 @@ optparse = OptionParser.new do |opts|
|
|
|
37
37
|
|
|
38
38
|
end
|
|
39
39
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
40
|
+
if ARGV.size < 1
|
|
41
|
+
puts @usage
|
|
42
|
+
exit
|
|
43
|
+
else
|
|
44
|
+
begin
|
|
45
|
+
optparse.parse!
|
|
46
|
+
rescue OptionParser::MissingArgument => e
|
|
47
|
+
puts e
|
|
48
|
+
puts "To see help, type:"
|
|
49
|
+
puts "$ #{File.basename(__FILE__)} -h"
|
|
50
|
+
exit
|
|
51
|
+
rescue OptionParser::InvalidArgument => e
|
|
52
|
+
puts e
|
|
53
|
+
puts "To see accepted arguments, type:"
|
|
54
|
+
puts "$ #{File.basename(__FILE__)} -h"
|
|
55
|
+
exit
|
|
56
|
+
end #begin
|
|
57
|
+
end
|
|
53
58
|
|
|
54
59
|
case options[:markup]
|
|
55
60
|
when 'markdown'
|
data/clothmark.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{clothmark}
|
|
8
|
-
s.version = "0.2.
|
|
8
|
+
s.version = "0.2.2"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Rafal Cieslak"]
|
|
12
|
-
s.date = %q{2009-08-
|
|
12
|
+
s.date = %q{2009-08-20}
|
|
13
13
|
s.default_executable = %q{clothmark}
|
|
14
14
|
s.description = %q{With ClothMark you can easily convert your files formatted with Markdown, Textile or BBCode to HTML files.}
|
|
15
15
|
s.email = %q{ravicious@gmail.com}
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ravicious-clothmark
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rafal Cieslak
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-08-
|
|
12
|
+
date: 2009-08-20 00:00:00 -07:00
|
|
13
13
|
default_executable: clothmark
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|