Skip to content

Commit

Permalink
Merge pull request #1015 from pod4lib/update-dependencies
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
jcoyne authored Dec 4, 2023
2 parents 591d9ae + 01b43b1 commit 90fb165
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ GEM
irb (>= 1.5.0)
reline (>= 0.3.1)
deep_merge (1.2.2)
device_detector (1.1.1)
device_detector (1.1.2)
devise (4.9.3)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
Expand Down Expand Up @@ -238,13 +238,13 @@ GEM
activesupport (>= 3.0)
nokogiri (>= 1.6)
io-console (0.6.0)
irb (1.9.1)
irb (1.10.0)
rdoc
reline (>= 0.3.8)
jbuilder (2.11.5)
actionview (>= 5.0.0)
activesupport (>= 5.0.0)
json (2.6.3)
json (2.7.0)
jwt (2.7.1)
kaminari (1.2.2)
activesupport (>= 4.1.0)
Expand Down Expand Up @@ -280,7 +280,7 @@ GEM
method_source (1.0.0)
mini_mime (1.1.5)
minitest (5.20.0)
net-imap (0.4.6)
net-imap (0.4.7)
date
net-protocol
net-pop (0.1.2)
Expand All @@ -292,7 +292,7 @@ GEM
net-smtp (0.4.0)
net-protocol
net-ssh (7.2.0)
nio4r (2.6.1)
nio4r (2.7.0)
nokogiri (1.15.5-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.15.5-x86_64-linux)
Expand Down Expand Up @@ -362,7 +362,7 @@ GEM
redis-client (0.18.0)
connection_pool
regexp_parser (2.8.2)
reline (0.4.0)
reline (0.4.1)
io-console (~> 0.5)
request_store (1.5.1)
rack (>= 1.4)
Expand All @@ -388,15 +388,15 @@ GEM
rspec-mocks (~> 3.12)
rspec-support (~> 3.12)
rspec-support (3.12.1)
rubocop (1.57.2)
rubocop (1.58.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
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.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.30.0)
Expand Down Expand Up @@ -449,7 +449,7 @@ GEM
sshkit (1.21.6)
net-scp (>= 1.1.2)
net-ssh (>= 2.8.0)
stringio (3.0.9)
stringio (3.1.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
thor (1.3.0)
Expand Down
2 changes: 2 additions & 0 deletions app/jobs/marc_profiling_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ def add(item)
@sample[j] = [@size_so_far, item] if @wanted > j
end

# rubocop:disable Style/HashEachMethods
def each
@sample.sort.each { |_idx, it| yield(it) }
end
# rubocop:enable Style/HashEachMethods
end

# Tally up some statistics about the MARC records in the file:
Expand Down

0 comments on commit 90fb165

Please sign in to comment.