Skip to content

Commit

Permalink
chore: AB-5678: remove unused gems and add explicit rack dependency t…
Browse files Browse the repository at this point in the history
…o avoid known vulnerabilities in 2.x versions
  • Loading branch information
BillyRuffian committed Apr 9, 2024
1 parent eeadacd commit 00230a5
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 68 deletions.
6 changes: 0 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,4 @@ gem "rake", "~> 13.0"

gem "rspec", "~> 3.0"

gem "oauth2", "~> 2.0"

gem "config", "~> 4.0"

gem "rest-client", "~> 2.1"

gem "colorize", "~> 0.8.1"
126 changes: 64 additions & 62 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,69 +1,75 @@
PATH
remote: .
specs:
dvla-dataverse-helper (0.1.2)
dvla-dataverse-helper (0.1.3)
colorize
config
oauth2 (~> 2.0)
rack (~> 3.0)
rest-client (~> 2.1)

GEM
remote: https://rubygems.org/
specs:
base64 (0.2.0)
bigdecimal (3.1.7)
colorize (0.8.1)
concurrent-ruby (1.1.10)
config (4.1.0)
concurrent-ruby (1.2.3)
config (4.2.1)
deep_merge (~> 1.2, >= 1.2.1)
dry-validation (~> 1.0, >= 1.0.0)
deep_merge (1.2.2)
diff-lcs (1.5.0)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
dry-configurable (0.13.0)
diff-lcs (1.5.1)
domain_name (0.6.20240107)
dry-configurable (1.1.0)
dry-core (~> 1.0, < 2)
zeitwerk (~> 2.6)
dry-core (1.0.1)
concurrent-ruby (~> 1.0)
dry-core (~> 0.6)
dry-container (0.9.0)
zeitwerk (~> 2.6)
dry-inflector (1.0.0)
dry-initializer (3.1.1)
dry-logic (1.5.0)
concurrent-ruby (~> 1.0)
dry-configurable (~> 0.13, >= 0.13.0)
dry-core (0.7.1)
dry-core (~> 1.0, < 2)
zeitwerk (~> 2.6)
dry-schema (1.13.3)
concurrent-ruby (~> 1.0)
dry-inflector (0.2.1)
dry-initializer (3.0.4)
dry-logic (1.2.0)
concurrent-ruby (~> 1.0)
dry-core (~> 0.5, >= 0.5)
dry-schema (1.8.0)
concurrent-ruby (~> 1.0)
dry-configurable (~> 0.13, >= 0.13.0)
dry-core (~> 0.5, >= 0.5)
dry-configurable (~> 1.0, >= 1.0.1)
dry-core (~> 1.0, < 2)
dry-initializer (~> 3.0)
dry-logic (~> 1.0)
dry-types (~> 1.5)
dry-types (1.5.1)
dry-logic (>= 1.4, < 2)
dry-types (>= 1.7, < 2)
zeitwerk (~> 2.6)
dry-types (1.7.2)
bigdecimal (~> 3.0)
concurrent-ruby (~> 1.0)
dry-container (~> 0.3)
dry-core (~> 0.5, >= 0.5)
dry-inflector (~> 0.1, >= 0.1.2)
dry-logic (~> 1.0, >= 1.0.2)
dry-validation (1.7.0)
dry-core (~> 1.0)
dry-inflector (~> 1.0)
dry-logic (~> 1.4)
zeitwerk (~> 2.6)
dry-validation (1.10.0)
concurrent-ruby (~> 1.0)
dry-container (~> 0.7, >= 0.7.1)
dry-core (~> 0.5, >= 0.5)
dry-core (~> 1.0, < 2)
dry-initializer (~> 3.0)
dry-schema (~> 1.8, >= 1.8.0)
faraday (2.7.4)
faraday-net_http (>= 2.0, < 3.1)
ruby2_keywords (>= 0.0.4)
faraday-net_http (3.0.2)
dry-schema (>= 1.12, < 2)
zeitwerk (~> 2.6)
faraday (2.9.0)
faraday-net_http (>= 2.0, < 3.2)
faraday-net_http (3.1.0)
net-http
hashie (5.0.0)
http-accept (1.7.0)
http-cookie (1.0.5)
domain_name (~> 0.5)
jwt (2.7.0)
mime-types (3.4.1)
jwt (2.8.1)
base64
mime-types (3.5.2)
mime-types-data (~> 3.2015)
mime-types-data (3.2022.0105)
mime-types-data (3.2024.0305)
multi_xml (0.6.0)
net-http (0.4.1)
uri
netrc (0.11.0)
oauth2 (2.0.9)
faraday (>= 0.17.3, < 3.0)
Expand All @@ -72,47 +78,43 @@ GEM
rack (>= 1.2, < 4)
snaky_hash (~> 2.0)
version_gem (~> 1.1)
rack (2.2.6.4)
rake (13.0.6)
rack (3.0.10)
rake (13.2.1)
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)
rspec (3.11.0)
rspec-core (~> 3.11.0)
rspec-expectations (~> 3.11.0)
rspec-mocks (~> 3.11.0)
rspec-core (3.11.0)
rspec-support (~> 3.11.0)
rspec-expectations (3.11.1)
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)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-mocks (3.11.2)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-support (3.11.0)
ruby2_keywords (0.0.5)
snaky_hash (2.0.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
snaky_hash (2.0.1)
hashie
version_gem (~> 1.1)
unf (0.1.4)
unf_ext
unf_ext (0.0.8.2)
version_gem (1.1.0)
version_gem (~> 1.1, >= 1.1.1)
uri (0.13.0)
version_gem (1.1.4)
zeitwerk (2.6.13)

PLATFORMS
arm64-darwin-23
x86_64-darwin-21
x86_64-linux

DEPENDENCIES
colorize (~> 0.8.1)
config (~> 4.0)
dvla-dataverse-helper!
oauth2 (~> 2.0)
rake (~> 13.0)
rest-client (~> 2.1)
rspec (~> 3.0)

BUNDLED WITH
2.3.20
2.5.7
2 changes: 2 additions & 0 deletions dvla-dataverse-helper.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ Gem::Specification.new do |spec|

spec.add_dependency 'oauth2', '~> 2.0'
spec.add_dependency "rest-client", "~> 2.1"
# explicit rack dependency to avoid known vulns in 2.x versions
spec.add_dependency 'rack', "~> 3.0"

spec.add_dependency 'colorize'
spec.add_dependency 'config'
Expand Down

0 comments on commit 00230a5

Please sign in to comment.