diff --git a/VERSION b/VERSION index 0c62199..0d91a54 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.2.1 +0.3.0 diff --git a/awesome_print.gemspec b/awesome_print.gemspec index 36387a3..a46cba1 100644 --- a/awesome_print.gemspec +++ b/awesome_print.gemspec @@ -5,11 +5,11 @@ Gem::Specification.new do |s| s.name = %q{awesome_print} - s.version = "0.2.1" + s.version = "0.3.0" s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.authors = ["Michael Dvorkin"] - s.date = %q{2010-06-03} + s.date = %q{2010-11-09} s.description = %q{Great Ruby dubugging companion: pretty print Ruby objects to visualize their structure. Supports Rails ActiveRecord objects via included mixin.} s.email = %q{mike@dvorkin.net} s.extra_rdoc_files = [ @@ -25,18 +25,22 @@ Gem::Specification.new do |s| "init.rb", "lib/ap.rb", "lib/ap/awesome_print.rb", + "lib/ap/core_ext/array.rb", + "lib/ap/core_ext/class.rb", "lib/ap/core_ext/kernel.rb", "lib/ap/core_ext/logger.rb", + "lib/ap/core_ext/object.rb", "lib/ap/core_ext/string.rb", "lib/ap/mixin/action_view.rb", "lib/ap/mixin/active_record.rb", "lib/ap/mixin/active_support.rb", + "lib/awesome_print.rb", "rails/init.rb", "spec/action_view_spec.rb", "spec/active_record_spec.rb", "spec/awesome_print_spec.rb", "spec/logger_spec.rb", - "spec/spec.opts", + "spec/methods_spec.rb", "spec/spec_helper.rb", "spec/string_spec.rb" ] @@ -51,6 +55,7 @@ Gem::Specification.new do |s| "spec/active_record_spec.rb", "spec/awesome_print_spec.rb", "spec/logger_spec.rb", + "spec/methods_spec.rb", "spec/spec_helper.rb", "spec/string_spec.rb" ] @@ -60,12 +65,12 @@ Gem::Specification.new do |s| s.specification_version = 3 if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then - s.add_development_dependency(%q, [">= 1.2.9"]) + s.add_development_dependency(%q, [">= 1.3.0"]) else - s.add_dependency(%q, [">= 1.2.9"]) + s.add_dependency(%q, [">= 1.3.0"]) end else - s.add_dependency(%q, [">= 1.2.9"]) + s.add_dependency(%q, [">= 1.3.0"]) end end diff --git a/lib/ap/core_ext/array.rb b/lib/ap/core_ext/array.rb index 3944da8..7575deb 100644 --- a/lib/ap/core_ext/array.rb +++ b/lib/ap/core_ext/array.rb @@ -12,7 +12,7 @@ # # If you could think of a better way please let me know: twitter.com/mid :-) # -class Array +class Array #:nodoc: [ :-, :& ].each do |operator| alias :"original_#{operator.object_id}" :"#{operator}" define_method operator do |*args| diff --git a/lib/ap/core_ext/class.rb b/lib/ap/core_ext/class.rb index de52485..67573a1 100644 --- a/lib/ap/core_ext/class.rb +++ b/lib/ap/core_ext/class.rb @@ -3,7 +3,7 @@ # Awesome Print is freely distributable under the terms of MIT license. # See LICENSE file or http://www.opensource.org/licenses/mit-license.php #------------------------------------------------------------------------------ -class Class +class Class #:nodoc: methods.grep(/instance_methods$/) do |name| alias :"original_#{name}" :"#{name}" define_method name do |*args| diff --git a/lib/ap/core_ext/object.rb b/lib/ap/core_ext/object.rb index cdc69d5..5227887 100644 --- a/lib/ap/core_ext/object.rb +++ b/lib/ap/core_ext/object.rb @@ -3,7 +3,7 @@ # Awesome Print is freely distributable under the terms of MIT license. # See LICENSE file or http://www.opensource.org/licenses/mit-license.php #------------------------------------------------------------------------------ -class Object +class Object #:nodoc: methods.grep(/methods$/) do |name| next if name.to_s.include? 'instance' # Instance methods are trapped in Class.