Skip to content

Commit f8bc5a3

Browse files
committed
Merge branch 'release/0.44.0.0'
2 parents 9220d91 + d1ee51b commit f8bc5a3

401 files changed

Lines changed: 11563 additions & 2805 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
/config/memcached.yml
1919
/config/newrelic.yml
2020
/config/rails_env.rb
21+
/config/sidekiq.yml
2122
/config/storage.yml
2223
/config/user_spam_scorer.yml
2324
/config/xapian.yml

.ruby-style.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ AllCops:
3737
Bundler/DuplicatedGem:
3838
Enabled: false
3939

40+
Bundler/DuplicatedGroup:
41+
Enabled: false
42+
4043
Bundler/GemComment:
4144
Enabled: false
4245

@@ -255,6 +258,7 @@ Layout/LineLength:
255258
- "^\\s*it\\s+.*do$"
256259
- "^\\s*context\\s+.*do$"
257260
- "^\\s*describe\\s+.*do$"
261+
- "^RSpec\\.describe(\\s+|\\().*do$"
258262
- "^\\s*class\\s+[A-Z].*<.*"
259263
Exclude:
260264
- bin/setup
@@ -579,6 +583,9 @@ Lint/MissingCopEnableDirective:
579583
Lint/MissingSuper:
580584
Enabled: false
581585

586+
Lint/MixedCaseRange:
587+
Enabled: false
588+
582589
Lint/MixedRegexpCaptureTypes:
583590
Enabled: false
584591

@@ -645,6 +652,9 @@ Lint/RedundantCopEnableDirective:
645652
Lint/RedundantDirGlobSort:
646653
Enabled: false
647654

655+
Lint/RedundantRegexpQuantifiers:
656+
Enabled: false
657+
648658
Lint/RedundantRequireStatement:
649659
Enabled: false
650660

@@ -968,6 +978,9 @@ Performance/IoReadlines:
968978
Performance/MapCompact:
969979
Enabled: false
970980

981+
Performance/MapMethodChain:
982+
Enabled: false
983+
971984
Performance/MethodObjectAsBlock:
972985
Enabled: false
973986

@@ -1120,6 +1133,9 @@ Rails/ContentTag:
11201133
Rails/CreateTableWithTimestamps:
11211134
Enabled: false
11221135

1136+
Rails/DangerousColumnNames:
1137+
Enabled: false
1138+
11231139
Rails/Date:
11241140
Enabled: false
11251141

@@ -1285,6 +1301,9 @@ Rails/RakeEnvironment:
12851301
Rails/ReadWriteAttribute:
12861302
Enabled: false
12871303

1304+
Rails/RedundantActiveRecordAllMethod:
1305+
Enabled: false
1306+
12881307
Rails/RedundantAllowNil:
12891308
Enabled: false
12901309

@@ -1354,6 +1373,9 @@ Rails/SchemaComment:
13541373
Rails/ScopeArgs:
13551374
Enabled: false
13561375

1376+
Rails/SelectMap:
1377+
Enabled: false
1378+
13571379
Rails/ShortI18n:
13581380
Enabled: false
13591381

@@ -1402,6 +1424,9 @@ Rails/UnknownEnv:
14021424
Rails/UnusedIgnoredColumns:
14031425
Enabled: false
14041426

1427+
Rails/UnusedRenderContent:
1428+
Enabled: false
1429+
14051430
Rails/Validation:
14061431
Enabled: false
14071432

@@ -1643,6 +1668,9 @@ Style/EvalWithLocation:
16431668
Style/EvenOdd:
16441669
Enabled: true
16451670

1671+
Style/ExactRegexpMatch:
1672+
Enabled: false
1673+
16461674
Style/ExpandPathArguments:
16471675
Enabled: false
16481676

@@ -1953,6 +1981,9 @@ Style/RandomWithOffset:
19531981
Style/RedundantArgument:
19541982
Enabled: false
19551983

1984+
Style/RedundantArrayConstructor:
1985+
Enabled: false
1986+
19561987
Style/RedundantAssignment:
19571988
Enabled: false
19581989

@@ -1971,6 +2002,9 @@ Style/RedundantConditional:
19712002
Style/RedundantConstantBase:
19722003
Enabled: false
19732004

2005+
Style/RedundantCurrentDirectoryInPath:
2006+
Enabled: false
2007+
19742008
Style/RedundantDoubleSplatHashBraces:
19752009
Enabled: false
19762010

@@ -1986,6 +2020,9 @@ Style/RedundantFetchBlock:
19862020
Style/RedundantFileExtensionInRequire:
19872021
Enabled: false
19882022

2023+
Style/RedundantFilterChain:
2024+
Enabled: false
2025+
19892026
Style/RedundantFreeze:
19902027
Enabled: true
19912028

@@ -2007,9 +2044,15 @@ Style/RedundantParentheses:
20072044
Style/RedundantPercentQ:
20082045
Enabled: false
20092046

2047+
Style/RedundantRegexpArgument:
2048+
Enabled: false
2049+
20102050
Style/RedundantRegexpCharacterClass:
20112051
Enabled: false
20122052

2053+
Style/RedundantRegexpConstructor:
2054+
Enabled: false
2055+
20132056
Style/RedundantRegexpEscape:
20142057
Enabled: false
20152058

@@ -2049,6 +2092,9 @@ Style/RescueStandardError:
20492092
Style/ReturnNil:
20502093
Enabled: false
20512094

2095+
Style/ReturnNilInPredicateMethodDefinition:
2096+
Enabled: false
2097+
20522098
Style/SafeNavigation:
20532099
Enabled: false
20542100

@@ -2077,6 +2123,9 @@ Style/SingleArgumentDig:
20772123
Style/SingleLineBlockParams:
20782124
Enabled: false
20792125

2126+
Style/SingleLineDoEndBlock:
2127+
Enabled: false
2128+
20802129
Style/SingleLineMethods:
20812130
Enabled: true
20822131

@@ -2206,6 +2255,9 @@ Style/WhileUntilModifier:
22062255
Style/WordArray:
22072256
Enabled: true
22082257

2258+
Style/YAMLFileRead:
2259+
Enabled: false
2260+
22092261
Style/YodaCondition:
22102262
Enabled: false
22112263

.vagrant.yml.example

Lines changed: 0 additions & 11 deletions
This file was deleted.

Gemfile

Lines changed: 29 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -79,52 +79,56 @@
7979
# the new version. It is always preferable to upgrade our code.
8080
source 'https://rubygems.org'
8181

82-
gem 'rails', '~> 7.0.4'
82+
gem 'rails', '~> 7.0.8'
8383

84-
gem 'pg', '~> 1.4.6'
84+
gem 'pg', '~> 1.5.4'
8585

8686
# New gem releases aren't being done. master is newer and supports Rails > 3.0
8787
gem 'acts_as_versioned', git: 'https://github.com/mysociety/acts_as_versioned.git',
8888
ref: '13e928b'
8989
gem 'active_model_otp'
90-
gem 'bcrypt', '~> 3.1.18'
90+
gem 'bcrypt', '~> 3.1.19'
9191
gem 'cancancan', '~> 3.5.0'
9292
gem 'charlock_holmes', '~> 0.7.7'
93-
gem 'dalli', '~> 3.2.4'
93+
gem 'dalli', '~> 3.2.6'
9494
gem 'exception_notification', '~> 4.5.0'
9595
gem 'fancybox-rails', '~> 0.3.0'
96+
gem 'friendly_id', '~> 5.5.0'
9697
gem 'gnuplot', '~> 2.6.0'
9798
gem 'htmlentities', '~> 4.3.0'
98-
gem 'icalendar', '~> 2.8.0'
99-
gem 'jquery-rails', '~> 4.5.1'
99+
gem 'icalendar', '~> 2.9.0'
100+
gem 'jquery-rails', '~> 4.6.0'
100101
gem 'jquery-ui-rails', '~> 6.0.0'
101102
gem 'json', '~> 2.6.2'
102103
gem 'holidays', '~> 8.6.0'
103104
gem 'iso_country_codes', '~> 0.7.8'
104105
gem 'mail', '~> 2.8.1'
105106
gem 'maxmind-db', '~> 1.0.0'
106107
gem 'mahoro', '~> 0.5'
107-
gem 'nokogiri', '~> 1.14.3'
108+
gem 'nokogiri', '~> 1.15.4'
108109
gem 'open4', '~> 1.3.0'
109-
gem 'rack', '~> 2.2.6'
110-
gem 'rack-utf8_sanitizer', '~> 1.8.0'
111-
gem 'recaptcha', '~> 5.14.0', require: 'recaptcha/rails'
110+
gem 'rack', '~> 2.2.8'
111+
gem 'rack-utf8_sanitizer', '~> 1.9.1'
112+
gem 'recaptcha', '~> 5.15.0', require: 'recaptcha/rails'
112113
gem 'matrix', '~> 0.4.2'
113114
gem 'mini_magick', '~> 4.12.0'
115+
gem 'net-protocol', '~> 0.1.3'
116+
gem 'redcarpet', '~> 3.6.0'
114117
gem 'redis', '~> 4.8.1'
115118
gem 'rolify', '~> 6.0.1'
116119
gem 'ruby-msg', '~> 1.5.0', git: 'https://github.com/mysociety/ruby-msg.git', branch: 'ascii-encoding'
117120
gem 'rubyzip', '~> 2.3.2'
118121
gem 'secure_headers', '~> 6.5.0'
119-
gem 'sidekiq', '~> 6.5.8'
122+
gem 'sidekiq', '~> 6.5.12'
123+
gem 'sidekiq-limit_fetch', '~> 4.4.1'
120124
gem 'statistics2', '~> 0.54'
121125
gem 'strip_attributes', git: 'https://github.com/mysociety/strip_attributes.git', branch: 'globalize3-rails7'
122126
gem 'stripe', '~> 5.55.0'
123127
gem 'syck', '~> 1.4.1', require: false
124128
gem 'syslog_protocol', '~> 0.9.0'
125129
gem 'thin', '~> 1.8.2'
126130
gem 'vpim', '~> 13.11.11'
127-
gem 'will_paginate', '~> 3.3.1'
131+
gem 'will_paginate', '~> 4.0.0'
128132
gem 'xapian-full-alaveteli', '~> 1.4.22.1'
129133
gem 'xml-simple', '~> 1.1.9', require: 'xmlsimple'
130134
gem 'zip_tricks', '~> 5.6.0'
@@ -133,11 +137,11 @@ gem 'zip_tricks', '~> 5.6.0'
133137
gem 'gender_detector', '~> 2.0.0'
134138

135139
# Gems related to internationalisation
136-
gem 'i18n', '~> 1.12.0'
140+
gem 'i18n', '~> 1.14.1'
137141
gem 'rails-i18n', '~> 7.0.5'
138-
gem 'gettext_i18n_rails', '~> 1.10.0'
142+
gem 'gettext_i18n_rails', '~> 1.12.0'
139143
gem 'fast_gettext', '~> 2.3.0'
140-
gem 'gettext', '~> 3.4.3'
144+
gem 'gettext', '~> 3.4.7'
141145
gem 'globalize', '~> 6.2.1'
142146
gem 'locale', '~> 2.1.3'
143147
gem 'routing-filter', '~> 0.7.0'
@@ -146,12 +150,13 @@ gem 'unidecoder', '~> 1.1.0'
146150
gem 'money', '~> 6.16.0'
147151

148152
# mime-types 3.0.0 requires Ruby 2.0.0, and _something_ is trying to update it
149-
gem 'mime-types', '< 3.0.0', require: false
153+
gem 'mime-types', '< 4.0.0', require: false
150154

151155
# Assets
152156
gem 'bootstrap-sass', '~> 2.3.2.2'
153-
gem 'mini_racer', '~> 0.6.3'
157+
gem 'mini_racer', '~> 0.8.0'
154158
gem 'sass-rails', '~> 5.0.8'
159+
gem 'sprockets', git: 'https://github.com/rails/sprockets', ref: '3.x'
155160
gem 'uglifier', '~> 4.2.0'
156161

157162
# Feature flags
@@ -164,32 +169,32 @@ gem 'google-cloud-storage', '~> 1.44', require: false
164169

165170
group :test do
166171
gem 'fivemat', '~> 1.3.7'
167-
gem 'webmock', '~> 3.18.1'
172+
gem 'webmock', '~> 3.19.1'
168173
gem 'simplecov', '~> 0.22.0'
169174
gem 'simplecov-lcov', '~> 0.7.0'
170-
gem 'capybara', '~> 3.39.0'
175+
gem 'capybara', '~> 3.39.2'
171176
gem 'stripe-ruby-mock', git: 'https://github.com/stripe-ruby-mock/stripe-ruby-mock',
172177
ref: '6ceea96'
173178
gem 'rails-controller-testing'
174179
end
175180

176181
group :test, :development do
177-
gem 'bullet', '~> 7.0.7'
182+
gem 'bullet', '~> 7.1.2'
178183
gem 'factory_bot_rails', '~> 6.2.0'
179184
gem 'oink', '~> 0.10.1'
180185
gem 'rspec-activemodel-mocks', '~> 1.1.0'
181-
gem 'rspec-rails', '~> 6.0.0'
186+
gem 'rspec-rails', '~> 6.0.3'
182187
gem 'pry', '~> 0.14.2'
183188
end
184189

185190
group :development do
186191
gem 'annotate', '< 3.2.1'
187-
gem 'capistrano', '~> 2.15.0', '< 3.0.0'
188-
gem 'net-ssh', '~> 7.1.0'
192+
gem 'capistrano', '~> 2.15.11'
193+
gem 'net-ssh', '~> 7.2.0'
189194
gem 'net-ssh-gateway', '>= 1.1.0', '< 3.0.0'
190195
gem 'launchy', '< 2.6.0'
191196
gem 'web-console', '>= 3.3.0'
192-
gem 'rubocop', '~> 1.50.2', require: false
197+
gem 'rubocop', '~> 1.57.1', require: false
193198
gem 'rubocop-performance', require: false
194199
gem 'rubocop-rails', require: false
195200
end

0 commit comments

Comments
 (0)