middleman 2.0.0.rc2 → 2.0.0.rc3

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.
@@ -8,7 +8,7 @@ module Middleman::CoreExtensions::FrontMatter
8
8
 
9
9
  ::Tilt::register RDiscountTemplate, 'markdown', 'mkd', 'md'
10
10
  ::Tilt::register RedcarpetTemplate, 'markdown', 'mkd', 'md'
11
- ::Tilt.prefer(RDiscountTemplate)
11
+ app.set :markdown_engine, RDiscountTemplate
12
12
 
13
13
  ::Tilt::register RedClothTemplate, 'textile'
14
14
  ::Tilt.prefer(RedClothTemplate)
@@ -1,9 +1,9 @@
1
1
  module Middleman::Renderers::Markdown
2
2
  class << self
3
3
  def registered(app)
4
- app.set :markdown, ::Tilt::RDiscountTemplate
4
+ app.set :markdown_engine, ::Tilt::RDiscountTemplate
5
5
  app.after_feature_init do
6
- ::Tilt.prefer(app.settings.markdown)
6
+ ::Tilt.prefer(app.settings.markdown_engine)
7
7
  end
8
8
  end
9
9
  alias :included :registered
@@ -1,3 +1,3 @@
1
1
  module Middleman
2
- VERSION = "2.0.0.rc2"
2
+ VERSION = "2.0.0.rc3"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: middleman
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 6
5
- version: 2.0.0.rc2
5
+ version: 2.0.0.rc3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Thomas Reynolds