diff --git a/README.md b/README.md index 7160932..73e1cd1 100644 --- a/README.md +++ b/README.md @@ -333,20 +333,11 @@ AwesomePrint.defaults = { ``` ## Versioning - AwesomePrint follows the [Semantic Versioning](http://semver.org/) standard. ### Contributing ### See [CONTRIBUTING.md](CONTRIBUTING.md) for information. -### License ### -Copyright (c) 2010-2016 Michael Dvorkin and contributors - -http://www.dvorkin.net - -%w(mike dvorkin.net) * "@" || "twitter.com/mid" - -Released under the MIT license. See LICENSE file for details. [gem_version_badge]: https://img.shields.io/gem/v/awesome_print.svg?style=flat [gem_downloads_badge]: http://img.shields.io/gem/dt/awesome_print.svg?style=flat diff --git a/awesome_print.gemspec b/awesome_print.gemspec index 735a7ea..0ebbef6 100644 --- a/awesome_print.gemspec +++ b/awesome_print.gemspec @@ -1,9 +1,3 @@ -# Copyright (c) 2010-2016 Michael Dvorkin and contributors -# -# Awesome Print is freely distributable under the terms of MIT license. -# See LICENSE file or http://www.opensource.org/licenses/mit-license.php -#------------------------------------------------------------------------------ - $:.push File.expand_path('../lib', __FILE__) require 'awesome_print/version' diff --git a/lib/ap.rb b/lib/ap.rb index 1cf48c2..f999691 100644 --- a/lib/ap.rb +++ b/lib/ap.rb @@ -1,9 +1,3 @@ -# Copyright (c) 2010-2016 Michael Dvorkin and contributors -# -# Awesome Print is freely distributable under the terms of MIT license. -# See LICENSE file or http://www.opensource.org/licenses/mit-license.php -#------------------------------------------------------------------------------ -# # Keeping this for backwards compatibility to allow # require "ap" # diff --git a/lib/awesome_print.rb b/lib/awesome_print.rb index efc1e25..eb565df 100644 --- a/lib/awesome_print.rb +++ b/lib/awesome_print.rb @@ -1,9 +1,3 @@ -# Copyright (c) 2010-2016 Michael Dvorkin and contributors -# -# Awesome Print is freely distributable under the terms of MIT license. -# See LICENSE file or http://www.opensource.org/licenses/mit-license.php -#------------------------------------------------------------------------------ -# # AwesomePrint might be loaded implicitly through ~/.irbrc or ~/.pryrc # so do nothing for subsequent requires. # @@ -34,11 +28,4 @@ unless defined?(AwesomePrint::Inspector) # require 'awesome_print/ext/action_view' # end # end - # require 'awesome_print/ext/mongo_mapper' if defined?(MongoMapper) - # require 'awesome_print/ext/mongoid' if defined?(Mongoid) - # require 'awesome_print/ext/nokogiri' if defined?(Nokogiri) - # require 'awesome_print/ext/nobrainer' if defined?(NoBrainer) - # require 'awesome_print/ext/ripple' if defined?(Ripple) - # require 'awesome_print/ext/sequel' if defined?(Sequel) - # require 'awesome_print/ext/ostruct' if defined?(OpenStruct) end diff --git a/lib/awesome_print/core_ext/awesome_method_array.rb b/lib/awesome_print/core_ext/awesome_method_array.rb index b05dbf3..ec8d6b9 100644 --- a/lib/awesome_print/core_ext/awesome_method_array.rb +++ b/lib/awesome_print/core_ext/awesome_method_array.rb @@ -1,9 +1,3 @@ -# Copyright (c) 2010-2016 Michael Dvorkin and contributors -# -# Awesome Print is freely distributable under the terms of MIT license. -# See LICENSE file or http://www.opensource.org/licenses/mit-license.php -#------------------------------------------------------------------------------ -# # The following makes it possible to invoke awesome_print while performing # operations on method arrays, ex: # diff --git a/lib/awesome_print/core_ext/class.rb b/lib/awesome_print/core_ext/class.rb index 7747b5a..190e320 100644 --- a/lib/awesome_print/core_ext/class.rb +++ b/lib/awesome_print/core_ext/class.rb @@ -1,8 +1,3 @@ -# Copyright (c) 2010-2016 Michael Dvorkin and contributors -# -# 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 #:nodoc: # # Intercept methods below to inject @__awesome_print__ instance variable diff --git a/lib/awesome_print/core_ext/kernel.rb b/lib/awesome_print/core_ext/kernel.rb index e8d38ed..bb87daa 100644 --- a/lib/awesome_print/core_ext/kernel.rb +++ b/lib/awesome_print/core_ext/kernel.rb @@ -1,8 +1,3 @@ -# Copyright (c) 2010-2016 Michael Dvorkin and contributors -# -# Awesome Print is freely distributable under the terms of MIT license. -# See LICENSE file or http://www.opensource.org/licenses/mit-license.php -#------------------------------------------------------------------------------ module Kernel def ai(options = {}) diff --git a/lib/awesome_print/core_ext/logger.rb b/lib/awesome_print/core_ext/logger.rb index 5754ff5..05809a1 100644 --- a/lib/awesome_print/core_ext/logger.rb +++ b/lib/awesome_print/core_ext/logger.rb @@ -1,8 +1,3 @@ -# Copyright (c) 2010-2016 Michael Dvorkin and contributors -# -# Awesome Print is freely distributable under the terms of MIT license. -# See LICENSE file or http://www.opensource.org/licenses/mit-license.php -#------------------------------------------------------------------------------ module AwesomePrint module Logger diff --git a/lib/awesome_print/core_ext/method.rb b/lib/awesome_print/core_ext/method.rb index c0f14da..02b7235 100644 --- a/lib/awesome_print/core_ext/method.rb +++ b/lib/awesome_print/core_ext/method.rb @@ -1,9 +1,3 @@ -# Copyright (c) 2010-2016 Michael Dvorkin and contributors -# -# Awesome Print is freely distributable under the terms of MIT license. -# See LICENSE file or http://www.opensource.org/licenses/mit-license.php -#------------------------------------------------------------------------------ -# # Method#name was intorduced in Ruby 1.8.7 so we define it here as necessary. # unless nil.method(:class).respond_to?(:name) diff --git a/lib/awesome_print/core_ext/object.rb b/lib/awesome_print/core_ext/object.rb index f3685bf..442577c 100644 --- a/lib/awesome_print/core_ext/object.rb +++ b/lib/awesome_print/core_ext/object.rb @@ -1,8 +1,3 @@ -# Copyright (c) 2010-2016 Michael Dvorkin and contributors -# -# 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 #:nodoc: # # Intercept methods below to inject @__awesome_print__ instance variable diff --git a/lib/awesome_print/core_ext/string.rb b/lib/awesome_print/core_ext/string.rb index ef590f0..4e4269b 100644 --- a/lib/awesome_print/core_ext/string.rb +++ b/lib/awesome_print/core_ext/string.rb @@ -1,8 +1,3 @@ -# Copyright (c) 2010-2016 Michael Dvorkin and contributors -# -# Awesome Print is freely distributable under the terms of MIT license. -# See LICENSE file or http://www.opensource.org/licenses/mit-license.php -#------------------------------------------------------------------------------ class String # # ANSI color codes: diff --git a/lib/awesome_print/formatters/ext/action_view.rb b/lib/awesome_print/formatters/ext/action_view.rb index 7ceaa9b..28d373b 100644 --- a/lib/awesome_print/formatters/ext/action_view.rb +++ b/lib/awesome_print/formatters/ext/action_view.rb @@ -1,8 +1,3 @@ -# Copyright (c) 2010-2016 Michael Dvorkin and contributors -# -# Awesome Print is freely distributable under the terms of MIT license. -# See LICENSE file or http://www.opensource.org/licenses/mit-license.php -#------------------------------------------------------------------------------ module AwesomePrint module ActionView # Use HTML colors and add default "debug_dump" class to the resulting HTML. diff --git a/lib/awesome_print/formatters/ext/active_record.rb b/lib/awesome_print/formatters/ext/active_record.rb index 2a4a362..7f31be7 100644 --- a/lib/awesome_print/formatters/ext/active_record.rb +++ b/lib/awesome_print/formatters/ext/active_record.rb @@ -1,8 +1,3 @@ -# Copyright (c) 2010-2016 Michael Dvorkin and contributors -# -# Awesome Print is freely distributable under the terms of MIT license. -# See LICENSE file or http://www.opensource.org/licenses/mit-license.php -#------------------------------------------------------------------------------ module AwesomePrint module ActiveRecord diff --git a/lib/awesome_print/formatters/ext/active_support.rb b/lib/awesome_print/formatters/ext/active_support.rb index 2f20363..ba2a730 100644 --- a/lib/awesome_print/formatters/ext/active_support.rb +++ b/lib/awesome_print/formatters/ext/active_support.rb @@ -1,8 +1,3 @@ -# Copyright (c) 2010-2016 Michael Dvorkin and contributors -# -# Awesome Print is freely distributable under the terms of MIT license. -# See LICENSE file or http://www.opensource.org/licenses/mit-license.php -#------------------------------------------------------------------------------ module AwesomePrint module ActiveSupport diff --git a/lib/awesome_print/formatters/ext/mongo_mapper.rb b/lib/awesome_print/formatters/ext/mongo_mapper.rb index fd6e801..943d688 100644 --- a/lib/awesome_print/formatters/ext/mongo_mapper.rb +++ b/lib/awesome_print/formatters/ext/mongo_mapper.rb @@ -1,8 +1,3 @@ -# Copyright (c) 2010-2016 Michael Dvorkin and contributors -# -# Awesome Print is freely distributable under the terms of MIT license. -# See LICENSE file or http://www.opensource.org/licenses/mit-license.php -#------------------------------------------------------------------------------ module AwesomePrint module MongoMapper diff --git a/lib/awesome_print/formatters/ext/mongoid.rb b/lib/awesome_print/formatters/ext/mongoid.rb index 5a427eb..a11987c 100644 --- a/lib/awesome_print/formatters/ext/mongoid.rb +++ b/lib/awesome_print/formatters/ext/mongoid.rb @@ -1,8 +1,3 @@ -# Copyright (c) 2010-2016 Michael Dvorkin and contributors -# -# Awesome Print is freely distributable under the terms of MIT license. -# See LICENSE file or http://www.opensource.org/licenses/mit-license.php -#------------------------------------------------------------------------------ module AwesomePrint module Mongoid diff --git a/lib/awesome_print/formatters/ext/nokogiri.rb b/lib/awesome_print/formatters/ext/nokogiri.rb index fe7fc9d..1cb385f 100644 --- a/lib/awesome_print/formatters/ext/nokogiri.rb +++ b/lib/awesome_print/formatters/ext/nokogiri.rb @@ -1,8 +1,3 @@ -# Copyright (c) 2010-2016 Michael Dvorkin and contributors -# -# Awesome Print is freely distributable under the terms of MIT license. -# See LICENSE file or http://www.opensource.org/licenses/mit-license.php -#------------------------------------------------------------------------------ module AwesomePrint module Nokogiri diff --git a/lib/awesome_print/formatters/ext/sequel.rb b/lib/awesome_print/formatters/ext/sequel.rb index d45129e..d124865 100644 --- a/lib/awesome_print/formatters/ext/sequel.rb +++ b/lib/awesome_print/formatters/ext/sequel.rb @@ -1,8 +1,3 @@ -# Copyright (c) 2010-2016 Michael Dvorkin and contributors -# -# Awesome Print is freely distributable under the terms of MIT license. -# See LICENSE file or http://www.opensource.org/licenses/mit-license.php -#------------------------------------------------------------------------------ module AwesomePrint module Sequel diff --git a/lib/awesome_print/inspector.rb b/lib/awesome_print/inspector.rb index a98b2d7..c7aeeeb 100644 --- a/lib/awesome_print/inspector.rb +++ b/lib/awesome_print/inspector.rb @@ -1,8 +1,3 @@ -# Copyright (c) 2010-2016 Michael Dvorkin and contributors -# -# Awesome Print is freely distributable under the terms of MIT license. -# See LICENSE file or http://www.opensource.org/licenses/mit-license.php -#------------------------------------------------------------------------------ require_relative 'indentator' module AwesomePrint diff --git a/lib/awesome_print/version.rb b/lib/awesome_print/version.rb index f937384..adb4285 100644 --- a/lib/awesome_print/version.rb +++ b/lib/awesome_print/version.rb @@ -1,8 +1,3 @@ -# Copyright (c) 2010-2016 Michael Dvorkin and contributors -# -# Awesome Print is freely distributable under the terms of MIT license. -# See LICENSE file or http://www.opensource.org/licenses/mit-license.php -#------------------------------------------------------------------------------ module AwesomePrint def self.debug diff --git a/rails/init.rb b/rails/init.rb index 3e6db21..076e9f6 100644 --- a/rails/init.rb +++ b/rails/init.rb @@ -1,9 +1,3 @@ -# Copyright (c) 2010-2016 Michael Dvorkin and contributors -# -# Awesome Print is freely distributable under the terms of MIT license. -# See LICENSE file or http://www.opensource.org/licenses/mit-license.php -#------------------------------------------------------------------------------ -# # Load awesome_print when installed as Rails 2.3.x plugin. # require File.join(File.dirname(__FILE__), '..', 'init') unless defined?(AwesomePrint) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index a31568f..e806a03 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,9 +1,3 @@ -# Copyright (c) 2010-2016 Michael Dvorkin and contributors -# -# Awesome Print is freely distributable under the terms of MIT license. -# See LICENSE file or http://www.opensource.org/licenses/mit-license.php -#------------------------------------------------------------------------------ -# # Running specs from the command line: # $ rake spec # Entire spec suite. # $ rspec spec/objects_spec.rb # Individual spec file.