Skip to content
  • Brandon Dunne's avatar
    6c98fbd9
    Fix bug where custom deprecators are not used. · 6c98fbd9
    Brandon Dunne authored
    Add tests for ActiveSupport::Deprecation.deprecate_methods
    Modify ActiveSupport::Testing::Deprecation to allow a custom deprecator
    Leverage ActiveSupport::Testing::Deprecation assert_deprecated
    Update documentation for ActiveSupport::Deprecation.deprecate_methods
    
    Use cases:
    Using the default deprecator => "removed from Rails X.Y"
    Passing a custom deprecator in the options hash => "removed from MyGem next-release"
    Deprecating methods directly from custom deprecator => "removed from MyGem next-release"
    6c98fbd9
    Fix bug where custom deprecators are not used.
    Brandon Dunne authored
    Add tests for ActiveSupport::Deprecation.deprecate_methods
    Modify ActiveSupport::Testing::Deprecation to allow a custom deprecator
    Leverage ActiveSupport::Testing::Deprecation assert_deprecated
    Update documentation for ActiveSupport::Deprecation.deprecate_methods
    
    Use cases:
    Using the default deprecator => "removed from Rails X.Y"
    Passing a custom deprecator in the options hash => "removed from MyGem next-release"
    Deprecating methods directly from custom deprecator => "removed from MyGem next-release"
Loading