konstructor 0.4.3 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a9016154d40a8361e02e4aabf327f89d454dd61
|
4
|
+
data.tar.gz: 2476aeb1d5cb5773d8c248aac34ee21dd1640637
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50a37b15d19a9e7fe193650b001fb51b60becfb8ea6562823ed66114e52d185e082bbe61ad1a0fd2ad3799228c7082281f6fee63a6fbad7f7157b876fc669b27
|
7
|
+
data.tar.gz: d552aec0802c10ca83d09cbbc7280ec6fa1929aacd5919543a799298752000184008e9c423ca522a1d6fe15f042b5801388a7ef25dededcbebfdfe4167fca7ef
|
data/lib/konstructor/factory.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
module Konstructor
|
2
|
-
module KonstructorMethodHook
|
2
|
+
module KonstructorMethodHook # :nodoc:
|
3
3
|
|
4
4
|
# Experimental and currently not used <code>method_added</code>
|
5
5
|
# hook approach protecting against method_added
|
@@ -21,8 +21,7 @@ module Konstructor
|
|
21
21
|
alias konstructor_super_method_added method_added
|
22
22
|
|
23
23
|
def method_added(name)
|
24
|
-
|
25
|
-
@konstructor.method_added_to_klass(name)
|
24
|
+
Konstructor.method_added_to_klass(self, name)
|
26
25
|
konstructor_super_method_added(name)
|
27
26
|
end
|
28
27
|
end
|
data/lib/konstructor/main.rb
CHANGED
data/lib/konstructor/version.rb
CHANGED