switchman 1.9.0 → 1.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/switchman/call_super.rb +4 -7
- data/lib/switchman/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33042670de931ff4d9974370cf8703bc2059f53b
|
4
|
+
data.tar.gz: b3ef2ecf2944446cfd06617b85179e2c20ddadb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39f9d4473a0a544110c89b8d4c9253c651bb9b08d0e3042c605ea7b1bbf39a304a19790b43bede1a44e172756175f5d88f01de3662354eeaab7ced5a61d3bdfd
|
7
|
+
data.tar.gz: 4341cb78497d39d27f94d1026d45a99a7815fe96645a90692a325dca5d161229cef5ba3fd1f55c07f7729fbd9ab359827cf96b9477f4d03f644d27c1b0443404
|
data/lib/switchman/call_super.rb
CHANGED
@@ -1,14 +1,11 @@
|
|
1
1
|
module Switchman
|
2
2
|
module CallSuper
|
3
3
|
def super_method_above(method_name, above_module)
|
4
|
-
|
5
|
-
|
6
|
-
method = method
|
7
|
-
while method.owner != above_module
|
8
|
-
method = method.super_method
|
9
|
-
end
|
10
|
-
method.super_method
|
4
|
+
method = method(method_name)
|
5
|
+
while method.owner != above_module
|
6
|
+
method = method.super_method
|
11
7
|
end
|
8
|
+
method.super_method
|
12
9
|
end
|
13
10
|
|
14
11
|
def call_super(method, above_module, *args, &block)
|
data/lib/switchman/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: switchman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cody Cutrer
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-12-
|
13
|
+
date: 2016-12-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: railties
|