Skip to content

Commit d71e407

Browse files
committed
Nettoyage Gemfile
Suppression de * capistrano * mo (obsolète, plutôt utiliser rubocop) * pry-rails (la console irb normale est au moins aussi bien maintenant) * sushi * capybara * selenium * gctools (outil utilisé en production? Ne cible pas seulement ruby 2.1?)
1 parent 9fc6e93 commit d71e407

File tree

5 files changed

+10
-228
lines changed

5 files changed

+10
-228
lines changed

Capfile

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

Gemfile

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ git_source(:github) do |repo_name|
55
"https://github.com/#{repo_name}.git"
66
end
77

8-
gem "rails", "~>7.0"
8+
gem "rails", "~>7.1"
99

1010
gem "actionpack-page_caching"
11-
gem "ansi", "~>1.4", require: false
1211
gem "acts_as_list", "~>0.4"
12+
gem "ansi", "~>1.4", require: false
1313
gem "bitfields", "~>0.4"
1414
gem "bootsnap", "~>1.3", require: false
1515
gem "canable", "~>0.1"
@@ -21,25 +21,25 @@ gem "ffi-hunspell", github: "postmodern/ffi-hunspell"
2121
gem "french_rails", "~>0.5", github: "linuxfrorg/french-rails"
2222
gem "friendly_id", "~>5.1"
2323
gem "haml", "~>5.0"
24+
gem "htmlentities", "~>4.3"
2425
gem "html-pipeline-linuxfr", "~>0.17", github: "linuxfrorg/html-pipeline-linuxfr"
2526
gem "html_spellchecker", "~>0.1"
2627
gem "html_truncator", "~>0.4"
27-
gem "htmlentities", "~>4.3"
2828
gem "inherited_resources", "~>1.8"
2929
gem "kaminari", "~>1.2"
3030
gem "mini_magick", "~>4.9"
3131
gem "mysql2", "~>0.5.0"
3232
gem "nokogiri", "~>1.10"
33-
gem "rinku", "~>2.0"
3433
gem "redis", "~>5.0"
34+
gem "rinku", "~>2.0"
3535
gem "sitemap_generator", "~>2.1"
3636
gem "state_machines-activerecord"
3737

3838
# Gems used for assets
3939
assets = !%w(production alpha).include?(ENV['RAILS_ENV'])
4040
assets = true if ENV['RAILS_GROUPS'] == "assets"
41-
gem "jquery-rails", "~>4.0", require: assets
4241
gem "coffee-rails", "~>4.1", require: assets
42+
gem "jquery-rails", "~>4.0", require: assets
4343
gem "normalize-rails", "~>8.0", require: assets
4444
gem "sass-rails", "~>5.0", require: assets
4545
gem "uglifier", require: assets
@@ -53,26 +53,17 @@ group :development do
5353
gem "annotate"
5454
gem "better_errors"
5555
gem "binding_of_caller"
56-
gem "capistrano", "~>2.15", github: 'capistrano', branch: 'legacy-v2'
57-
gem "capistrano-maintenance"
5856
gem "letter_opener"
5957
gem "listen", github: "guard/listen"
60-
gem "mo"
6158
gem "puma"
62-
gem "pry-rails"
6359
gem "spring"
64-
gem "sushi"
6560
gem "web-console"
6661
end
6762

6863
group :test do
69-
# Adds support for Capybara system testing and selenium driver
70-
gem "capybara", ">= 2.15"
71-
gem "selenium-webdriver"
7264
gem "simplecov"
7365
end
7466

7567
group :production, :alpha do
76-
gem "unicorn", "~>5.1"
77-
gem "gctools", "~>0.2"
68+
gem "unicorn", "~>5.1"
7869
end

Gemfile.lock

Lines changed: 4 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
1-
GIT
2-
remote: https://github.com/capistrano/capistrano.git
3-
revision: d671aab46b321ececc672379f0898562b2d85b9b
4-
branch: legacy-v2
5-
specs:
6-
capistrano (2.15.11)
7-
highline
8-
net-scp (>= 1.0.0)
9-
net-sftp (>= 2.0.0)
10-
net-ssh (>= 2.0.14)
11-
net-ssh-gateway (>= 1.1.0)
12-
131
GIT
142
remote: https://github.com/guard/listen.git
153
revision: fd85e1cb2375767e3cbc4b5743ff50061e8a6c75
@@ -151,27 +139,14 @@ GEM
151139
activerecord (>= 5.1)
152140
bootsnap (1.16.0)
153141
msgpack (~> 1.2)
154-
boson (1.3.0)
155142
builder (3.2.4)
156143
byebug (11.1.3)
157144
canable (0.3.0)
158-
capistrano-maintenance (0.0.5)
159-
capistrano (~> 2.0)
160-
capybara (3.39.2)
161-
addressable
162-
matrix
163-
mini_mime (>= 0.1.3)
164-
nokogiri (~> 1.8)
165-
rack (>= 1.6.0)
166-
rack-test (>= 0.6.3)
167-
regexp_parser (>= 1.5, < 3.0)
168-
xpath (~> 3.2)
169145
carrierwave (1.3.4)
170146
activemodel (>= 4.0.0)
171147
activesupport (>= 4.0.0)
172148
mime-types (>= 1.16)
173149
ssrf_filter (~> 1.0, < 1.1.0)
174-
coderay (1.1.3)
175150
coffee-rails (4.2.2)
176151
coffee-script (>= 2.2.0)
177152
railties (>= 4.0.0)
@@ -201,7 +176,6 @@ GEM
201176
ffi (1.16.3)
202177
friendly_id (5.5.0)
203178
activerecord (>= 4.0.0)
204-
gctools (0.2.4)
205179
globalid (1.2.1)
206180
activesupport (>= 6.1)
207181
haml (5.2.2)
@@ -210,7 +184,6 @@ GEM
210184
has_scope (0.8.2)
211185
actionpack (>= 5.2)
212186
activesupport (>= 5.2)
213-
highline (2.1.0)
214187
html_spellchecker (0.1.9)
215188
ffi-hunspell (~> 0.4)
216189
nokogiri (~> 1.4)
@@ -258,17 +231,12 @@ GEM
258231
net-pop
259232
net-smtp
260233
marcel (1.0.2)
261-
matrix (0.4.2)
262-
method_source (1.0.0)
263234
mime-types (3.5.1)
264235
mime-types-data (~> 3.2015)
265236
mime-types-data (3.2023.1003)
266237
mini_magick (4.12.0)
267238
mini_mime (1.1.5)
268-
mini_portile2 (2.8.4)
269239
minitest (5.20.0)
270-
mo (1.4.0)
271-
boson
272240
msgpack (1.7.2)
273241
multi_json (1.15.0)
274242
mutex_m (0.1.2)
@@ -280,29 +248,16 @@ GEM
280248
net-protocol
281249
net-protocol (0.2.1)
282250
timeout
283-
net-scp (4.0.0)
284-
net-ssh (>= 2.6.5, < 8.0.0)
285-
net-sftp (4.0.0)
286-
net-ssh (>= 5.0.0, < 8.0.0)
287251
net-smtp (0.4.0)
288252
net-protocol
289-
net-ssh (7.2.0)
290-
net-ssh-gateway (2.0.0)
291-
net-ssh (>= 4.0.0)
292253
nio4r (2.5.9)
293-
nokogiri (1.15.4)
294-
mini_portile2 (~> 2.8.2)
254+
nokogiri (1.15.4-x86_64-linux)
295255
racc (~> 1.4)
296256
nokogumbo (2.0.5)
297257
nokogiri (~> 1.8, >= 1.8.4)
298258
normalize-rails (8.0.1)
299259
orm_adapter (0.5.0)
300260
patron (0.13.3)
301-
pry (0.14.2)
302-
coderay (~> 1.1)
303-
method_source (~> 1.0)
304-
pry-rails (0.3.9)
305-
pry (>= 0.10.4)
306261
psych (5.1.1.1)
307262
stringio
308263
public_suffix (5.0.3)
@@ -360,17 +315,14 @@ GEM
360315
redis-client (>= 0.9.0)
361316
redis-client (0.17.0)
362317
connection_pool
363-
regexp_parser (2.8.2)
364318
reline (0.3.9)
365319
io-console (~> 0.5)
366320
responders (3.1.1)
367321
actionpack (>= 5.2)
368322
railties (>= 5.2)
369-
rexml (3.2.6)
370323
rinku (2.0.6)
371324
rouge (4.1.3)
372325
ruby2_keywords (0.0.5)
373-
rubyzip (2.3.2)
374326
sanitize (5.2.3)
375327
crass (~> 1.0.2)
376328
nokogiri (>= 1.8.0)
@@ -386,10 +338,6 @@ GEM
386338
sprockets (>= 2.8, < 4.0)
387339
sprockets-rails (>= 2.0, < 4.0)
388340
tilt (>= 1.1, < 3)
389-
selenium-webdriver (4.14.0)
390-
rexml (~> 3.2, >= 3.2.5)
391-
rubyzip (>= 1.2.2, < 3.0)
392-
websocket (~> 1.0)
393341
simplecov (0.22.0)
394342
docile (~> 1.1)
395343
simplecov-html (~> 0.11)
@@ -414,7 +362,6 @@ GEM
414362
activerecord (>= 6.0)
415363
state_machines-activemodel (>= 0.9.0)
416364
stringio (3.0.8)
417-
sushi (0.0.4)
418365
temple (0.10.3)
419366
thor (1.2.2)
420367
tilt (2.3.0)
@@ -434,16 +381,13 @@ GEM
434381
bindex (>= 0.4.0)
435382
railties (>= 6.0.0)
436383
webrick (1.8.1)
437-
websocket (1.2.10)
438384
websocket-driver (0.7.6)
439385
websocket-extensions (>= 0.1.0)
440386
websocket-extensions (0.1.5)
441-
xpath (3.2.0)
442-
nokogiri (~> 1.8)
443387
zeitwerk (2.6.12)
444388

445389
PLATFORMS
446-
ruby
390+
x86_64-linux
447391

448392
DEPENDENCIES
449393
actionpack-page_caching
@@ -456,9 +400,6 @@ DEPENDENCIES
456400
bootsnap (~> 1.3)
457401
byebug
458402
canable (~> 0.1)
459-
capistrano (~> 2.15)!
460-
capistrano-maintenance
461-
capybara (>= 2.15)
462403
carrierwave (~> 1.1)
463404
coffee-rails (~> 4.1)
464405
devise (~> 4.3)
@@ -467,7 +408,6 @@ DEPENDENCIES
467408
ffi-hunspell!
468409
french_rails (~> 0.5)!
469410
friendly_id (~> 5.1)
470-
gctools (~> 0.2)
471411
haml (~> 5.0)
472412
html-pipeline-linuxfr (~> 0.17)!
473413
html_spellchecker (~> 0.1)
@@ -479,25 +419,21 @@ DEPENDENCIES
479419
letter_opener
480420
listen!
481421
mini_magick (~> 4.9)
482-
mo
483422
mysql2 (~> 0.5.0)
484423
nokogiri (~> 1.10)
485424
normalize-rails (~> 8.0)
486-
pry-rails
487425
puma
488-
rails (~> 7.0)
426+
rails (~> 7.1)
489427
redis (~> 5.0)
490428
rinku (~> 2.0)
491429
sass-rails (~> 5.0)
492-
selenium-webdriver
493430
simplecov
494431
sitemap_generator (~> 2.1)
495432
spring
496433
state_machines-activerecord
497-
sushi
498434
uglifier
499435
unicorn (~> 5.1)
500436
web-console
501437

502438
BUNDLED WITH
503-
2.3.15
439+
2.4.20

bin/cap

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

0 commit comments

Comments
 (0)