call_super 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,3 +6,9 @@ Initial release
6
6
  == 7/30/2013
7
7
 
8
8
  Added Module#include and Object#extend.
9
+
10
+ == 8/13/2013
11
+
12
+ Removed Module#include and Object#extend.
13
+
14
+
@@ -4,26 +4,6 @@ class ::Module
4
4
 
5
5
  include ::CallSuper
6
6
 
7
- ######################
8
- # original_include #
9
- ######################
10
-
11
- alias_method :original_include, :include
12
-
13
- #############
14
- # include #
15
- #############
16
-
17
- ###
18
- # Override Object#include so that modules extending Module instance can define #include.
19
- #
20
- def include( *modules )
21
-
22
- super if defined?( super )
23
- original_include( *modules )
24
-
25
- end
26
-
27
7
  ##############################
28
8
  # original_append_features #
29
9
  ##############################
@@ -4,24 +4,4 @@ class ::Object
4
4
 
5
5
  include ::CallSuper
6
6
 
7
- #####################
8
- # original_extend #
9
- #####################
10
-
11
- alias_method :original_extend, :extend
12
-
13
- ############
14
- # extend #
15
- ############
16
-
17
- ###
18
- # Override Object.extend so that modules extending Object instance can define #extend.
19
- #
20
- def extend( *modules )
21
-
22
- super if defined?( super )
23
- original_extend( *modules )
24
-
25
- end
26
-
27
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: call_super
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-30 00:00:00.000000000 Z
12
+ date: 2013-08-13 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Cause Object#inherited, Module#extended, Module#extend_object, Module#included,
15
15
  Module#append_features to call super if defined.