$NetBSD: patch-Gemfile,v 1.7 2025/03/16 12:38:01 taca Exp $ * Relax dependency. * Do not load gem for developemt and test. --- Gemfile.orig 2025-03-10 23:30:03.000000000 +0000 +++ Gemfile @@ -2,7 +2,7 @@ source 'https://rubygems.org' ruby '>= 2.7.0', '< 3.3.0' -gem 'rails', '6.1.7.10' +gem 'rails', '~>6.1.7,>=6.1.7.10' gem 'rouge', '~> 4.2.0' gem 'request_store', '~> 1.5.0' gem 'mini_mime', '~> 1.1.0' @@ -10,7 +10,7 @@ gem "actionpack-xml_parser" gem 'roadie-rails', '~> 3.1.0' gem 'marcel' gem 'mail', '~> 2.8.1' -gem 'nokogiri', Gem.ruby_version >= Gem::Version.new('3.1') ? '1.18.3' : '~> 1.15.7' +gem 'nokogiri', Gem.ruby_version >= Gem::Version.new('3.1') ? '>= 1.18.3' : '>= 1.15.7' gem 'i18n', '~> 1.14.1' gem 'rbpdf', '~> 1.21.3' gem 'addressable' @@ -31,17 +31,17 @@ gem 'rotp', '>= 5.0.0' gem 'rqrcode' # HTML pipeline and sanitization -gem "html-pipeline", "~> 2.13.2" +gem "html-pipeline", ">= 2.13.2" gem "sanitize", "~> 6.0" # 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.12.0' + gem 'mini_magick', '>= 4.12.0' end # Optional Markdown support @@ -80,7 +80,7 @@ if File.exist?(database_file) when /postgresql/ gem 'pg', '~> 1.5.3', :platforms => [:mri, :mingw, :x64_mingw] when /sqlite3/ - gem 'sqlite3', '~> 1.6.0', :platforms => [:mri, :mingw, :x64_mingw] + gem 'sqlite3', '>= 1.6.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] @@ -95,6 +95,7 @@ else warn("Please configure your config/database.yml first") end +if false group :development do gem 'listen', '~> 3.3' gem "yard"