appmap 0.82.0 → 0.83.2

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: 9823b1057cc7274ca130a8cfd86983fa837e340563024dce3363aa4f79b2ef88
4
- data.tar.gz: fdf4e2dc117b62626e4a3b844505bc8d73119ca221159362a9ba822c5e64b56a
3
+ metadata.gz: f4cabea9f63794eb3d3efea45ec01fb05aa1437cccb419d87695b6b1877cd0b8
4
+ data.tar.gz: e7ea1f1b85a0ad31de59838c3e8a6c69ba4cff6e61dbbca3cad9478b4fc3ee9b
5
5
  SHA512:
6
- metadata.gz: e7b445107174000b6e01c04bc75ffcb5e46457f458949a354d6a455e721f21c5592279018f0eb3ba8bf4f3f476c47db9196d14bc6a8d629e5715b02c535f31c9
7
- data.tar.gz: cdaa148278c0c6c3289e488332e280eac5b786728bd27f514a2f5e38bc01b2eaeb19f837cf74f251987402e10fc083de77c170abf5360145fef3d6c23d0955a7
6
+ metadata.gz: 3d1b69fb940df595bcb7dba1adb9ea813073b2d6a00ffdf7be2be9eafe2e8567a0fe5e2f8d305130c5e483dec9b5812faa3800fe5bdebc39c20f532fd7ed0d3b
7
+ data.tar.gz: 4830ed50c519739c855d32eda77db1e6bf873f6cfc67d7a85b6abfcf0a321bd1dcef7f19af5578a58e352af752ad5bd3523ce5779ddc40a19aadb5cbe76b93c3
data/CHANGELOG.md CHANGED
@@ -1,3 +1,25 @@
1
+ ## [0.83.2](https://github.com/applandinc/appmap-ruby/compare/v0.83.1...v0.83.2) (2022-05-11)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Only warn if Hook::LOG is true ([0ffd29e](https://github.com/applandinc/appmap-ruby/commit/0ffd29ea3a49d70af64193250c633668eb45c9ab))
7
+
8
+ ## [0.83.1](https://github.com/applandinc/appmap-ruby/compare/v0.83.0...v0.83.1) (2022-05-05)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * Allow appmap_dir, language and additional properties ([a3bb87c](https://github.com/applandinc/appmap-ruby/commit/a3bb87cb4a87d00a7196f21c45dfcaaf6502e014))
14
+
15
+ # [0.83.0](https://github.com/applandinc/appmap-ruby/compare/v0.82.0...v0.83.0) (2022-04-29)
16
+
17
+
18
+ ### Features
19
+
20
+ * #before_setup is lang.eval.safe and deserialize.safe ([cf03641](https://github.com/applandinc/appmap-ruby/commit/cf03641dacc1c50aa8ec9803e27936df06acf592))
21
+ * pandoc-ruby is system.exec.safe ([2b3ec8e](https://github.com/applandinc/appmap-ruby/commit/2b3ec8ecc762b1209dc070bc5dc4ec5f33d7eec9))
22
+
1
23
  # [0.82.0](https://github.com/applandinc/appmap-ruby/compare/v0.81.1...v0.82.0) (2022-04-27)
2
24
 
3
25
 
data/config-schema.yml CHANGED
@@ -1,10 +1,14 @@
1
1
  type: object
2
- additionalProperties: false
2
+ additionalProperties: true
3
3
  required:
4
4
  - name
5
5
  properties:
6
6
  name:
7
7
  type: string
8
+ language:
9
+ type: string
10
+ appmap_dir:
11
+ type: string
8
12
  packages:
9
13
  type: array
10
14
  items:
@@ -19,17 +19,6 @@
19
19
  require_name: ruby
20
20
  label: lang.eval
21
21
  handler_class: AppMap::Handler::Eval
22
- # TODO: eval does not happen in the right context, and therefore any new constants
23
- # which are defined are placed on the wrong module/class.
24
- # - Binding#eval
25
- # - BasicObject#instance_eval
26
- # These methods cannot be hooked as far as I can tell.
27
- # Why? When calling one of these functions, the context at the point of
28
- # definition is used. It's not possible to bind class_eval to a new context.
29
- # - Module#class_eval
30
- # - Module#module_eval
31
- # require_name: ruby
32
- # label: lang.eval
33
22
  - methods:
34
23
  - IO#popen
35
24
  - Kernel#exec
@@ -49,3 +49,7 @@
49
49
  label: mvc.render
50
50
  handler_class: AppMap::Handler::Rails::RenderHandler
51
51
  require_name: action_controller
52
+ - method: ActionDispatch::Integration::Runner#before_setup
53
+ labels:
54
+ - deserialize.safe
55
+ - lang.eval.safe
@@ -0,0 +1,3 @@
1
+ - method: PandocRuby#convert
2
+ labels:
3
+ - system.exec.safe
@@ -75,7 +75,7 @@ module AppMap
75
75
 
76
76
  return cls if cls
77
77
 
78
- warn "#{hook_method.name} not found on #{hook_class}"
78
+ warn "#{hook_method.name} not found on #{hook_class}" if Hook::LOG
79
79
  end
80
80
 
81
81
  def gettime
@@ -3,7 +3,7 @@
3
3
  module AppMap
4
4
  URL = 'https://github.com/applandinc/appmap-ruby'
5
5
 
6
- VERSION = '0.82.0'
6
+ VERSION = '0.83.2'
7
7
 
8
8
  APPMAP_FORMAT_VERSION = '1.7.0'
9
9
 
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.82.0
4
+ version: 0.83.2
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-04-27 00:00:00.000000000 Z
11
+ date: 2022-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -385,6 +385,7 @@ files:
385
385
  - lib/appmap/gem_hooks/activesupport.yml
386
386
  - lib/appmap/gem_hooks/cancancan.yml
387
387
  - lib/appmap/gem_hooks/devise.yml
388
+ - lib/appmap/gem_hooks/pandoc-ruby.yml
388
389
  - lib/appmap/gem_hooks/rails.yml
389
390
  - lib/appmap/gem_hooks/railties.yml
390
391
  - lib/appmap/gem_hooks/resque.yml