riven 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -2
- data/lib/riven/markup/code_block.rb +3 -3
- data/lib/riven/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: 3e21f5fef80b31fe23bdec2cf6365e95c4c18177
|
4
|
+
data.tar.gz: 03b231fbbf836b379df96af32e0d7e665340bb94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ead43de9e49d19dd8531c7216289c66eb105abbb5e056fae9dadfdf98eb81929fe1b44f222a3d944ea1c07b56954c00d215e472752acb8b1010497749fbe1be
|
7
|
+
data.tar.gz: eb2425c1321213c69570576b10efe358e612687915e43a255dc3e63c9863bbafa383d00757b7b6993add0e3a7b9277bd96929d7d82b02b9a5a228d4a06d835a6
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
riven (1.0.
|
4
|
+
riven (1.0.2)
|
5
5
|
coderay (~> 1.1)
|
6
6
|
redcarpet (~> 3.2)
|
7
7
|
|
@@ -10,7 +10,7 @@ GEM
|
|
10
10
|
specs:
|
11
11
|
coderay (1.1.0)
|
12
12
|
rake (10.4.2)
|
13
|
-
redcarpet (3.
|
13
|
+
redcarpet (3.3.1)
|
14
14
|
|
15
15
|
PLATFORMS
|
16
16
|
ruby
|
@@ -19,3 +19,6 @@ DEPENDENCIES
|
|
19
19
|
bundler (~> 1.8)
|
20
20
|
rake (~> 10.4)
|
21
21
|
riven!
|
22
|
+
|
23
|
+
BUNDLED WITH
|
24
|
+
1.10.3
|
@@ -17,11 +17,11 @@ module Riven
|
|
17
17
|
|
18
18
|
public def highlighted
|
19
19
|
if @language
|
20
|
-
CodeRay.scan(@code, @language).div(tab_width: 4)
|
20
|
+
CodeRay.scan(@code, @language).div(tab_width: 4, css: :class)
|
21
21
|
else
|
22
|
-
CodeRay.scan(@code, :text).div
|
22
|
+
CodeRay.scan(@code, :text).div(tab_width: 4, css: :class)
|
23
23
|
end
|
24
24
|
end
|
25
25
|
end
|
26
26
|
end
|
27
|
-
end
|
27
|
+
end
|
data/lib/riven/version.rb
CHANGED