Skip to content

Commit

Permalink
fix: add logger as a runtime dependency rather than default gem (#502)
Browse files Browse the repository at this point in the history
The default gem `logger` will be removed from Ruby 3.5.0 and must now be installed separately.

This also resolves a warning in Ruby 3.3.5.
  • Loading branch information
joeldrapper authored Oct 11, 2024
1 parent fc3219c commit 6abbccf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ PATH
specs:
vite_ruby (3.8.2)
dry-cli (>= 0.7, < 2)
logger (~> 1.6)
rack-proxy (~> 0.6, >= 0.6.1)
zeitwerk (~> 2.2)

Expand Down Expand Up @@ -120,6 +121,7 @@ GEM
rdoc (>= 4.0.0)
reline (>= 0.4.2)
json (2.6.3)
logger (1.6.1)
loofah (2.22.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
Expand Down
1 change: 1 addition & 0 deletions vite_ruby/vite_ruby.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Gem::Specification.new do |s|
s.required_ruby_version = Gem::Requirement.new('>= 2.5')

s.add_dependency 'dry-cli', '>= 0.7', '< 2'
s.add_dependency 'logger', '~> 1.6'
s.add_dependency 'rack-proxy', '~> 0.6', '>= 0.6.1'
s.add_dependency 'zeitwerk', '~> 2.2'

Expand Down

0 comments on commit 6abbccf

Please sign in to comment.