Releases: davidcelis/rack-console
Releases · davidcelis/rack-console
v1.4.1
v1.3.2
This release fixes a minor issue where an additional LoadError from attempting to load Pry would be printed in the console when any other exception occurs and is meant for applications still on older versions of Rack.
1.4.0
Adds support for Rack 3.
1.3.0
- Add Rack-based convenience methods to Rack::Console:
app.get('/')
app.post('/', { param: value })
app.put('/', {}, { 'HTTP_HEADER' => value })
- etc.
- Add a configurable preamble for those using Rack::Console in their own framework
- e.g:
ENV['RACK_CONSOLE_PREAMBLE'] = "Loading #{Rails.env} environment (Rails #{Rails::VERSION})"
- e.g:
1.2.0
- Add
reload!
functionality - Add a
-r
(or--require
) option to require a file or library before Rack::Console starts - Add a
-I
(or--include
) option to add colon-separated paths to the$LOAD_PATH
before Rack::Console starts - Change
Rack::Console
to be initialized as opposed to calling.start
on the class directly. It is initialized with an options hash that therack-console
binary will parse out ofARGV
.
1.1.0
- Provide a
rack-console
executable for easy access to a Rack console.
1.0.1
- Fix an issue where
require 'rack/builder'
was not enough forRack::Console
to function.
1.0.0
- Initial release