Skip to content

Commit

Permalink
update rubocop and dorian dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dorianmariecom committed Sep 16, 2024
1 parent f2480ed commit 1a95702
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
10 changes: 3 additions & 7 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,13 @@ gemspec

ruby "3.3.5"

gem "rspec"

gem "bundler-audit"

gem "dorian"
gem "rspec"
gem "rubocop-capybara"
gem "rubocop-factory_bot"
gem "rubocop-performance"
gem "rubocop-rails"
gem "rubocop-rake"
gem "rubocop-rspec"
gem "rubocop-rspec_rails"

gem "rubocop-capybara"

gem "dorian", "~> 2.5"
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ GEM
connection_pool (2.4.1)
csv (3.3.0)
diff-lcs (1.5.1)
dorian (2.5.1)
dorian (2.6.0)
csv
dorian-arguments
dorian-eval
Expand Down Expand Up @@ -172,7 +172,7 @@ PLATFORMS

DEPENDENCIES
bundler-audit
dorian (~> 2.5)
dorian
dorian-json-pluck!
rspec
rubocop-capybara
Expand Down
10 changes: 7 additions & 3 deletions bin/dorian
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,15 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
bundle_binstub = File.expand_path("bundle", __dir__)

if File.file?(bundle_binstub)
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
if File.read(bundle_binstub, 300).include?(
"This file was generated by Bundler"
)
load(bundle_binstub)
else
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
abort(
"Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again."
)
end
end

Expand Down

0 comments on commit 1a95702

Please sign in to comment.