appmap 0.68.0 → 0.68.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
  SHA256:
3
- metadata.gz: 4d54229f9f87639b89c9388722e8e9ee30e327a39f9e4effe40739033229de5f
4
- data.tar.gz: 2a87b31d06444d8091f78ec00e0751b900f2068ee87003c945b3b6da3e58602d
3
+ metadata.gz: 7da5837e4371cd2ce6aa6858e6ca88a50d38103657c054d0752ee7ec03d1f499
4
+ data.tar.gz: 81a5b8d75c7b4f5bad51a9f12cf3ea37ea38d1d7ca07a67073739cc96038775c
5
5
  SHA512:
6
- metadata.gz: 3a6efa5f3fbac309a6df73405f281deaaf4a577de3d22466e04e2a8587af59dc418e99c032387f5cf00d604da2d43cedfaa745f63589ae39f8edba685f9ab5b9
7
- data.tar.gz: 390d01607fcf6ae24852758a50f4f174b90c4d59f5b008c77c60108540a9d58c65917a36242ce495430fc7bfe38bdd58a4be050d106ebbb4c7ad6a3ea7d2104e
6
+ metadata.gz: 2c2b4f67ecaf2f47344635cf3d16cbc8ab8821e10cd24966ff708baaa8c35c6a71bdb6a76d0eaf9415596f6d05c8c5b04c57115fede5bd6f4a0b4a1743e4ebc9
7
+ data.tar.gz: 712feeb618cea02bbaf17711a8c292f1670ef8c62974e2d3c706af88a31b27872afe139e7fc409f1da9800021035544736f2754970b4817234fabdf0190b113e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [0.68.1](https://github.com/applandinc/appmap-ruby/compare/v0.68.0...v0.68.1) (2021-11-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Support new style of `functions` syntax in appmap.yml ([dca327c](https://github.com/applandinc/appmap-ruby/commit/dca327c98db1bddf849056995541306a5fc07eea))
7
+
1
8
  # [0.68.0](https://github.com/applandinc/appmap-ruby/compare/v0.67.1...v0.68.0) (2021-11-05)
2
9
 
3
10
 
data/lib/appmap/config.rb CHANGED
@@ -366,7 +366,7 @@ module AppMap
366
366
  # hook config.
367
367
  declare_hook(hook_decl)
368
368
  end
369
- end
369
+ end.flatten
370
370
  end
371
371
 
372
372
  config_params[:packages] = \
@@ -3,7 +3,7 @@
3
3
  module AppMap
4
4
  URL = 'https://github.com/applandinc/appmap-ruby'
5
5
 
6
- VERSION = '0.68.0'
6
+ VERSION = '0.68.1'
7
7
 
8
8
  APPMAP_FORMAT_VERSION = '1.5.1'
9
9
 
data/spec/config_spec.rb CHANGED
@@ -11,6 +11,10 @@ describe AppMap::Config, docker: false do
11
11
  functions: [
12
12
  {
13
13
  name: 'pkg/cls#fn',
14
+ },
15
+ {
16
+ methods: ['cls#new_fn'],
17
+ path: 'pkg'
14
18
  }
15
19
  ]
16
20
  }.deep_stringify_keys!
@@ -64,6 +68,15 @@ describe AppMap::Config, docker: false do
64
68
  "fn"
65
69
  ]
66
70
  }
71
+ },
72
+ {
73
+ "cls": "cls",
74
+ "target_methods": {
75
+ "package": "pkg",
76
+ "method_names": [
77
+ "new_fn"
78
+ ]
79
+ }
67
80
  }
68
81
  ],
69
82
  "builtin_hooks": {
@@ -195,6 +208,12 @@ describe AppMap::Config, docker: false do
195
208
  "method_names": [
196
209
  "fn"
197
210
  ]
211
+ },
212
+ {
213
+ "package": "pkg",
214
+ "method_names": [
215
+ "new_fn"
216
+ ]
198
217
  }
199
218
  ],
200
219
  "ActiveSupport::Callbacks::CallbackSequence": [
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.68.0
4
+ version: 0.68.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Gilpin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-05 00:00:00.000000000 Z
11
+ date: 2021-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport