rails_markdown_templates 2.1.0 → 2.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 15ca6d8e17662e6a00361c51d073c6addb836bc1
4
- data.tar.gz: 50985960d6136f8104e7fad7c0f0bb2053adf4c4
3
+ metadata.gz: 60b900a572c841fbcb94cefcc5e5f7c3a86c199c
4
+ data.tar.gz: 14a55c55dcb9e194b2a466298ec7a02ad0713ec9
5
5
  SHA512:
6
- metadata.gz: 9935b0f0eb1151b060fb65b9524706537e4e282e8033445f7657210cb357a8e07f6705a9ed03414970e708d013d793d74eb2ff8f05aba247c117e565f89d09e3
7
- data.tar.gz: a35e86467ea87d04d9090a6e0447a7cfd709cd6f995d50947e0e7fb4d7e9233b06020002d03ee401d93bb9c608aa4e10316ec8180b5d079631ddbe37da77708a
6
+ metadata.gz: 26ebfd3879f5c131ffe0fd823f60aa6340eb5b6c599d466fa5cd3fbb2ba2cab16b501e68c14d2f481c356487134b11a3a6b922d4b8c3b1e3ca3b99e51b1aaebe
7
+ data.tar.gz: b19b59a0a7b4a0d273c80b205ed5cb5426634da501cedf7f8a8793bd0b64118c0579d5339bf4bce79cf6ed0d186d87b3840fe7e9fc65ea3e877812b3a8753778
@@ -38,7 +38,8 @@ module ActionView
38
38
  compiled_source = erb.call(template)
39
39
 
40
40
  <<-RUBY_CODE
41
- markdown = Redcarpet::Markdown.new(RailsMarkdownTemplates::Renderer)
41
+ markdown = Redcarpet::Markdown.new(RailsMarkdownTemplates::Renderer,
42
+ RailsMarkdownTemplates.redcarpet_options)
42
43
  output = markdown.render(begin;#{compiled_source};end)
43
44
  content_for(RailsMarkdownTemplates.metadata_tags_key,
44
45
  markdown.renderer.metadata_tags)
@@ -29,7 +29,7 @@ module RailsMarkdownTemplates
29
29
  attr_accessor :metadata
30
30
 
31
31
  def initialize(options={})
32
- super RailsMarkdownTemplates.redcarpet_options.merge(options)
32
+ super options
33
33
  @metadata = {}
34
34
  end
35
35
 
@@ -17,5 +17,5 @@
17
17
  # <http://www.gnu.org/licenses/>.
18
18
 
19
19
  module RailsMarkdownTemplates
20
- VERSION = "2.1.0"
20
+ VERSION = "2.1.1"
21
21
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_markdown_templates
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Dawson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-11 00:00:00.000000000 Z
11
+ date: 2015-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redcarpet