Skip to content

Commit

Permalink
chore: remove unwanted development deps (#3246)
Browse files Browse the repository at this point in the history
* chore: remove unwanted development deps

* bring spring back in testing

* add spring back for testing

* wip

* lint

* lint

* typo

---------

Co-authored-by: Paul Bob <paul.ionut.bob@gmail.com>
  • Loading branch information
adrianthedev and Paul-Bob authored Sep 23, 2024
1 parent 5e42f80 commit e8a41b1
Show file tree
Hide file tree
Showing 20 changed files with 305 additions and 83 deletions.
24 changes: 14 additions & 10 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ gem "dotenv-rails"
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
gem "web-console", ">= 3.3.0"
gem "listen", ">= 3.5.1"
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem "spring"

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]

Expand All @@ -58,7 +57,7 @@ gem "devise"
#

group :development do
gem "standard"
gem "standard", require: false

# Release helper
gem "bump", require: false
Expand All @@ -77,12 +76,16 @@ group :development do

gem "hotwire-livereload", "~> 1.3.0"

gem "rubocop"
gem "ripper-tags"
gem "rubocop", require: false
gem "ripper-tags", require: false
gem "rubocop-shopify", require: false
gem "rubycritic", require: false

gem "actual_db_schema"

gem "derailed_benchmarks", "~> 2.1"

# gem "ruby-statistics", "< 4"
end

group :test do
Expand All @@ -96,6 +99,7 @@ group :test do
gem "simplecov-cobertura"
gem "simplecov-lcov"
gem "webmock"
gem "spring"
gem "spring-commands-rspec"
gem "launchy", require: false

Expand All @@ -108,15 +112,15 @@ gem "amazing_print"
group :development, :test do
gem "faker", require: false
gem "i18n-tasks", "~> 1.0.12"
gem "erb-formatter"
gem "erb-formatter", require: false
# https://thoughtbot.com/blog/a-standard-way-to-lint-your-views
gem "erb_lint"
gem "solargraph"
gem "solargraph-rails"
gem "erb_lint", require: false
gem "solargraph", require: false
gem "solargraph-rails", require: false

gem "factory_bot_rails"

gem "appraisal"
gem "appraisal", require: false
end

gem "zeitwerk"
Expand Down
22 changes: 22 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ GEM
base64 (0.2.0)
bcrypt (3.1.20)
benchmark (0.3.0)
benchmark-ips (2.14.0)
better_html (2.1.1)
actionview (>= 6.0)
activesupport (>= 6.0)
Expand Down Expand Up @@ -228,9 +229,22 @@ GEM
database_cleaner-core (~> 2.0.0)
database_cleaner-core (2.0.1)
date (3.3.4)
dead_end (4.0.0)
debug (1.9.2)
irb (~> 1.10)
reline (>= 0.3.8)
derailed_benchmarks (2.1.2)
benchmark-ips (~> 2)
dead_end
get_process_mem (~> 0)
heapy (~> 0)
memory_profiler (>= 0, < 2)
mini_histogram (>= 0.3.0)
rack (>= 1)
rack-test
rake (> 10, < 14)
ruby-statistics (>= 2.1)
thor (>= 0.19, < 2)
descendants_tracker (0.0.4)
thread_safe (~> 0.3, >= 0.3.1)
devise (4.9.4)
Expand Down Expand Up @@ -313,6 +327,8 @@ GEM
rspec-core (~> 3.0)
ruby-progressbar (~> 1.4)
gem-release (2.2.2)
get_process_mem (0.2.7)
ffi (~> 1.0)
globalid (1.2.1)
activesupport (>= 6.1)
groupdate (6.4.0)
Expand All @@ -322,6 +338,8 @@ GEM
activerecord (>= 4.0)
hashids (~> 1.0)
hashids (1.0.6)
heapy (0.2.0)
thor
highline (3.1.1)
reline
hightop (0.4.0)
Expand Down Expand Up @@ -386,9 +404,11 @@ GEM
mapkick-rb (0.1.5)
marcel (1.0.4)
matrix (0.4.2)
memory_profiler (1.0.2)
meta-tags (2.22.0)
actionpack (>= 6.0.0, < 8.1)
method_source (1.1.0)
mini_histogram (0.3.1)
mini_magick (4.13.2)
mini_mime (1.1.5)
mini_portile2 (2.8.7)
Expand Down Expand Up @@ -527,6 +547,7 @@ GEM
rubocop-shopify (2.15.1)
rubocop (~> 1.51)
ruby-progressbar (1.13.0)
ruby-statistics (3.0.2)
ruby-vips (2.2.2)
ffi (~> 1.12)
logger
Expand Down Expand Up @@ -679,6 +700,7 @@ DEPENDENCIES
cuprite
database_cleaner-active_record
debug
derailed_benchmarks (~> 2.1)
devise
dotenv-rails
erb-formatter
Expand Down
19 changes: 10 additions & 9 deletions gemfiles/rails_6.1_ruby_3.1.4.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ gem "debug", platforms: [:mri, :mingw, :x64_mingw]
gem "dotenv-rails"
gem "web-console", ">= 3.3.0"
gem "listen", ">= 3.5.1"
gem "spring"
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
gem "devise"
gem "amazing_print"
Expand Down Expand Up @@ -49,17 +48,18 @@ gem "csv"
gem "psych", "< 4"

group :development do
gem "standard"
gem "standard", require: false
gem "bump", require: false
gem "gem-release", require: false
gem "annotate"
gem "htmlbeautifier"
gem "hotwire-livereload", "~> 1.3.0"
gem "rubocop"
gem "ripper-tags"
gem "rubocop", require: false
gem "ripper-tags", require: false
gem "rubocop-shopify", require: false
gem "rubycritic", require: false
gem "actual_db_schema"
gem "derailed_benchmarks", "~> 2.1", group: :development
end

group :test do
Expand All @@ -73,6 +73,7 @@ group :test do
gem "simplecov-cobertura"
gem "simplecov-lcov"
gem "webmock"
gem "spring"
gem "spring-commands-rspec"
gem "launchy", require: false
gem "test-prof"
Expand All @@ -82,12 +83,12 @@ end
group :development, :test do
gem "faker", require: false
gem "i18n-tasks", "~> 1.0.12"
gem "erb-formatter"
gem "erb_lint"
gem "solargraph"
gem "solargraph-rails"
gem "erb-formatter", require: false
gem "erb_lint", require: false
gem "solargraph", require: false
gem "solargraph-rails", require: false
gem "factory_bot_rails"
gem "appraisal"
gem "appraisal", require: false
end

gemspec path: "../"
22 changes: 22 additions & 0 deletions gemfiles/rails_6.1_ruby_3.1.4.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ GEM
backport (1.2.0)
bcrypt (3.1.20)
benchmark (0.3.0)
benchmark-ips (2.14.0)
better_html (2.1.1)
actionview (>= 6.0)
activesupport (>= 6.0)
Expand Down Expand Up @@ -187,9 +188,22 @@ GEM
database_cleaner-core (~> 2.0.0)
database_cleaner-core (2.0.1)
date (3.3.4)
dead_end (4.0.0)
debug (1.9.2)
irb (~> 1.10)
reline (>= 0.3.8)
derailed_benchmarks (2.1.2)
benchmark-ips (~> 2)
dead_end
get_process_mem (~> 0)
heapy (~> 0)
memory_profiler (>= 0, < 2)
mini_histogram (>= 0.3.0)
rack (>= 1)
rack-test
rake (> 10, < 14)
ruby-statistics (>= 2.1)
thor (>= 0.19, < 2)
descendants_tracker (0.0.4)
thread_safe (~> 0.3, >= 0.3.1)
devise (4.9.4)
Expand Down Expand Up @@ -271,6 +285,8 @@ GEM
rspec-core (~> 3.0)
ruby-progressbar (~> 1.4)
gem-release (2.2.2)
get_process_mem (0.2.7)
ffi (~> 1.0)
globalid (1.2.1)
activesupport (>= 6.1)
groupdate (6.4.0)
Expand All @@ -280,6 +296,8 @@ GEM
activerecord (>= 4.0)
hashids (~> 1.0)
hashids (1.0.6)
heapy (0.2.0)
thor
highline (3.1.1)
reline
hightop (0.4.0)
Expand Down Expand Up @@ -344,9 +362,11 @@ GEM
mapkick-rb (0.1.5)
marcel (1.0.4)
matrix (0.4.2)
memory_profiler (1.0.2)
meta-tags (2.22.0)
actionpack (>= 6.0.0, < 8.1)
method_source (1.1.0)
mini_histogram (0.3.1)
mini_magick (4.13.2)
mini_mime (1.1.5)
minitest (5.25.1)
Expand Down Expand Up @@ -497,6 +517,7 @@ GEM
rubocop-shopify (2.15.1)
rubocop (~> 1.51)
ruby-progressbar (1.13.0)
ruby-statistics (3.0.2)
ruby-vips (2.2.2)
ffi (~> 1.12)
logger
Expand Down Expand Up @@ -645,6 +666,7 @@ DEPENDENCIES
cuprite
database_cleaner-active_record
debug
derailed_benchmarks (~> 2.1)
devise
dotenv-rails
erb-formatter
Expand Down
19 changes: 10 additions & 9 deletions gemfiles/rails_6.1_ruby_3.3.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ gem "debug", platforms: [:mri, :mingw, :x64_mingw]
gem "dotenv-rails"
gem "web-console", ">= 3.3.0"
gem "listen", ">= 3.5.1"
gem "spring"
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
gem "devise"
gem "amazing_print"
Expand Down Expand Up @@ -49,17 +48,18 @@ gem "csv"
gem "psych", "< 4"

group :development do
gem "standard"
gem "standard", require: false
gem "bump", require: false
gem "gem-release", require: false
gem "annotate"
gem "htmlbeautifier"
gem "hotwire-livereload", "~> 1.3.0"
gem "rubocop"
gem "ripper-tags"
gem "rubocop", require: false
gem "ripper-tags", require: false
gem "rubocop-shopify", require: false
gem "rubycritic", require: false
gem "actual_db_schema"
gem "derailed_benchmarks", "~> 2.1", group: :development
end

group :test do
Expand All @@ -73,6 +73,7 @@ group :test do
gem "simplecov-cobertura"
gem "simplecov-lcov"
gem "webmock"
gem "spring"
gem "spring-commands-rspec"
gem "launchy", require: false
gem "test-prof"
Expand All @@ -82,12 +83,12 @@ end
group :development, :test do
gem "faker", require: false
gem "i18n-tasks", "~> 1.0.12"
gem "erb-formatter"
gem "erb_lint"
gem "solargraph"
gem "solargraph-rails"
gem "erb-formatter", require: false
gem "erb_lint", require: false
gem "solargraph", require: false
gem "solargraph-rails", require: false
gem "factory_bot_rails"
gem "appraisal"
gem "appraisal", require: false
end

gemspec path: "../"
Loading

0 comments on commit e8a41b1

Please sign in to comment.