radiant-if_date_tags-extension 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -46,7 +46,7 @@ module IfDateTags::TagExtensions
46
46
 
47
47
  def than_and_date_from_attrs(tag)
48
48
  raise TagError.new("`#{tag.name}' tag must contain a than attribute.") unless tag.attr['than']
49
- than = tag.attr.delete('than')
49
+ than = tag.attr['than']
50
50
  date_attr = tag.attr['date']
51
51
  date = if date_attr
52
52
  case
@@ -62,4 +62,4 @@ module IfDateTags::TagExtensions
62
62
  than = DateTime.parse(than)
63
63
  return [ than.to_date, date.to_date ]
64
64
  end
65
- end
65
+ end
@@ -1,5 +1,5 @@
1
1
  module RadiantIfDateTagsExtension
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  SUMMARY = "If Date Tags for Radiant CMS"
4
4
  DESCRIPTION = "Makes Radiant better by adding if_date radius tags"
5
5
  URL = "http://github.com/jomz/radiant-if_date_tags-extension"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-if_date_tags-extension
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -25,6 +25,7 @@ files:
25
25
  - lib/if_date_tags/tag_extensions.rb
26
26
  - lib/radiant-if_date_tags-extension.rb
27
27
  - lib/tasks/if_date_tags_extension_tasks.rake
28
+ - radiant-if_date_tags-extension-1.0.0.gem
28
29
  - radiant-if_date_tags-extension.gemspec
29
30
  - Rakefile
30
31
  - README.md