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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d2e63c8b9d8a43c1cf8716f775593bc0e5c7296b
4
- data.tar.gz: c4cda98c0bbdf18d0c648adcf8d8465c90f2246e
3
+ metadata.gz: 33042670de931ff4d9974370cf8703bc2059f53b
4
+ data.tar.gz: b3ef2ecf2944446cfd06617b85179e2c20ddadb4
5
5
  SHA512:
6
- metadata.gz: f2e7e0889dce714d0d128eeca5b09434ba0cd313ebe9e09db2f1d58e7d706e6aa1353e03b54496d2f145fbd19467c74bd095870025eb6fca0321170c06ffd14a
7
- data.tar.gz: e0614890e323dcedd8b272e1ec571be80de1640d27601d9c905208e4fca69931676ec03e4ef038775aa634e43751909bdf0b18f261fe32b1c8a394764c830d24
6
+ metadata.gz: 39f9d4473a0a544110c89b8d4c9253c651bb9b08d0e3042c605ea7b1bbf39a304a19790b43bede1a44e172756175f5d88f01de3662354eeaab7ced5a61d3bdfd
7
+ data.tar.gz: 4341cb78497d39d27f94d1026d45a99a7815fe96645a90692a325dca5d161229cef5ba3fd1f55c07f7729fbd9ab359827cf96b9477f4d03f644d27c1b0443404
@@ -1,14 +1,11 @@
1
1
  module Switchman
2
2
  module CallSuper
3
3
  def super_method_above(method_name, above_module)
4
- @super_methods ||= {}
5
- @super_methods[[method_name, above_module]] ||= begin
6
- method = method(method_name)
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)
@@ -1,3 +1,3 @@
1
1
  module Switchman
2
- VERSION = "1.9.0"
2
+ VERSION = "1.9.1"
3
3
  end
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.0
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-08 00:00:00.000000000 Z
13
+ date: 2016-12-09 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: railties