Skip to content

Commit

Permalink
Update development dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
fatkodima committed Jan 23, 2024
1 parent 10cc23c commit 6395f04
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 33 deletions.
62 changes: 31 additions & 31 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ PATH
GEM
remote: https://rubygems.org/
specs:
activemodel (7.1.1)
activesupport (= 7.1.1)
activerecord (7.1.1)
activemodel (= 7.1.1)
activesupport (= 7.1.1)
activemodel (7.1.3)
activesupport (= 7.1.3)
activerecord (7.1.3)
activemodel (= 7.1.3)
activesupport (= 7.1.3)
timeout (>= 0.4.0)
activesupport (7.1.1)
activesupport (7.1.3)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
Expand All @@ -24,58 +24,58 @@ GEM
mutex_m
tzinfo (~> 2.0)
ast (2.4.2)
base64 (0.1.1)
bigdecimal (3.1.4)
concurrent-ruby (1.2.2)
base64 (0.2.0)
bigdecimal (3.1.6)
concurrent-ruby (1.2.3)
connection_pool (2.4.1)
drb (2.1.1)
drb (2.2.0)
ruby2_keywords
i18n (1.14.1)
concurrent-ruby (~> 1.0)
json (2.6.3)
json (2.7.1)
language_server-protocol (3.17.0.3)
mini_portile2 (2.8.4)
minitest (5.20.0)
mutex_m (0.1.2)
parallel (1.23.0)
parser (3.2.2.4)
mini_portile2 (2.8.5)
minitest (5.21.2)
mutex_m (0.2.0)
parallel (1.24.0)
parser (3.3.0.5)
ast (~> 2.4.1)
racc
racc (1.7.1)
racc (1.7.3)
rack (3.0.8)
rainbow (3.1.1)
rake (12.3.3)
redis-client (0.17.0)
redis-client (0.19.1)
connection_pool
regexp_parser (2.8.2)
regexp_parser (2.9.0)
rexml (3.2.6)
rubocop (1.57.1)
base64 (~> 0.1.1)
rubocop (1.60.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.2.4)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.28.1, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.29.0)
rubocop-ast (1.30.0)
parser (>= 3.2.1.0)
rubocop-minitest (0.32.2)
rubocop-minitest (0.34.5)
rubocop (>= 1.39, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
sidekiq (7.1.6)
sidekiq (7.2.1)
concurrent-ruby (< 2)
connection_pool (>= 2.3.0)
rack (>= 2.2.4)
redis-client (>= 0.14.0)
sqlite3 (1.6.7)
redis-client (>= 0.19.0)
sqlite3 (1.7.0)
mini_portile2 (~> 2.8.0)
sqlite3 (1.6.7-x86_64-darwin)
timeout (0.4.0)
sqlite3 (1.7.0-x86_64-darwin)
timeout (0.4.1)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.5.0)
Expand All @@ -97,4 +97,4 @@ DEPENDENCIES
yard (~> 0.9.28)

BUNDLED WITH
2.3.22
2.5.4
2 changes: 1 addition & 1 deletion lib/sidekiq_iteration/active_record_enumerator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def initialize(relation, columns: nil, batch_size: 100, order: :asc, cursor: nil

def records
Enumerator.new(-> { records_size }) do |yielder|
batches.each do |batch, _|
batches.each do |batch, _| # rubocop:disable Style/HashEachMethods
batch.each do |record|
@iteration_count += 1
yielder.yield(record, cursor_value(record))
Expand Down
2 changes: 1 addition & 1 deletion test/nested_enumerator_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class NestedEnumeratorTest < TestCase

test "yields enumerator when called without a block" do
enum = build_enumerator
assert enum.is_a?(Enumerator)
assert_kind_of Enumerator, enum
assert_nil enum.size
end

Expand Down

0 comments on commit 6395f04

Please sign in to comment.