octopress-code-highlighter 4.2.2 → 4.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/octopress-code-highlighter.rb +1 -1
- data/lib/octopress-code-highlighter/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4164dd0c2e141d03bee935546f650601d2c0e5cb
|
4
|
+
data.tar.gz: a83c9099f0d9dd79ea224d86afcff2abeddd32e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fe0c512294344643b66ef52113fdc17b1ce6626542f3957dc343a064be574babbbfbe73a46a19652815612d9cef8c6c5eedbf07ea2fdb2959a5366fdf1975c5
|
7
|
+
data.tar.gz: 488ba51111b20a62d1c9b4869b2101f67ae46995e61a3f13488b34391dfb2f2012fe819c2090511b00849da4004a2526d9563c261a76c0c71ef3c855679f5ee6
|
data/CHANGELOG.md
CHANGED
@@ -50,7 +50,7 @@ module Octopress
|
|
50
50
|
raise "Code is #{length} lines long, cannot begin at line #{start}." if start > length
|
51
51
|
raise "Code lines starting line #{start} cannot be after ending line #{endline}." if start > endline
|
52
52
|
range = Range.new(start - 1, endline - 1)
|
53
|
-
code = code.lines[range].join
|
53
|
+
code = code.lines.to_a[range].join
|
54
54
|
end
|
55
55
|
code
|
56
56
|
end
|