$NetBSD: patch-Gemfile,v 1.13 2025/03/16 12:41:16 taca Exp $

* Relax dependency.
* Do not load gem for developemt and test.

--- Gemfile.orig	2025-03-10 23:30:01.000000000 +0000
+++ Gemfile
@@ -3,9 +3,9 @@ source 'https://rubygems.org'
 ruby '>= 2.5.0', '< 3.2.0'
 gem 'bundler', '>= 1.12.0'
 
-gem 'rails', '6.1.7.10'
+gem 'rails', '~> 6.1.7,>=6.1.7.10'
 gem 'globalid', '~> 0.4.2' if Gem.ruby_version < Gem::Version.new('2.6.0')
-gem 'rouge', '~> 3.28.0'
+gem 'rouge', '>= 3.28.0'
 gem 'request_store', '~> 1.5.0'
 gem 'mini_mime', '~> 1.1.0'
 gem "actionpack-xml_parser"
@@ -25,7 +25,7 @@ gem 'nokogiri', (if Gem.ruby_version >= 
                    '~> 1.12.5'
                  end)
 gem "rexml", require: false if Gem.ruby_version >= Gem::Version.new('3.0')
-gem 'i18n', '~> 1.10.0'
+gem 'i18n', '>= 1.10.0'
 gem 'rbpdf', '~> 1.21.3'
 gem 'addressable'
 gem 'rubyzip', '~> 2.3.0'
@@ -44,12 +44,12 @@ gem 'rqrcode'
 
 # Optional gem for LDAP authentication
 group :ldap do
-  gem 'net-ldap', '~> 0.17.0'
+  gem 'net-ldap', '>= 0.17.0'
 end
 
 # Optional gem for exporting the gantt to a PNG file
 group :minimagick do
-  gem 'mini_magick', '~> 4.11.0'
+  gem 'mini_magick', '>= 4.11.0'
 end
 
 # Optional Markdown support, not for JRuby
@@ -58,10 +58,10 @@ gem 'redcarpet', '~> 3.5.1', groups: [:m
 
 # Optional CommonMark support, not for JRuby
 group :common_mark do
-  gem "html-pipeline", "~> 2.13.2"
+  gem "html-pipeline", "~> 2.13"
   gem "commonmarker", (Gem.ruby_version < Gem::Version.new('2.6.0') ? '0.21.0' : '~> 0.23.8')
   gem "sanitize", "~> 6.0"
-  gem 'deckar01-task_list', '2.3.2'
+  gem 'deckar01-task_list', '>=2.3.2'
 end
 
 # Include database gems for the adapters found in the database
@@ -79,9 +79,9 @@ if File.exist?(database_file)
       when 'mysql2'
         gem "mysql2", "~> 0.5.0", :platforms => [:mri, :mingw, :x64_mingw]
       when /postgresql/
-        gem "pg", "~> 1.2.2", :platforms => [:mri, :mingw, :x64_mingw]
+        gem "pg", "~> 1.2", :platforms => [:mri, :mingw, :x64_mingw]
       when /sqlite3/
-        gem "sqlite3", "~> 1.4.0", :platforms => [:mri, :mingw, :x64_mingw]
+        gem "sqlite3", ">= 1.4.0", :platforms => [:mri, :mingw, :x64_mingw]
       when /sqlserver/
         gem "tiny_tds", "~> 2.1.2", :platforms => [:mri, :mingw, :x64_mingw]
         gem "activerecord-sqlserver-adapter", "~> 6.1.0", :platforms => [:mri, :mingw, :x64_mingw]
@@ -96,6 +96,7 @@ else
   warn("Please configure your config/database.yml first")
 end
 
+if false
 group :development do
   gem 'listen', '~> 3.3'
   gem "yard"
@@ -122,6 +123,7 @@ group :test do
   gem 'rubocop-performance', '~> 1.13.0'
   gem 'rubocop-rails', '~> 2.14.0'
 end
+end
 
 local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")
 if File.exist?(local_gemfile)
