ace 0.4.6 → 0.4.7

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.
@@ -19,12 +19,12 @@ module Ace
19
19
  end
20
20
 
21
21
  def thumbnail_nodeset(link, doc)
22
- link = Nokogiri::XML::Node.new("a", doc)
23
- image = Nokogiri::XML::Node.new("img", doc)
24
- link.set_attribute("href", link)
25
- image.set_attribute("src", to_thumb(link))
26
- image.parent = link
27
- return link
22
+ link_node = Nokogiri::XML::Node.new("a", doc)
23
+ image_node = Nokogiri::XML::Node.new("img", doc)
24
+ link_node.set_attribute("href", link)
25
+ image_node.set_attribute("src", to_thumb(link))
26
+ image_node.parent = link_node
27
+ return link_node
28
28
  end
29
29
 
30
30
  def call(item, content)
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Ace
4
- VERSION ||= "0.4.6"
4
+ VERSION ||= "0.4.7"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-26 00:00:00.000000000 Z
12
+ date: 2013-04-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: template-inheritance