$NetBSD: patch-Gemfile,v 1.5 2024/06/19 11:19:22 taca Exp $ * Relax dependency. * Do not load gem for developemt and test. --- Gemfile.orig 2024-06-12 00:45:02.000000000 +0000 +++ Gemfile @@ -2,7 +2,7 @@ source 'https://rubygems.org' ruby '>= 2.7.0', '< 3.3.0' -gem 'rails', '6.1.7.8' +gem 'rails', '~> 6.1.7' gem 'rouge', '~> 4.2.0' gem 'request_store', '~> 1.5.0' gem 'mini_mime', '~> 1.1.0' @@ -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 @@ -73,7 +73,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] @@ -88,6 +88,7 @@ else warn("Please configure your config/database.yml first") end +if false group :development do gem 'listen', '~> 3.3' gem "yard"