tomafro-jekyll 0.5.3.5 → 0.5.3.6

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.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/jekyll/post.rb +5 -2
  3. metadata +1 -1
data/Rakefile CHANGED
@@ -81,7 +81,7 @@ begin
81
81
  require 'cucumber/rake/task'
82
82
 
83
83
  Cucumber::Rake::Task.new(:features) do |t|
84
- t.cucumber_opts = "--format progress"
84
+ t.cucumber_opts = "--format pretty"
85
85
  end
86
86
  rescue LoadError
87
87
  desc 'Cucumber rake task not available'
data/lib/jekyll/post.rb CHANGED
@@ -200,8 +200,11 @@ module Jekyll
200
200
  path = File.join(dest, CGI.unescape(self.url))
201
201
 
202
202
  if template[/\.html$/].nil?
203
- FileUtils.mkdir_p(path)
204
- path = File.join(path, "index.html")
203
+ if site.pretty_style == :html_extension
204
+ path = path + ".html"
205
+ else
206
+ path = File.join(path, "index.html")
207
+ end
205
208
  end
206
209
 
207
210
  File.open(path, 'w') do |f|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tomafro-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3.5
4
+ version: 0.5.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Preston-Werner