Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build(deps-dev): Bump rubocop-rails from 2.20.2 to 2.21.1 #940

Merged
merged 2 commits into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ group :development, :test do
gem 'rspec-its'
gem 'rspec-rails'
gem 'rubocop', '~> 1.56', require: false
gem 'rubocop-rails', '~> 2.20', require: false
gem 'rubocop-rails', '~> 2.21', require: false
gem 'rubocop-rspec', require: false
gem 'simplecov', require: false
gem 'vcr', '~> 6.2'
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ GEM
rubocop (~> 1.41)
rubocop-factory_bot (2.23.1)
rubocop (~> 1.33)
rubocop-rails (2.20.2)
rubocop-rails (2.21.1)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0)
Expand Down Expand Up @@ -390,7 +390,7 @@ DEPENDENCIES
rspec-its
rspec-rails
rubocop (~> 1.56)
rubocop-rails (~> 2.20)
rubocop-rails (~> 2.21)
rubocop-rspec
selenium-webdriver
shakapacker (~> 7.0)
Expand Down
2 changes: 1 addition & 1 deletion app/services/printer_scanner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class PrinterScanner
# rubocop:enable Layout/LineLength

def call
uris = Printer.all.pluck(:octoprint_uri)
uris = Printer.pluck(:octoprint_uri)
ips = use_cache do
all_network_ips.select { |ip| octoprint?(ip) }
end
Expand Down
2 changes: 1 addition & 1 deletion lib/spooler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Spooler

def initialize
@workers = {}
Printer.all.each do |printer|
Printer.find_each do |printer|
@workers[printer.id] = Spool.new(printer)
end
end
Expand Down