Skip to content

Commit

Permalink
version 0.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
minad committed Sep 25, 2012
1 parent df8f994 commit c542534
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGES
@@ -1,3 +1,8 @@
0.5.3

* Only print an message if invalid options are passed to Temple filters or engines
since many libraries seem to use Slim and Temple in an incorrect way

0.5.2

* Fix the :outvar problem really
Expand Down
4 changes: 3 additions & 1 deletion lib/temple/mixins/options.rb
Expand Up @@ -13,7 +13,9 @@ def default_options
if deprecated
puts "Option #{key.inspect} is deprecated by #{self}"
else
raise ArgumentError, "Option #{key.inspect} is not supported by #{self}"
# TODO: This will raise an exception in the future!
# raise ArgumentError, "Option #{key.inspect} is not supported by #{self}"
puts "Option #{key.inspect} is not supported by #{self}"
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/temple/version.rb
@@ -1,3 +1,3 @@
module Temple
VERSION = '0.5.2'
VERSION = '0.5.3'
end

0 comments on commit c542534

Please sign in to comment.