rocco-obb 0.82 → 0.83

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 +2 -2
  2. data/rocco.gemspec +1 -1
  3. metadata +3 -3
@@ -275,7 +275,7 @@ class Rocco
275
275
 
276
276
  # Combine all code blocks into a single big stream and run through either
277
277
  # `pygmentize(1)` or <http://pygments.appspot.com>
278
- code_stream = code_blocks.join("\n\n#{@options[:comment_chars]} DIVIDER\n\n")
278
+ code_stream = code_blocks.join("\n\n#{@options[:comment_chars][:single]} DIVIDER\n\n")
279
279
 
280
280
  if pygmentize?
281
281
  code_html = highlight_pygmentize(code_stream)
@@ -286,7 +286,7 @@ class Rocco
286
286
  # Do some post-processing on the pygments output to split things back
287
287
  # into sections and remove partial `<pre>` blocks.
288
288
  code_html = code_html.
289
- split(/\n*<span class="c.?">#{@options[:comment_chars]} DIVIDER<\/span>\n*/m).
289
+ split(/\n*<span class="c.?">#{@options[:comment_chars][:single]} DIVIDER<\/span>\n*/m).
290
290
  map { |code| code.sub(/\n?<div class="highlight"><pre>/m, '') }.
291
291
  map { |code| code.sub(/\n?<\/pre><\/div>\n/m, '') }
292
292
 
@@ -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.82'
6
+ s.version = '0.83'
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: 175
4
+ hash: 173
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 82
9
- version: "0.82"
8
+ - 83
9
+ version: "0.83"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ryan Tomayko