Package: redmine / 5.0.4-5+deb12u1

gemfile-deps-adjustment.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
Last-Update: 2022-03-29
Forwarded: not-needed
Author: Antonio Terceiro <terceiro@debian.org>
Description: Adapt dep requirements
 1) Specifying minor SemVer is too pedantic. Minor versions are
 backwards-compatible by definition. It becomes likely that if any dep is
 updated, this package will break or need to be updated in tandem. It means
 distributions need to spend too much attention on this package between
 upstream releases and also makes it likely that this package will break during
 its tenure in 'stable'. Incrementing the minor SemVer should not break this
 package by definition, so it should be safe to avoid specifying it.
 .
 2) Also update that slightly differ from Debian but were tested to work fine
 .
 This patch is expected to be updated and evolve as new upstream versions are
 integrated, but it should save maintainers effort overall.
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/

--- a/Gemfile
+++ b/Gemfile
@@ -3,9 +3,9 @@
 ruby '>= 2.5.0', '< 3.2.0'
 gem 'bundler', '>= 1.12.0'
 
-gem 'rails', '6.1.7'
+gem 'rails', '~> 6.1.7'
 gem 'globalid', '~> 0.4.2' if Gem.ruby_version < Gem::Version.new('2.6.0')
-gem 'rouge', '~> 3.28.0'
+gem 'rouge', '~> 3.28'
 gem 'request_store', '~> 1.5.0'
 gem 'mini_mime', '~> 1.1.0'
 gem "actionpack-xml_parser"
@@ -19,9 +19,9 @@
 gem "rbpdf", "~> 1.20.0"
 gem 'addressable'
 gem 'rubyzip', '~> 2.3.0'
-gem 'net-smtp', '~> 0.3.0'
-gem 'net-imap', '~> 0.2.2'
-gem 'net-pop', '~> 0.1.1'
+gem 'net-smtp'
+gem 'net-imap'
+gem 'net-pop'
 # Rails 6.1.6.1 does not work with Pysch 3.0.2, which is installed by default with Ruby 2.5. See https://github.com/rails/rails/issues/45590
 gem 'psych', '>= 3.1.0' if Gem.ruby_version < Gem::Version.new('2.6.0')
 
@@ -48,10 +48,10 @@
 
 # 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.6')
   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
@@ -86,26 +86,8 @@ else
   warn("Please configure your config/database.yml first")
 end
 
-group :development do
-  gem 'listen', '~> 3.3'
-  gem "yard"
-end
-
 group :test do
-  gem "rails-dom-testing"
   gem 'mocha', (Gem.ruby_version < Gem::Version.new('2.7.0') ? ['>= 1.4.0', '< 2.0.0'] : '>= 1.4.0')
-  gem 'simplecov', '~> 0.21.2', :require => false
-  gem "ffi", platforms: [:mingw, :x64_mingw, :mswin]
-  # For running system tests
-  # TODO: Remove version specification once Capybara supports Puma 6
-  gem 'puma', '< 6.0.0'
-  gem 'capybara', (Gem.ruby_version < Gem::Version.new('2.6.0') ? '~> 3.35.3' : '~> 3.36.0')
-  gem "selenium-webdriver", "~> 3.142.7"
-  gem 'webdrivers', '4.6.1', require: false
-  # RuboCop
-  gem 'rubocop', '~> 1.26.0'
-  gem 'rubocop-performance', '~> 1.13.0'
-  gem 'rubocop-rails', '~> 2.14.0'
 end
 
 local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")