mirror of
https://github.com/awesome-print/awesome_print
synced 2023-03-27 23:22:34 -04:00
Getting ready for 0.3.2 release
This commit is contained in:
parent
05265cb4e5
commit
27d5aa2c0f
3 changed files with 9 additions and 4 deletions
|
@ -1,7 +1,9 @@
|
||||||
0.3.2 (unreleased)
|
0.3.2
|
||||||
|
- Make sure Rails mixins get loaded in Rails console when required from .irbrc
|
||||||
- Fixed an issue with classes that define their own #send method (ex: Socket)
|
- Fixed an issue with classes that define their own #send method (ex: Socket)
|
||||||
- Fixed compatibility issue with Liquid gem that defines Module#liquid_methods
|
- Fixed compatibility issue with Liquid gem that defines Module#liquid_methods
|
||||||
- Fixed hash spec for Ruby < 1.9 where order of hash keys is not guaranteed
|
- Fixed hash spec for Ruby < 1.9 where order of hash keys is not guaranteed
|
||||||
|
- Added :sorted_hash_keys option to sort hash keys (Ed Ruder)
|
||||||
|
|
||||||
0.3.1 RubyConf X edition
|
0.3.1 RubyConf X edition
|
||||||
- Fixed Ruby 1.8.6 compatibility issues (thanks, Tim!)
|
- Fixed Ruby 1.8.6 compatibility issues (thanks, Tim!)
|
||||||
|
|
|
@ -20,9 +20,11 @@ objects and usage within Rails templates are supported via included mixins.
|
||||||
|
|
||||||
Default options:
|
Default options:
|
||||||
|
|
||||||
:multiline => true,
|
:multiline => true, # Display in multipe lines.
|
||||||
:plain => false,
|
:plain => false, # Use colors.
|
||||||
:indent => 4,
|
:indent => 4, # Indent using 4 spaces.
|
||||||
|
:index => true, # Display array indices.
|
||||||
|
:sorted_hash_keys => false, # Do not sort hash keys.
|
||||||
:color => {
|
:color => {
|
||||||
:array => :white,
|
:array => :white,
|
||||||
:bignum => :blue,
|
:bignum => :blue,
|
||||||
|
|
|
@ -15,6 +15,7 @@ class AwesomePrint
|
||||||
:plain => false,
|
:plain => false,
|
||||||
:indent => 4,
|
:indent => 4,
|
||||||
:index => true,
|
:index => true,
|
||||||
|
:sorted_hash_keys => false,
|
||||||
:color => {
|
:color => {
|
||||||
:array => :white,
|
:array => :white,
|
||||||
:bigdecimal => :blue,
|
:bigdecimal => :blue,
|
||||||
|
|
Loading…
Reference in a new issue