appmap 0.61.1 → 0.62.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +6 -16
  3. data/ARCHITECTURE.md +68 -0
  4. data/CHANGELOG.md +15 -0
  5. data/exe/appmap-index +7 -0
  6. data/lib/appmap.rb +2 -0
  7. data/lib/appmap/agent.rb +0 -11
  8. data/lib/appmap/command/index.rb +25 -0
  9. data/lib/appmap/command/inspect.rb +0 -1
  10. data/lib/appmap/config.rb +8 -1
  11. data/lib/appmap/depends.rb +2 -0
  12. data/lib/appmap/depends/api.rb +84 -0
  13. data/lib/appmap/depends/configuration.rb +59 -0
  14. data/lib/appmap/depends/node_cli.rb +44 -0
  15. data/lib/appmap/depends/rake_tasks.rb +58 -0
  16. data/lib/appmap/depends/test_file_inspector.rb +89 -0
  17. data/lib/appmap/depends/test_runner.rb +106 -0
  18. data/lib/appmap/depends/util.rb +34 -0
  19. data/lib/appmap/version.rb +1 -1
  20. data/package.json +1 -1
  21. data/spec/depends/api_spec.rb +184 -0
  22. data/spec/depends/spec_helper.rb +27 -0
  23. data/spec/fixtures/depends/.gitignore +2 -0
  24. data/spec/fixtures/depends/app/controllers/api/api_keys_controller.rb +2 -0
  25. data/spec/fixtures/depends/app/controllers/organizations_controller.rb +2 -0
  26. data/spec/fixtures/depends/app/models/api_key.rb +2 -0
  27. data/spec/fixtures/depends/app/models/configuration.rb +2 -0
  28. data/spec/fixtures/depends/app/models/show.rb +2 -0
  29. data/spec/fixtures/depends/app/models/user.rb +2 -0
  30. data/spec/fixtures/depends/revoke_api_key.appmap.json +901 -0
  31. data/spec/fixtures/depends/spec/actual_rspec_test.rb +7 -0
  32. data/spec/fixtures/depends/spec/api_spec.rb +2 -0
  33. data/spec/fixtures/depends/spec/user_spec.rb +2 -0
  34. data/spec/fixtures/depends/test/actual_minitest_test.rb +5 -0
  35. data/spec/fixtures/depends/user_page_scenario.appmap.json +1776 -0
  36. data/spec/fixtures/rails5_users_app/create_app +3 -3
  37. data/spec/fixtures/rails6_users_app/create_app +3 -3
  38. data/spec/fixtures/rails6_users_app/lib/tasks/appmap.rake +11 -1
  39. data/test/test_helper.rb +3 -0
  40. data/yarn.lock +23 -9
  41. metadata +29 -2
@@ -0,0 +1,7 @@
1
+ # This test has actual behavior because it's used to test the spec runner
2
+
3
+ describe Object do
4
+ it 'to_s returns a representation of the object' do
5
+ expect(subject.to_s).to be_instance_of(String)
6
+ end
7
+ end
@@ -0,0 +1,2 @@
1
+ # dummy
2
+ # This file is just here so it can be touched and trigger re-test.
@@ -0,0 +1,2 @@
1
+ # dummy
2
+ # This file is just here so it can be touched and trigger re-test.
@@ -0,0 +1,5 @@
1
+ class ActualMinitestTest < Minitest::Test
2
+ def test_object_to_s
3
+ expect(subject.to_s).to be_instance_of(String)
4
+ end
5
+ end
@@ -0,0 +1,1776 @@
1
+ {
2
+ "version": "1.3",
3
+ "metadata": {
4
+ "app": "appland/AppLand",
5
+ "language": {
6
+ "name": "ruby",
7
+ "engine": "ruby",
8
+ "version": "2.6.6"
9
+ },
10
+ "client": {
11
+ "name": "appmap",
12
+ "url": "https://github.com/applandinc/appmap-ruby",
13
+ "version": "0.37.2"
14
+ },
15
+ "frameworks": [
16
+ {
17
+ "name": "rails",
18
+ "version": "5.2.4.2"
19
+ },
20
+ {
21
+ "name": "rspec",
22
+ "version": "3.9.1"
23
+ }
24
+ ],
25
+ "git": {
26
+ "repository": "git@github.com:applandinc/appland.git",
27
+ "branch": "add-notifications",
28
+ "commit": "2e7738908480aeefab818ddd17c91dff57db1ab0",
29
+ "status_code": [],
30
+ "git_last_annotated_tag": null,
31
+ "git_last_tag": "v0.13.0",
32
+ "git_commits_since_last_annotated_tag": null,
33
+ "git_commits_since_last_tag": 0
34
+ },
35
+ "name": "User page for an admin user organization list has a link to create an organization",
36
+ "feature": "User page for an admin user",
37
+ "feature_group": "User page",
38
+ "recorder": {
39
+ "name": "rspec"
40
+ },
41
+ "source_location": "spec/fixtures/depends/spec/user_spec.rb",
42
+ "test_status": "failed",
43
+ "fingerprints": [
44
+ {
45
+ "appmap_digest": "4a2f6e28befc256c3cdc3ad05f3e51156e0fb805300f095a74f7719cc2bcb650",
46
+ "canonicalization_algorithm": "classDependencies",
47
+ "digest": "123a712126f303bbee3204112d808efb229d9a581c7c70ac1307bf8c95c80555",
48
+ "fingerprint_algorithm": "sha256"
49
+ },
50
+ {
51
+ "appmap_digest": "4a2f6e28befc256c3cdc3ad05f3e51156e0fb805300f095a74f7719cc2bcb650",
52
+ "canonicalization_algorithm": "classes",
53
+ "digest": "db03c69ae120bfac6812c1d6b6f0037a86e3477795f3796c7d3a099716f15558",
54
+ "fingerprint_algorithm": "sha256"
55
+ },
56
+ {
57
+ "appmap_digest": "4a2f6e28befc256c3cdc3ad05f3e51156e0fb805300f095a74f7719cc2bcb650",
58
+ "canonicalization_algorithm": "httpClientRequests",
59
+ "digest": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945",
60
+ "fingerprint_algorithm": "sha256"
61
+ },
62
+ {
63
+ "appmap_digest": "4a2f6e28befc256c3cdc3ad05f3e51156e0fb805300f095a74f7719cc2bcb650",
64
+ "canonicalization_algorithm": "httpServerRequests",
65
+ "digest": "48915b366ebe761451283900edd502ed786229f6a2336ba953c8fad0dd40d070",
66
+ "fingerprint_algorithm": "sha256"
67
+ },
68
+ {
69
+ "appmap_digest": "4a2f6e28befc256c3cdc3ad05f3e51156e0fb805300f095a74f7719cc2bcb650",
70
+ "canonicalization_algorithm": "info",
71
+ "digest": "e09798c3872822cd6aee88e0de2b54d06e05bf1f4c1bb3c21ca5d422e1938980",
72
+ "fingerprint_algorithm": "sha256"
73
+ },
74
+ {
75
+ "appmap_digest": "4a2f6e28befc256c3cdc3ad05f3e51156e0fb805300f095a74f7719cc2bcb650",
76
+ "canonicalization_algorithm": "labels",
77
+ "digest": "7cacc4134df39c297b9e0bf2b39cab4ad953461415a007fd8bfc5e932e7313fa",
78
+ "fingerprint_algorithm": "sha256"
79
+ },
80
+ {
81
+ "appmap_digest": "4a2f6e28befc256c3cdc3ad05f3e51156e0fb805300f095a74f7719cc2bcb650",
82
+ "canonicalization_algorithm": "packageDependencies",
83
+ "digest": "774c0bfa34cfc801226bb5b56eb149cdf1fbe57fb6a3580cb4ffeb3513448206",
84
+ "fingerprint_algorithm": "sha256"
85
+ },
86
+ {
87
+ "appmap_digest": "4a2f6e28befc256c3cdc3ad05f3e51156e0fb805300f095a74f7719cc2bcb650",
88
+ "canonicalization_algorithm": "packages",
89
+ "digest": "3c5a78bd5145121457a6f79ac33c15ec178880dd4104da892ef942e4945905a1",
90
+ "fingerprint_algorithm": "sha256"
91
+ },
92
+ {
93
+ "appmap_digest": "4a2f6e28befc256c3cdc3ad05f3e51156e0fb805300f095a74f7719cc2bcb650",
94
+ "canonicalization_algorithm": "sqlNormalized",
95
+ "digest": "f42217f94b7cbe624dea39ee0289db56da68ebf9cd0a7bb74f53243d7ecd8a63",
96
+ "fingerprint_algorithm": "sha256"
97
+ },
98
+ {
99
+ "appmap_digest": "4a2f6e28befc256c3cdc3ad05f3e51156e0fb805300f095a74f7719cc2bcb650",
100
+ "canonicalization_algorithm": "sqlTables",
101
+ "digest": "155dfea9984015042d2dbb19f93b1e983a068c6946247866d578c2a40dd9a909",
102
+ "fingerprint_algorithm": "sha256"
103
+ },
104
+ {
105
+ "appmap_digest": "4a2f6e28befc256c3cdc3ad05f3e51156e0fb805300f095a74f7719cc2bcb650",
106
+ "canonicalization_algorithm": "trace",
107
+ "digest": "5bccf2aaf6b511d84e297cd882d998927bfdcfb24b2baa63c897a87ab08878cd",
108
+ "fingerprint_algorithm": "sha256"
109
+ },
110
+ {
111
+ "appmap_digest": "4a2f6e28befc256c3cdc3ad05f3e51156e0fb805300f095a74f7719cc2bcb650",
112
+ "canonicalization_algorithm": "update",
113
+ "digest": "2ab423434b33202dc6d67a42db9249a87ad52b4dec60489a996eb8400cd410da",
114
+ "fingerprint_algorithm": "sha256"
115
+ }
116
+ ]
117
+ },
118
+ "classMap": [
119
+ {
120
+ "name": "json",
121
+ "type": "package",
122
+ "children": [
123
+ {
124
+ "name": "JSON",
125
+ "type": "class",
126
+ "children": [
127
+ {
128
+ "name": "Ext",
129
+ "type": "class",
130
+ "children": [
131
+ {
132
+ "name": "Generator",
133
+ "type": "class",
134
+ "children": [
135
+ {
136
+ "name": "State",
137
+ "type": "class",
138
+ "children": [
139
+ {
140
+ "name": "generate",
141
+ "type": "function",
142
+ "location": "JSON::Ext::Generator::State#generate",
143
+ "static": false,
144
+ "labels": [
145
+ "serialization",
146
+ "json"
147
+ ]
148
+ }
149
+ ]
150
+ }
151
+ ]
152
+ },
153
+ {
154
+ "name": "Parser",
155
+ "type": "class",
156
+ "children": [
157
+ {
158
+ "name": "parse",
159
+ "type": "function",
160
+ "location": "JSON::Ext::Parser#parse",
161
+ "static": false,
162
+ "labels": [
163
+ "serialization",
164
+ "json"
165
+ ]
166
+ }
167
+ ]
168
+ }
169
+ ]
170
+ }
171
+ ]
172
+ }
173
+ ]
174
+ },
175
+ {
176
+ "name": "net/http",
177
+ "type": "package",
178
+ "children": [
179
+ {
180
+ "name": "Net",
181
+ "type": "class",
182
+ "children": [
183
+ {
184
+ "name": "HTTP",
185
+ "type": "class",
186
+ "children": [
187
+ {
188
+ "name": "request",
189
+ "type": "function",
190
+ "location": "/Users/kgilpin/source/appland/appmap-ruby/lib/appmap/hook/method.rb:49",
191
+ "static": false,
192
+ "labels": [
193
+ "http",
194
+ "io"
195
+ ]
196
+ },
197
+ {
198
+ "name": "request",
199
+ "type": "function",
200
+ "location": "/Users/kgilpin/.rbenv/versions/2.6.6/lib/ruby/2.6.0/net/http.rb:1468",
201
+ "static": false,
202
+ "labels": [
203
+ "http",
204
+ "io"
205
+ ]
206
+ }
207
+ ]
208
+ }
209
+ ]
210
+ }
211
+ ]
212
+ },
213
+ {
214
+ "name": "openssl",
215
+ "type": "package",
216
+ "children": [
217
+ {
218
+ "name": "OpenSSL",
219
+ "type": "class",
220
+ "children": [
221
+ {
222
+ "name": "Cipher",
223
+ "type": "class",
224
+ "children": [
225
+ {
226
+ "name": "decrypt",
227
+ "type": "function",
228
+ "location": "OpenSSL::Cipher#decrypt",
229
+ "static": false,
230
+ "labels": [
231
+ "security",
232
+ "crypto"
233
+ ]
234
+ },
235
+ {
236
+ "name": "final",
237
+ "type": "function",
238
+ "location": "OpenSSL::Cipher#final",
239
+ "static": false,
240
+ "labels": [
241
+ "security",
242
+ "crypto"
243
+ ]
244
+ },
245
+ {
246
+ "name": "encrypt",
247
+ "type": "function",
248
+ "location": "OpenSSL::Cipher#encrypt",
249
+ "static": false,
250
+ "labels": [
251
+ "security",
252
+ "crypto"
253
+ ]
254
+ }
255
+ ]
256
+ }
257
+ ]
258
+ },
259
+ {
260
+ "name": "Digest",
261
+ "type": "class",
262
+ "children": [
263
+ {
264
+ "name": "Instance",
265
+ "type": "class",
266
+ "children": [
267
+ {
268
+ "name": "digest",
269
+ "type": "function",
270
+ "location": "Digest::Instance#digest",
271
+ "static": false,
272
+ "labels": [
273
+ "security",
274
+ "crypto"
275
+ ]
276
+ }
277
+ ]
278
+ }
279
+ ]
280
+ }
281
+ ]
282
+ },
283
+ {
284
+ "name": "app/models",
285
+ "type": "package",
286
+ "children": [
287
+ {
288
+ "name": "User",
289
+ "type": "class",
290
+ "children": [
291
+ {
292
+ "name": "find_by_id!",
293
+ "type": "function",
294
+ "location": "app/models/user.rb:31",
295
+ "static": true
296
+ },
297
+ {
298
+ "name": "Show",
299
+ "type": "class",
300
+ "children": [
301
+ {
302
+ "name": "accept_eula?",
303
+ "type": "function",
304
+ "location": "app/models/user.rb:109",
305
+ "static": false
306
+ }
307
+ ]
308
+ }
309
+ ]
310
+ },
311
+ {
312
+ "name": "Configuration",
313
+ "type": "class",
314
+ "children": [
315
+ {
316
+ "name": "find",
317
+ "type": "function",
318
+ "location": "app/models/configuration.rb:8",
319
+ "static": true
320
+ },
321
+ {
322
+ "name": "attributes=",
323
+ "type": "function",
324
+ "location": "app/models/configuration.rb:33",
325
+ "static": false
326
+ },
327
+ {
328
+ "name": "attributes",
329
+ "type": "function",
330
+ "location": "app/models/configuration.rb:22",
331
+ "static": false
332
+ }
333
+ ]
334
+ }
335
+ ]
336
+ },
337
+ {
338
+ "name": "app/controllers",
339
+ "type": "package",
340
+ "children": [
341
+ {
342
+ "name": "OrganizationsController",
343
+ "type": "class",
344
+ "children": [
345
+ {
346
+ "name": "new",
347
+ "type": "function",
348
+ "location": "app/controllers/organizations_controller.rb:11",
349
+ "static": false
350
+ }
351
+ ]
352
+ }
353
+ ]
354
+ }
355
+ ],
356
+ "events": [
357
+ {
358
+ "id": 1,
359
+ "event": "call",
360
+ "thread_id": 70301203546120,
361
+ "defined_class": "JSON::Ext::Generator::State",
362
+ "method_id": "generate",
363
+ "path": "JSON::Ext::Generator::State#generate",
364
+ "static": false,
365
+ "parameters": [
366
+ {
367
+ "name": "arg",
368
+ "class": "Hash",
369
+ "object_id": 70301205941280,
370
+ "value": "{:using=>\"xpath\", :value=>\".//a[./@href][((((./@id = 'Create a new organization') or (normalize-spac",
371
+ "kind": "req"
372
+ }
373
+ ],
374
+ "receiver": {
375
+ "class": "JSON::Ext::Generator::State",
376
+ "object_id": 70301205946080,
377
+ "value": "#<JSON::Ext::Generator::State:0x00007fe08cd0bdc0>"
378
+ }
379
+ },
380
+ {
381
+ "id": 2,
382
+ "event": "return",
383
+ "thread_id": 70301203546120,
384
+ "parent_id": 1,
385
+ "elapsed": 0.000025,
386
+ "return_value": {
387
+ "class": "String",
388
+ "value": "{\"using\":\"xpath\",\"value\":\".//a[./@href][((((./@id = 'Create a new organization') or (normalize-space",
389
+ "object_id": 70301205944080
390
+ }
391
+ },
392
+ {
393
+ "id": 3,
394
+ "event": "call",
395
+ "thread_id": 70301203546120,
396
+ "defined_class": "Net::HTTP",
397
+ "method_id": "request",
398
+ "path": "/Users/kgilpin/source/appland/appmap-ruby/lib/appmap/hook/method.rb",
399
+ "lineno": 49,
400
+ "static": false,
401
+ "parameters": [
402
+ {
403
+ "name": "args",
404
+ "class": "Array",
405
+ "object_id": 70301205939560,
406
+ "value": "[#<Net::HTTP::Post POST>]",
407
+ "kind": "rest"
408
+ },
409
+ {
410
+ "name": "block",
411
+ "class": "NilClass",
412
+ "object_id": 8,
413
+ "value": null,
414
+ "kind": "block"
415
+ }
416
+ ],
417
+ "receiver": {
418
+ "class": "Net::HTTP",
419
+ "object_id": 70301205235520,
420
+ "value": "Net::HTTP[127.0.0.1:9515]"
421
+ }
422
+ },
423
+ {
424
+ "id": 4,
425
+ "event": "call",
426
+ "thread_id": 70301203546120,
427
+ "defined_class": "Net::HTTP",
428
+ "method_id": "request",
429
+ "path": "/Users/kgilpin/.rbenv/versions/2.6.6/lib/ruby/2.6.0/net/http.rb",
430
+ "lineno": 1468,
431
+ "static": false,
432
+ "parameters": [
433
+ {
434
+ "name": "req",
435
+ "class": "Net::HTTP::Post",
436
+ "object_id": 70301205943000,
437
+ "value": "Net::HTTP::Post[POST /session/a6781fa7e36446596e111a62fa53c68f/elements]",
438
+ "kind": "req"
439
+ },
440
+ {
441
+ "name": "body",
442
+ "class": "NilClass",
443
+ "object_id": 8,
444
+ "value": null,
445
+ "kind": "opt"
446
+ },
447
+ {
448
+ "name": "block",
449
+ "class": "NilClass",
450
+ "object_id": 8,
451
+ "value": null,
452
+ "kind": "block"
453
+ }
454
+ ],
455
+ "receiver": {
456
+ "class": "Net::HTTP",
457
+ "object_id": 70301205235520,
458
+ "value": "Net::HTTP[127.0.0.1:9515]"
459
+ }
460
+ },
461
+ {
462
+ "id": 5,
463
+ "event": "return",
464
+ "thread_id": 70301203546120,
465
+ "parent_id": 4,
466
+ "elapsed": 0.007965,
467
+ "return_value": {
468
+ "class": "Net::HTTPOK",
469
+ "value": "#<Net::HTTPOK:0x00007fe08cd17210>",
470
+ "object_id": 70301205969160
471
+ }
472
+ },
473
+ {
474
+ "id": 6,
475
+ "event": "return",
476
+ "thread_id": 70301203546120,
477
+ "parent_id": 3,
478
+ "elapsed": 0.008069,
479
+ "return_value": {
480
+ "class": "Net::HTTPOK",
481
+ "value": "#<Net::HTTPOK:0x00007fe08cd17210>",
482
+ "object_id": 70301205969160
483
+ }
484
+ },
485
+ {
486
+ "id": 7,
487
+ "event": "call",
488
+ "thread_id": 70301203546120,
489
+ "defined_class": "JSON::Ext::Parser",
490
+ "method_id": "parse",
491
+ "path": "JSON::Ext::Parser#parse",
492
+ "static": false,
493
+ "parameters": [],
494
+ "receiver": {
495
+ "class": "JSON::Ext::Parser",
496
+ "object_id": 70301222477120,
497
+ "value": "#<JSON::Ext::Parser:0x00007fe08ec93a80>"
498
+ }
499
+ },
500
+ {
501
+ "id": 8,
502
+ "event": "return",
503
+ "thread_id": 70301203546120,
504
+ "parent_id": 7,
505
+ "elapsed": 0.00001,
506
+ "return_value": {
507
+ "class": "Hash",
508
+ "value": "{\"value\"=>[{\"element-6066-11e4-a52e-4f735466cecf\"=>\"e3e572c1-ad74-4ec0-832f-04bf16149693\"}]}",
509
+ "object_id": 70301222475540
510
+ }
511
+ },
512
+ {
513
+ "id": 9,
514
+ "event": "call",
515
+ "thread_id": 70301203546120,
516
+ "defined_class": "JSON::Ext::Generator::State",
517
+ "method_id": "generate",
518
+ "path": "JSON::Ext::Generator::State#generate",
519
+ "static": false,
520
+ "parameters": [
521
+ {
522
+ "name": "arg",
523
+ "class": "Hash",
524
+ "object_id": 70301222471640,
525
+ "value": "{:script=>\"return ((function(){function d(t,e,n){function r(t){var e=x(t);if(0<e.height&&0<e.width)r",
526
+ "kind": "req"
527
+ }
528
+ ],
529
+ "receiver": {
530
+ "class": "JSON::Ext::Generator::State",
531
+ "object_id": 70301279887220,
532
+ "value": "#<JSON::Ext::Generator::State:0x00007fe095a13ee8>"
533
+ }
534
+ },
535
+ {
536
+ "id": 10,
537
+ "event": "call",
538
+ "thread_id": 70301203546120,
539
+ "defined_class": "JSON::Ext::Generator::State",
540
+ "method_id": "generate",
541
+ "path": "JSON::Ext::Generator::State#generate",
542
+ "static": false,
543
+ "parameters": [
544
+ {
545
+ "name": "arg",
546
+ "class": "Hash",
547
+ "object_id": 70301279884560,
548
+ "value": "{\"element-6066-11e4-a52e-4f735466cecf\"=>\"e3e572c1-ad74-4ec0-832f-04bf16149693\"}",
549
+ "kind": "req"
550
+ }
551
+ ],
552
+ "receiver": {
553
+ "class": "JSON::Ext::Generator::State",
554
+ "object_id": 70301279884540,
555
+ "value": "#<JSON::Ext::Generator::State:0x00007fe095a129f8>"
556
+ }
557
+ },
558
+ {
559
+ "id": 11,
560
+ "event": "return",
561
+ "thread_id": 70301203546120,
562
+ "parent_id": 10,
563
+ "elapsed": 0.000008,
564
+ "return_value": {
565
+ "class": "String",
566
+ "value": "{\"element-6066-11e4-a52e-4f735466cecf\":\"e3e572c1-ad74-4ec0-832f-04bf16149693\"}",
567
+ "object_id": 70301279882220
568
+ }
569
+ },
570
+ {
571
+ "id": 12,
572
+ "event": "return",
573
+ "thread_id": 70301203546120,
574
+ "parent_id": 9,
575
+ "elapsed": 0.000088,
576
+ "return_value": {
577
+ "class": "String",
578
+ "value": "{\"script\":\"return ((function(){function d(t,e,n){function r(t){var e=x(t);if(0<e.height&&0<e.width)r",
579
+ "object_id": 70301279881800
580
+ }
581
+ },
582
+ {
583
+ "id": 13,
584
+ "event": "call",
585
+ "thread_id": 70301203546120,
586
+ "defined_class": "Net::HTTP",
587
+ "method_id": "request",
588
+ "path": "/Users/kgilpin/source/appland/appmap-ruby/lib/appmap/hook/method.rb",
589
+ "lineno": 49,
590
+ "static": false,
591
+ "parameters": [
592
+ {
593
+ "name": "args",
594
+ "class": "Array",
595
+ "object_id": 70301226375960,
596
+ "value": "[#<Net::HTTP::Post POST>]",
597
+ "kind": "rest"
598
+ },
599
+ {
600
+ "name": "block",
601
+ "class": "NilClass",
602
+ "object_id": 8,
603
+ "value": null,
604
+ "kind": "block"
605
+ }
606
+ ],
607
+ "receiver": {
608
+ "class": "Net::HTTP",
609
+ "object_id": 70301205235520,
610
+ "value": "Net::HTTP[127.0.0.1:9515]"
611
+ }
612
+ },
613
+ {
614
+ "id": 14,
615
+ "event": "call",
616
+ "thread_id": 70301203546120,
617
+ "defined_class": "Net::HTTP",
618
+ "method_id": "request",
619
+ "path": "/Users/kgilpin/.rbenv/versions/2.6.6/lib/ruby/2.6.0/net/http.rb",
620
+ "lineno": 1468,
621
+ "static": false,
622
+ "parameters": [
623
+ {
624
+ "name": "req",
625
+ "class": "Net::HTTP::Post",
626
+ "object_id": 70301279880720,
627
+ "value": "Net::HTTP::Post[POST /session/a6781fa7e36446596e111a62fa53c68f/execute/sync]",
628
+ "kind": "req"
629
+ },
630
+ {
631
+ "name": "body",
632
+ "class": "NilClass",
633
+ "object_id": 8,
634
+ "value": null,
635
+ "kind": "opt"
636
+ },
637
+ {
638
+ "name": "block",
639
+ "class": "NilClass",
640
+ "object_id": 8,
641
+ "value": null,
642
+ "kind": "block"
643
+ }
644
+ ],
645
+ "receiver": {
646
+ "class": "Net::HTTP",
647
+ "object_id": 70301205235520,
648
+ "value": "Net::HTTP[127.0.0.1:9515]"
649
+ }
650
+ },
651
+ {
652
+ "id": 15,
653
+ "event": "return",
654
+ "thread_id": 70301203546120,
655
+ "parent_id": 14,
656
+ "elapsed": 0.00345,
657
+ "return_value": {
658
+ "class": "Net::HTTPOK",
659
+ "value": "#<Net::HTTPOK:0x00007fe098d49c68>",
660
+ "object_id": 70301306736180
661
+ }
662
+ },
663
+ {
664
+ "id": 16,
665
+ "event": "return",
666
+ "thread_id": 70301203546120,
667
+ "parent_id": 13,
668
+ "elapsed": 0.003546,
669
+ "return_value": {
670
+ "class": "Net::HTTPOK",
671
+ "value": "#<Net::HTTPOK:0x00007fe098d49c68>",
672
+ "object_id": 70301306736180
673
+ }
674
+ },
675
+ {
676
+ "id": 17,
677
+ "event": "call",
678
+ "thread_id": 70301203546120,
679
+ "defined_class": "JSON::Ext::Parser",
680
+ "method_id": "parse",
681
+ "path": "JSON::Ext::Parser#parse",
682
+ "static": false,
683
+ "parameters": [],
684
+ "receiver": {
685
+ "class": "JSON::Ext::Parser",
686
+ "object_id": 70301306771140,
687
+ "value": "#<JSON::Ext::Parser:0x00007fe098d5ad88>"
688
+ }
689
+ },
690
+ {
691
+ "id": 18,
692
+ "event": "return",
693
+ "thread_id": 70301203546120,
694
+ "parent_id": 17,
695
+ "elapsed": 0.000007,
696
+ "return_value": {
697
+ "class": "Hash",
698
+ "value": "{\"value\"=>true}",
699
+ "object_id": 70301306769840
700
+ }
701
+ },
702
+ {
703
+ "id": 19,
704
+ "event": "call",
705
+ "thread_id": 70301203546120,
706
+ "defined_class": "JSON::Ext::Generator::State",
707
+ "method_id": "generate",
708
+ "path": "JSON::Ext::Generator::State#generate",
709
+ "static": false,
710
+ "parameters": [
711
+ {
712
+ "name": "arg",
713
+ "class": "Hash",
714
+ "object_id": 70301306768760,
715
+ "value": "{:script=>\"return arguments[0].matches(':disabled, select:disabled *')\", :args=>[#<Selenium::WebDriv",
716
+ "kind": "req"
717
+ }
718
+ ],
719
+ "receiver": {
720
+ "class": "JSON::Ext::Generator::State",
721
+ "object_id": 70301306767780,
722
+ "value": "#<JSON::Ext::Generator::State:0x00007fe098d59348>"
723
+ }
724
+ },
725
+ {
726
+ "id": 20,
727
+ "event": "call",
728
+ "thread_id": 70301203546120,
729
+ "defined_class": "JSON::Ext::Generator::State",
730
+ "method_id": "generate",
731
+ "path": "JSON::Ext::Generator::State#generate",
732
+ "static": false,
733
+ "parameters": [
734
+ {
735
+ "name": "arg",
736
+ "class": "Hash",
737
+ "object_id": 70301306805180,
738
+ "value": "{\"element-6066-11e4-a52e-4f735466cecf\"=>\"e3e572c1-ad74-4ec0-832f-04bf16149693\"}",
739
+ "kind": "req"
740
+ }
741
+ ],
742
+ "receiver": {
743
+ "class": "JSON::Ext::Generator::State",
744
+ "object_id": 70301306805160,
745
+ "value": "#<JSON::Ext::Generator::State:0x00007fe098d6b750>"
746
+ }
747
+ },
748
+ {
749
+ "id": 21,
750
+ "event": "return",
751
+ "thread_id": 70301203546120,
752
+ "parent_id": 20,
753
+ "elapsed": 0.000007,
754
+ "return_value": {
755
+ "class": "String",
756
+ "value": "{\"element-6066-11e4-a52e-4f735466cecf\":\"e3e572c1-ad74-4ec0-832f-04bf16149693\"}",
757
+ "object_id": 70301306803300
758
+ }
759
+ },
760
+ {
761
+ "id": 22,
762
+ "event": "return",
763
+ "thread_id": 70301203546120,
764
+ "parent_id": 19,
765
+ "elapsed": 0.00006,
766
+ "return_value": {
767
+ "class": "String",
768
+ "value": "{\"script\":\"return arguments[0].matches(':disabled, select:disabled *')\",\"args\":[{\"element-6066-11e4-",
769
+ "object_id": 70301306802740
770
+ }
771
+ },
772
+ {
773
+ "id": 23,
774
+ "event": "call",
775
+ "thread_id": 70301203546120,
776
+ "defined_class": "Net::HTTP",
777
+ "method_id": "request",
778
+ "path": "/Users/kgilpin/source/appland/appmap-ruby/lib/appmap/hook/method.rb",
779
+ "lineno": 49,
780
+ "static": false,
781
+ "parameters": [
782
+ {
783
+ "name": "args",
784
+ "class": "Array",
785
+ "object_id": 70301306838000,
786
+ "value": "[#<Net::HTTP::Post POST>]",
787
+ "kind": "rest"
788
+ },
789
+ {
790
+ "name": "block",
791
+ "class": "NilClass",
792
+ "object_id": 8,
793
+ "value": null,
794
+ "kind": "block"
795
+ }
796
+ ],
797
+ "receiver": {
798
+ "class": "Net::HTTP",
799
+ "object_id": 70301205235520,
800
+ "value": "Net::HTTP[127.0.0.1:9515]"
801
+ }
802
+ },
803
+ {
804
+ "id": 24,
805
+ "event": "call",
806
+ "thread_id": 70301203546120,
807
+ "defined_class": "Net::HTTP",
808
+ "method_id": "request",
809
+ "path": "/Users/kgilpin/.rbenv/versions/2.6.6/lib/ruby/2.6.0/net/http.rb",
810
+ "lineno": 1468,
811
+ "static": false,
812
+ "parameters": [
813
+ {
814
+ "name": "req",
815
+ "class": "Net::HTTP::Post",
816
+ "object_id": 70301306801560,
817
+ "value": "Net::HTTP::Post[POST /session/a6781fa7e36446596e111a62fa53c68f/execute/sync]",
818
+ "kind": "req"
819
+ },
820
+ {
821
+ "name": "body",
822
+ "class": "NilClass",
823
+ "object_id": 8,
824
+ "value": null,
825
+ "kind": "opt"
826
+ },
827
+ {
828
+ "name": "block",
829
+ "class": "NilClass",
830
+ "object_id": 8,
831
+ "value": null,
832
+ "kind": "block"
833
+ }
834
+ ],
835
+ "receiver": {
836
+ "class": "Net::HTTP",
837
+ "object_id": 70301205235520,
838
+ "value": "Net::HTTP[127.0.0.1:9515]"
839
+ }
840
+ },
841
+ {
842
+ "id": 25,
843
+ "event": "return",
844
+ "thread_id": 70301203546120,
845
+ "parent_id": 24,
846
+ "elapsed": 0.002601,
847
+ "return_value": {
848
+ "class": "Net::HTTPOK",
849
+ "value": "#<Net::HTTPOK:0x00007fe098d89ae8>",
850
+ "object_id": 70301306867060
851
+ }
852
+ },
853
+ {
854
+ "id": 26,
855
+ "event": "return",
856
+ "thread_id": 70301203546120,
857
+ "parent_id": 23,
858
+ "elapsed": 0.002683,
859
+ "return_value": {
860
+ "class": "Net::HTTPOK",
861
+ "value": "#<Net::HTTPOK:0x00007fe098d89ae8>",
862
+ "object_id": 70301306867060
863
+ }
864
+ },
865
+ {
866
+ "id": 27,
867
+ "event": "call",
868
+ "thread_id": 70301203546120,
869
+ "defined_class": "JSON::Ext::Parser",
870
+ "method_id": "parse",
871
+ "path": "JSON::Ext::Parser#parse",
872
+ "static": false,
873
+ "parameters": [],
874
+ "receiver": {
875
+ "class": "JSON::Ext::Parser",
876
+ "object_id": 70301306900200,
877
+ "value": "#<JSON::Ext::Parser:0x00007fe098d99dd0>"
878
+ }
879
+ },
880
+ {
881
+ "id": 28,
882
+ "event": "return",
883
+ "thread_id": 70301203546120,
884
+ "parent_id": 27,
885
+ "elapsed": 0.000006,
886
+ "return_value": {
887
+ "class": "Hash",
888
+ "value": "{\"value\"=>false}",
889
+ "object_id": 70301306898540
890
+ }
891
+ },
892
+ {
893
+ "id": 29,
894
+ "event": "call",
895
+ "thread_id": 70301203546120,
896
+ "defined_class": "Net::HTTP",
897
+ "method_id": "request",
898
+ "path": "/Users/kgilpin/source/appland/appmap-ruby/lib/appmap/hook/method.rb",
899
+ "lineno": 49,
900
+ "static": false,
901
+ "parameters": [
902
+ {
903
+ "name": "args",
904
+ "class": "Array",
905
+ "object_id": 70301306932600,
906
+ "value": "[#<Net::HTTP::Post POST>]",
907
+ "kind": "rest"
908
+ },
909
+ {
910
+ "name": "block",
911
+ "class": "NilClass",
912
+ "object_id": 8,
913
+ "value": null,
914
+ "kind": "block"
915
+ }
916
+ ],
917
+ "receiver": {
918
+ "class": "Net::HTTP",
919
+ "object_id": 70301205235520,
920
+ "value": "Net::HTTP[127.0.0.1:9515]"
921
+ }
922
+ },
923
+ {
924
+ "id": 30,
925
+ "event": "call",
926
+ "thread_id": 70301203546120,
927
+ "defined_class": "Net::HTTP",
928
+ "method_id": "request",
929
+ "path": "/Users/kgilpin/.rbenv/versions/2.6.6/lib/ruby/2.6.0/net/http.rb",
930
+ "lineno": 1468,
931
+ "static": false,
932
+ "parameters": [
933
+ {
934
+ "name": "req",
935
+ "class": "Net::HTTP::Post",
936
+ "object_id": 70301306936040,
937
+ "value": "Net::HTTP::Post[POST /session/a6781fa7e36446596e111a62fa53c68f/element/e3e572c1-ad74-4ec0-832f-04bf1",
938
+ "kind": "req"
939
+ },
940
+ {
941
+ "name": "body",
942
+ "class": "NilClass",
943
+ "object_id": 8,
944
+ "value": null,
945
+ "kind": "opt"
946
+ },
947
+ {
948
+ "name": "block",
949
+ "class": "NilClass",
950
+ "object_id": 8,
951
+ "value": null,
952
+ "kind": "block"
953
+ }
954
+ ],
955
+ "receiver": {
956
+ "class": "Net::HTTP",
957
+ "object_id": 70301205235520,
958
+ "value": "Net::HTTP[127.0.0.1:9515]"
959
+ }
960
+ },
961
+ {
962
+ "id": 31,
963
+ "event": "call",
964
+ "thread_id": 70301283309360,
965
+ "http_server_request": {
966
+ "request_method": "GET",
967
+ "path_info": "/organizations/new"
968
+ },
969
+ "message": [
970
+ {
971
+ "name": "_method",
972
+ "class": "String",
973
+ "value": "get",
974
+ "object_id": 70301206015280
975
+ },
976
+ {
977
+ "name": "controller",
978
+ "class": "String",
979
+ "value": "organizations",
980
+ "object_id": 70301208859520
981
+ },
982
+ {
983
+ "name": "action",
984
+ "class": "String",
985
+ "value": "new",
986
+ "object_id": 70301209377440
987
+ }
988
+ ]
989
+ },
990
+ {
991
+ "id": 32,
992
+ "event": "call",
993
+ "thread_id": 70301283309360,
994
+ "defined_class": "OpenSSL::Cipher",
995
+ "method_id": "decrypt",
996
+ "path": "OpenSSL::Cipher#decrypt",
997
+ "static": false,
998
+ "parameters": [
999
+ {
1000
+ "name": "arg",
1001
+ "class": "Array",
1002
+ "object_id": 70301209586400,
1003
+ "value": "[]",
1004
+ "kind": "rest"
1005
+ }
1006
+ ],
1007
+ "receiver": {
1008
+ "class": "OpenSSL::Cipher",
1009
+ "object_id": 70301209590380,
1010
+ "value": "#<OpenSSL::Cipher:0x00007fe08d3ff4d8>"
1011
+ }
1012
+ },
1013
+ {
1014
+ "id": 33,
1015
+ "event": "return",
1016
+ "thread_id": 70301283309360,
1017
+ "parent_id": 32,
1018
+ "elapsed": 0.000008,
1019
+ "return_value": {
1020
+ "class": "OpenSSL::Cipher",
1021
+ "value": "#<OpenSSL::Cipher:0x00007fe08d3ff4d8>",
1022
+ "object_id": 70301209590380
1023
+ }
1024
+ },
1025
+ {
1026
+ "id": 34,
1027
+ "event": "call",
1028
+ "thread_id": 70301283309360,
1029
+ "defined_class": "OpenSSL::Cipher",
1030
+ "method_id": "final",
1031
+ "path": "OpenSSL::Cipher#final",
1032
+ "static": false,
1033
+ "parameters": [],
1034
+ "receiver": {
1035
+ "class": "OpenSSL::Cipher",
1036
+ "object_id": 70301209590380,
1037
+ "value": "#<OpenSSL::Cipher:0x00007fe08d3ff4d8>"
1038
+ }
1039
+ },
1040
+ {
1041
+ "id": 35,
1042
+ "event": "return",
1043
+ "thread_id": 70301283309360,
1044
+ "parent_id": 34,
1045
+ "elapsed": 0.000006,
1046
+ "return_value": {
1047
+ "class": "String",
1048
+ "value": "",
1049
+ "object_id": 70301209458780
1050
+ }
1051
+ },
1052
+ {
1053
+ "id": 36,
1054
+ "event": "call",
1055
+ "thread_id": 70301283309360,
1056
+ "defined_class": "JSON::Ext::Parser",
1057
+ "method_id": "parse",
1058
+ "path": "JSON::Ext::Parser#parse",
1059
+ "static": false,
1060
+ "parameters": [],
1061
+ "receiver": {
1062
+ "class": "JSON::Ext::Parser",
1063
+ "object_id": 70301209457180,
1064
+ "value": "#<JSON::Ext::Parser:0x00007fe08d3be438>"
1065
+ }
1066
+ },
1067
+ {
1068
+ "id": 37,
1069
+ "event": "return",
1070
+ "thread_id": 70301283309360,
1071
+ "parent_id": 36,
1072
+ "elapsed": 0.000015,
1073
+ "return_value": {
1074
+ "class": "Hash",
1075
+ "value": "{\"_rails\"=>{\"message\"=>\"eyJzZXNzaW9uX2lkIjoiZDFlN2VjYTI2Mjc3NWQ1ZTRjYmE5MTg0MzNmY2UyMzAiLCJ1c2VyX2lk",
1076
+ "object_id": 70301209453540
1077
+ }
1078
+ },
1079
+ {
1080
+ "id": 38,
1081
+ "event": "call",
1082
+ "thread_id": 70301283309360,
1083
+ "defined_class": "JSON::Ext::Parser",
1084
+ "method_id": "parse",
1085
+ "path": "JSON::Ext::Parser#parse",
1086
+ "static": false,
1087
+ "parameters": [],
1088
+ "receiver": {
1089
+ "class": "JSON::Ext::Parser",
1090
+ "object_id": 70301210245800,
1091
+ "value": "#<JSON::Ext::Parser:0x00007fe08d53f550>"
1092
+ }
1093
+ },
1094
+ {
1095
+ "id": 39,
1096
+ "event": "return",
1097
+ "thread_id": 70301283309360,
1098
+ "parent_id": 38,
1099
+ "elapsed": 0.000012,
1100
+ "return_value": {
1101
+ "class": "Hash",
1102
+ "value": "{\"session_id\"=>\"d1e7eca262775d5e4cba918433fce230\", \"user_id\"=>1, \"configuration\"=>\"{}\"}",
1103
+ "object_id": 70301210241780
1104
+ }
1105
+ },
1106
+ {
1107
+ "id": 40,
1108
+ "event": "call",
1109
+ "thread_id": 70301283309360,
1110
+ "sql_query": {
1111
+ "sql": "BEGIN",
1112
+ "database_type": "postgres",
1113
+ "server_version": 120003
1114
+ }
1115
+ },
1116
+ {
1117
+ "id": 41,
1118
+ "event": "return",
1119
+ "thread_id": 70301283309360,
1120
+ "parent_id": 40,
1121
+ "elapsed": 0.001056
1122
+ },
1123
+ {
1124
+ "id": 42,
1125
+ "event": "call",
1126
+ "thread_id": 70301283309360,
1127
+ "defined_class": "User",
1128
+ "method_id": "find_by_id!",
1129
+ "path": "app/models/user.rb",
1130
+ "lineno": 31,
1131
+ "static": true,
1132
+ "parameters": [
1133
+ {
1134
+ "name": "id",
1135
+ "class": "Integer",
1136
+ "object_id": 3,
1137
+ "value": "1",
1138
+ "kind": "req"
1139
+ }
1140
+ ],
1141
+ "receiver": {
1142
+ "class": "Class",
1143
+ "object_id": 70301244140020,
1144
+ "value": "User"
1145
+ }
1146
+ },
1147
+ {
1148
+ "id": 43,
1149
+ "event": "call",
1150
+ "thread_id": 70301283309360,
1151
+ "sql_query": {
1152
+ "sql": "SELECT * FROM \"users\" WHERE (\"id\" = 1) LIMIT 1",
1153
+ "database_type": "postgres",
1154
+ "server_version": 120003
1155
+ }
1156
+ },
1157
+ {
1158
+ "id": 44,
1159
+ "event": "return",
1160
+ "thread_id": 70301283309360,
1161
+ "parent_id": 43,
1162
+ "elapsed": 0.001443
1163
+ },
1164
+ {
1165
+ "id": 45,
1166
+ "event": "return",
1167
+ "thread_id": 70301283309360,
1168
+ "parent_id": 42,
1169
+ "elapsed": 0.014981,
1170
+ "return_value": {
1171
+ "class": "User::Show",
1172
+ "value": "#<User::Show:0x00007fe09588a608>",
1173
+ "object_id": 70301279081220
1174
+ }
1175
+ },
1176
+ {
1177
+ "id": 46,
1178
+ "event": "call",
1179
+ "thread_id": 70301283309360,
1180
+ "defined_class": "User::Show",
1181
+ "method_id": "accept_eula?",
1182
+ "path": "app/models/user.rb",
1183
+ "lineno": 109,
1184
+ "static": false,
1185
+ "parameters": [],
1186
+ "receiver": {
1187
+ "class": "User::Show",
1188
+ "object_id": 70301279081220,
1189
+ "value": "#<User::Show:0x00007fe09588a608>"
1190
+ }
1191
+ },
1192
+ {
1193
+ "id": 47,
1194
+ "event": "return",
1195
+ "thread_id": 70301283309360,
1196
+ "parent_id": 46,
1197
+ "elapsed": 0.000007,
1198
+ "return_value": {
1199
+ "class": "TrueClass",
1200
+ "value": "true",
1201
+ "object_id": 20
1202
+ }
1203
+ },
1204
+ {
1205
+ "id": 48,
1206
+ "event": "call",
1207
+ "thread_id": 70301283309360,
1208
+ "defined_class": "Configuration",
1209
+ "method_id": "find",
1210
+ "path": "app/models/configuration.rb",
1211
+ "lineno": 8,
1212
+ "static": true,
1213
+ "parameters": [
1214
+ {
1215
+ "name": "session",
1216
+ "class": "ActionDispatch::Request::Session",
1217
+ "object_id": 70301206013280,
1218
+ "value": "#<ActionDispatch::Request::Session:0x00007fe08cd2cac0>",
1219
+ "kind": "req"
1220
+ }
1221
+ ],
1222
+ "receiver": {
1223
+ "class": "Class",
1224
+ "object_id": 70301205343820,
1225
+ "value": "Configuration"
1226
+ }
1227
+ },
1228
+ {
1229
+ "id": 49,
1230
+ "event": "call",
1231
+ "thread_id": 70301283309360,
1232
+ "defined_class": "JSON::Ext::Parser",
1233
+ "method_id": "parse",
1234
+ "path": "JSON::Ext::Parser#parse",
1235
+ "static": false,
1236
+ "parameters": [],
1237
+ "receiver": {
1238
+ "class": "JSON::Ext::Parser",
1239
+ "object_id": 70301279215020,
1240
+ "value": "#<JSON::Ext::Parser:0x00007fe0958cbb58>"
1241
+ }
1242
+ },
1243
+ {
1244
+ "id": 50,
1245
+ "event": "return",
1246
+ "thread_id": 70301283309360,
1247
+ "parent_id": 49,
1248
+ "elapsed": 0.000005,
1249
+ "return_value": {
1250
+ "class": "Hash",
1251
+ "value": "{}",
1252
+ "object_id": 70301279213340
1253
+ }
1254
+ },
1255
+ {
1256
+ "id": 51,
1257
+ "event": "call",
1258
+ "thread_id": 70301283309360,
1259
+ "defined_class": "Configuration",
1260
+ "method_id": "attributes=",
1261
+ "path": "app/models/configuration.rb",
1262
+ "lineno": 33,
1263
+ "static": false,
1264
+ "parameters": [
1265
+ {
1266
+ "name": "attrs",
1267
+ "class": "Hash",
1268
+ "object_id": 70301279213340,
1269
+ "value": "{}",
1270
+ "kind": "req"
1271
+ }
1272
+ ],
1273
+ "receiver": {
1274
+ "class": "Configuration",
1275
+ "object_id": 70301279215080,
1276
+ "value": "#<Configuration:0x00007fe0958cbbd0>"
1277
+ }
1278
+ },
1279
+ {
1280
+ "id": 52,
1281
+ "event": "return",
1282
+ "thread_id": 70301283309360,
1283
+ "parent_id": 51,
1284
+ "elapsed": 0.000005,
1285
+ "return_value": {
1286
+ "class": "Hash",
1287
+ "value": "{}",
1288
+ "object_id": 70301279213340
1289
+ }
1290
+ },
1291
+ {
1292
+ "id": 53,
1293
+ "event": "return",
1294
+ "thread_id": 70301283309360,
1295
+ "parent_id": 48,
1296
+ "elapsed": 0.00017,
1297
+ "return_value": {
1298
+ "class": "Configuration",
1299
+ "value": "#<Configuration:0x00007fe0958cbbd0>",
1300
+ "object_id": 70301279215080
1301
+ }
1302
+ },
1303
+ {
1304
+ "id": 54,
1305
+ "event": "call",
1306
+ "thread_id": 70301283309360,
1307
+ "defined_class": "Configuration",
1308
+ "method_id": "attributes",
1309
+ "path": "app/models/configuration.rb",
1310
+ "lineno": 22,
1311
+ "static": false,
1312
+ "parameters": [],
1313
+ "receiver": {
1314
+ "class": "Configuration",
1315
+ "object_id": 70301279215080,
1316
+ "value": "#<Configuration:0x00007fe0958cbbd0>"
1317
+ }
1318
+ },
1319
+ {
1320
+ "id": 55,
1321
+ "event": "return",
1322
+ "thread_id": 70301283309360,
1323
+ "parent_id": 54,
1324
+ "elapsed": 0.000006,
1325
+ "return_value": {
1326
+ "class": "Hash",
1327
+ "value": "{\"show_search\"=>nil, \"show_codegen\"=>nil, \"show_mini_profiler\"=>nil, \"show_mockups\"=>nil, \"show_noti",
1328
+ "object_id": 70301279182140
1329
+ }
1330
+ },
1331
+ {
1332
+ "id": 56,
1333
+ "event": "call",
1334
+ "thread_id": 70301283309360,
1335
+ "defined_class": "OrganizationsController",
1336
+ "method_id": "new",
1337
+ "path": "app/controllers/organizations_controller.rb",
1338
+ "lineno": 11,
1339
+ "static": false,
1340
+ "parameters": [],
1341
+ "receiver": {
1342
+ "class": "OrganizationsController",
1343
+ "object_id": 70301213376940,
1344
+ "value": "#<OrganizationsController:0x00007fe08db38358>"
1345
+ }
1346
+ },
1347
+ {
1348
+ "id": 57,
1349
+ "event": "return",
1350
+ "thread_id": 70301283309360,
1351
+ "parent_id": 56,
1352
+ "elapsed": 0.000005
1353
+ },
1354
+ {
1355
+ "id": 58,
1356
+ "event": "call",
1357
+ "thread_id": 70301283309360,
1358
+ "defined_class": "Digest::Instance",
1359
+ "method_id": "digest",
1360
+ "path": "Digest::Instance#digest",
1361
+ "static": false,
1362
+ "parameters": [
1363
+ {
1364
+ "name": "arg",
1365
+ "class": "Array",
1366
+ "object_id": 70301284008740,
1367
+ "value": "[\"dataStore.js/b3b290cea6ab572b97ebfaf525b6dc874087082b/eventSource.js/677ac9ebfc7bea61a50046eb4c3c1",
1368
+ "kind": "rest"
1369
+ }
1370
+ ],
1371
+ "receiver": {
1372
+ "class": "Digest::SHA1",
1373
+ "object_id": 70301284010580,
1374
+ "value": "da39a3ee5e6b4b0d3255bfef95601890afd80709"
1375
+ }
1376
+ },
1377
+ {
1378
+ "id": 59,
1379
+ "event": "return",
1380
+ "thread_id": 70301283309360,
1381
+ "parent_id": 58,
1382
+ "elapsed": 0.00002,
1383
+ "return_value": {
1384
+ "class": "String",
1385
+ "value": ";__U__D|__\u0018o__e__t_*",
1386
+ "object_id": 70301283979840
1387
+ }
1388
+ },
1389
+ {
1390
+ "id": 60,
1391
+ "event": "call",
1392
+ "thread_id": 70301283309360,
1393
+ "defined_class": "JSON::Ext::Parser",
1394
+ "method_id": "parse",
1395
+ "path": "JSON::Ext::Parser#parse",
1396
+ "static": false,
1397
+ "parameters": [],
1398
+ "receiver": {
1399
+ "class": "JSON::Ext::Parser",
1400
+ "object_id": 70301284048640,
1401
+ "value": "#<JSON::Ext::Parser:0x00007fe096203e00>"
1402
+ }
1403
+ },
1404
+ {
1405
+ "id": 61,
1406
+ "event": "return",
1407
+ "thread_id": 70301283309360,
1408
+ "parent_id": 60,
1409
+ "elapsed": 0.000647,
1410
+ "return_value": {
1411
+ "class": "Hash",
1412
+ "value": "{\"application.css\"=>\"/packs-test/css/application-1e3921c8.css\", \"application.css.map\"=>\"/packs-test/",
1413
+ "object_id": 70301284046180
1414
+ }
1415
+ },
1416
+ {
1417
+ "id": 62,
1418
+ "event": "call",
1419
+ "thread_id": 70301283309360,
1420
+ "defined_class": "Configuration",
1421
+ "method_id": "attributes",
1422
+ "path": "app/models/configuration.rb",
1423
+ "lineno": 22,
1424
+ "static": false,
1425
+ "parameters": [],
1426
+ "receiver": {
1427
+ "class": "Configuration",
1428
+ "object_id": 70301279215080,
1429
+ "value": "#<Configuration:0x00007fe0958cbbd0>"
1430
+ }
1431
+ },
1432
+ {
1433
+ "id": 63,
1434
+ "event": "return",
1435
+ "thread_id": 70301283309360,
1436
+ "parent_id": 62,
1437
+ "elapsed": 0.000008,
1438
+ "return_value": {
1439
+ "class": "Hash",
1440
+ "value": "{\"show_search\"=>nil, \"show_codegen\"=>nil, \"show_mini_profiler\"=>nil, \"show_mockups\"=>nil, \"show_noti",
1441
+ "object_id": 70301284535720
1442
+ }
1443
+ },
1444
+ {
1445
+ "id": 64,
1446
+ "event": "call",
1447
+ "thread_id": 70301283309360,
1448
+ "sql_query": {
1449
+ "sql": "COMMIT",
1450
+ "database_type": "postgres",
1451
+ "server_version": 120003
1452
+ }
1453
+ },
1454
+ {
1455
+ "id": 65,
1456
+ "event": "return",
1457
+ "thread_id": 70301283309360,
1458
+ "parent_id": 64,
1459
+ "elapsed": 0.002439
1460
+ },
1461
+ {
1462
+ "id": 66,
1463
+ "event": "return",
1464
+ "thread_id": 70301283309360,
1465
+ "parent_id": 31,
1466
+ "elapsed": 0.082122,
1467
+ "http_server_response": {
1468
+ "mime_type": "text/html; charset=utf-8",
1469
+ "status": 200
1470
+ }
1471
+ },
1472
+ {
1473
+ "id": 67,
1474
+ "event": "call",
1475
+ "thread_id": 70301283309360,
1476
+ "defined_class": "JSON::Ext::Generator::State",
1477
+ "method_id": "generate",
1478
+ "path": "JSON::Ext::Generator::State#generate",
1479
+ "static": false,
1480
+ "parameters": [
1481
+ {
1482
+ "name": "arg",
1483
+ "class": "Hash",
1484
+ "object_id": 70301244270060,
1485
+ "value": "{\"session_id\"=>\"d1e7eca262775d5e4cba918433fce230\", \"user_id\"=>1, \"configuration\"=>\"{}\"}",
1486
+ "kind": "req"
1487
+ }
1488
+ ],
1489
+ "receiver": {
1490
+ "class": "JSON::Ext::Generator::State",
1491
+ "object_id": 70301244270020,
1492
+ "value": "#<JSON::Ext::Generator::State:0x00007fe091624b88>"
1493
+ }
1494
+ },
1495
+ {
1496
+ "id": 68,
1497
+ "event": "return",
1498
+ "thread_id": 70301283309360,
1499
+ "parent_id": 67,
1500
+ "elapsed": 0.00064,
1501
+ "return_value": {
1502
+ "class": "String",
1503
+ "value": "{\"session_id\":\"d1e7eca262775d5e4cba918433fce230\",\"user_id\":1,\"configuration\":\"{}\"}",
1504
+ "object_id": 70301244374540
1505
+ }
1506
+ },
1507
+ {
1508
+ "id": 69,
1509
+ "event": "call",
1510
+ "thread_id": 70301283309360,
1511
+ "defined_class": "OpenSSL::Cipher",
1512
+ "method_id": "encrypt",
1513
+ "path": "OpenSSL::Cipher#encrypt",
1514
+ "static": false,
1515
+ "parameters": [
1516
+ {
1517
+ "name": "arg",
1518
+ "class": "Array",
1519
+ "object_id": 70301244373460,
1520
+ "value": "[]",
1521
+ "kind": "rest"
1522
+ }
1523
+ ],
1524
+ "receiver": {
1525
+ "class": "OpenSSL::Cipher",
1526
+ "object_id": 70301244374100,
1527
+ "value": "#<OpenSSL::Cipher:0x00007fe0916578a8>"
1528
+ }
1529
+ },
1530
+ {
1531
+ "id": 70,
1532
+ "event": "return",
1533
+ "thread_id": 70301283309360,
1534
+ "parent_id": 69,
1535
+ "elapsed": 0.000006,
1536
+ "return_value": {
1537
+ "class": "OpenSSL::Cipher",
1538
+ "value": "#<OpenSSL::Cipher:0x00007fe0916578a8>",
1539
+ "object_id": 70301244374100
1540
+ }
1541
+ },
1542
+ {
1543
+ "id": 71,
1544
+ "event": "call",
1545
+ "thread_id": 70301283309360,
1546
+ "defined_class": "JSON::Ext::Generator::State",
1547
+ "method_id": "generate",
1548
+ "path": "JSON::Ext::Generator::State#generate",
1549
+ "static": false,
1550
+ "parameters": [
1551
+ {
1552
+ "name": "arg",
1553
+ "class": "Hash",
1554
+ "object_id": 70301244371800,
1555
+ "value": "{\"_rails\"=>{\"message\"=>\"eyJzZXNzaW9uX2lkIjoiZDFlN2VjYTI2Mjc3NWQ1ZTRjYmE5MTg0MzNmY2UyMzAiLCJ1c2VyX2lk",
1556
+ "kind": "req"
1557
+ }
1558
+ ],
1559
+ "receiver": {
1560
+ "class": "JSON::Ext::Generator::State",
1561
+ "object_id": 70301244371760,
1562
+ "value": "#<JSON::Ext::Generator::State:0x00007fe091656660>"
1563
+ }
1564
+ },
1565
+ {
1566
+ "id": 72,
1567
+ "event": "return",
1568
+ "thread_id": 70301283309360,
1569
+ "parent_id": 71,
1570
+ "elapsed": 0.000029,
1571
+ "return_value": {
1572
+ "class": "String",
1573
+ "value": "{\"_rails\":{\"message\":\"eyJzZXNzaW9uX2lkIjoiZDFlN2VjYTI2Mjc3NWQ1ZTRjYmE5MTg0MzNmY2UyMzAiLCJ1c2VyX2lkIj",
1574
+ "object_id": 70301244369740
1575
+ }
1576
+ },
1577
+ {
1578
+ "id": 73,
1579
+ "event": "call",
1580
+ "thread_id": 70301283309360,
1581
+ "defined_class": "OpenSSL::Cipher",
1582
+ "method_id": "final",
1583
+ "path": "OpenSSL::Cipher#final",
1584
+ "static": false,
1585
+ "parameters": [],
1586
+ "receiver": {
1587
+ "class": "OpenSSL::Cipher",
1588
+ "object_id": 70301244374100,
1589
+ "value": "#<OpenSSL::Cipher:0x00007fe0916578a8>"
1590
+ }
1591
+ },
1592
+ {
1593
+ "id": 74,
1594
+ "event": "return",
1595
+ "thread_id": 70301283309360,
1596
+ "parent_id": 73,
1597
+ "elapsed": 0.000005,
1598
+ "return_value": {
1599
+ "class": "String",
1600
+ "value": "",
1601
+ "object_id": 70301244368360
1602
+ }
1603
+ },
1604
+ {
1605
+ "id": 75,
1606
+ "event": "return",
1607
+ "thread_id": 70301203546120,
1608
+ "parent_id": 30,
1609
+ "elapsed": 0.148859,
1610
+ "return_value": {
1611
+ "class": "Net::HTTPOK",
1612
+ "value": "#<Net::HTTPOK:0x00007fe0916445c8>",
1613
+ "object_id": 70301244334820
1614
+ }
1615
+ },
1616
+ {
1617
+ "id": 76,
1618
+ "event": "return",
1619
+ "thread_id": 70301203546120,
1620
+ "parent_id": 29,
1621
+ "elapsed": 0.148957,
1622
+ "return_value": {
1623
+ "class": "Net::HTTPOK",
1624
+ "value": "#<Net::HTTPOK:0x00007fe0916445c8>",
1625
+ "object_id": 70301244334820
1626
+ }
1627
+ },
1628
+ {
1629
+ "id": 77,
1630
+ "event": "call",
1631
+ "thread_id": 70301203546120,
1632
+ "defined_class": "JSON::Ext::Parser",
1633
+ "method_id": "parse",
1634
+ "path": "JSON::Ext::Parser#parse",
1635
+ "static": false,
1636
+ "parameters": [],
1637
+ "receiver": {
1638
+ "class": "JSON::Ext::Parser",
1639
+ "object_id": 70301244436740,
1640
+ "value": "#<JSON::Ext::Parser:0x00007fe091676208>"
1641
+ }
1642
+ },
1643
+ {
1644
+ "id": 78,
1645
+ "event": "return",
1646
+ "thread_id": 70301203546120,
1647
+ "parent_id": 77,
1648
+ "elapsed": 0.000007,
1649
+ "return_value": {
1650
+ "class": "Hash",
1651
+ "value": "{\"value\"=>nil}",
1652
+ "object_id": 70301244435640
1653
+ }
1654
+ },
1655
+ {
1656
+ "id": 79,
1657
+ "event": "call",
1658
+ "thread_id": 70301203546120,
1659
+ "defined_class": "Net::HTTP",
1660
+ "method_id": "request",
1661
+ "path": "/Users/kgilpin/source/appland/appmap-ruby/lib/appmap/hook/method.rb",
1662
+ "lineno": 49,
1663
+ "static": false,
1664
+ "parameters": [
1665
+ {
1666
+ "name": "args",
1667
+ "class": "Array",
1668
+ "object_id": 70301244405920,
1669
+ "value": "[#<Net::HTTP::Get GET>]",
1670
+ "kind": "rest"
1671
+ },
1672
+ {
1673
+ "name": "block",
1674
+ "class": "NilClass",
1675
+ "object_id": 8,
1676
+ "value": null,
1677
+ "kind": "block"
1678
+ }
1679
+ ],
1680
+ "receiver": {
1681
+ "class": "Net::HTTP",
1682
+ "object_id": 70301205235520,
1683
+ "value": "Net::HTTP[127.0.0.1:9515]"
1684
+ }
1685
+ },
1686
+ {
1687
+ "id": 80,
1688
+ "event": "call",
1689
+ "thread_id": 70301203546120,
1690
+ "defined_class": "Net::HTTP",
1691
+ "method_id": "request",
1692
+ "path": "/Users/kgilpin/.rbenv/versions/2.6.6/lib/ruby/2.6.0/net/http.rb",
1693
+ "lineno": 1468,
1694
+ "static": false,
1695
+ "parameters": [
1696
+ {
1697
+ "name": "req",
1698
+ "class": "Net::HTTP::Get",
1699
+ "object_id": 70301244433160,
1700
+ "value": "Net::HTTP::Get[GET /session/a6781fa7e36446596e111a62fa53c68f/url]",
1701
+ "kind": "req"
1702
+ },
1703
+ {
1704
+ "name": "body",
1705
+ "class": "NilClass",
1706
+ "object_id": 8,
1707
+ "value": null,
1708
+ "kind": "opt"
1709
+ },
1710
+ {
1711
+ "name": "block",
1712
+ "class": "NilClass",
1713
+ "object_id": 8,
1714
+ "value": null,
1715
+ "kind": "block"
1716
+ }
1717
+ ],
1718
+ "receiver": {
1719
+ "class": "Net::HTTP",
1720
+ "object_id": 70301205235520,
1721
+ "value": "Net::HTTP[127.0.0.1:9515]"
1722
+ }
1723
+ },
1724
+ {
1725
+ "id": 81,
1726
+ "event": "return",
1727
+ "thread_id": 70301203546120,
1728
+ "parent_id": 80,
1729
+ "elapsed": 0.002975,
1730
+ "return_value": {
1731
+ "class": "Net::HTTPOK",
1732
+ "value": "#<Net::HTTPOK:0x00007fe091664af8>",
1733
+ "object_id": 70301244401020
1734
+ }
1735
+ },
1736
+ {
1737
+ "id": 82,
1738
+ "event": "return",
1739
+ "thread_id": 70301203546120,
1740
+ "parent_id": 79,
1741
+ "elapsed": 0.003069,
1742
+ "return_value": {
1743
+ "class": "Net::HTTPOK",
1744
+ "value": "#<Net::HTTPOK:0x00007fe091664af8>",
1745
+ "object_id": 70301244401020
1746
+ }
1747
+ },
1748
+ {
1749
+ "id": 83,
1750
+ "event": "call",
1751
+ "thread_id": 70301203546120,
1752
+ "defined_class": "JSON::Ext::Parser",
1753
+ "method_id": "parse",
1754
+ "path": "JSON::Ext::Parser#parse",
1755
+ "static": false,
1756
+ "parameters": [],
1757
+ "receiver": {
1758
+ "class": "JSON::Ext::Parser",
1759
+ "object_id": 70301279736280,
1760
+ "value": "#<JSON::Ext::Parser:0x00007fe0959ca3b0>"
1761
+ }
1762
+ },
1763
+ {
1764
+ "id": 84,
1765
+ "event": "return",
1766
+ "thread_id": 70301203546120,
1767
+ "parent_id": 83,
1768
+ "elapsed": 0.000008,
1769
+ "return_value": {
1770
+ "class": "Hash",
1771
+ "value": "{\"value\"=>\"http://127.0.0.1:52537/organizations/new\"}",
1772
+ "object_id": 70301279735240
1773
+ }
1774
+ }
1775
+ ]
1776
+ }