From 9c5695b72c142802d084d666ddaeb49b6c70b85e Mon Sep 17 00:00:00 2001 From: Omar Luq Date: Wed, 23 Mar 2022 13:51:59 -0700 Subject: [PATCH 1/4] updated liquid to v 4.0.3, updated kaminari to v 1.2.2 --- .ruby-version | 2 +- lib/liquid-rails/template_handler.rb | 2 +- lib/liquid-rails/version.rb | 2 +- liquid-rails.gemspec | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.ruby-version b/.ruby-version index c1026d2..2bf1c1c 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -ruby-2.3.1 +2.3.1 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..be491c0 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.2' end end diff --git a/liquid-rails.gemspec b/liquid-rails.gemspec index a1cc18e..75f07e3 100644 --- a/liquid-rails.gemspec +++ b/liquid-rails.gemspec @@ -21,6 +21,6 @@ Gem::Specification.new do |spec| spec.require_paths = ['lib'] spec.add_dependency 'rails', ">= 5.0.6" - spec.add_dependency 'liquid', '~> 4.0.0' - spec.add_dependency 'kaminari', '~> 1.1.1' + spec.add_dependency 'liquid', '~> 4.0.3' + spec.add_dependency 'kaminari', '~> 1.2.2' end From 717274ef416e1441bb50212d196df73fb8d1b0b6 Mon Sep 17 00:00:00 2001 From: Omar Luq Date: Tue, 13 Sep 2022 13:42:55 -0700 Subject: [PATCH 2/4] bump liquid version --- lib/liquid-rails/version.rb | 2 +- liquid-rails.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/liquid-rails/version.rb b/lib/liquid-rails/version.rb index be491c0..7199259 100644 --- a/lib/liquid-rails/version.rb +++ b/lib/liquid-rails/version.rb @@ -1,5 +1,5 @@ module Liquid module Rails - VERSION = '0.2.2' + VERSION = '0.2.3' end end diff --git a/liquid-rails.gemspec b/liquid-rails.gemspec index 75f07e3..e855ef5 100644 --- a/liquid-rails.gemspec +++ b/liquid-rails.gemspec @@ -21,6 +21,6 @@ Gem::Specification.new do |spec| spec.require_paths = ['lib'] spec.add_dependency 'rails', ">= 5.0.6" - spec.add_dependency 'liquid', '~> 4.0.3' + spec.add_dependency 'liquid', '~> 5.4.0' spec.add_dependency 'kaminari', '~> 1.2.2' end From 2d43d78c61157452ff1a19b2f8f85510b6b4865c Mon Sep 17 00:00:00 2001 From: Omar Luq <84993125+omarluq@users.noreply.github.com> Date: Tue, 13 Sep 2022 13:49:29 -0700 Subject: [PATCH 3/4] version fix --- lib/liquid-rails/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/liquid-rails/version.rb b/lib/liquid-rails/version.rb index 7199259..be491c0 100644 --- a/lib/liquid-rails/version.rb +++ b/lib/liquid-rails/version.rb @@ -1,5 +1,5 @@ module Liquid module Rails - VERSION = '0.2.3' + VERSION = '0.2.2' end end From 3d2ba6c47d2b8d27f69c6eefe7f8f755b251dc75 Mon Sep 17 00:00:00 2001 From: Omar Luq Date: Tue, 13 Sep 2022 16:05:33 -0700 Subject: [PATCH 4/4] update version --- lib/liquid-rails/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/liquid-rails/version.rb b/lib/liquid-rails/version.rb index be491c0..7199259 100644 --- a/lib/liquid-rails/version.rb +++ b/lib/liquid-rails/version.rb @@ -1,5 +1,5 @@ module Liquid module Rails - VERSION = '0.2.2' + VERSION = '0.2.3' end end