From 68f0e5ffd106367bd77275d8511c7646332d5d25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eloy=20P=C3=A9rez?= Date: Mon, 8 Aug 2022 17:40:06 +0200 Subject: [PATCH] Upgrade hamlit version to 3 --- sinatra-contrib/Gemfile | 3 +-- sinatra-contrib/spec/content_for_spec.rb | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/sinatra-contrib/Gemfile b/sinatra-contrib/Gemfile index 2dba749ec2..98f4079f00 100644 --- a/sinatra-contrib/Gemfile +++ b/sinatra-contrib/Gemfile @@ -16,8 +16,7 @@ group :development, :test do end platform :jruby, :ruby do - gem 'hamlit' - gem 'hamlit-block', '>= 0.7.1' + gem 'hamlit', '~> 3' gem 'liquid', '~> 2.6.x' gem 'slim' end diff --git a/sinatra-contrib/spec/content_for_spec.rb b/sinatra-contrib/spec/content_for_spec.rb index 1ba5485dad..12c980301f 100644 --- a/sinatra-contrib/spec/content_for_spec.rb +++ b/sinatra-contrib/spec/content_for_spec.rb @@ -9,7 +9,7 @@ end Tilt.prefer Tilt::ERBTemplate - require 'hamlit/block' + require 'hamlit' Tilt.register Tilt::HamlTemplate, :haml extend Forwardable