Permalink
Browse files

Released v0.1.1

  • Loading branch information...
1 parent 0dfd363 commit e3b6d1784a117d47ddb1079b56ea9307d70ae08a Paul Engel committed May 1, 2011
Showing with 17 additions and 3 deletions.
  1. +4 −0 CHANGELOG.rdoc
  2. +7 −1 README.textile
  3. +1 −1 VERSION
  4. +5 −1 lib/unextendable/version.rb
View
@@ -1,5 +1,9 @@
= Unextendable CHANGELOG
+== 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
View
@@ -100,19 +100,25 @@ After that, you can do the following:
c.salutation #=> "Mr. X"
c.extend U
c.salutation #=> "Mr. U"
+ c.unextend U
+ c.salutation #=> "Mr. X"
c.unextend
c.salutation #=> "Mr. C"
c.extend A
c.salutation #=> "Mr. A"
c.extend X
c.salutation #=> "Mr. X"
+ c.unextend do |mod|
+ mod == U
+ end
+ c.salutation #=> "Mr. X"
c.unextend
c.salutation #=> "Mr. A" (because module A is NOT unextendable)
</pre>
h2. Last remarks
-Please check out "https://github.com/archan937/unextendable/blob/master/test/object_instance_test.rb":https://github.com/archan937/unextendable/blob/master/test/object_instance_test.rb for most of the tests.
+Please check out "https://github.com/archan937/unextendable/blob/master/test/object_instance_test.rb":https://github.com/archan937/unextendable/blob/master/test/object_instance_test.rb for most of the tests available. You can run the unit tests with @rake@ within the terminal.
Also, the Unextendable repo is provided with @script/console@ which you can run for testing purposes. The module and class definitions are already defined when starting up and the object instance <code>@c</code> of the class @C@ is also defined.
View
@@ -1 +1 @@
-0.1.0
+0.1.1
@@ -1,3 +1,7 @@
module Unextendable
- VERSION = "0.1.0"
+ MAJOR = 0
+ MINOR = 1
+ TINY = 1
+
+ VERSION = [MAJOR, MINOR, TINY].join(".")
end

0 comments on commit e3b6d17

Please sign in to comment.