judofyr / temple

Template compilation framework in Ruby
http://judofyr.net/posts/temple.html
MIT License
491 stars 53 forks source link

DEPRECATION WARNING: Single arity template handlers are deprecated #122

Closed Fudoshiki closed 5 years ago

Fudoshiki commented 5 years ago

DEPRECATION WARNING: Single arity template handlers are deprecated. Template handlers must now accept two parameters, the view object and the source for the view object.

Change:
  >> #<Class:0x000000010a6cd788>#call(template)
To:
  >> #<Class:0x000000010a6cd788>#call(template, source)
 (called from block in register_as at /Users/fudoshiki/.rvm/gems/ruby-2.6.1/gems/temple-0.8.0/lib/temple/templates/rails.rb:21)
ghost commented 5 years ago

Fixed in #121 (if merged)

Fudoshiki commented 5 years ago

Fixed in #121

judofyr commented 5 years ago

v0.8.1 has now been released.