usable 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/usable/version.rb +1 -1
- data/lib/usable.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f7fc4e1f907b22a327f91c9415896392fbbe293
|
4
|
+
data.tar.gz: cd2c34022445da9c3529a485c0ebda6f685ed84d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e55c0deda9d076b00bede32a192a36e2fb6807d9cfa01f51d131b680dae4741caa4bb640fd8d4ebcba267f19fcb99ba186b11bf303b968e5c06eee48c543170f
|
7
|
+
data.tar.gz: 2a9e6cc8a0d9db31631d7d840d7770bc21cf3c77b6b6d857120d53b3e541cedc320947af2f741f7302d27cc89c7e9d76201e6cd12e6c39450102716e89a890fd
|
data/lib/usable/version.rb
CHANGED
data/lib/usable.rb
CHANGED
@@ -68,8 +68,8 @@ module Usable
|
|
68
68
|
[scope, usables].each { |x| options.each { |k, v| x[k] = v } }
|
69
69
|
[scope, usables].each { |x| x.instance_eval &block } if block_given?
|
70
70
|
ModExtender.new(mod, usable_options).call self
|
71
|
-
|
72
|
-
|
71
|
+
send :include, mod.const_get(:InstanceMethods) if const_defined? :InstanceMethods
|
72
|
+
send :extend, mod.const_get(:ClassMethods) if const_defined? :ClassMethods
|
73
73
|
self
|
74
74
|
end
|
75
75
|
|