1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport
Piotr Niełacny 71993c6f97 Change ActiveSupport::Deprecation to class.
ActiveSupport::Deprecation is now a class rather than a module. You can
get instance of ActiveSupport::Deprecation calling #instance method.

  ActiveSupport::Deprecation.instance

But when you need to get new object od ActiveSupport::Deprecation you
need to just call #new.

  @instance = ActiveSupport::Deprecation.new

Since you can create a new object, you can change the version and the
name of the library where the deprecator concerned.

  ActiveSupport::Deprecation.new('2.0', 'MyGem')

If you need use another deprecator instance you can select it in the
options of deprecate method.

  deprecate :method, :deprecator => deprecator_instance

Documentation has been updated.
2012-09-13 08:42:00 +02:00
..
bin Update Unicode database to recently-released 6.1. 2012-02-03 10:09:26 -03:00
lib Change ActiveSupport::Deprecation to class. 2012-09-13 08:42:00 +02:00
test Change ActiveSupport::Deprecation to class. 2012-09-13 08:42:00 +02:00
activesupport.gemspec activesupport gem dependencies should reflect the versions we actually use 2012-07-04 11:16:21 -07:00
CHANGELOG.md Change ActiveSupport::Deprecation to class. 2012-09-13 08:42:00 +02:00
MIT-LICENSE Updated copyright notices for 2012 2011-12-31 20:30:08 +00:00
Rakefile Rakefile executable attributes and shebang lines has been removed 2012-05-02 13:38:13 +03:00
README.rdoc Finished implementation of MIT license linking. 2011-12-23 13:03:21 -08:00

= Active Support -- Utility classes and Ruby extensions from Rails

Active Support is a collection of utility classes and standard library
extensions that were found useful for the Rails framework. These additions
reside in this package so they can be loaded as needed in Ruby projects
outside of Rails.


== Download and installation

The latest version of Active Support can be installed with RubyGems:

  % [sudo] gem install activesupport

Source code can be downloaded as part of the Rails project on GitHub

* https://github.com/rails/rails/tree/master/activesupport


== License

Active Support is released under the MIT license:

* http://www.opensource.org/licenses/MIT


== Support

API documentation is at

* http://api.rubyonrails.org

Bug reports and feature requests can be filed with the rest for the Ruby on Rails project here:

* https://github.com/rails/rails/issues