summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2023-09-05 11:20:06 +0200
committerHans de Graaff <graaff@gentoo.org>2023-09-09 07:43:15 +0200
commit03f571a17eba57cc417c1d40fcfbeb9c641aed60 (patch)
tree544de18b683704d72f0fc3f3e3b88fbe9d62b7f3 /dev-ruby/slim/files
parentdev-ruby/redis: remove unused patch (diff)
downloadgentoo-03f571a17eba57cc417c1d40fcfbeb9c641aed60.tar.gz
gentoo-03f571a17eba57cc417c1d40fcfbeb9c641aed60.tar.bz2
gentoo-03f571a17eba57cc417c1d40fcfbeb9c641aed60.zip
dev-ruby/slim: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/slim/files')
-rw-r--r--dev-ruby/slim/files/slim-4.1.0-temple.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/dev-ruby/slim/files/slim-4.1.0-temple.patch b/dev-ruby/slim/files/slim-4.1.0-temple.patch
deleted file mode 100644
index c8c939cd6933..000000000000
--- a/dev-ruby/slim/files/slim-4.1.0-temple.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 45a8087bbdde309703db3860a160bab3fdb8c14a Mon Sep 17 00:00:00 2001
-From: Takashi Kokubun <takashikkbn@gmail.com>
-Date: Tue, 25 Oct 2022 09:25:18 -0700
-Subject: [PATCH] Support temple 0.9.1+ (#894)
-
----
- slim.gemspec | 2 +-
- test/core/test_commands.rb | 6 +++++-
- 2 files changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/slim.gemspec b/slim.gemspec
-index 0bbc7ae4..095dafd5 100644
---- a/slim.gemspec
-+++ b/slim.gemspec
-@@ -19,6 +19,6 @@ Gem::Specification.new do |s|
-
- s.required_ruby_version = '>=2.0.0'
-
-- s.add_runtime_dependency('temple', ['>= 0.7.6', '< 0.9'])
-+ s.add_runtime_dependency('temple', ['>= 0.7.6', '!= 0.9.0'])
- s.add_runtime_dependency('tilt', ['>= 2.0.6', '< 2.1'])
- end
-diff --git a/test/core/test_commands.rb b/test/core/test_commands.rb
-index 7cf8e838..15a77dd7 100644
---- a/test/core/test_commands.rb
-+++ b/test/core/test_commands.rb
-@@ -58,7 +58,11 @@ def test_rails
- prepare_common_test DYNAMIC_TEMPLATE, '--rails' do |out, err|
- assert err.empty?
-
-- assert out.include? %Q{@output_buffer = ActiveSupport::SafeBuffer.new;}
-+ if Gem::Version.new(Temple::VERSION) >= Gem::Version.new('0.9')
-+ assert out.include? %Q{@output_buffer = output_buffer || ActionView::OutputBuffer.new;}
-+ else
-+ assert out.include? %Q{@output_buffer = ActiveSupport::SafeBuffer.new;}
-+ end
- assert out.include? %Q{@output_buffer.safe_concat(("<p>Hello "#{STRING_FREEZER}));}
- assert out.include? %Q{@output_buffer.safe_concat(((::Temple::Utils.escape_html((name))).to_s));}
- assert out.include? %Q{@output_buffer.safe_concat(("!</p>"#{STRING_FREEZER}));}