From 2e75a163874adcebc67329fb41849a302b182939 Mon Sep 17 00:00:00 2001 From: Mike Dvorkin Date: Wed, 1 Jun 2011 22:51:45 -0700 Subject: [PATCH] Updated README and CHANGELOG --- CHANGELOG | 4 ++++ README.md | 3 ++- lib/awesome_print/inspector.rb | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index cf56ed7..2474333 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +?.?.? + - Added ability to format *arbitrary* Ruby object + - Added :limit option to limit large output for arrays and hashes (Andrew Horsman) + 0.4.0 - 'ap object' now returns the object (Stephan Hagemann) - Added :html => true option to enable HTML colors rather that ANSI (ex. Sinatra templates) diff --git a/README.md b/README.md index c302d80..bec7006 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Default options: :multiline => true, # Display in multiple lines. :plain => false, # Use colors. :sort_keys => false, # Do not sort hash keys. - :limit => false, # Limit large output. Set to a boolean or integer. + :limit => false, # Limit large output for arrays and hashes. Set to a boolean or integer. :color => { :array => :white, :bignum => :blue, @@ -301,6 +301,7 @@ For example: ### Contributors ### * Andrew O'Brien -- https://github.com/AndrewO +* Andrew Horsman -- https://github.com/basicxman * Daniel Bretoi -- http://github.com/danielb2 * Eloy Duran -- http://github.com/alloy * Elpizo Choi -- https://github.com/fuJiin diff --git a/lib/awesome_print/inspector.rb b/lib/awesome_print/inspector.rb index be7913a..79cb0bf 100755 --- a/lib/awesome_print/inspector.rb +++ b/lib/awesome_print/inspector.rb @@ -22,7 +22,7 @@ module AwesomePrint :multiline => true, # Display in multiple lines. :plain => false, # Use colors. :sort_keys => false, # Do not sort hash keys. - :limit => false, # Limit large output. Set to a boolean or integer. + :limit => false, # Limit large output for arrays and hashes. Set to a boolean or integer. :color => { :array => :white, :bigdecimal => :blue,