rocco-obb 0.79 → 0.80

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/rocco.rb +3 -2
  2. data/rocco.gemspec +1 -1
  3. metadata +3 -3
@@ -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]) @comment_pattern = Regexp.new(@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
@@ -3,7 +3,7 @@ Gem::Specification.new do |s|
3
3
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
4
4
 
5
5
  s.name = 'rocco-obb'
6
- s.version = '0.79'
6
+ s.version = '0.80'
7
7
  s.date = '2010-09-10'
8
8
 
9
9
  s.description = "Docco in Ruby"
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: 149
4
+ hash: 171
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 79
9
- version: "0.79"
8
+ - 80
9
+ version: "0.80"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ryan Tomayko