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

UPGRADE RAILS AND GEMS ON WORKER: As Dan, I want to upgrade rails on the API, so that we are secure and up-to-date #107

Merged
merged 3 commits into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
6 changes: 0 additions & 6 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,6 @@ RSpec/ExpectInHook:
Exclude:
- 'spec/supplejack_common/json/base_spec.rb'

# Offense count: 21
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
# Include: **/*_spec*rb*, **/spec/**/*
RSpec/FilePath:
Enabled: false

# Offense count: 2
# Configuration parameters: Max, AllowedIdentifiers, AllowedPatterns.
RSpec/IndexedLet:
Expand Down
156 changes: 81 additions & 75 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ PATH
faraday-retry
htmlentities
json (>= 2.3.0)
jsonpath (~> 0.5.0)
jsonpath
loofah
mimemagic
mongoid
Expand All @@ -37,53 +37,62 @@ PATH
GEM
remote: https://rubygems.org/
specs:
actionpack (7.0.8.1)
actionview (= 7.0.8.1)
activesupport (= 7.0.8.1)
rack (~> 2.0, >= 2.2.4)
actionpack (7.1.3.4)
actionview (= 7.1.3.4)
activesupport (= 7.1.3.4)
nokogiri (>= 1.8.5)
racc
rack (>= 2.2.4)
rack-session (>= 1.0.1)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actionview (7.0.8.1)
activesupport (= 7.0.8.1)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
actionview (7.1.3.4)
activesupport (= 7.1.3.4)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
activemodel (7.0.8.1)
activesupport (= 7.0.8.1)
activesupport (7.0.8.1)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
activemodel (7.1.3.4)
activesupport (= 7.1.3.4)
activesupport (7.1.3.4)
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)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
ast (2.4.2)
aws-eventstream (1.3.0)
aws-partitions (1.911.0)
aws-sdk-core (3.191.6)
aws-partitions (1.956.0)
aws-sdk-core (3.201.1)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.651.0)
aws-sigv4 (~> 1.8)
jmespath (~> 1, >= 1.6.1)
aws-sdk-kms (1.78.0)
aws-sdk-core (~> 3, >= 3.191.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.146.1)
aws-sdk-core (~> 3, >= 3.191.0)
aws-sdk-kms (1.88.0)
aws-sdk-core (~> 3, >= 3.201.0)
aws-sigv4 (~> 1.5)
aws-sdk-s3 (1.156.0)
aws-sdk-core (~> 3, >= 3.201.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.8)
aws-sigv4 (~> 1.5)
aws-sigv4 (1.8.0)
aws-eventstream (~> 1, >= 1.0.2)
bigdecimal (3.1.7)
base64 (0.2.0)
bigdecimal (3.1.8)
bson (5.0.0)
builder (3.2.4)
builder (3.3.0)
byebug (11.1.3)
chronic (0.10.2)
coderay (1.1.3)
colorize (1.1.0)
concurrent-ruby (1.2.3)
concurrent-ruby (1.3.3)
connection_pool (2.4.1)
crack (1.0.0)
bigdecimal
Expand All @@ -92,65 +101,68 @@ GEM
diff-lcs (1.5.1)
dimensions (1.3.0)
domain_name (0.6.20240107)
erubi (1.12.0)
faraday (2.9.0)
drb (2.2.1)
erubi (1.13.0)
faraday (2.10.0)
faraday-net_http (>= 2.0, < 3.2)
logger
faraday-follow_redirects (0.3.0)
faraday (>= 1, < 3)
faraday-net_http (3.1.0)
net-http
faraday-retry (2.2.0)
faraday-retry (2.2.1)
faraday (~> 2.0)
hashdiff (1.1.0)
htmlentities (4.3.4)
http-accept (1.7.0)
http-cookie (1.0.5)
http-cookie (1.0.6)
domain_name (~> 0.5)
i18n (1.14.4)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
jmespath (1.6.2)
json (2.7.2)
jsonpath (0.5.8)
jsonpath (1.1.5)
multi_json
language_server-protocol (3.17.0.3)
logger (1.6.0)
loofah (2.22.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
method_source (1.0.0)
method_source (1.1.0)
mime-types (3.5.2)
mime-types-data (~> 3.2015)
mime-types-data (3.2024.0305)
mime-types-data (3.2024.0702)
mimemagic (0.4.3)
nokogiri (~> 1)
rake
mini_portile2 (2.8.5)
minitest (5.22.3)
mini_portile2 (2.8.7)
minitest (5.24.1)
mock_redis (0.44.0)
mongo (2.20.0)
mongo (2.20.1)
bson (>= 4.14.1, < 6.0.0)
mongoid (8.1.5)
mongoid (9.0.0)
activemodel (>= 5.1, < 7.2, != 7.0.0)
concurrent-ruby (>= 1.0.5, < 2.0)
mongo (>= 2.18.0, < 3.0.0)
ruby2_keywords (~> 0.0.5)
multi_json (1.15.0)
mutex_m (0.2.0)
net-http (0.4.1)
uri
netrc (0.11.0)
nokogiri (1.16.3)
nokogiri (1.16.6)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
nokogiri (1.16.3-arm64-darwin)
nokogiri (1.16.6-arm64-darwin)
racc (~> 1.4)
nokogiri (1.16.3-x86_64-linux)
nokogiri (1.16.6-x86_64-linux)
racc (~> 1.4)
oai (1.2.1)
builder (>= 3.1.0)
faraday (< 3)
faraday-follow_redirects (>= 0.3.0, < 2)
optparse (0.4.0)
parallel (1.24.0)
parser (3.3.0.5)
optparse (0.5.0)
parallel (1.25.1)
parser (3.3.4.0)
ast (~> 2.4.1)
racc
pry (0.14.2)
Expand All @@ -159,9 +171,11 @@ GEM
pry-byebug (3.10.1)
byebug (~> 11.0)
pry (>= 0.13, < 0.15)
public_suffix (5.0.5)
racc (1.7.3)
rack (2.2.9)
public_suffix (6.0.0)
racc (1.8.0)
rack (3.1.7)
rack-session (2.0.0)
rack (>= 3.0.0)
rack-test (2.1.0)
rack (>= 1.3)
rails-dom-testing (2.2.0)
Expand All @@ -173,67 +187,59 @@ GEM
nokogiri (~> 1.14)
rainbow (3.1.1)
rake (13.2.1)
redis (5.1.0)
redis-client (>= 0.17.0)
redis-client (0.21.1)
redis (5.2.0)
redis-client (>= 0.22.0)
redis-client (0.22.2)
connection_pool
regexp_parser (2.9.0)
regexp_parser (2.9.2)
rest-client (2.1.0)
http-accept (>= 1.7.0, < 2.0)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
retriable (3.1.2)
rexml (3.2.6)
rexml (3.3.2)
strscan
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.0)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.0)
rspec-expectations (3.13.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.0)
rspec-mocks (3.13.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
rubocop (1.63.1)
rubocop (1.65.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
regexp_parser (>= 2.4, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.2)
parser (>= 3.3.0.4)
rubocop-capybara (2.20.0)
rubocop (~> 1.41)
rubocop-factory_bot (2.25.1)
rubocop (~> 1.41)
rubocop-ast (1.31.3)
parser (>= 3.3.1.0)
rubocop-rake (0.6.0)
rubocop (~> 1.0)
rubocop-rspec (2.29.1)
rubocop (~> 1.40)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
rubocop-rspec_rails (~> 2.28)
rubocop-rspec_rails (2.28.2)
rubocop (~> 1.40)
rubocop-rspec (3.0.3)
rubocop (~> 1.61)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
sanitize (6.1.0)
sanitize (6.1.1)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
strscan (3.1.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.5.0)
uri (0.13.0)
webmock (3.23.0)
webmock (3.23.1)
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
Expand Down
40 changes: 20 additions & 20 deletions supplejack_common.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,24 @@ Gem::Specification.new do |gem|
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
gem.require_paths = ['lib']

gem.add_runtime_dependency 'actionpack', '>= 7.0.0'
gem.add_runtime_dependency 'activesupport', '>= 7.0.0'
gem.add_runtime_dependency 'aws-sdk-s3'
gem.add_runtime_dependency 'chronic', '<= 0.10.2'
gem.add_runtime_dependency 'dimensions'
gem.add_runtime_dependency 'faraday', '~> 2.0'
gem.add_runtime_dependency 'faraday-retry'
gem.add_runtime_dependency 'htmlentities'
gem.add_runtime_dependency 'json', '>= 2.3.0'
gem.add_runtime_dependency 'jsonpath', '~> 0.5.0'
gem.add_runtime_dependency 'loofah'
gem.add_runtime_dependency 'mimemagic'
gem.add_runtime_dependency 'mongoid'
gem.add_runtime_dependency 'nokogiri'
gem.add_runtime_dependency 'oai'
gem.add_runtime_dependency 'redis'
gem.add_runtime_dependency 'rest-client'
gem.add_runtime_dependency 'retriable'
gem.add_runtime_dependency 'sanitize'
gem.add_runtime_dependency 'tzinfo'
gem.add_dependency 'actionpack', '>= 7.0.0'
gem.add_dependency 'activesupport', '>= 7.0.0'
gem.add_dependency 'aws-sdk-s3'
gem.add_dependency 'chronic', '<= 0.10.2'
gem.add_dependency 'dimensions'
gem.add_dependency 'faraday', '~> 2.0'
gem.add_dependency 'faraday-retry'
gem.add_dependency 'htmlentities'
gem.add_dependency 'json', '>= 2.3.0'
gem.add_dependency 'jsonpath'
gem.add_dependency 'loofah'
gem.add_dependency 'mimemagic'
gem.add_dependency 'mongoid'
gem.add_dependency 'nokogiri'
gem.add_dependency 'oai'
gem.add_dependency 'redis'
gem.add_dependency 'rest-client'
gem.add_dependency 'retriable'
gem.add_dependency 'sanitize'
gem.add_dependency 'tzinfo'
end
Loading