Skip to content

Commit

Permalink
Update Rack to version 3 (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWayfer authored Sep 26, 2022
1 parent 747d748 commit dde3c5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/rack/console.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def initialize(options = {})
def start
puts ENV['RACK_CONSOLE_INTRO'] unless ENV['IGNORE_RACK_CONSOLE_INTRO']

app = Rack::Builder.parse_file(@options[:config]).first
app = Rack::Builder.parse_file(@options[:config])

# Add convenience methods to the top-level binding (main)
main.extend(Rack::Console::Methods)
Expand Down
2 changes: 1 addition & 1 deletion rack-console.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Gem::Specification.new do |s|
s.test_files = Dir['spec/**/*.rb']
s.require_paths = ['lib']

s.add_dependency 'rack', '>= 1.1'
s.add_dependency 'rack', '~> 3.0'
s.add_dependency 'rack-test'

s.add_development_dependency 'rspec', '~> 3.0'
Expand Down

0 comments on commit dde3c5d

Please sign in to comment.