Pry v0.11.3 Release Notes
Release Date: 2017-11-14 // over 6 years ago-
🔋 Features
- ➕ Add Pry::Testable, an improved modular replacement for PryTestHelpers. breaking change.
👀 See pull request #1679.
- ➕ Add a new category module: "Pry::Platform". Loosely related to #1668 below.
👀 See pull request #1670
- ➕ Add
mac_osx?
andlinux?
utility functions to Pry::Helpers::BaseHelpers.
👀 See pull request #1668.
- ➕ Add utility functions for drawing colorised text on a colorised background.
👀 See pull request #1673.
🐛 Bug fixes
- Fix a case of infinite recursion in
Pry::Method::WeirdMethodLocator#find_method_in_superclass
that users of the Hanami web framework experienced and reported since 2015.
👀 See pull request #1689.
🛠 Fix a bug where Method objects were not returned for setters inherited from a default (Pry::Config::Default). Eg, this is no longer an error:
pry(main)> d = Pry::Config.from_hash({}, Pry::Config::Default.new) pry(main)> d.method(:exception_whitelist=) # Error
👀 See pull request #1688.
- Do not capture unused Proc objects in Text helper methods
no_color
andno_paging
, for performance reasons. Improve the documentation of both methods.
👀 See pull request #1691.
- 🛠 Fix
String#pp
output color.
👀 See pull request #1674.