Permalink
Browse files

Release 0.3.0

  • Loading branch information...
michaeldv committed Nov 10, 2010
1 parent 3c14c1b commit bbefc738a5b72941db99be588fcbae4d6624ed66
Showing with 15 additions and 10 deletions.
  1. +1 −1 VERSION
  2. +11 −6 awesome_print.gemspec
  3. +1 −1 lib/ap/core_ext/array.rb
  4. +1 −1 lib/ap/core_ext/class.rb
  5. +1 −1 lib/ap/core_ext/object.rb
View
@@ -1 +1 @@
-0.2.1
+0.3.0
View
@@ -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<rspec>, [">= 1.2.9"])
+ s.add_development_dependency(%q<rspec>, [">= 1.3.0"])
else
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
+ s.add_dependency(%q<rspec>, [">= 1.3.0"])
end
else
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
+ s.add_dependency(%q<rspec>, [">= 1.3.0"])
end
end
View
@@ -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|
View
@@ -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|
@@ -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.

0 comments on commit bbefc73

Please sign in to comment.