Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Jan 20, 2024
1 parent b4e40b1 commit ba778f6
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 35 deletions.
82 changes: 50 additions & 32 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,71 +7,86 @@ PATH
GEM
remote: https://rubygems.org/
specs:
activejob (7.0.4.3)
activesupport (= 7.0.4.3)
activejob (7.1.3)
activesupport (= 7.1.3)
globalid (>= 0.3.6)
activesupport (7.0.4.3)
activesupport (7.1.3)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
ast (2.4.2)
concurrent-ruby (1.2.2)
connection_pool (2.4.0)
base64 (0.2.0)
bigdecimal (3.1.6)
concurrent-ruby (1.2.3)
connection_pool (2.4.1)
docile (1.4.0)
globalid (1.1.0)
activesupport (>= 5.0)
i18n (1.13.0)
drb (2.2.0)
ruby2_keywords
globalid (1.2.1)
activesupport (>= 6.1)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
json (2.6.3)
json (2.7.1)
language_server-protocol (3.17.0.3)
lint_roller (1.0.0)
minitest (5.18.0)
minitest-hooks (1.5.0)
lint_roller (1.1.0)
minitest (5.21.2)
minitest-hooks (1.5.1)
minitest (> 5.3)
parallel (1.23.0)
parser (3.2.2.1)
mutex_m (0.2.0)
parallel (1.24.0)
parser (3.3.0.4)
ast (~> 2.4.1)
racc
racc (1.7.3)
rainbow (3.1.1)
rake (13.0.6)
regexp_parser (2.8.0)
rexml (3.2.5)
rubocop (1.50.2)
rake (13.1.0)
regexp_parser (2.9.0)
rexml (3.2.6)
rubocop (1.59.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.0.0)
parser (>= 3.2.2.4)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.28.0, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.28.1)
rubocop-ast (1.30.0)
parser (>= 3.2.1.0)
rubocop-performance (1.16.0)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-performance (1.20.2)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
standard (1.28.2)
standard (1.33.0)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.50.2)
rubocop (~> 1.59.0)
standard-custom (~> 1.0.0)
standard-performance (~> 1.0.1)
standard-custom (1.0.0)
standard-performance (~> 1.3)
standard-custom (1.0.2)
lint_roller (~> 1.0)
standard-performance (1.0.1)
lint_roller (~> 1.0)
rubocop-performance (~> 1.16.0)
rubocop (~> 1.50)
standard-performance (1.3.1)
lint_roller (~> 1.1)
rubocop-performance (~> 1.20.2)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.4.2)
unicode-display_width (2.5.0)

PLATFORMS
ruby
Expand All @@ -84,3 +99,6 @@ DEPENDENCIES
rake
simplecov
standard

BUNDLED WITH
2.4.22
2 changes: 1 addition & 1 deletion lib/faktory/job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def faktory_class_attribute(*attrs)
m = "#{name}="
undef_method(m) if method_defined?(m) || private_method_defined?(m)
end
define_singleton_method("#{name}=") do |val|
define_singleton_method(:"#{name}=") do |val|
singleton_class.class_eval do
undef_method(name) if method_defined?(name) || private_method_defined?(name)
define_method(name) { val }
Expand Down
2 changes: 1 addition & 1 deletion lib/faktory/logging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def self.logger
end

def self.logger=(log)
@logger = (log || Logger.new(File::NULL))
@logger = log || Logger.new(File::NULL)
end

def logger
Expand Down
2 changes: 1 addition & 1 deletion test/batch_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require_relative "./helper"
require_relative "helper"

class BatchTest < Minitest::Test
def setup
Expand Down

0 comments on commit ba778f6

Please sign in to comment.