Skip to content

Commit

Permalink
Merge pull request #914 from pod4lib/update-dependencies
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
cbeer authored Sep 19, 2022
2 parents 9abd192 + 5e6f42b commit 460e1e3
Show file tree
Hide file tree
Showing 4 changed files with 196 additions and 180 deletions.
34 changes: 26 additions & 8 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,43 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2022-04-25 12:45:53 UTC using RuboCop version 1.28.2.
# on 2022-09-19 13:26:53 UTC using RuboCop version 1.36.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 2
# This cop supports safe auto-correction (--auto-correct).
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowConsecutiveOneLiners.
RSpec/EmptyLineAfterHook:
Exclude:
- 'spec/factories/users.rb'

# Offense count: 26
RSpec/NoExpectationExample:
Exclude:
- 'spec/jobs/attach_remote_file_to_upload_job_spec.rb'
- 'spec/views/allowlisted_jwts/index.html.erb_spec.rb'
- 'spec/views/allowlisted_jwts/new.html.erb_spec.rb'
- 'spec/views/data/index.html.erb_spec.rb'
- 'spec/views/organization_users/index.html.erb_spec.rb'
- 'spec/views/organizations/index.html.erb_spec.rb'
- 'spec/views/organizations/new.html.erb_spec.rb'
- 'spec/views/organizations/organization_details.html.erb_spec.rb'
- 'spec/views/organizations/provider_details.html.erb_spec.rb'
- 'spec/views/shared/nav.html.erb_spec.rb'
- 'spec/views/site_users/index.html.erb_spec.rb'
- 'spec/views/uploads/index.html.erb_spec.rb'
- 'spec/views/uploads/new.html.erb_spec.rb'

# Offense count: 11
# This cop supports safe auto-correction (--auto-correct).
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: .
# SupportedStyles: constant, string
RSpec/VerifiedDoubleReference:
EnforcedStyle: string

# Offense count: 20
# Offense count: 18
Rails/I18nLocaleTexts:
Exclude:
- 'app/controllers/allowlisted_jwts_controller.rb'
Expand All @@ -31,9 +49,9 @@ Rails/I18nLocaleTexts:
- 'spec/views/shared/flash_msg.html.erb_spec.rb'

# Offense count: 3
# This cop supports unsafe auto-correction (--auto-correct-all).
# Configuration parameters: AllowMethodsWithArguments, IgnoredMethods, AllowComments.
# IgnoredMethods: respond_to, define_method
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, IgnoredMethods, AllowComments.
# AllowedMethods: respond_to, define_method
Style/SymbolProc:
Exclude:
- 'spec/factories/users.rb'
44 changes: 21 additions & 23 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -81,18 +81,17 @@ GEM
autoprefixer-rails (10.4.7.0)
execjs (~> 2)
bcrypt (3.1.18)
better_html (1.0.16)
actionview (>= 4.0)
activesupport (>= 4.0)
better_html (2.0.1)
actionview (>= 6.0)
activesupport (>= 6.0)
ast (~> 2.0)
erubi (~> 1.4)
html_tokenizer (~> 0.0.6)
parser (>= 2.4)
smart_properties
bindex (0.8.1)
bootstrap (5.2.0)
bootstrap (5.2.1)
autoprefixer-rails (>= 9.1.0)
popper_js (>= 2.11.5, < 3)
popper_js (>= 2.11.6, < 3)
sassc-rails (>= 2.0.0)
bootstrap_form (5.1.0)
actionpack (>= 5.2)
Expand Down Expand Up @@ -137,7 +136,7 @@ GEM
config (4.0.0)
deep_merge (~> 1.2, >= 1.2.1)
dry-validation (~> 1.0, >= 1.0.0)
connection_pool (2.2.5)
connection_pool (2.3.0)
crack (0.4.5)
rexml
crass (1.0.6)
Expand Down Expand Up @@ -169,7 +168,7 @@ GEM
dry-configurable (0.15.0)
concurrent-ruby (~> 1.0)
dry-core (~> 0.6)
dry-container (0.10.1)
dry-container (0.11.0)
concurrent-ruby (~> 1.0)
dry-core (0.8.1)
concurrent-ruby (~> 1.0)
Expand All @@ -178,12 +177,12 @@ GEM
dry-logic (1.2.0)
concurrent-ruby (~> 1.0)
dry-core (~> 0.5, >= 0.5)
dry-schema (1.10.2)
dry-schema (1.10.4)
concurrent-ruby (~> 1.0)
dry-configurable (~> 0.13, >= 0.13.0)
dry-core (~> 0.5, >= 0.5)
dry-initializer (~> 3.0)
dry-logic (~> 1.0)
dry-logic (~> 1.2)
dry-types (~> 1.5)
dry-types (1.5.1)
concurrent-ruby (~> 1.0)
Expand Down Expand Up @@ -218,7 +217,6 @@ GEM
hashdiff (1.0.1)
highline (2.0.3)
honeybadger (4.12.2)
html_tokenizer (0.0.7)
http (5.1.0)
addressable (~> 2.8)
http-cookie (~> 1.0)
Expand All @@ -229,10 +227,10 @@ GEM
http-form_data (2.3.0)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
i18n-tasks (1.0.11)
i18n-tasks (1.0.12)
activesupport (>= 4.0.2)
ast (>= 2.1.0)
better_html (~> 1.0)
better_html (>= 1.0, < 3.0)
erubi
highline (>= 2.0.0)
i18n
Expand Down Expand Up @@ -267,7 +265,7 @@ GEM
ffi-compiler (~> 1.0)
rake (~> 13.0)
local_time (2.1.0)
loofah (2.18.0)
loofah (2.19.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.1)
Expand Down Expand Up @@ -314,15 +312,15 @@ GEM
parser (3.1.2.1)
ast (~> 2.4.1)
pg (1.4.3)
popper_js (2.11.5)
popper_js (2.11.6)
public_suffix (5.0.0)
puma (5.6.5)
nio4r (~> 2.0)
racc (1.6.0)
rack (2.2.4)
rack-attack (6.6.1)
rack (>= 1.0, < 3)
rack-proxy (0.7.2)
rack-proxy (0.7.4)
rack
rack-test (2.0.2)
rack (>= 1.3)
Expand Down Expand Up @@ -375,7 +373,7 @@ GEM
rolify (6.0.0)
rspec-core (3.11.0)
rspec-support (~> 3.11.0)
rspec-expectations (3.11.0)
rspec-expectations (3.11.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-mocks (3.11.1)
Expand All @@ -389,7 +387,7 @@ GEM
rspec-expectations (~> 3.10)
rspec-mocks (~> 3.10)
rspec-support (~> 3.10)
rspec-support (3.11.0)
rspec-support (3.11.1)
rubocop (1.36.0)
json (~> 2.3)
parallel (~> 1.10)
Expand All @@ -405,12 +403,12 @@ GEM
rubocop-performance (1.15.0)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-rails (2.16.0)
rubocop-rails (2.16.1)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0)
rubocop-rspec (2.12.1)
rubocop (~> 1.31)
rubocop-rspec (2.13.1)
rubocop (~> 1.33)
ruby-progressbar (1.11.0)
rubyzip (2.3.2)
safely_block (0.3.0)
Expand Down Expand Up @@ -475,15 +473,15 @@ GEM
unf (0.1.4)
unf_ext
unf_ext (0.0.8.2)
unicode-display_width (2.2.0)
unicode-display_width (2.3.0)
warden (1.2.9)
rack (>= 2.0.9)
web-console (4.2.0)
actionview (>= 6.0.0)
activemodel (>= 6.0.0)
bindex (>= 0.4.0)
railties (>= 6.0.0)
webdrivers (5.0.0)
webdrivers (5.1.0)
nokogiri (~> 1.6)
rubyzip (>= 1.3.0)
selenium-webdriver (~> 4.0)
Expand Down
4 changes: 2 additions & 2 deletions spec/jobs/generate_full_dump_job_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
end
end

# rubocop:disable Rspec/ExampleLength
# rubocop:disable RSpec/ExampleLength
it 'does not generate empty OAI-XML files for uploads consisting of only deletes' do
organization.default_stream.uploads << build(:upload, :deletes)
allow(Settings).to receive(:oai_max_page_size).and_return(1)
Expand All @@ -59,7 +59,7 @@
expect(file.blob.byte_size.positive?).to be true
end
end
# rubocop:enable Rspec/ExampleLength
# rubocop:enable RSpec/ExampleLength

it 'has a content type of application/gzip for compressed marcxml' do
described_class.perform_now(organization)
Expand Down
Loading

0 comments on commit 460e1e3

Please sign in to comment.