coderay 1.1.0.rc4 → 1.1.0.rc5
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.
- checksums.yaml +4 -4
- data/lib/coderay/encoders/html.rb +8 -6
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 10e5ef84cf070e23c1aee4ce116d9541782b4e5b
|
|
4
|
+
data.tar.gz: 3a7ec8f962450b85280ca65c04031d801c5015d7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6044bb7c7480d637a2446d29c3ad0811e4f97a602550db948bc53fd23596df89c0186f95f77462b2a292f4f561e04965819185c709f57fd702bfacb3a351062d
|
|
7
|
+
data.tar.gz: 2da2dff3d5f4fbcd3c3056945a985ca00d0ed0081071b515208a124879ca356502198057ae2267fa65b4db58ea33cd8f6839154ffdac0d321396dd44d8a1b607
|
|
@@ -197,13 +197,15 @@ module Encoders
|
|
|
197
197
|
@last_opened = nil
|
|
198
198
|
end
|
|
199
199
|
|
|
200
|
-
@out.
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
200
|
+
if @out.respond_to? :to_str
|
|
201
|
+
@out.extend Output
|
|
202
|
+
@out.css = @css
|
|
203
|
+
if options[:line_numbers]
|
|
204
|
+
Numbering.number! @out, options[:line_numbers], options
|
|
205
|
+
end
|
|
206
|
+
@out.wrap! options[:wrap]
|
|
207
|
+
@out.apply_title! options[:title]
|
|
204
208
|
end
|
|
205
|
-
@out.wrap! options[:wrap]
|
|
206
|
-
@out.apply_title! options[:title]
|
|
207
209
|
|
|
208
210
|
if defined?(@real_out) && @real_out
|
|
209
211
|
@real_out << @out
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: coderay
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.0.
|
|
4
|
+
version: 1.1.0.rc5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kornelius Kalnbach
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-08-
|
|
11
|
+
date: 2013-08-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Fast and easy syntax highlighting for selected languages, written in
|
|
14
14
|
Ruby. Comes with RedCloth integration and LOC counter.
|