rollin 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/rollin/article.rb +7 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2b327be9370a5f1d910a127ac1f6d2316c65fad6
4
- data.tar.gz: 4b553d48c23aaab6197fc9960dfd3fd7c99c5a80
3
+ metadata.gz: f1f08424b6aa0754fe3ac1911e0e14325fb656c0
4
+ data.tar.gz: ec44591799d4d3d1754d33d3e88a783374312a42
5
5
  SHA512:
6
- metadata.gz: 73bc774472c390304f873eed8623cb8870382ece42681dadaf66d6844e60279c43e0df90024a53fbfa9d3e9b149e99d97bcf57fa8099754bd63bb72771e1b7a8
7
- data.tar.gz: 488cde7c30425ccd613553b75166b3c85021c0cd83f1a76b89a1d71a3e69472dee0b260f8383cd17311ef38ebd72316169b46497fecb7dd4176f047d0a72d1bd
6
+ metadata.gz: 35098a90e5468154cf7abcf2b33de1404485e0235a78c5baeb948c5450b5adc52f41ab7c4e6f8c97547e6b94b2fec0da8c24f4f26e463ecd01234b6d3cb5664b
7
+ data.tar.gz: 51f989a668f92fd7f0165b0dd06241641f524493ae3af83dd929d36da0fa01ccf5d38171661cf5d799fe9be84922914fdf577845a4be6c7ea79fdb5e2105bad7
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -61,12 +61,13 @@ class Rollin::Article
61
61
  end
62
62
 
63
63
  def body
64
- redcarpet = Redcarpet::Markdown.new(Redcarpet::Render::HTML,
65
- autolink: true,
66
- space_after_headers: true,
67
- hard_wrap: true,
68
- fenced_code_blocks: true,
69
- disable_indented_code_blocks: true)
64
+ html_renderer_options = { hard_wrap: false }
65
+ parser_options = { autolink: true,
66
+ space_after_headers: true,
67
+ fenced_code_blocks: true,
68
+ disable_indented_code_blocks: true }
69
+ render = Redcarpet::Render::HTML.new(html_renderer_options)
70
+ redcarpet = Redcarpet::Markdown.new(render, parser_options)
70
71
  redcarpet.render(read_from_file.content)
71
72
  end
72
73
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rollin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - marano
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-07 00:00:00.000000000 Z
11
+ date: 2013-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler