diff --git a/.gitignore b/.gitignore index 739c3d6..49d01da 100644 --- a/.gitignore +++ b/.gitignore @@ -21,4 +21,5 @@ tmp *.a mkmf.log spec/dummy/log/* -gemfiles/*.lock \ No newline at end of file +gemfiles/*.lock +.idea/ diff --git a/lib/liquid-rails/template_handler.rb b/lib/liquid-rails/template_handler.rb index f91bcf8..22a0522 100644 --- a/lib/liquid-rails/template_handler.rb +++ b/lib/liquid-rails/template_handler.rb @@ -2,7 +2,7 @@ module Liquid module Rails class TemplateHandler - def self.call(template) + def self.call(template, _source=nil) "Liquid::Rails::TemplateHandler.new(self).render(#{template.source.inspect}, local_assigns)" end diff --git a/lib/liquid-rails/version.rb b/lib/liquid-rails/version.rb index 0fd093a..feb729f 100644 --- a/lib/liquid-rails/version.rb +++ b/lib/liquid-rails/version.rb @@ -1,5 +1,5 @@ module Liquid module Rails - VERSION = '0.2.0' + VERSION = '0.2.1' end end diff --git a/liquid-rails.gemspec b/liquid-rails.gemspec index a1cc18e..ecc0054 100644 --- a/liquid-rails.gemspec +++ b/liquid-rails.gemspec @@ -22,5 +22,5 @@ Gem::Specification.new do |spec| spec.add_dependency 'rails', ">= 5.0.6" spec.add_dependency 'liquid', '~> 4.0.0' - spec.add_dependency 'kaminari', '~> 1.1.1' + spec.add_dependency 'kaminari', '~> 1.2.1' end