okuribito 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: 5dd0286fba0aa67addd79d00ee35ddb517bab068
4
- data.tar.gz: 039ab4ef6c8bbcac54d398fbc92840cb50739c4a
3
+ metadata.gz: cc35f46ce36106eb6a9149613f52ca192cbf7524
4
+ data.tar.gz: 5881ae7faa3258097b8c1743630f8854e951a465
5
5
  SHA512:
6
- metadata.gz: 3fd720d9619460756977aeeb7c6839c14e7e6ece8146270a8fb2ca126e5cc6f8b4b102a9fbe52b677e8b1945afb740b56938b9adb503695dbd7e897a46210dd2
7
- data.tar.gz: 12358f8b2edf34e0a3d6bfab2bfa23f09aed8d16e618283c370e1719c1db594928d37eed8b59cdddc3ce13d2d74eb39fcbd69bc17db03cb33bee1ed79002cd87
6
+ metadata.gz: 5bf5bf91ea0d4b31d535950464ddc61e828280854ecb728ec0e96340b072851657889b2cf027f444e1d8f4578ce71944ea6436096d6918e619e4c7235e609c41
7
+ data.tar.gz: 4432307a669be481ac27a3c2b164f45cf2844aca691a818fd9b6f949e711687f0a378bd77f697d780942d2b1eb6d6eea65ad5ebcad2084a989a23b2d4b620c2d
data/lib/okuribito.rb CHANGED
@@ -81,7 +81,7 @@ module Okuribito
81
81
  next unless klass.instance_methods.include?(method_name)
82
82
  i_method_patch.module_eval do
83
83
  define_patch(method_name, i_method_patch, "i", opt) do |obj_name, caller_info|
84
- callback.call(method_name, obj_name, caller_info)
84
+ callback.call(method_name, obj_name, caller_info, class_name, INSTANCE_METHOD_SYMBOL)
85
85
  end
86
86
  end
87
87
  i_method_patched += 1
@@ -89,7 +89,7 @@ module Okuribito
89
89
  next unless klass.respond_to?(method_name)
90
90
  c_method_patch.module_eval do
91
91
  define_patch(method_name, c_method_patch, "c", opt) do |obj_name, caller_info|
92
- callback.call(method_name, obj_name, caller_info)
92
+ callback.call(method_name, obj_name, caller_info, class_name, CLASS_METHOD_SYMBOL)
93
93
  end
94
94
  end
95
95
  c_method_patched += 1
@@ -1,3 +1,3 @@
1
1
  module Okuribito
2
- VERSION = "0.1.5".freeze
2
+ VERSION = "0.1.6".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: okuribito
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
  - muramurasan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-10-25 00:00:00.000000000 Z
11
+ date: 2016-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport