Browse files

version 0.5.3

  • Loading branch information...
1 parent df8f994 commit c5425342f1856ae483a786cd773d02fcb9b1a8d7 @minad minad committed Sep 25, 2012
Showing with 9 additions and 2 deletions.
  1. +5 −0 CHANGES
  2. +3 −1 lib/temple/mixins/options.rb
  3. +1 −1 lib/temple/version.rb
View
5 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
View
4 lib/temple/mixins/options.rb
@@ -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
View
2 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.