appmap 0.83.3 → 0.83.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (362) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/main.yml +16 -0
  3. data/CHANGELOG.md +21 -0
  4. data/appmap.gemspec +2 -1
  5. data/lib/appmap/trace.rb +1 -1
  6. data/lib/appmap/version.rb +1 -1
  7. metadata +3 -357
  8. data/spec/class_map_spec.rb +0 -28
  9. data/spec/config_spec.rb +0 -155
  10. data/spec/depends/api_spec.rb +0 -196
  11. data/spec/depends/spec_helper.rb +0 -18
  12. data/spec/display_string_spec.rb +0 -40
  13. data/spec/fixtures/config/incomplete_config.yml +0 -1
  14. data/spec/fixtures/config/invalid_config.yml +0 -2
  15. data/spec/fixtures/config/invalid_yaml_config.yml +0 -3
  16. data/spec/fixtures/config/maximal_config.yml +0 -14
  17. data/spec/fixtures/config/missing_path_or_gem.yml +0 -3
  18. data/spec/fixtures/config/valid_config.yml +0 -3
  19. data/spec/fixtures/database.yml +0 -11
  20. data/spec/fixtures/depends/.gitignore +0 -2
  21. data/spec/fixtures/depends/app/controllers/api/api_keys_controller.rb +0 -2
  22. data/spec/fixtures/depends/app/controllers/organizations_controller.rb +0 -2
  23. data/spec/fixtures/depends/app/models/api_key.rb +0 -2
  24. data/spec/fixtures/depends/app/models/configuration.rb +0 -2
  25. data/spec/fixtures/depends/app/models/show.rb +0 -2
  26. data/spec/fixtures/depends/app/models/user.rb +0 -2
  27. data/spec/fixtures/depends/revoke_api_key.appmap.json +0 -901
  28. data/spec/fixtures/depends/spec/actual_rspec_test.rb +0 -7
  29. data/spec/fixtures/depends/spec/api_spec.rb +0 -2
  30. data/spec/fixtures/depends/spec/user_spec.rb +0 -2
  31. data/spec/fixtures/depends/test/actual_minitest_test.rb +0 -5
  32. data/spec/fixtures/depends/user_page_scenario.appmap.json +0 -1776
  33. data/spec/fixtures/hook/.gitignore +0 -2
  34. data/spec/fixtures/hook/app/controllers/api/api_keys_controller.rb +0 -1
  35. data/spec/fixtures/hook/app/controllers/organizations_controller.rb +0 -1
  36. data/spec/fixtures/hook/app/models/api_key.rb +0 -1
  37. data/spec/fixtures/hook/app/models/configuration.rb +0 -1
  38. data/spec/fixtures/hook/app/models/show.rb +0 -1
  39. data/spec/fixtures/hook/app/models/user.rb +0 -1
  40. data/spec/fixtures/hook/attr_accessor.rb +0 -5
  41. data/spec/fixtures/hook/compare.rb +0 -7
  42. data/spec/fixtures/hook/constructor.rb +0 -7
  43. data/spec/fixtures/hook/custom_instance_method.rb +0 -11
  44. data/spec/fixtures/hook/exception_method.rb +0 -61
  45. data/spec/fixtures/hook/exclude.rb +0 -15
  46. data/spec/fixtures/hook/instance_method.rb +0 -31
  47. data/spec/fixtures/hook/kwargs.rb +0 -11
  48. data/spec/fixtures/hook/labels.rb +0 -6
  49. data/spec/fixtures/hook/method_named_call.rb +0 -11
  50. data/spec/fixtures/hook/pkg_a/a.rb +0 -7
  51. data/spec/fixtures/hook/prepended_override.rb +0 -14
  52. data/spec/fixtures/hook/protected_method.rb +0 -29
  53. data/spec/fixtures/hook/report_parameters.rb +0 -8
  54. data/spec/fixtures/hook/revoke_api_key.appmap.json +0 -847
  55. data/spec/fixtures/hook/singleton_method.rb +0 -63
  56. data/spec/fixtures/hook/spec/api_spec.rb +0 -1
  57. data/spec/fixtures/hook/spec/user_spec.rb +0 -1
  58. data/spec/fixtures/hook/sub_packages.rb +0 -7
  59. data/spec/fixtures/hook/user_page_scenario.appmap.json +0 -1722
  60. data/spec/fixtures/rack_users_app/.dockerignore +0 -2
  61. data/spec/fixtures/rack_users_app/.gitignore +0 -2
  62. data/spec/fixtures/rack_users_app/Gemfile +0 -10
  63. data/spec/fixtures/rack_users_app/appmap.yml +0 -3
  64. data/spec/fixtures/rack_users_app/config.ru +0 -2
  65. data/spec/fixtures/rack_users_app/lib/app.rb +0 -36
  66. data/spec/fixtures/rails5_users_app/.dockerignore +0 -1
  67. data/spec/fixtures/rails5_users_app/.gitignore +0 -39
  68. data/spec/fixtures/rails5_users_app/.rspec +0 -1
  69. data/spec/fixtures/rails5_users_app/.ruby-version +0 -1
  70. data/spec/fixtures/rails5_users_app/Gemfile +0 -54
  71. data/spec/fixtures/rails5_users_app/Rakefile +0 -6
  72. data/spec/fixtures/rails5_users_app/app/controllers/api/users_controller.rb +0 -29
  73. data/spec/fixtures/rails5_users_app/app/controllers/application_controller.rb +0 -2
  74. data/spec/fixtures/rails5_users_app/app/controllers/concerns/.keep +0 -0
  75. data/spec/fixtures/rails5_users_app/app/controllers/health_controller.rb +0 -5
  76. data/spec/fixtures/rails5_users_app/app/controllers/users_controller.rb +0 -21
  77. data/spec/fixtures/rails5_users_app/app/models/activerecord/user.rb +0 -18
  78. data/spec/fixtures/rails5_users_app/app/models/concerns/.keep +0 -0
  79. data/spec/fixtures/rails5_users_app/app/models/sequel/user.rb +0 -25
  80. data/spec/fixtures/rails5_users_app/app/views/layouts/application.html.haml +0 -7
  81. data/spec/fixtures/rails5_users_app/app/views/users/index.html.haml +0 -7
  82. data/spec/fixtures/rails5_users_app/appmap.yml +0 -11
  83. data/spec/fixtures/rails5_users_app/bin/appmap +0 -29
  84. data/spec/fixtures/rails5_users_app/bin/byebug +0 -29
  85. data/spec/fixtures/rails5_users_app/bin/gli +0 -29
  86. data/spec/fixtures/rails5_users_app/bin/htmldiff +0 -29
  87. data/spec/fixtures/rails5_users_app/bin/ldiff +0 -29
  88. data/spec/fixtures/rails5_users_app/bin/nokogiri +0 -29
  89. data/spec/fixtures/rails5_users_app/bin/rackup +0 -29
  90. data/spec/fixtures/rails5_users_app/bin/rails +0 -4
  91. data/spec/fixtures/rails5_users_app/bin/rake +0 -29
  92. data/spec/fixtures/rails5_users_app/bin/rspec +0 -29
  93. data/spec/fixtures/rails5_users_app/bin/ruby-parse +0 -29
  94. data/spec/fixtures/rails5_users_app/bin/ruby-rewrite +0 -29
  95. data/spec/fixtures/rails5_users_app/bin/sequel +0 -29
  96. data/spec/fixtures/rails5_users_app/bin/setup +0 -25
  97. data/spec/fixtures/rails5_users_app/bin/sprockets +0 -29
  98. data/spec/fixtures/rails5_users_app/bin/thor +0 -29
  99. data/spec/fixtures/rails5_users_app/bin/update +0 -25
  100. data/spec/fixtures/rails5_users_app/config/application.rb +0 -45
  101. data/spec/fixtures/rails5_users_app/config/boot.rb +0 -3
  102. data/spec/fixtures/rails5_users_app/config/credentials.yml.enc +0 -1
  103. data/spec/fixtures/rails5_users_app/config/database.yml +0 -1
  104. data/spec/fixtures/rails5_users_app/config/environment.rb +0 -5
  105. data/spec/fixtures/rails5_users_app/config/environments/development.rb +0 -40
  106. data/spec/fixtures/rails5_users_app/config/environments/production.rb +0 -68
  107. data/spec/fixtures/rails5_users_app/config/environments/test.rb +0 -39
  108. data/spec/fixtures/rails5_users_app/config/initializers/application_controller_renderer.rb +0 -8
  109. data/spec/fixtures/rails5_users_app/config/initializers/backtrace_silencers.rb +0 -7
  110. data/spec/fixtures/rails5_users_app/config/initializers/cors.rb +0 -16
  111. data/spec/fixtures/rails5_users_app/config/initializers/filter_parameter_logging.rb +0 -4
  112. data/spec/fixtures/rails5_users_app/config/initializers/inflections.rb +0 -16
  113. data/spec/fixtures/rails5_users_app/config/initializers/mime_types.rb +0 -4
  114. data/spec/fixtures/rails5_users_app/config/initializers/wrap_parameters.rb +0 -9
  115. data/spec/fixtures/rails5_users_app/config/locales/en.yml +0 -33
  116. data/spec/fixtures/rails5_users_app/config/routes.rb +0 -11
  117. data/spec/fixtures/rails5_users_app/config.ru +0 -5
  118. data/spec/fixtures/rails5_users_app/db/migrate/20190728211408_create_users.rb +0 -9
  119. data/spec/fixtures/rails5_users_app/db/schema.rb +0 -23
  120. data/spec/fixtures/rails5_users_app/features/api_users.feature +0 -13
  121. data/spec/fixtures/rails5_users_app/features/support/env.rb +0 -4
  122. data/spec/fixtures/rails5_users_app/features/support/hooks.rb +0 -11
  123. data/spec/fixtures/rails5_users_app/features/support/steps.rb +0 -18
  124. data/spec/fixtures/rails5_users_app/lib/tasks/.keep +0 -0
  125. data/spec/fixtures/rails5_users_app/log/.keep +0 -0
  126. data/spec/fixtures/rails5_users_app/public/robots.txt +0 -1
  127. data/spec/fixtures/rails5_users_app/spec/controllers/users_controller_api_spec.rb +0 -42
  128. data/spec/fixtures/rails5_users_app/spec/controllers/users_controller_spec.rb +0 -27
  129. data/spec/fixtures/rails5_users_app/spec/models/user_spec.rb +0 -29
  130. data/spec/fixtures/rails5_users_app/spec/rails_helper.rb +0 -57
  131. data/spec/fixtures/rails5_users_app/spec/spec_helper.rb +0 -96
  132. data/spec/fixtures/rails5_users_app/users_app/.gitignore +0 -20
  133. data/spec/fixtures/rails6_users_app/.dockerignore +0 -1
  134. data/spec/fixtures/rails6_users_app/.gitignore +0 -39
  135. data/spec/fixtures/rails6_users_app/.rspec +0 -1
  136. data/spec/fixtures/rails6_users_app/Gemfile +0 -28
  137. data/spec/fixtures/rails6_users_app/Rakefile +0 -6
  138. data/spec/fixtures/rails6_users_app/app/controllers/api/users_controller.rb +0 -28
  139. data/spec/fixtures/rails6_users_app/app/controllers/application_controller.rb +0 -2
  140. data/spec/fixtures/rails6_users_app/app/controllers/concerns/.keep +0 -0
  141. data/spec/fixtures/rails6_users_app/app/controllers/health_controller.rb +0 -5
  142. data/spec/fixtures/rails6_users_app/app/controllers/users_controller.rb +0 -21
  143. data/spec/fixtures/rails6_users_app/app/models/activerecord/user.rb +0 -18
  144. data/spec/fixtures/rails6_users_app/app/models/concerns/.keep +0 -0
  145. data/spec/fixtures/rails6_users_app/app/models/sequel/user.rb +0 -25
  146. data/spec/fixtures/rails6_users_app/app/views/layouts/application.html.haml +0 -7
  147. data/spec/fixtures/rails6_users_app/app/views/users/index.html.haml +0 -7
  148. data/spec/fixtures/rails6_users_app/appmap.yml +0 -14
  149. data/spec/fixtures/rails6_users_app/bin/appmap +0 -29
  150. data/spec/fixtures/rails6_users_app/bin/byebug +0 -29
  151. data/spec/fixtures/rails6_users_app/bin/gli +0 -29
  152. data/spec/fixtures/rails6_users_app/bin/htmldiff +0 -29
  153. data/spec/fixtures/rails6_users_app/bin/ldiff +0 -29
  154. data/spec/fixtures/rails6_users_app/bin/nokogiri +0 -29
  155. data/spec/fixtures/rails6_users_app/bin/rackup +0 -29
  156. data/spec/fixtures/rails6_users_app/bin/rails +0 -4
  157. data/spec/fixtures/rails6_users_app/bin/rake +0 -29
  158. data/spec/fixtures/rails6_users_app/bin/rspec +0 -29
  159. data/spec/fixtures/rails6_users_app/bin/ruby-parse +0 -29
  160. data/spec/fixtures/rails6_users_app/bin/ruby-rewrite +0 -29
  161. data/spec/fixtures/rails6_users_app/bin/sequel +0 -29
  162. data/spec/fixtures/rails6_users_app/bin/setup +0 -25
  163. data/spec/fixtures/rails6_users_app/bin/sprockets +0 -29
  164. data/spec/fixtures/rails6_users_app/bin/thor +0 -29
  165. data/spec/fixtures/rails6_users_app/bin/update +0 -25
  166. data/spec/fixtures/rails6_users_app/config/application.rb +0 -45
  167. data/spec/fixtures/rails6_users_app/config/boot.rb +0 -3
  168. data/spec/fixtures/rails6_users_app/config/credentials.yml.enc +0 -1
  169. data/spec/fixtures/rails6_users_app/config/database.yml +0 -1
  170. data/spec/fixtures/rails6_users_app/config/environment.rb +0 -5
  171. data/spec/fixtures/rails6_users_app/config/environments/development.rb +0 -40
  172. data/spec/fixtures/rails6_users_app/config/environments/production.rb +0 -68
  173. data/spec/fixtures/rails6_users_app/config/environments/test.rb +0 -39
  174. data/spec/fixtures/rails6_users_app/config/initializers/application_controller_renderer.rb +0 -8
  175. data/spec/fixtures/rails6_users_app/config/initializers/backtrace_silencers.rb +0 -7
  176. data/spec/fixtures/rails6_users_app/config/initializers/cors.rb +0 -16
  177. data/spec/fixtures/rails6_users_app/config/initializers/filter_parameter_logging.rb +0 -4
  178. data/spec/fixtures/rails6_users_app/config/initializers/inflections.rb +0 -16
  179. data/spec/fixtures/rails6_users_app/config/initializers/mime_types.rb +0 -4
  180. data/spec/fixtures/rails6_users_app/config/initializers/wrap_parameters.rb +0 -9
  181. data/spec/fixtures/rails6_users_app/config/locales/en.yml +0 -33
  182. data/spec/fixtures/rails6_users_app/config/routes.rb +0 -11
  183. data/spec/fixtures/rails6_users_app/config.ru +0 -5
  184. data/spec/fixtures/rails6_users_app/db/migrate/20190728211408_create_users.rb +0 -9
  185. data/spec/fixtures/rails6_users_app/db/schema.rb +0 -23
  186. data/spec/fixtures/rails6_users_app/features/api_users.feature +0 -13
  187. data/spec/fixtures/rails6_users_app/features/support/env.rb +0 -4
  188. data/spec/fixtures/rails6_users_app/features/support/hooks.rb +0 -11
  189. data/spec/fixtures/rails6_users_app/features/support/steps.rb +0 -18
  190. data/spec/fixtures/rails6_users_app/lib/tasks/.keep +0 -0
  191. data/spec/fixtures/rails6_users_app/lib/tasks/appmap.rake +0 -23
  192. data/spec/fixtures/rails6_users_app/log/.keep +0 -0
  193. data/spec/fixtures/rails6_users_app/package.json +0 -8
  194. data/spec/fixtures/rails6_users_app/public/robots.txt +0 -1
  195. data/spec/fixtures/rails6_users_app/spec/controllers/users_controller_api_spec.rb +0 -42
  196. data/spec/fixtures/rails6_users_app/spec/controllers/users_controller_spec.rb +0 -27
  197. data/spec/fixtures/rails6_users_app/spec/models/user_spec.rb +0 -29
  198. data/spec/fixtures/rails6_users_app/spec/rails_helper.rb +0 -57
  199. data/spec/fixtures/rails6_users_app/spec/spec_helper.rb +0 -96
  200. data/spec/fixtures/rails6_users_app/test/controllers/functional_calc_test.rb +0 -10
  201. data/spec/fixtures/rails6_users_app/test/integration/integration_calc_test.rb +0 -12
  202. data/spec/fixtures/rails6_users_app/users_app/.gitignore +0 -20
  203. data/spec/fixtures/rails6_users_app/yarn.lock +0 -2020
  204. data/spec/fixtures/rails7_users_app/.dockerignore +0 -1
  205. data/spec/fixtures/rails7_users_app/.gitattributes +0 -7
  206. data/spec/fixtures/rails7_users_app/.gitignore +0 -31
  207. data/spec/fixtures/rails7_users_app/.rspec +0 -1
  208. data/spec/fixtures/rails7_users_app/Gemfile +0 -75
  209. data/spec/fixtures/rails7_users_app/README.md +0 -24
  210. data/spec/fixtures/rails7_users_app/Rakefile +0 -6
  211. data/spec/fixtures/rails7_users_app/app/assets/config/manifest.js +0 -4
  212. data/spec/fixtures/rails7_users_app/app/assets/images/.keep +0 -0
  213. data/spec/fixtures/rails7_users_app/app/assets/stylesheets/application.css +0 -15
  214. data/spec/fixtures/rails7_users_app/app/channels/application_cable/channel.rb +0 -4
  215. data/spec/fixtures/rails7_users_app/app/channels/application_cable/connection.rb +0 -4
  216. data/spec/fixtures/rails7_users_app/app/controllers/application_controller.rb +0 -2
  217. data/spec/fixtures/rails7_users_app/app/controllers/concerns/.keep +0 -0
  218. data/spec/fixtures/rails7_users_app/app/helpers/application_helper.rb +0 -2
  219. data/spec/fixtures/rails7_users_app/app/javascript/application.js +0 -3
  220. data/spec/fixtures/rails7_users_app/app/javascript/controllers/application.js +0 -9
  221. data/spec/fixtures/rails7_users_app/app/javascript/controllers/hello_controller.js +0 -7
  222. data/spec/fixtures/rails7_users_app/app/javascript/controllers/index.js +0 -11
  223. data/spec/fixtures/rails7_users_app/app/jobs/application_job.rb +0 -7
  224. data/spec/fixtures/rails7_users_app/app/mailers/application_mailer.rb +0 -4
  225. data/spec/fixtures/rails7_users_app/app/models/application_record.rb +0 -3
  226. data/spec/fixtures/rails7_users_app/app/models/concerns/.keep +0 -0
  227. data/spec/fixtures/rails7_users_app/app/models/instance.rb +0 -7
  228. data/spec/fixtures/rails7_users_app/app/models/instructor.rb +0 -7
  229. data/spec/fixtures/rails7_users_app/app/views/layouts/application.html.erb +0 -16
  230. data/spec/fixtures/rails7_users_app/app/views/layouts/mailer.html.erb +0 -13
  231. data/spec/fixtures/rails7_users_app/app/views/layouts/mailer.text.erb +0 -1
  232. data/spec/fixtures/rails7_users_app/appmap.yml +0 -3
  233. data/spec/fixtures/rails7_users_app/bin/bundle +0 -114
  234. data/spec/fixtures/rails7_users_app/bin/importmap +0 -4
  235. data/spec/fixtures/rails7_users_app/bin/rails +0 -4
  236. data/spec/fixtures/rails7_users_app/bin/rake +0 -4
  237. data/spec/fixtures/rails7_users_app/bin/setup +0 -33
  238. data/spec/fixtures/rails7_users_app/config/application.rb +0 -22
  239. data/spec/fixtures/rails7_users_app/config/boot.rb +0 -4
  240. data/spec/fixtures/rails7_users_app/config/cable.yml +0 -10
  241. data/spec/fixtures/rails7_users_app/config/credentials.yml.enc +0 -1
  242. data/spec/fixtures/rails7_users_app/config/database.yml +0 -1
  243. data/spec/fixtures/rails7_users_app/config/environment.rb +0 -5
  244. data/spec/fixtures/rails7_users_app/config/environments/development.rb +0 -70
  245. data/spec/fixtures/rails7_users_app/config/environments/production.rb +0 -93
  246. data/spec/fixtures/rails7_users_app/config/environments/test.rb +0 -60
  247. data/spec/fixtures/rails7_users_app/config/importmap.rb +0 -7
  248. data/spec/fixtures/rails7_users_app/config/initializers/assets.rb +0 -12
  249. data/spec/fixtures/rails7_users_app/config/initializers/content_security_policy.rb +0 -26
  250. data/spec/fixtures/rails7_users_app/config/initializers/filter_parameter_logging.rb +0 -8
  251. data/spec/fixtures/rails7_users_app/config/initializers/inflections.rb +0 -16
  252. data/spec/fixtures/rails7_users_app/config/initializers/permissions_policy.rb +0 -11
  253. data/spec/fixtures/rails7_users_app/config/locales/en.yml +0 -33
  254. data/spec/fixtures/rails7_users_app/config/puma.rb +0 -43
  255. data/spec/fixtures/rails7_users_app/config/routes.rb +0 -6
  256. data/spec/fixtures/rails7_users_app/config/storage.yml +0 -34
  257. data/spec/fixtures/rails7_users_app/config.ru +0 -6
  258. data/spec/fixtures/rails7_users_app/db/migrate/20220328093141_create_instances.rb +0 -8
  259. data/spec/fixtures/rails7_users_app/db/migrate/20220328093154_create_instructors.rb +0 -8
  260. data/spec/fixtures/rails7_users_app/db/schema.rb +0 -27
  261. data/spec/fixtures/rails7_users_app/db/seeds.rb +0 -7
  262. data/spec/fixtures/rails7_users_app/lib/assets/.keep +0 -0
  263. data/spec/fixtures/rails7_users_app/lib/tasks/.keep +0 -0
  264. data/spec/fixtures/rails7_users_app/log/.keep +0 -0
  265. data/spec/fixtures/rails7_users_app/public/404.html +0 -67
  266. data/spec/fixtures/rails7_users_app/public/422.html +0 -67
  267. data/spec/fixtures/rails7_users_app/public/500.html +0 -66
  268. data/spec/fixtures/rails7_users_app/public/apple-touch-icon-precomposed.png +0 -0
  269. data/spec/fixtures/rails7_users_app/public/apple-touch-icon.png +0 -0
  270. data/spec/fixtures/rails7_users_app/public/favicon.ico +0 -0
  271. data/spec/fixtures/rails7_users_app/public/robots.txt +0 -1
  272. data/spec/fixtures/rails7_users_app/storage/.keep +0 -0
  273. data/spec/fixtures/rails7_users_app/test/application_system_test_case.rb +0 -5
  274. data/spec/fixtures/rails7_users_app/test/channels/application_cable/connection_test.rb +0 -11
  275. data/spec/fixtures/rails7_users_app/test/controllers/.keep +0 -0
  276. data/spec/fixtures/rails7_users_app/test/fixtures/files/.keep +0 -0
  277. data/spec/fixtures/rails7_users_app/test/fixtures/instances.yml +0 -11
  278. data/spec/fixtures/rails7_users_app/test/fixtures/instructors.yml +0 -11
  279. data/spec/fixtures/rails7_users_app/test/helpers/.keep +0 -0
  280. data/spec/fixtures/rails7_users_app/test/integration/.keep +0 -0
  281. data/spec/fixtures/rails7_users_app/test/mailers/.keep +0 -0
  282. data/spec/fixtures/rails7_users_app/test/models/.keep +0 -0
  283. data/spec/fixtures/rails7_users_app/test/models/instance_test.rb +0 -6
  284. data/spec/fixtures/rails7_users_app/test/models/instructor_test.rb +0 -7
  285. data/spec/fixtures/rails7_users_app/test/system/.keep +0 -0
  286. data/spec/fixtures/rails7_users_app/test/test_helper.rb +0 -13
  287. data/spec/handler/class_with_eval.rb +0 -13
  288. data/spec/handler/eval_spec.rb +0 -73
  289. data/spec/hook_spec.rb +0 -1216
  290. data/spec/open_spec.rb +0 -19
  291. data/spec/rails_recording_spec.rb +0 -281
  292. data/spec/rails_spec_helper.rb +0 -107
  293. data/spec/rails_test_spec.rb +0 -35
  294. data/spec/railtie_spec.rb +0 -25
  295. data/spec/record_net_http_spec.rb +0 -161
  296. data/spec/record_sql_rails_pg_spec.rb +0 -59
  297. data/spec/remote_recording_spec.rb +0 -108
  298. data/spec/service/config_analyzer_spec.rb +0 -102
  299. data/spec/service/integration_test_path_finder_spec.rb +0 -24
  300. data/spec/service/validator/violation_spec.rb +0 -68
  301. data/spec/spec_helper.rb +0 -37
  302. data/spec/swagger/swagger_spec.rb +0 -85
  303. data/spec/util_spec.rb +0 -38
  304. data/test/agent_setup_init_test.rb +0 -39
  305. data/test/agent_setup_status_test.rb +0 -84
  306. data/test/agent_setup_validate_test.rb +0 -102
  307. data/test/bundle_vendor_test.rb +0 -35
  308. data/test/cucumber_test.rb +0 -72
  309. data/test/expectations/openssl_test_key_sign1.json +0 -53
  310. data/test/expectations/openssl_test_key_sign2-3.1.json +0 -53
  311. data/test/expectations/openssl_test_key_sign2.json +0 -58
  312. data/test/fixtures/bundle_vendor_app/Gemfile +0 -8
  313. data/test/fixtures/bundle_vendor_app/appmap.yml +0 -4
  314. data/test/fixtures/bundle_vendor_app/cli.rb +0 -54
  315. data/test/fixtures/cli_record_test/appmap.yml +0 -3
  316. data/test/fixtures/cli_record_test/lib/cli_record_test/main.rb +0 -9
  317. data/test/fixtures/cucumber4_recorder/Gemfile +0 -5
  318. data/test/fixtures/cucumber4_recorder/appmap.yml +0 -3
  319. data/test/fixtures/cucumber4_recorder/features/say_hello.feature +0 -5
  320. data/test/fixtures/cucumber4_recorder/features/support/env.rb +0 -5
  321. data/test/fixtures/cucumber4_recorder/features/support/hooks.rb +0 -11
  322. data/test/fixtures/cucumber4_recorder/features/support/steps.rb +0 -9
  323. data/test/fixtures/cucumber4_recorder/lib/hello.rb +0 -7
  324. data/test/fixtures/cucumber_recorder/Gemfile +0 -5
  325. data/test/fixtures/cucumber_recorder/appmap.yml +0 -3
  326. data/test/fixtures/cucumber_recorder/features/say_hello.feature +0 -5
  327. data/test/fixtures/cucumber_recorder/features/support/env.rb +0 -5
  328. data/test/fixtures/cucumber_recorder/features/support/hooks.rb +0 -11
  329. data/test/fixtures/cucumber_recorder/features/support/steps.rb +0 -9
  330. data/test/fixtures/cucumber_recorder/lib/hello.rb +0 -7
  331. data/test/fixtures/gem_test/Gemfile +0 -7
  332. data/test/fixtures/gem_test/appmap.yml +0 -3
  333. data/test/fixtures/gem_test/test/parser_test.rb +0 -12
  334. data/test/fixtures/minitest_recorder/Gemfile +0 -5
  335. data/test/fixtures/minitest_recorder/appmap.yml +0 -3
  336. data/test/fixtures/minitest_recorder/lib/hello.rb +0 -5
  337. data/test/fixtures/minitest_recorder/test/hello_test.rb +0 -12
  338. data/test/fixtures/mocha_mock_app/Gemfile +0 -5
  339. data/test/fixtures/mocha_mock_app/appmap.yml +0 -5
  340. data/test/fixtures/mocha_mock_app/lib/sheep.rb +0 -5
  341. data/test/fixtures/mocha_mock_app/test/sheep_test.rb +0 -18
  342. data/test/fixtures/openssl_recorder/Gemfile +0 -3
  343. data/test/fixtures/openssl_recorder/appmap.yml +0 -3
  344. data/test/fixtures/openssl_recorder/lib/openssl_cert_sign.rb +0 -94
  345. data/test/fixtures/openssl_recorder/lib/openssl_encrypt.rb +0 -34
  346. data/test/fixtures/openssl_recorder/lib/openssl_key_sign.rb +0 -28
  347. data/test/fixtures/process_recorder/appmap.yml +0 -3
  348. data/test/fixtures/process_recorder/hello.rb +0 -9
  349. data/test/fixtures/rspec_recorder/Gemfile +0 -5
  350. data/test/fixtures/rspec_recorder/appmap.yml +0 -3
  351. data/test/fixtures/rspec_recorder/lib/hello.rb +0 -5
  352. data/test/fixtures/rspec_recorder/spec/decorated_hello_spec.rb +0 -21
  353. data/test/fixtures/rspec_recorder/spec/labeled_hello_spec.rb +0 -9
  354. data/test/fixtures/rspec_recorder/spec/plain_hello_spec.rb +0 -9
  355. data/test/gem_test.rb +0 -35
  356. data/test/inspect_cli_test.rb +0 -12
  357. data/test/minitest_test.rb +0 -37
  358. data/test/mock_compatibility_test.rb +0 -45
  359. data/test/openssl_test.rb +0 -54
  360. data/test/record_process_test.rb +0 -35
  361. data/test/rspec_test.rb +0 -63
  362. data/test/test_helper.rb +0 -8
@@ -1,1776 +0,0 @@
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": "19a3423b0e356861454bfe9f5d70663c65c26bc5cac2345bb87d4feef2db9e5b",
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": "e81230cac63d25a6dfbf24c113964a661044dd01ed661e3cffeb943b41cfc213",
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
- }