appmap 0.72.5 → 0.73.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/LICENSE.txt +14 -2
- data/lib/appmap/hook/method.rb +10 -4
- data/lib/appmap/minitest.rb +0 -1
- data/lib/appmap/rspec.rb +0 -1
- data/lib/appmap/version.rb +1 -1
- data/spec/fixtures/rails5_users_app/spec/rails_helper.rb +0 -1
- data/spec/fixtures/rails6_users_app/spec/rails_helper.rb +0 -1
- 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: df9ed913bb9ce4b945312ab2a50d8305b7c85c8f84a2004b9cf785362fcf2ad2
|
4
|
+
data.tar.gz: 2f2a844c20263b62a1291b05396d883c205cdebf2ae32062206e7bf42c23e757
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 330bcbec5db0a2b92662898432b3cc4eb4e8ca98729f6cfc0577d6490a0f19a1908e19b6c58c512c9b5db7e98a9f90804c5f0fe4362f52b31a69849760cde6db
|
7
|
+
data.tar.gz: 29544bb8ae0db136aad8a518511eb6723fe113e54bc4d585d9e06a857f9227f3e0fbf6daa2bcf1067df5092eef88b13034862d09b187e496cb6758eb8ec094eb
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
# [0.73.0](https://github.com/applandinc/appmap-ruby/compare/v0.72.5...v0.73.0) (2022-03-07)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* Remove GC before test case execution, because it's slow ([d38695e](https://github.com/applandinc/appmap-ruby/commit/d38695ed9425a5363e48f2b7bdd5dc3853a827bf))
|
7
|
+
|
8
|
+
|
9
|
+
### Features
|
10
|
+
|
11
|
+
* Use bind_call when its available ([60d4fb5](https://github.com/applandinc/appmap-ruby/commit/60d4fb5919974d977722ee730b141ae398cbe927))
|
12
|
+
|
1
13
|
## [0.72.5](https://github.com/applandinc/appmap-ruby/compare/v0.72.4...v0.72.5) (2022-02-17)
|
2
14
|
|
3
15
|
|
data/LICENSE.txt
CHANGED
@@ -1,6 +1,18 @@
|
|
1
|
-
The
|
1
|
+
The Software is provided to you by the Licensor under the License, as defined below, subject to the following condition.
|
2
2
|
|
3
|
-
|
3
|
+
Without limiting other conditions in the License, the grant of rights under the License will not include,
|
4
|
+
and the License does not grant to you, the right to Sell the Software.
|
5
|
+
|
6
|
+
For purposes of the foregoing, “Sell” means practicing any or all of the rights granted to you under the License to provide to third parties,
|
7
|
+
for a fee or other consideration (including without limitation fees for hosting or consulting/ support services related to the Software),
|
8
|
+
a product or service whose value derives, entirely or substantially, from the functionality of the Software.
|
9
|
+
Any license notice or attribution required by the License must also include this Commons Clause License Condition notice.
|
10
|
+
|
11
|
+
Software: AppMap agent for Ruby
|
12
|
+
|
13
|
+
License: MIT License
|
14
|
+
|
15
|
+
Copyright 2022, AppLand Inc
|
4
16
|
|
5
17
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
18
|
of this software and associated documentation files (the "Software"), to deal
|
data/lib/appmap/hook/method.rb
CHANGED
@@ -70,8 +70,6 @@ module AppMap
|
|
70
70
|
with_disabled_hook = self.method(:with_disabled_hook)
|
71
71
|
|
72
72
|
hook_method_def = Proc.new do |*args, &block|
|
73
|
-
instance_method = hook_method.bind(self).to_proc
|
74
|
-
|
75
73
|
is_array_containing_empty_hash = ->(obj) {
|
76
74
|
obj.is_a?(Array) && obj.length == 1 && obj[0].is_a?(Hash) && obj[0].size == 0
|
77
75
|
}
|
@@ -79,9 +77,17 @@ module AppMap
|
|
79
77
|
call_instance_method = -> {
|
80
78
|
# https://github.com/applandinc/appmap-ruby/issues/153
|
81
79
|
if NEW_RUBY && is_array_containing_empty_hash.(args) && hook_method.arity == 1
|
82
|
-
|
80
|
+
if NEW_RUBY
|
81
|
+
hook_method.bind_call(self, {}, &block)
|
82
|
+
else
|
83
|
+
hook_method.bind(self).call({}, &block)
|
84
|
+
end
|
83
85
|
else
|
84
|
-
|
86
|
+
if NEW_RUBY
|
87
|
+
hook_method.bind_call(self, *args, &block)
|
88
|
+
else
|
89
|
+
hook_method.bind(self).call(*args, &block)
|
90
|
+
end
|
85
91
|
end
|
86
92
|
}
|
87
93
|
|
data/lib/appmap/minitest.rb
CHANGED
data/lib/appmap/rspec.rb
CHANGED
data/lib/appmap/version.rb
CHANGED
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.
|
4
|
+
version: 0.73.0
|
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-
|
11
|
+
date: 2022-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|