Skip to content

Releases: davidcelis/rack-console

2.0.0

31 Oct 23:55
v2.0.0
edecd0e

Choose a tag to compare

  • Setting the Rack environment via the included rack-console executable is now an option (-e or --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 -p or --pry option when running the included rack-console executable or via Rack::Console.new(pry: true).start.

Full Changelog: v1.4.1...v2.0.0

v1.4.1

30 May 16:05
949b386

Choose a tag to compare

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

30 May 16:28
7b5c98d

Choose a tag to compare

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

26 Sep 18:11

Choose a tag to compare

Adds support for Rack 3.

1.3.0

06 Jul 00:40

Choose a tag to compare

  • 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})"

1.2.0

02 Jul 14:42

Choose a tag to compare

  • 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 the rack-console binary will parse out of ARGV.

1.1.0

01 Jul 16:59

Choose a tag to compare

  • Provide a rack-console executable for easy access to a Rack console.

1.0.1

01 Jul 16:58

Choose a tag to compare

  • Fix an issue where require 'rack/builder' was not enough for Rack::Console to function.

1.0.0

01 Jul 16:57

Choose a tag to compare

  • Initial release