From 7eddb9f3d2403f5f897c14698e598db91c80e581 Mon Sep 17 00:00:00 2001 From: jnettome Date: Thu, 15 Oct 2020 10:31:25 -0300 Subject: [PATCH] upgrading kaminari to 1.2.1 - following pull request from @gja (https://github.com/chamnap/liquid-rails/pull/20); --- lib/liquid-rails/template_handler.rb | 2 +- lib/liquid-rails/version.rb | 2 +- liquid-rails.gemspec | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/liquid-rails/template_handler.rb b/lib/liquid-rails/template_handler.rb index f91bcf8..eeab40a 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