File: 0003-Don-t-require-a-specific-Ruby-version.patch

package info (click to toggle)
ruby-seamless-database-pool 1.0.20-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 288 kB
  • sloc: ruby: 1,544; makefile: 6
file content (24 lines) | stat: -rw-r--r-- 886 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Sergio Durigan Junior <sergiodj@debian.org>
Date: Tue, 25 Jan 2022 14:39:07 -0500
Subject: Don't require a specific Ruby version

This is needed because otherwise the package won't build properly with
Ruby 3.0.

Forwarded: not-needed
---
 seamless_database_pool.gemspec | 1 -
 1 file changed, 1 deletion(-)

diff --git a/seamless_database_pool.gemspec b/seamless_database_pool.gemspec
index 0a126ba..70751fb 100644
--- a/seamless_database_pool.gemspec
+++ b/seamless_database_pool.gemspec
@@ -12,7 +12,6 @@ Gem::Specification.new do |spec|
   spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
   spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
   spec.require_paths = ["lib"]
-  spec.required_ruby_version = '~> 2.0'
 
   spec.add_runtime_dependency(%q<activerecord>, [">= 3.2.0"])
   spec.add_development_dependency(%q<rspec>, [">= 2.0"])