interloper 0.1.5 → 0.1.6

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: db0035f705cdfad37507d3bb3587bbfdbcf81eb9
4
- data.tar.gz: 60a21cbf051e764194e33a7e9d3397ae9046aa0e
3
+ metadata.gz: 88a9c3a3bb7170e182c88f37908571d52f165a80
4
+ data.tar.gz: 86a0dc4040a0aba7469f3e51c505de661ea50645
5
5
  SHA512:
6
- metadata.gz: bfb5906a4d2a5e6abe0941fec81b1300c5d7702c5ed5c03cb51bda48bc2591b8fec166f014d67fcf995e3f6bd4f6c4edee34308016355af37076d1f31784f296
7
- data.tar.gz: 9f63ee3bed4671a024d67cd2690e1480161a1ff35b6af9528250a3d18b7ea8f2611eebd13f296ee06fef478e8a64ba6cbf7ef234b378e0798d9802215564adfa
6
+ metadata.gz: be7663d189f1c0c5eda5e1f7df60f0b1af97518b8300a725c56efe6bf59af0510096dc82af0f3c674439dc802d30fe96003011b837b5991336db0eec350d20ff
7
+ data.tar.gz: 703cc70fb95866cd57b5f9aa8e489afcc1ef5558d4580b84872f6bf4c20463058022f35be61ea5a94c39c6e8d27b047f680f9004ed22cf44229b35d146cd9a51
@@ -1,3 +1,3 @@
1
1
  module Interloper
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
data/lib/interloper.rb CHANGED
@@ -92,8 +92,9 @@ module Interloper
92
92
  eval <<-CODE
93
93
  def #{method_name}(*args, &block)
94
94
  self.class.const_get(:#{interloper_module_name}).run_callbacks(:before, :#{method_name}, self, *args, &block)
95
- super(*args, &block)
95
+ return_val = super(*args, &block)
96
96
  self.class.const_get(:#{interloper_module_name}).run_callbacks(:after, :#{method_name}, self, *args, &block)
97
+ return_val
97
98
  end
98
99
  CODE
99
100
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: interloper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Myers
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-27 00:00:00.000000000 Z
11
+ date: 2017-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler