mirror of
https://github.com/awesome-print/awesome_print
synced 2023-03-27 23:22:34 -04:00
Release 0.3.0
This commit is contained in:
parent
3c14c1b747
commit
bbefc738a5
5 changed files with 15 additions and 10 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
0.2.1
|
||||
0.3.0
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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|
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue