appmap 0.72.3 → 0.72.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/appmap/hook/method.rb +8 -1
- data/lib/appmap/version.rb +1 -1
- data/yarn.lock +1 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df8cfae5642145ffdf039e46a97b4dc2cf748e35658611237e4f8c86fcfdeb4b
|
4
|
+
data.tar.gz: af8324a534ba90df3ba87467581936e3ce3109e67fcc1952fd3e25912b003be6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8428c0343bb9a856d96fa332ca6217c9cabb518df36e48562f5855714ef6291c2b2ea7a14f7e8b5ea2a4a01ae3e1ac685a95e7889cca705ab451989c83f226b
|
7
|
+
data.tar.gz: ea54394ee1feb68949a4b92764585a1e170ac35d0fd0b2fb5ef744a0499831f23d1e179f85110b21a7dec029ca0a4cb7258ad64f081fa5273423e6fe178bbbcb
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## [0.72.4](https://github.com/applandinc/appmap-ruby/compare/v0.72.3...v0.72.4) (2022-02-17)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* Retain the proper signature on hooked methods ([31e2de2](https://github.com/applandinc/appmap-ruby/commit/31e2de219a37311df9ba0e5caa407dc80745ca09))
|
7
|
+
|
1
8
|
## [0.72.3](https://github.com/applandinc/appmap-ruby/compare/v0.72.2...v0.72.3) (2022-02-14)
|
2
9
|
|
3
10
|
|
data/lib/appmap/hook/method.rb
CHANGED
@@ -99,7 +99,14 @@ module AppMap
|
|
99
99
|
end
|
100
100
|
hook_method_def = hook_method_def.ruby2_keywords if hook_method_def.respond_to?(:ruby2_keywords)
|
101
101
|
|
102
|
-
|
102
|
+
hook_method_parameters = hook_method.parameters.dup.freeze
|
103
|
+
hook_class.ancestors.first.tap do |cls|
|
104
|
+
cls.define_method_with_arity(hook_method.name, hook_method.arity, hook_method_def)
|
105
|
+
redefined_method = cls.instance_method(hook_method.name)
|
106
|
+
redefined_method.singleton_class.module_eval do
|
107
|
+
define_method(:parameters) { hook_method_parameters }
|
108
|
+
end
|
109
|
+
end
|
103
110
|
end
|
104
111
|
|
105
112
|
protected
|
data/lib/appmap/version.rb
CHANGED
data/yarn.lock
CHANGED
@@ -320,12 +320,7 @@ ansi-escapes@^4.2.1:
|
|
320
320
|
dependencies:
|
321
321
|
type-fest "^0.21.3"
|
322
322
|
|
323
|
-
ansi-regex@^5.0.0:
|
324
|
-
version "5.0.0"
|
325
|
-
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75"
|
326
|
-
integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==
|
327
|
-
|
328
|
-
ansi-regex@^5.0.1:
|
323
|
+
ansi-regex@^5.0.0, ansi-regex@^5.0.1:
|
329
324
|
version "5.0.1"
|
330
325
|
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304"
|
331
326
|
integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appmap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.72.
|
4
|
+
version: 0.72.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Gilpin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-02-
|
11
|
+
date: 2022-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|