Find file
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (27 sloc) 1.77 KB

Unextendable CHANGELOG

Version 0.1.7 (August 15, 2012)

  • Support (un-)extending private / protected methods. Thanks Stephan Kaag (@stephankaag) for contributing

Version 0.1.6 (January 9, 2012)

  • Being able to tackle 'BlankObject instances' when extending: A 'BlankObject class' is considered not to have meta_class and unextend defined, but does respond to extend (e.g. Liquid::Strainer) See also:

Version 0.1.5 (July 1, 2011)

  • Fixed bug: respond_to? did not return true for a non-overridden instance method after extending an unextendable module

Version 0.1.4 (May 4, 2011)

  • Made Unextendable Ruby 1.9.2 compatible, booya! (Module.instance_methods within Ruby 1.9.2 returns symbols opposed to Ruby 1.8.7 which returns strings)

  • Improved respond_to? override implementation (overriding respond_to? only once after extending an unextendable module)

  • Moved Object.meta_class to Kernel

  • Removed Object.meta_class?

Version 0.1.3 (May 2, 2011)

  • Always returning boolean when calling object.meta_class?

  • Corrected the arguments definition of instance.respond_to? (being able to pass include_private)

Version 0.1.2 (May 2, 2011)

  • Improved object_instance.unextend

  • Created a single point of definition for determination to whether or not unextend a certain module

  • Added object.meta_class? (aliased with singleton_class?)

  • Fixed error raised when trying to wrap a non-existing object instance method

  • Corrected respond_to? and raising NoMethodError when calling an unextended module method which wasn't defined in the object instance itself

Version 0.1.1 (May 1, 2011)

  • Being able to pass a block to 'unextend' and only unextending a module when the block passes

Version 0.1.0 (May 1, 2011)

  • Initial release