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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 464b733a4287a5f988d697dfde39dddd95ff7267
4
- data.tar.gz: 6badfe40a4cae0f0fbec827544781a835d7c5692
3
+ metadata.gz: 3e21f5fef80b31fe23bdec2cf6365e95c4c18177
4
+ data.tar.gz: 03b231fbbf836b379df96af32e0d7e665340bb94
5
5
  SHA512:
6
- metadata.gz: 2aa5692e36a919a13c0e487e936b1ba5c9f75f7924680620137a645937ec952a5a00d80e76b4bf03e0acce136cd806d0aafc8cdd85f0d54692dcda846d7fca13
7
- data.tar.gz: 98df9582c75fafb10a7ac8ceb94c83505aa6398ac4460042154bd938d04cc4f918a0f725a49aaffd02cc41fac5414f1d4af874984c5c4d4e63c8205b57f33e19
6
+ metadata.gz: 4ead43de9e49d19dd8531c7216289c66eb105abbb5e056fae9dadfdf98eb81929fe1b44f222a3d944ea1c07b56954c00d215e472752acb8b1010497749fbe1be
7
+ data.tar.gz: eb2425c1321213c69570576b10efe358e612687915e43a255dc3e63c9863bbafa383d00757b7b6993add0e3a7b9277bd96929d7d82b02b9a5a228d4a06d835a6
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- riven (1.0.1)
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.2.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
@@ -1,3 +1,3 @@
1
1
  class Riven
2
- VERSION = '1.0.2'
2
+ VERSION = '1.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riven
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Kammerl