rocco-obb 0.79 → 0.80
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rocco.rb +3 -2
- data/rocco.gemspec +1 -1
- metadata +3 -3
data/lib/rocco.rb
CHANGED
@@ -109,9 +109,10 @@ class Rocco
|
|
109
109
|
@options[:comment_chars] = generate_comment_chars()
|
110
110
|
end
|
111
111
|
|
112
|
-
if(@options[:comment_chars][:regex])
|
112
|
+
if(@options[:comment_chars][:regex])
|
113
|
+
@comment_pattern = Regexp.new(@options[:comment_chars][:regex])
|
113
114
|
else @comment_pattern = Regexp.new("^\\s*#{@options[:comment_chars]}\s?")
|
114
|
-
|
115
|
+
end
|
115
116
|
puts @comment_pattern.source
|
116
117
|
@sections = highlight(split(parse(@data)))
|
117
118
|
end
|
data/rocco.gemspec
CHANGED
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rocco-obb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 171
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: "0.
|
8
|
+
- 80
|
9
|
+
version: "0.80"
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Ryan Tomayko
|