jadof 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/jadof/page.rb +2 -2
  2. metadata +2 -2
@@ -116,8 +116,8 @@ module JADOF #:nodoc:
116
116
  def render page
117
117
  html = page.body
118
118
 
119
- page.extensions.reverse.each do |match| # [ ["markdown"], ["erb"] ]
120
- if formatter = formatters[ match.first ]
119
+ page.extensions.reverse.each do |extension| # ["markdown", "erb"]
120
+ if formatter = formatters[extension]
121
121
  begin
122
122
  html = formatter.call(html)
123
123
  rescue ArgumentError => ex
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 5
9
- version: 0.1.5
8
+ - 6
9
+ version: 0.1.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - remi