Releases: davidcelis/rack-console
Releases · davidcelis/rack-console
2.0.0
- Setting the Rack environment via the included
rack-consoleexecutable is now an option (-eor--environment) instead of an argument - IRB has come a long way, so Pry is now disabled by default. If you would still prefer to use Pry, you can use the
-por--pryoption when running the includedrack-consoleexecutable or viaRack::Console.new(pry: true).start.
Full Changelog: v1.4.1...v2.0.0
v1.4.1
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.
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_PATHbefore Rack::Console starts - Change
Rack::Consoleto be initialized as opposed to calling.starton the class directly. It is initialized with an options hash that therack-consolebinary will parse out ofARGV.
1.1.0
- Provide a
rack-consoleexecutable for easy access to a Rack console.
1.0.1
- Fix an issue where
require 'rack/builder'was not enough forRack::Consoleto function.
1.0.0
- Initial release