Skip to content

Commit 034cc5f

Browse files
committed
Gemfile: Remove unused Gems
* `typesafe_enum` was only used by the old health check code, which was removed from the codebase in 1371798. * `awesome_print` was used by the custom logging code, but has since been replaced with berkeley_library-logging (which still requires it). There are no direct dependencies on awesome_print in the codebase, so this can be removed from our direct Gemfile dependencies. * We do not use JBuilder for any of our JSON responses. This was added in the initial commit by Rails scaffolding and is not used anywhere. * When Framework was converted to RSpec in f7501f5 (2019), we also stopped using VCR. The reference in the Gemfile was missed.
1 parent cb82904 commit 034cc5f

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

Gemfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
44

55
ruby File.read('.ruby-version').strip
66

7-
gem 'awesome_print', '>=1.8.0'
87
gem 'base64'
98
gem 'berkeley_library-docker', '~> 0.2.0'
109
gem 'berkeley_library-location', '~> 4.2.0'
@@ -19,7 +18,6 @@ gem 'faraday'
1918
gem 'good_job', '~> 3.10', '>= 3.14.2'
2019
gem 'ipaddress'
2120
gem 'jaro_winkler', '~> 1.5.5'
22-
gem 'jbuilder', '~> 2.5'
2321
gem 'jquery-rails'
2422
gem 'jquery-ui-rails'
2523
gem 'jwt', '~> 1.5', '>= 1.5.4'
@@ -36,7 +34,6 @@ gem 'puma', '~> 4.3', '>= 4.3.12'
3634
gem 'rails', '~> 7.0.4'
3735
gem 'recaptcha', '~> 4.13'
3836
gem 'sprockets', '~> 4.0'
39-
gem 'typesafe_enum', '~> 0.3'
4037
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]
4138

4239
group :development, :test do
@@ -50,7 +47,6 @@ group :development, :test do
5047
gem 'rspec_junit_formatter', '~> 0.5'
5148
gem 'rspec-rails', '~> 5.0'
5249
gem 'ruby-prof', '~> 1.3.0'
53-
gem 'vcr'
5450
gem 'webmock'
5551
end
5652

Gemfile.lock

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ GEM
7272
ast (2.4.3)
7373
autoprefixer-rails (10.4.7.0)
7474
execjs (~> 2)
75-
awesome_print (1.9.2)
7675
base64 (0.3.0)
7776
benchmark (0.5.0)
7877
berkeley_library-alma (0.1.1)
@@ -189,9 +188,6 @@ GEM
189188
ice_nine (0.11.2)
190189
ipaddress (0.8.3)
191190
jaro_winkler (1.5.5)
192-
jbuilder (2.11.5)
193-
actionview (>= 5.0.0)
194-
activesupport (>= 5.0.0)
195191
jquery-rails (4.5.1)
196192
rails-dom-testing (>= 1, < 3)
197193
railties (>= 4.2.0)
@@ -440,7 +436,6 @@ GEM
440436
unicode-display_width (3.1.4)
441437
unicode-emoji (~> 4.0, >= 4.0.4)
442438
unicode-emoji (4.0.4)
443-
vcr (6.1.0)
444439
web-console (4.2.0)
445440
actionview (>= 6.0.0)
446441
activemodel (>= 6.0.0)
@@ -462,11 +457,10 @@ GEM
462457

463458
PLATFORMS
464459
aarch64-linux-gnu
465-
arm64-darwin-23
460+
arm64-darwin-24
466461
x86_64-linux
467462

468463
DEPENDENCIES
469-
awesome_print (>= 1.8.0)
470464
base64
471465
berkeley_library-docker (~> 0.2.0)
472466
berkeley_library-location (~> 4.2.0)
@@ -488,7 +482,6 @@ DEPENDENCIES
488482
good_job (~> 3.10, >= 3.14.2)
489483
ipaddress
490484
jaro_winkler (~> 1.5.5)
491-
jbuilder (~> 2.5)
492485
jquery-rails
493486
jquery-ui-rails
494487
jwt (~> 1.5, >= 1.5.4)
@@ -520,9 +513,7 @@ DEPENDENCIES
520513
spring
521514
spring-watcher-listen (~> 2.0.0)
522515
sprockets (~> 4.0)
523-
typesafe_enum (~> 0.3)
524516
tzinfo-data
525-
vcr
526517
web-console (>= 3.3.0)
527518
webmock
528519

0 commit comments

Comments
 (0)