ace 0.4.3 → 0.4.4

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.
@@ -12,12 +12,11 @@ require "nokogiri"
12
12
  # before Ace::ImageThumbnailerFilter, default_thumb_size: 550
13
13
  # end
14
14
 
15
- # FIXME: generate thumbnail to output/, not to content/ !!!
16
15
  module Ace
17
16
  class ImageThumbnailerFilter < Filter
18
17
  def thumb_path(file_name)
19
18
  @file_name ||= file_name
20
- @thumb_path ||= file_name.gsub(/\.([^\.]*)$/, '_thumb.\1')
19
+ @thumb_path ||= file_name.gsub(/content\/(.+)\.([^\.]*)$/, 'output/\1_thumb.\2')
21
20
  end
22
21
 
23
22
  def thumb_server_path
@@ -2,9 +2,9 @@
2
2
 
3
3
  require_relative "template"
4
4
 
5
- warn "~ TemplateFilter is deprecated, use TemplateFilter from now on."
5
+ warn "~ LayoutFilter is deprecated, use TemplateFilter from now on."
6
6
 
7
7
  module Ace
8
- class TemplateFilter < TemplateFilter
8
+ class LayoutFilter < TemplateFilter
9
9
  end
10
10
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Ace
4
- VERSION = "0.4.3"
4
+ VERSION = "0.4.4"
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ace
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.4.3
5
+ version: 0.4.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - "Jakub \xC5\xA0\xC5\xA5astn\xC3\xBD aka Botanicus"