appmap 0.83.4 → 0.84.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (376) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/main.yml +16 -0
  3. data/CHANGELOG.md +33 -0
  4. data/appmap.gemspec +3 -2
  5. data/lib/appmap/agent.rb +6 -0
  6. data/lib/appmap/{gem_hooks → builtin_hooks}/activesupport.yml +6 -0
  7. data/lib/appmap/builtin_hooks/net/http.yml +1 -1
  8. data/lib/appmap/builtin_hooks/openssl.yml +34 -0
  9. data/lib/appmap/builtin_hooks/ruby.yml +1 -1
  10. data/lib/appmap/config.rb +3 -3
  11. data/lib/appmap/event.rb +2 -2
  12. data/lib/appmap/gem_hooks/actionpack.yml +2 -0
  13. data/lib/appmap/gem_hooks/random.yml +12 -0
  14. data/lib/appmap/handler/{eval.rb → eval_handler.rb} +4 -4
  15. data/lib/appmap/handler/{function.rb → function_handler.rb} +1 -1
  16. data/lib/appmap/handler/{net_http.rb → net_http_handler.rb} +3 -3
  17. data/lib/appmap/handler/open_ssl_handler.rb +16 -0
  18. data/lib/appmap/handler/rails/render_handler.rb +2 -2
  19. data/lib/appmap/handler/rails/template.rb +2 -2
  20. data/lib/appmap/hook/method.rb +1 -1
  21. data/lib/appmap/trace.rb +1 -1
  22. data/lib/appmap/util.rb +1 -0
  23. data/lib/appmap/version.rb +1 -1
  24. data/lib/appmap.rb +0 -7
  25. metadata +13 -361
  26. data/spec/class_map_spec.rb +0 -28
  27. data/spec/config_spec.rb +0 -155
  28. data/spec/depends/api_spec.rb +0 -196
  29. data/spec/depends/spec_helper.rb +0 -18
  30. data/spec/display_string_spec.rb +0 -40
  31. data/spec/fixtures/config/incomplete_config.yml +0 -1
  32. data/spec/fixtures/config/invalid_config.yml +0 -2
  33. data/spec/fixtures/config/invalid_yaml_config.yml +0 -3
  34. data/spec/fixtures/config/maximal_config.yml +0 -14
  35. data/spec/fixtures/config/missing_path_or_gem.yml +0 -3
  36. data/spec/fixtures/config/valid_config.yml +0 -3
  37. data/spec/fixtures/database.yml +0 -11
  38. data/spec/fixtures/depends/.gitignore +0 -2
  39. data/spec/fixtures/depends/app/controllers/api/api_keys_controller.rb +0 -2
  40. data/spec/fixtures/depends/app/controllers/organizations_controller.rb +0 -2
  41. data/spec/fixtures/depends/app/models/api_key.rb +0 -2
  42. data/spec/fixtures/depends/app/models/configuration.rb +0 -2
  43. data/spec/fixtures/depends/app/models/show.rb +0 -2
  44. data/spec/fixtures/depends/app/models/user.rb +0 -2
  45. data/spec/fixtures/depends/spec/actual_rspec_test.rb +0 -7
  46. data/spec/fixtures/depends/spec/api_spec.rb +0 -2
  47. data/spec/fixtures/depends/spec/user_spec.rb +0 -2
  48. data/spec/fixtures/depends/test/actual_minitest_test.rb +0 -5
  49. data/spec/fixtures/hook/.gitignore +0 -2
  50. data/spec/fixtures/hook/app/controllers/api/api_keys_controller.rb +0 -1
  51. data/spec/fixtures/hook/app/controllers/organizations_controller.rb +0 -1
  52. data/spec/fixtures/hook/app/models/api_key.rb +0 -1
  53. data/spec/fixtures/hook/app/models/configuration.rb +0 -1
  54. data/spec/fixtures/hook/app/models/show.rb +0 -1
  55. data/spec/fixtures/hook/app/models/user.rb +0 -1
  56. data/spec/fixtures/hook/attr_accessor.rb +0 -5
  57. data/spec/fixtures/hook/compare.rb +0 -7
  58. data/spec/fixtures/hook/constructor.rb +0 -7
  59. data/spec/fixtures/hook/custom_instance_method.rb +0 -11
  60. data/spec/fixtures/hook/exception_method.rb +0 -61
  61. data/spec/fixtures/hook/exclude.rb +0 -15
  62. data/spec/fixtures/hook/instance_method.rb +0 -31
  63. data/spec/fixtures/hook/kwargs.rb +0 -11
  64. data/spec/fixtures/hook/labels.rb +0 -6
  65. data/spec/fixtures/hook/method_named_call.rb +0 -11
  66. data/spec/fixtures/hook/pkg_a/a.rb +0 -7
  67. data/spec/fixtures/hook/prepended_override.rb +0 -14
  68. data/spec/fixtures/hook/protected_method.rb +0 -29
  69. data/spec/fixtures/hook/report_parameters.rb +0 -8
  70. data/spec/fixtures/hook/singleton_method.rb +0 -63
  71. data/spec/fixtures/hook/spec/api_spec.rb +0 -1
  72. data/spec/fixtures/hook/spec/user_spec.rb +0 -1
  73. data/spec/fixtures/hook/sub_packages.rb +0 -7
  74. data/spec/fixtures/rack_users_app/.dockerignore +0 -2
  75. data/spec/fixtures/rack_users_app/.gitignore +0 -2
  76. data/spec/fixtures/rack_users_app/Gemfile +0 -10
  77. data/spec/fixtures/rack_users_app/appmap.yml +0 -3
  78. data/spec/fixtures/rack_users_app/config.ru +0 -2
  79. data/spec/fixtures/rack_users_app/lib/app.rb +0 -36
  80. data/spec/fixtures/rails5_users_app/.dockerignore +0 -1
  81. data/spec/fixtures/rails5_users_app/.gitignore +0 -39
  82. data/spec/fixtures/rails5_users_app/.rspec +0 -1
  83. data/spec/fixtures/rails5_users_app/.ruby-version +0 -1
  84. data/spec/fixtures/rails5_users_app/Gemfile +0 -54
  85. data/spec/fixtures/rails5_users_app/Rakefile +0 -6
  86. data/spec/fixtures/rails5_users_app/app/controllers/api/users_controller.rb +0 -29
  87. data/spec/fixtures/rails5_users_app/app/controllers/application_controller.rb +0 -2
  88. data/spec/fixtures/rails5_users_app/app/controllers/concerns/.keep +0 -0
  89. data/spec/fixtures/rails5_users_app/app/controllers/health_controller.rb +0 -5
  90. data/spec/fixtures/rails5_users_app/app/controllers/users_controller.rb +0 -21
  91. data/spec/fixtures/rails5_users_app/app/models/activerecord/user.rb +0 -18
  92. data/spec/fixtures/rails5_users_app/app/models/concerns/.keep +0 -0
  93. data/spec/fixtures/rails5_users_app/app/models/sequel/user.rb +0 -25
  94. data/spec/fixtures/rails5_users_app/app/views/layouts/application.html.haml +0 -7
  95. data/spec/fixtures/rails5_users_app/app/views/users/index.html.haml +0 -7
  96. data/spec/fixtures/rails5_users_app/appmap.yml +0 -11
  97. data/spec/fixtures/rails5_users_app/bin/appmap +0 -29
  98. data/spec/fixtures/rails5_users_app/bin/byebug +0 -29
  99. data/spec/fixtures/rails5_users_app/bin/gli +0 -29
  100. data/spec/fixtures/rails5_users_app/bin/htmldiff +0 -29
  101. data/spec/fixtures/rails5_users_app/bin/ldiff +0 -29
  102. data/spec/fixtures/rails5_users_app/bin/nokogiri +0 -29
  103. data/spec/fixtures/rails5_users_app/bin/rackup +0 -29
  104. data/spec/fixtures/rails5_users_app/bin/rails +0 -4
  105. data/spec/fixtures/rails5_users_app/bin/rake +0 -29
  106. data/spec/fixtures/rails5_users_app/bin/rspec +0 -29
  107. data/spec/fixtures/rails5_users_app/bin/ruby-parse +0 -29
  108. data/spec/fixtures/rails5_users_app/bin/ruby-rewrite +0 -29
  109. data/spec/fixtures/rails5_users_app/bin/sequel +0 -29
  110. data/spec/fixtures/rails5_users_app/bin/setup +0 -25
  111. data/spec/fixtures/rails5_users_app/bin/sprockets +0 -29
  112. data/spec/fixtures/rails5_users_app/bin/thor +0 -29
  113. data/spec/fixtures/rails5_users_app/bin/update +0 -25
  114. data/spec/fixtures/rails5_users_app/config/application.rb +0 -45
  115. data/spec/fixtures/rails5_users_app/config/boot.rb +0 -3
  116. data/spec/fixtures/rails5_users_app/config/credentials.yml.enc +0 -1
  117. data/spec/fixtures/rails5_users_app/config/database.yml +0 -1
  118. data/spec/fixtures/rails5_users_app/config/environment.rb +0 -5
  119. data/spec/fixtures/rails5_users_app/config/environments/development.rb +0 -40
  120. data/spec/fixtures/rails5_users_app/config/environments/production.rb +0 -68
  121. data/spec/fixtures/rails5_users_app/config/environments/test.rb +0 -39
  122. data/spec/fixtures/rails5_users_app/config/initializers/application_controller_renderer.rb +0 -8
  123. data/spec/fixtures/rails5_users_app/config/initializers/backtrace_silencers.rb +0 -7
  124. data/spec/fixtures/rails5_users_app/config/initializers/cors.rb +0 -16
  125. data/spec/fixtures/rails5_users_app/config/initializers/filter_parameter_logging.rb +0 -4
  126. data/spec/fixtures/rails5_users_app/config/initializers/inflections.rb +0 -16
  127. data/spec/fixtures/rails5_users_app/config/initializers/mime_types.rb +0 -4
  128. data/spec/fixtures/rails5_users_app/config/initializers/wrap_parameters.rb +0 -9
  129. data/spec/fixtures/rails5_users_app/config/locales/en.yml +0 -33
  130. data/spec/fixtures/rails5_users_app/config/routes.rb +0 -11
  131. data/spec/fixtures/rails5_users_app/config.ru +0 -5
  132. data/spec/fixtures/rails5_users_app/db/migrate/20190728211408_create_users.rb +0 -9
  133. data/spec/fixtures/rails5_users_app/db/schema.rb +0 -23
  134. data/spec/fixtures/rails5_users_app/features/api_users.feature +0 -13
  135. data/spec/fixtures/rails5_users_app/features/support/env.rb +0 -4
  136. data/spec/fixtures/rails5_users_app/features/support/hooks.rb +0 -11
  137. data/spec/fixtures/rails5_users_app/features/support/steps.rb +0 -18
  138. data/spec/fixtures/rails5_users_app/lib/tasks/.keep +0 -0
  139. data/spec/fixtures/rails5_users_app/log/.keep +0 -0
  140. data/spec/fixtures/rails5_users_app/public/robots.txt +0 -1
  141. data/spec/fixtures/rails5_users_app/spec/controllers/users_controller_api_spec.rb +0 -42
  142. data/spec/fixtures/rails5_users_app/spec/controllers/users_controller_spec.rb +0 -27
  143. data/spec/fixtures/rails5_users_app/spec/models/user_spec.rb +0 -29
  144. data/spec/fixtures/rails5_users_app/spec/rails_helper.rb +0 -57
  145. data/spec/fixtures/rails5_users_app/spec/spec_helper.rb +0 -96
  146. data/spec/fixtures/rails5_users_app/users_app/.gitignore +0 -20
  147. data/spec/fixtures/rails6_users_app/.dockerignore +0 -1
  148. data/spec/fixtures/rails6_users_app/.gitignore +0 -39
  149. data/spec/fixtures/rails6_users_app/.rspec +0 -1
  150. data/spec/fixtures/rails6_users_app/Gemfile +0 -28
  151. data/spec/fixtures/rails6_users_app/Rakefile +0 -6
  152. data/spec/fixtures/rails6_users_app/app/controllers/api/users_controller.rb +0 -28
  153. data/spec/fixtures/rails6_users_app/app/controllers/application_controller.rb +0 -2
  154. data/spec/fixtures/rails6_users_app/app/controllers/concerns/.keep +0 -0
  155. data/spec/fixtures/rails6_users_app/app/controllers/health_controller.rb +0 -5
  156. data/spec/fixtures/rails6_users_app/app/controllers/users_controller.rb +0 -21
  157. data/spec/fixtures/rails6_users_app/app/models/activerecord/user.rb +0 -18
  158. data/spec/fixtures/rails6_users_app/app/models/concerns/.keep +0 -0
  159. data/spec/fixtures/rails6_users_app/app/models/sequel/user.rb +0 -25
  160. data/spec/fixtures/rails6_users_app/app/views/layouts/application.html.haml +0 -7
  161. data/spec/fixtures/rails6_users_app/app/views/users/index.html.haml +0 -7
  162. data/spec/fixtures/rails6_users_app/appmap.yml +0 -14
  163. data/spec/fixtures/rails6_users_app/bin/appmap +0 -29
  164. data/spec/fixtures/rails6_users_app/bin/byebug +0 -29
  165. data/spec/fixtures/rails6_users_app/bin/gli +0 -29
  166. data/spec/fixtures/rails6_users_app/bin/htmldiff +0 -29
  167. data/spec/fixtures/rails6_users_app/bin/ldiff +0 -29
  168. data/spec/fixtures/rails6_users_app/bin/nokogiri +0 -29
  169. data/spec/fixtures/rails6_users_app/bin/rackup +0 -29
  170. data/spec/fixtures/rails6_users_app/bin/rails +0 -4
  171. data/spec/fixtures/rails6_users_app/bin/rake +0 -29
  172. data/spec/fixtures/rails6_users_app/bin/rspec +0 -29
  173. data/spec/fixtures/rails6_users_app/bin/ruby-parse +0 -29
  174. data/spec/fixtures/rails6_users_app/bin/ruby-rewrite +0 -29
  175. data/spec/fixtures/rails6_users_app/bin/sequel +0 -29
  176. data/spec/fixtures/rails6_users_app/bin/setup +0 -25
  177. data/spec/fixtures/rails6_users_app/bin/sprockets +0 -29
  178. data/spec/fixtures/rails6_users_app/bin/thor +0 -29
  179. data/spec/fixtures/rails6_users_app/bin/update +0 -25
  180. data/spec/fixtures/rails6_users_app/config/application.rb +0 -45
  181. data/spec/fixtures/rails6_users_app/config/boot.rb +0 -3
  182. data/spec/fixtures/rails6_users_app/config/credentials.yml.enc +0 -1
  183. data/spec/fixtures/rails6_users_app/config/database.yml +0 -1
  184. data/spec/fixtures/rails6_users_app/config/environment.rb +0 -5
  185. data/spec/fixtures/rails6_users_app/config/environments/development.rb +0 -40
  186. data/spec/fixtures/rails6_users_app/config/environments/production.rb +0 -68
  187. data/spec/fixtures/rails6_users_app/config/environments/test.rb +0 -39
  188. data/spec/fixtures/rails6_users_app/config/initializers/application_controller_renderer.rb +0 -8
  189. data/spec/fixtures/rails6_users_app/config/initializers/backtrace_silencers.rb +0 -7
  190. data/spec/fixtures/rails6_users_app/config/initializers/cors.rb +0 -16
  191. data/spec/fixtures/rails6_users_app/config/initializers/filter_parameter_logging.rb +0 -4
  192. data/spec/fixtures/rails6_users_app/config/initializers/inflections.rb +0 -16
  193. data/spec/fixtures/rails6_users_app/config/initializers/mime_types.rb +0 -4
  194. data/spec/fixtures/rails6_users_app/config/initializers/wrap_parameters.rb +0 -9
  195. data/spec/fixtures/rails6_users_app/config/locales/en.yml +0 -33
  196. data/spec/fixtures/rails6_users_app/config/routes.rb +0 -11
  197. data/spec/fixtures/rails6_users_app/config.ru +0 -5
  198. data/spec/fixtures/rails6_users_app/db/migrate/20190728211408_create_users.rb +0 -9
  199. data/spec/fixtures/rails6_users_app/db/schema.rb +0 -23
  200. data/spec/fixtures/rails6_users_app/features/api_users.feature +0 -13
  201. data/spec/fixtures/rails6_users_app/features/support/env.rb +0 -4
  202. data/spec/fixtures/rails6_users_app/features/support/hooks.rb +0 -11
  203. data/spec/fixtures/rails6_users_app/features/support/steps.rb +0 -18
  204. data/spec/fixtures/rails6_users_app/lib/tasks/.keep +0 -0
  205. data/spec/fixtures/rails6_users_app/lib/tasks/appmap.rake +0 -23
  206. data/spec/fixtures/rails6_users_app/log/.keep +0 -0
  207. data/spec/fixtures/rails6_users_app/package.json +0 -8
  208. data/spec/fixtures/rails6_users_app/public/robots.txt +0 -1
  209. data/spec/fixtures/rails6_users_app/spec/controllers/users_controller_api_spec.rb +0 -42
  210. data/spec/fixtures/rails6_users_app/spec/controllers/users_controller_spec.rb +0 -27
  211. data/spec/fixtures/rails6_users_app/spec/models/user_spec.rb +0 -29
  212. data/spec/fixtures/rails6_users_app/spec/rails_helper.rb +0 -57
  213. data/spec/fixtures/rails6_users_app/spec/spec_helper.rb +0 -96
  214. data/spec/fixtures/rails6_users_app/test/controllers/functional_calc_test.rb +0 -10
  215. data/spec/fixtures/rails6_users_app/test/integration/integration_calc_test.rb +0 -12
  216. data/spec/fixtures/rails6_users_app/users_app/.gitignore +0 -20
  217. data/spec/fixtures/rails6_users_app/yarn.lock +0 -2020
  218. data/spec/fixtures/rails7_users_app/.dockerignore +0 -1
  219. data/spec/fixtures/rails7_users_app/.gitattributes +0 -7
  220. data/spec/fixtures/rails7_users_app/.gitignore +0 -31
  221. data/spec/fixtures/rails7_users_app/.rspec +0 -1
  222. data/spec/fixtures/rails7_users_app/Gemfile +0 -75
  223. data/spec/fixtures/rails7_users_app/README.md +0 -24
  224. data/spec/fixtures/rails7_users_app/Rakefile +0 -6
  225. data/spec/fixtures/rails7_users_app/app/assets/config/manifest.js +0 -4
  226. data/spec/fixtures/rails7_users_app/app/assets/images/.keep +0 -0
  227. data/spec/fixtures/rails7_users_app/app/assets/stylesheets/application.css +0 -15
  228. data/spec/fixtures/rails7_users_app/app/channels/application_cable/channel.rb +0 -4
  229. data/spec/fixtures/rails7_users_app/app/channels/application_cable/connection.rb +0 -4
  230. data/spec/fixtures/rails7_users_app/app/controllers/application_controller.rb +0 -2
  231. data/spec/fixtures/rails7_users_app/app/controllers/concerns/.keep +0 -0
  232. data/spec/fixtures/rails7_users_app/app/helpers/application_helper.rb +0 -2
  233. data/spec/fixtures/rails7_users_app/app/javascript/application.js +0 -3
  234. data/spec/fixtures/rails7_users_app/app/javascript/controllers/application.js +0 -9
  235. data/spec/fixtures/rails7_users_app/app/javascript/controllers/hello_controller.js +0 -7
  236. data/spec/fixtures/rails7_users_app/app/javascript/controllers/index.js +0 -11
  237. data/spec/fixtures/rails7_users_app/app/jobs/application_job.rb +0 -7
  238. data/spec/fixtures/rails7_users_app/app/mailers/application_mailer.rb +0 -4
  239. data/spec/fixtures/rails7_users_app/app/models/application_record.rb +0 -3
  240. data/spec/fixtures/rails7_users_app/app/models/concerns/.keep +0 -0
  241. data/spec/fixtures/rails7_users_app/app/models/instance.rb +0 -7
  242. data/spec/fixtures/rails7_users_app/app/models/instructor.rb +0 -7
  243. data/spec/fixtures/rails7_users_app/app/views/layouts/application.html.erb +0 -16
  244. data/spec/fixtures/rails7_users_app/app/views/layouts/mailer.html.erb +0 -13
  245. data/spec/fixtures/rails7_users_app/app/views/layouts/mailer.text.erb +0 -1
  246. data/spec/fixtures/rails7_users_app/appmap.yml +0 -3
  247. data/spec/fixtures/rails7_users_app/bin/bundle +0 -114
  248. data/spec/fixtures/rails7_users_app/bin/importmap +0 -4
  249. data/spec/fixtures/rails7_users_app/bin/rails +0 -4
  250. data/spec/fixtures/rails7_users_app/bin/rake +0 -4
  251. data/spec/fixtures/rails7_users_app/bin/setup +0 -33
  252. data/spec/fixtures/rails7_users_app/config/application.rb +0 -22
  253. data/spec/fixtures/rails7_users_app/config/boot.rb +0 -4
  254. data/spec/fixtures/rails7_users_app/config/cable.yml +0 -10
  255. data/spec/fixtures/rails7_users_app/config/credentials.yml.enc +0 -1
  256. data/spec/fixtures/rails7_users_app/config/database.yml +0 -1
  257. data/spec/fixtures/rails7_users_app/config/environment.rb +0 -5
  258. data/spec/fixtures/rails7_users_app/config/environments/development.rb +0 -70
  259. data/spec/fixtures/rails7_users_app/config/environments/production.rb +0 -93
  260. data/spec/fixtures/rails7_users_app/config/environments/test.rb +0 -60
  261. data/spec/fixtures/rails7_users_app/config/importmap.rb +0 -7
  262. data/spec/fixtures/rails7_users_app/config/initializers/assets.rb +0 -12
  263. data/spec/fixtures/rails7_users_app/config/initializers/content_security_policy.rb +0 -26
  264. data/spec/fixtures/rails7_users_app/config/initializers/filter_parameter_logging.rb +0 -8
  265. data/spec/fixtures/rails7_users_app/config/initializers/inflections.rb +0 -16
  266. data/spec/fixtures/rails7_users_app/config/initializers/permissions_policy.rb +0 -11
  267. data/spec/fixtures/rails7_users_app/config/locales/en.yml +0 -33
  268. data/spec/fixtures/rails7_users_app/config/puma.rb +0 -43
  269. data/spec/fixtures/rails7_users_app/config/routes.rb +0 -6
  270. data/spec/fixtures/rails7_users_app/config/storage.yml +0 -34
  271. data/spec/fixtures/rails7_users_app/config.ru +0 -6
  272. data/spec/fixtures/rails7_users_app/db/migrate/20220328093141_create_instances.rb +0 -8
  273. data/spec/fixtures/rails7_users_app/db/migrate/20220328093154_create_instructors.rb +0 -8
  274. data/spec/fixtures/rails7_users_app/db/schema.rb +0 -27
  275. data/spec/fixtures/rails7_users_app/db/seeds.rb +0 -7
  276. data/spec/fixtures/rails7_users_app/lib/assets/.keep +0 -0
  277. data/spec/fixtures/rails7_users_app/lib/tasks/.keep +0 -0
  278. data/spec/fixtures/rails7_users_app/log/.keep +0 -0
  279. data/spec/fixtures/rails7_users_app/public/404.html +0 -67
  280. data/spec/fixtures/rails7_users_app/public/422.html +0 -67
  281. data/spec/fixtures/rails7_users_app/public/500.html +0 -66
  282. data/spec/fixtures/rails7_users_app/public/apple-touch-icon-precomposed.png +0 -0
  283. data/spec/fixtures/rails7_users_app/public/apple-touch-icon.png +0 -0
  284. data/spec/fixtures/rails7_users_app/public/favicon.ico +0 -0
  285. data/spec/fixtures/rails7_users_app/public/robots.txt +0 -1
  286. data/spec/fixtures/rails7_users_app/storage/.keep +0 -0
  287. data/spec/fixtures/rails7_users_app/test/application_system_test_case.rb +0 -5
  288. data/spec/fixtures/rails7_users_app/test/channels/application_cable/connection_test.rb +0 -11
  289. data/spec/fixtures/rails7_users_app/test/controllers/.keep +0 -0
  290. data/spec/fixtures/rails7_users_app/test/fixtures/files/.keep +0 -0
  291. data/spec/fixtures/rails7_users_app/test/fixtures/instances.yml +0 -11
  292. data/spec/fixtures/rails7_users_app/test/fixtures/instructors.yml +0 -11
  293. data/spec/fixtures/rails7_users_app/test/helpers/.keep +0 -0
  294. data/spec/fixtures/rails7_users_app/test/integration/.keep +0 -0
  295. data/spec/fixtures/rails7_users_app/test/mailers/.keep +0 -0
  296. data/spec/fixtures/rails7_users_app/test/models/.keep +0 -0
  297. data/spec/fixtures/rails7_users_app/test/models/instance_test.rb +0 -6
  298. data/spec/fixtures/rails7_users_app/test/models/instructor_test.rb +0 -7
  299. data/spec/fixtures/rails7_users_app/test/system/.keep +0 -0
  300. data/spec/fixtures/rails7_users_app/test/test_helper.rb +0 -13
  301. data/spec/handler/class_with_eval.rb +0 -13
  302. data/spec/handler/eval_spec.rb +0 -73
  303. data/spec/hook_spec.rb +0 -1216
  304. data/spec/open_spec.rb +0 -19
  305. data/spec/rails_recording_spec.rb +0 -281
  306. data/spec/rails_spec_helper.rb +0 -107
  307. data/spec/rails_test_spec.rb +0 -35
  308. data/spec/railtie_spec.rb +0 -25
  309. data/spec/record_net_http_spec.rb +0 -161
  310. data/spec/record_sql_rails_pg_spec.rb +0 -59
  311. data/spec/remote_recording_spec.rb +0 -108
  312. data/spec/service/config_analyzer_spec.rb +0 -102
  313. data/spec/service/integration_test_path_finder_spec.rb +0 -24
  314. data/spec/service/validator/violation_spec.rb +0 -68
  315. data/spec/spec_helper.rb +0 -37
  316. data/spec/swagger/swagger_spec.rb +0 -85
  317. data/spec/util_spec.rb +0 -38
  318. data/test/agent_setup_init_test.rb +0 -39
  319. data/test/agent_setup_status_test.rb +0 -84
  320. data/test/agent_setup_validate_test.rb +0 -102
  321. data/test/bundle_vendor_test.rb +0 -35
  322. data/test/cucumber_test.rb +0 -72
  323. data/test/expectations/openssl_test_key_sign1.json +0 -53
  324. data/test/expectations/openssl_test_key_sign2-3.1.json +0 -53
  325. data/test/expectations/openssl_test_key_sign2.json +0 -58
  326. data/test/fixtures/bundle_vendor_app/Gemfile +0 -8
  327. data/test/fixtures/bundle_vendor_app/appmap.yml +0 -4
  328. data/test/fixtures/bundle_vendor_app/cli.rb +0 -54
  329. data/test/fixtures/cli_record_test/appmap.yml +0 -3
  330. data/test/fixtures/cli_record_test/lib/cli_record_test/main.rb +0 -9
  331. data/test/fixtures/cucumber4_recorder/Gemfile +0 -5
  332. data/test/fixtures/cucumber4_recorder/appmap.yml +0 -3
  333. data/test/fixtures/cucumber4_recorder/features/say_hello.feature +0 -5
  334. data/test/fixtures/cucumber4_recorder/features/support/env.rb +0 -5
  335. data/test/fixtures/cucumber4_recorder/features/support/hooks.rb +0 -11
  336. data/test/fixtures/cucumber4_recorder/features/support/steps.rb +0 -9
  337. data/test/fixtures/cucumber4_recorder/lib/hello.rb +0 -7
  338. data/test/fixtures/cucumber_recorder/Gemfile +0 -5
  339. data/test/fixtures/cucumber_recorder/appmap.yml +0 -3
  340. data/test/fixtures/cucumber_recorder/features/say_hello.feature +0 -5
  341. data/test/fixtures/cucumber_recorder/features/support/env.rb +0 -5
  342. data/test/fixtures/cucumber_recorder/features/support/hooks.rb +0 -11
  343. data/test/fixtures/cucumber_recorder/features/support/steps.rb +0 -9
  344. data/test/fixtures/cucumber_recorder/lib/hello.rb +0 -7
  345. data/test/fixtures/gem_test/Gemfile +0 -7
  346. data/test/fixtures/gem_test/appmap.yml +0 -3
  347. data/test/fixtures/gem_test/test/parser_test.rb +0 -12
  348. data/test/fixtures/minitest_recorder/Gemfile +0 -5
  349. data/test/fixtures/minitest_recorder/appmap.yml +0 -3
  350. data/test/fixtures/minitest_recorder/lib/hello.rb +0 -5
  351. data/test/fixtures/minitest_recorder/test/hello_test.rb +0 -12
  352. data/test/fixtures/mocha_mock_app/Gemfile +0 -5
  353. data/test/fixtures/mocha_mock_app/appmap.yml +0 -5
  354. data/test/fixtures/mocha_mock_app/lib/sheep.rb +0 -5
  355. data/test/fixtures/mocha_mock_app/test/sheep_test.rb +0 -18
  356. data/test/fixtures/openssl_recorder/Gemfile +0 -3
  357. data/test/fixtures/openssl_recorder/appmap.yml +0 -3
  358. data/test/fixtures/openssl_recorder/lib/openssl_cert_sign.rb +0 -94
  359. data/test/fixtures/openssl_recorder/lib/openssl_encrypt.rb +0 -34
  360. data/test/fixtures/openssl_recorder/lib/openssl_key_sign.rb +0 -28
  361. data/test/fixtures/process_recorder/appmap.yml +0 -3
  362. data/test/fixtures/process_recorder/hello.rb +0 -9
  363. data/test/fixtures/rspec_recorder/Gemfile +0 -5
  364. data/test/fixtures/rspec_recorder/appmap.yml +0 -3
  365. data/test/fixtures/rspec_recorder/lib/hello.rb +0 -5
  366. data/test/fixtures/rspec_recorder/spec/decorated_hello_spec.rb +0 -21
  367. data/test/fixtures/rspec_recorder/spec/labeled_hello_spec.rb +0 -9
  368. data/test/fixtures/rspec_recorder/spec/plain_hello_spec.rb +0 -9
  369. data/test/gem_test.rb +0 -35
  370. data/test/inspect_cli_test.rb +0 -12
  371. data/test/minitest_test.rb +0 -37
  372. data/test/mock_compatibility_test.rb +0 -45
  373. data/test/openssl_test.rb +0 -54
  374. data/test/record_process_test.rb +0 -35
  375. data/test/rspec_test.rb +0 -63
  376. data/test/test_helper.rb +0 -8
@@ -1,93 +0,0 @@
1
- require "active_support/core_ext/integer/time"
2
-
3
- Rails.application.configure do
4
- # Settings specified here will take precedence over those in config/application.rb.
5
-
6
- # Code is not reloaded between requests.
7
- config.cache_classes = true
8
-
9
- # Eager load code on boot. This eager loads most of Rails and
10
- # your application in memory, allowing both threaded web servers
11
- # and those relying on copy on write to perform better.
12
- # Rake tasks automatically ignore this option for performance.
13
- config.eager_load = true
14
-
15
- # Full error reports are disabled and caching is turned on.
16
- config.consider_all_requests_local = false
17
- config.action_controller.perform_caching = true
18
-
19
- # Ensures that a master key has been made available in either ENV["RAILS_MASTER_KEY"]
20
- # or in config/master.key. This key is used to decrypt credentials (and other encrypted files).
21
- # config.require_master_key = true
22
-
23
- # Disable serving static files from the `/public` folder by default since
24
- # Apache or NGINX already handles this.
25
- config.public_file_server.enabled = ENV["RAILS_SERVE_STATIC_FILES"].present?
26
-
27
- # Compress CSS using a preprocessor.
28
- # config.assets.css_compressor = :sass
29
-
30
- # Do not fallback to assets pipeline if a precompiled asset is missed.
31
- config.assets.compile = false
32
-
33
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
34
- # config.asset_host = "http://assets.example.com"
35
-
36
- # Specifies the header that your server uses for sending files.
37
- # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for Apache
38
- # config.action_dispatch.x_sendfile_header = "X-Accel-Redirect" # for NGINX
39
-
40
- # Store uploaded files on the local file system (see config/storage.yml for options).
41
- config.active_storage.service = :local
42
-
43
- # Mount Action Cable outside main process or domain.
44
- # config.action_cable.mount_path = nil
45
- # config.action_cable.url = "wss://example.com/cable"
46
- # config.action_cable.allowed_request_origins = [ "http://example.com", /http:\/\/example.*/ ]
47
-
48
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
49
- # config.force_ssl = true
50
-
51
- # Include generic and useful information about system operation, but avoid logging too much
52
- # information to avoid inadvertent exposure of personally identifiable information (PII).
53
- config.log_level = :info
54
-
55
- # Prepend all log lines with the following tags.
56
- config.log_tags = [ :request_id ]
57
-
58
- # Use a different cache store in production.
59
- # config.cache_store = :mem_cache_store
60
-
61
- # Use a real queuing backend for Active Job (and separate queues per environment).
62
- # config.active_job.queue_adapter = :resque
63
- # config.active_job.queue_name_prefix = "app_production"
64
-
65
- config.action_mailer.perform_caching = false
66
-
67
- # Ignore bad email addresses and do not raise email delivery errors.
68
- # Set this to true and configure the email server for immediate delivery to raise delivery errors.
69
- # config.action_mailer.raise_delivery_errors = false
70
-
71
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
72
- # the I18n.default_locale when a translation cannot be found).
73
- config.i18n.fallbacks = true
74
-
75
- # Don't log any deprecations.
76
- config.active_support.report_deprecations = false
77
-
78
- # Use default logging formatter so that PID and timestamp are not suppressed.
79
- config.log_formatter = ::Logger::Formatter.new
80
-
81
- # Use a different logger for distributed setups.
82
- # require "syslog/logger"
83
- # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new "app-name")
84
-
85
- if ENV["RAILS_LOG_TO_STDOUT"].present?
86
- logger = ActiveSupport::Logger.new(STDOUT)
87
- logger.formatter = config.log_formatter
88
- config.logger = ActiveSupport::TaggedLogging.new(logger)
89
- end
90
-
91
- # Do not dump schema after migrations.
92
- config.active_record.dump_schema_after_migration = false
93
- end
@@ -1,60 +0,0 @@
1
- require "active_support/core_ext/integer/time"
2
-
3
- # The test environment is used exclusively to run your application's
4
- # test suite. You never need to work with it otherwise. Remember that
5
- # your test database is "scratch space" for the test suite and is wiped
6
- # and recreated between test runs. Don't rely on the data there!
7
-
8
- Rails.application.configure do
9
- # Settings specified here will take precedence over those in config/application.rb.
10
-
11
- # Turn false under Spring and add config.action_view.cache_template_loading = true.
12
- config.cache_classes = true
13
-
14
- # Eager loading loads your whole application. When running a single test locally,
15
- # this probably isn't necessary. It's a good idea to do in a continuous integration
16
- # system, or in some way before deploying your code.
17
- config.eager_load = ENV["CI"].present?
18
-
19
- # Configure public file server for tests with Cache-Control for performance.
20
- config.public_file_server.enabled = true
21
- config.public_file_server.headers = {
22
- "Cache-Control" => "public, max-age=#{1.hour.to_i}"
23
- }
24
-
25
- # Show full error reports and disable caching.
26
- config.consider_all_requests_local = true
27
- config.action_controller.perform_caching = false
28
- config.cache_store = :null_store
29
-
30
- # Raise exceptions instead of rendering exception templates.
31
- config.action_dispatch.show_exceptions = false
32
-
33
- # Disable request forgery protection in test environment.
34
- config.action_controller.allow_forgery_protection = false
35
-
36
- # Store uploaded files on the local file system in a temporary directory.
37
- config.active_storage.service = :test
38
-
39
- config.action_mailer.perform_caching = false
40
-
41
- # Tell Action Mailer not to deliver emails to the real world.
42
- # The :test delivery method accumulates sent emails in the
43
- # ActionMailer::Base.deliveries array.
44
- config.action_mailer.delivery_method = :test
45
-
46
- # Print deprecation notices to the stderr.
47
- config.active_support.deprecation = :stderr
48
-
49
- # Raise exceptions for disallowed deprecations.
50
- config.active_support.disallowed_deprecation = :raise
51
-
52
- # Tell Active Support which deprecation messages to disallow.
53
- config.active_support.disallowed_deprecation_warnings = []
54
-
55
- # Raises error for missing translations.
56
- # config.i18n.raise_on_missing_translations = true
57
-
58
- # Annotate rendered view with file names.
59
- # config.action_view.annotate_rendered_view_with_filenames = true
60
- end
@@ -1,7 +0,0 @@
1
- # Pin npm packages by running ./bin/importmap
2
-
3
- pin "application", preload: true
4
- pin "@hotwired/turbo-rails", to: "turbo.min.js", preload: true
5
- pin "@hotwired/stimulus", to: "stimulus.min.js", preload: true
6
- pin "@hotwired/stimulus-loading", to: "stimulus-loading.js", preload: true
7
- pin_all_from "app/javascript/controllers", under: "controllers"
@@ -1,12 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Version of your assets, change this if you want to expire all your assets.
4
- Rails.application.config.assets.version = "1.0"
5
-
6
- # Add additional assets to the asset load path.
7
- # Rails.application.config.assets.paths << Emoji.images_path
8
-
9
- # Precompile additional assets.
10
- # application.js, application.css, and all non-JS/CSS in the app/assets
11
- # folder are already added.
12
- # Rails.application.config.assets.precompile += %w( admin.js admin.css )
@@ -1,26 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Define an application-wide content security policy
4
- # For further information see the following documentation
5
- # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy
6
-
7
- # Rails.application.configure do
8
- # config.content_security_policy do |policy|
9
- # policy.default_src :self, :https
10
- # policy.font_src :self, :https, :data
11
- # policy.img_src :self, :https, :data
12
- # policy.object_src :none
13
- # policy.script_src :self, :https
14
- # policy.style_src :self, :https
15
- # # Specify URI for violation reports
16
- # # policy.report_uri "/csp-violation-report-endpoint"
17
- # end
18
- #
19
- # # Generate session nonces for permitted importmap and inline scripts
20
- # config.content_security_policy_nonce_generator = ->(request) { request.session.id.to_s }
21
- # config.content_security_policy_nonce_directives = %w(script-src)
22
- #
23
- # # Report CSP violations to a specified URI. See:
24
- # # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only
25
- # # config.content_security_policy_report_only = true
26
- # end
@@ -1,8 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Configure parameters to be filtered from the log file. Use this to limit dissemination of
4
- # sensitive information. See the ActiveSupport::ParameterFilter documentation for supported
5
- # notations and behaviors.
6
- Rails.application.config.filter_parameters += [
7
- :passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn
8
- ]
@@ -1,16 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new inflection rules using the following format. Inflections
4
- # are locale specific, and you may define rules for as many different
5
- # locales as you wish. All of these examples are active by default:
6
- # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
- # inflect.plural /^(ox)$/i, "\\1en"
8
- # inflect.singular /^(ox)en/i, "\\1"
9
- # inflect.irregular "person", "people"
10
- # inflect.uncountable %w( fish sheep )
11
- # end
12
-
13
- # These inflection rules are supported but not enabled by default:
14
- # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
- # inflect.acronym "RESTful"
16
- # end
@@ -1,11 +0,0 @@
1
- # Define an application-wide HTTP permissions policy. For further
2
- # information see https://developers.google.com/web/updates/2018/06/feature-policy
3
- #
4
- # Rails.application.config.permissions_policy do |f|
5
- # f.camera :none
6
- # f.gyroscope :none
7
- # f.microphone :none
8
- # f.usb :none
9
- # f.fullscreen :self
10
- # f.payment :self, "https://secure.example.com"
11
- # end
@@ -1,33 +0,0 @@
1
- # Files in the config/locales directory are used for internationalization
2
- # and are automatically loaded by Rails. If you want to use locales other
3
- # than English, add the necessary files in this directory.
4
- #
5
- # To use the locales, use `I18n.t`:
6
- #
7
- # I18n.t "hello"
8
- #
9
- # In views, this is aliased to just `t`:
10
- #
11
- # <%= t("hello") %>
12
- #
13
- # To use a different locale, set it with `I18n.locale`:
14
- #
15
- # I18n.locale = :es
16
- #
17
- # This would use the information in config/locales/es.yml.
18
- #
19
- # The following keys must be escaped otherwise they will not be retrieved by
20
- # the default I18n backend:
21
- #
22
- # true, false, on, off, yes, no
23
- #
24
- # Instead, surround them with single quotes.
25
- #
26
- # en:
27
- # "true": "foo"
28
- #
29
- # To learn more, please read the Rails Internationalization guide
30
- # available at https://guides.rubyonrails.org/i18n.html.
31
-
32
- en:
33
- hello: "Hello world"
@@ -1,43 +0,0 @@
1
- # Puma can serve each request in a thread from an internal thread pool.
2
- # The `threads` method setting takes two numbers: a minimum and maximum.
3
- # Any libraries that use thread pools should be configured to match
4
- # the maximum value specified for Puma. Default is set to 5 threads for minimum
5
- # and maximum; this matches the default thread size of Active Record.
6
- #
7
- max_threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }
8
- min_threads_count = ENV.fetch("RAILS_MIN_THREADS") { max_threads_count }
9
- threads min_threads_count, max_threads_count
10
-
11
- # Specifies the `worker_timeout` threshold that Puma will use to wait before
12
- # terminating a worker in development environments.
13
- #
14
- worker_timeout 3600 if ENV.fetch("RAILS_ENV", "development") == "development"
15
-
16
- # Specifies the `port` that Puma will listen on to receive requests; default is 3000.
17
- #
18
- port ENV.fetch("PORT") { 3000 }
19
-
20
- # Specifies the `environment` that Puma will run in.
21
- #
22
- environment ENV.fetch("RAILS_ENV") { "development" }
23
-
24
- # Specifies the `pidfile` that Puma will use.
25
- pidfile ENV.fetch("PIDFILE") { "tmp/pids/server.pid" }
26
-
27
- # Specifies the number of `workers` to boot in clustered mode.
28
- # Workers are forked web server processes. If using threads and workers together
29
- # the concurrency of the application would be max `threads` * `workers`.
30
- # Workers do not work on JRuby or Windows (both of which do not support
31
- # processes).
32
- #
33
- # workers ENV.fetch("WEB_CONCURRENCY") { 2 }
34
-
35
- # Use the `preload_app!` method when specifying a `workers` number.
36
- # This directive tells Puma to first boot the application and load code
37
- # before forking the application. This takes advantage of Copy On Write
38
- # process behavior so workers use less memory.
39
- #
40
- # preload_app!
41
-
42
- # Allow puma to be restarted by `bin/rails restart` command.
43
- plugin :tmp_restart
@@ -1,6 +0,0 @@
1
- Rails.application.routes.draw do
2
- # Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
3
-
4
- # Defines the root path route ("/")
5
- # root "articles#index"
6
- end
@@ -1,34 +0,0 @@
1
- test:
2
- service: Disk
3
- root: <%= Rails.root.join("tmp/storage") %>
4
-
5
- local:
6
- service: Disk
7
- root: <%= Rails.root.join("storage") %>
8
-
9
- # Use bin/rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
10
- # amazon:
11
- # service: S3
12
- # access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %>
13
- # secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %>
14
- # region: us-east-1
15
- # bucket: your_own_bucket-<%= Rails.env %>
16
-
17
- # Remember not to checkin your GCS keyfile to a repository
18
- # google:
19
- # service: GCS
20
- # project: your_project
21
- # credentials: <%= Rails.root.join("path/to/gcs.keyfile") %>
22
- # bucket: your_own_bucket-<%= Rails.env %>
23
-
24
- # Use bin/rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key)
25
- # microsoft:
26
- # service: AzureStorage
27
- # storage_account_name: your_account_name
28
- # storage_access_key: <%= Rails.application.credentials.dig(:azure_storage, :storage_access_key) %>
29
- # container: your_container_name-<%= Rails.env %>
30
-
31
- # mirror:
32
- # service: Mirror
33
- # primary: local
34
- # mirrors: [ amazon, google, microsoft ]
@@ -1,6 +0,0 @@
1
- # This file is used by Rack-based servers to start the application.
2
-
3
- require_relative "config/environment"
4
-
5
- run Rails.application
6
- Rails.application.load_server
@@ -1,8 +0,0 @@
1
- class CreateInstances < ActiveRecord::Migration[7.0]
2
- def change
3
- create_table :instances do |t|
4
-
5
- t.timestamps
6
- end
7
- end
8
- end
@@ -1,8 +0,0 @@
1
- class CreateInstructors < ActiveRecord::Migration[7.0]
2
- def change
3
- create_table :instructors do |t|
4
-
5
- t.timestamps
6
- end
7
- end
8
- end
@@ -1,27 +0,0 @@
1
- # This file is auto-generated from the current state of the database. Instead
2
- # of editing this file, please use the migrations feature of Active Record to
3
- # incrementally modify your database, and then regenerate this schema definition.
4
- #
5
- # This file is the source Rails uses to define your schema when running `bin/rails
6
- # db:schema:load`. When creating a new database, `bin/rails db:schema:load` tends to
7
- # be faster and is potentially less error prone than running all of your
8
- # migrations from scratch. Old migrations may fail to apply correctly if those
9
- # migrations use external dependencies or application code.
10
- #
11
- # It's strongly recommended that you check this file into your version control system.
12
-
13
- ActiveRecord::Schema[7.0].define(version: 2022_03_28_093154) do
14
- # These are extensions that must be enabled in order to support this database
15
- enable_extension "plpgsql"
16
-
17
- create_table "instances", force: :cascade do |t|
18
- t.datetime "created_at", null: false
19
- t.datetime "updated_at", null: false
20
- end
21
-
22
- create_table "instructors", force: :cascade do |t|
23
- t.datetime "created_at", null: false
24
- t.datetime "updated_at", null: false
25
- end
26
-
27
- end
@@ -1,7 +0,0 @@
1
- # This file should contain all the record creation needed to seed the database with its default values.
2
- # The data can then be loaded with the bin/rails db:seed command (or created alongside the database with db:setup).
3
- #
4
- # Examples:
5
- #
6
- # movies = Movie.create([{ name: "Star Wars" }, { name: "Lord of the Rings" }])
7
- # Character.create(name: "Luke", movie: movies.first)
File without changes
File without changes
File without changes
@@ -1,67 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>The page you were looking for doesn't exist (404)</title>
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
- <style>
7
- .rails-default-error-page {
8
- background-color: #EFEFEF;
9
- color: #2E2F30;
10
- text-align: center;
11
- font-family: arial, sans-serif;
12
- margin: 0;
13
- }
14
-
15
- .rails-default-error-page div.dialog {
16
- width: 95%;
17
- max-width: 33em;
18
- margin: 4em auto 0;
19
- }
20
-
21
- .rails-default-error-page div.dialog > div {
22
- border: 1px solid #CCC;
23
- border-right-color: #999;
24
- border-left-color: #999;
25
- border-bottom-color: #BBB;
26
- border-top: #B00100 solid 4px;
27
- border-top-left-radius: 9px;
28
- border-top-right-radius: 9px;
29
- background-color: white;
30
- padding: 7px 12% 0;
31
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
- }
33
-
34
- .rails-default-error-page h1 {
35
- font-size: 100%;
36
- color: #730E15;
37
- line-height: 1.5em;
38
- }
39
-
40
- .rails-default-error-page div.dialog > p {
41
- margin: 0 0 1em;
42
- padding: 1em;
43
- background-color: #F7F7F7;
44
- border: 1px solid #CCC;
45
- border-right-color: #999;
46
- border-left-color: #999;
47
- border-bottom-color: #999;
48
- border-bottom-left-radius: 4px;
49
- border-bottom-right-radius: 4px;
50
- border-top-color: #DADADA;
51
- color: #666;
52
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
- }
54
- </style>
55
- </head>
56
-
57
- <body class="rails-default-error-page">
58
- <!-- This file lives in public/404.html -->
59
- <div class="dialog">
60
- <div>
61
- <h1>The page you were looking for doesn't exist.</h1>
62
- <p>You may have mistyped the address or the page may have moved.</p>
63
- </div>
64
- <p>If you are the application owner check the logs for more information.</p>
65
- </div>
66
- </body>
67
- </html>
@@ -1,67 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>The change you wanted was rejected (422)</title>
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
- <style>
7
- .rails-default-error-page {
8
- background-color: #EFEFEF;
9
- color: #2E2F30;
10
- text-align: center;
11
- font-family: arial, sans-serif;
12
- margin: 0;
13
- }
14
-
15
- .rails-default-error-page div.dialog {
16
- width: 95%;
17
- max-width: 33em;
18
- margin: 4em auto 0;
19
- }
20
-
21
- .rails-default-error-page div.dialog > div {
22
- border: 1px solid #CCC;
23
- border-right-color: #999;
24
- border-left-color: #999;
25
- border-bottom-color: #BBB;
26
- border-top: #B00100 solid 4px;
27
- border-top-left-radius: 9px;
28
- border-top-right-radius: 9px;
29
- background-color: white;
30
- padding: 7px 12% 0;
31
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
- }
33
-
34
- .rails-default-error-page h1 {
35
- font-size: 100%;
36
- color: #730E15;
37
- line-height: 1.5em;
38
- }
39
-
40
- .rails-default-error-page div.dialog > p {
41
- margin: 0 0 1em;
42
- padding: 1em;
43
- background-color: #F7F7F7;
44
- border: 1px solid #CCC;
45
- border-right-color: #999;
46
- border-left-color: #999;
47
- border-bottom-color: #999;
48
- border-bottom-left-radius: 4px;
49
- border-bottom-right-radius: 4px;
50
- border-top-color: #DADADA;
51
- color: #666;
52
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
- }
54
- </style>
55
- </head>
56
-
57
- <body class="rails-default-error-page">
58
- <!-- This file lives in public/422.html -->
59
- <div class="dialog">
60
- <div>
61
- <h1>The change you wanted was rejected.</h1>
62
- <p>Maybe you tried to change something you didn't have access to.</p>
63
- </div>
64
- <p>If you are the application owner check the logs for more information.</p>
65
- </div>
66
- </body>
67
- </html>
@@ -1,66 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>We're sorry, but something went wrong (500)</title>
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
- <style>
7
- .rails-default-error-page {
8
- background-color: #EFEFEF;
9
- color: #2E2F30;
10
- text-align: center;
11
- font-family: arial, sans-serif;
12
- margin: 0;
13
- }
14
-
15
- .rails-default-error-page div.dialog {
16
- width: 95%;
17
- max-width: 33em;
18
- margin: 4em auto 0;
19
- }
20
-
21
- .rails-default-error-page div.dialog > div {
22
- border: 1px solid #CCC;
23
- border-right-color: #999;
24
- border-left-color: #999;
25
- border-bottom-color: #BBB;
26
- border-top: #B00100 solid 4px;
27
- border-top-left-radius: 9px;
28
- border-top-right-radius: 9px;
29
- background-color: white;
30
- padding: 7px 12% 0;
31
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
- }
33
-
34
- .rails-default-error-page h1 {
35
- font-size: 100%;
36
- color: #730E15;
37
- line-height: 1.5em;
38
- }
39
-
40
- .rails-default-error-page div.dialog > p {
41
- margin: 0 0 1em;
42
- padding: 1em;
43
- background-color: #F7F7F7;
44
- border: 1px solid #CCC;
45
- border-right-color: #999;
46
- border-left-color: #999;
47
- border-bottom-color: #999;
48
- border-bottom-left-radius: 4px;
49
- border-bottom-right-radius: 4px;
50
- border-top-color: #DADADA;
51
- color: #666;
52
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
- }
54
- </style>
55
- </head>
56
-
57
- <body class="rails-default-error-page">
58
- <!-- This file lives in public/500.html -->
59
- <div class="dialog">
60
- <div>
61
- <h1>We're sorry, but something went wrong.</h1>
62
- </div>
63
- <p>If you are the application owner check the logs for more information.</p>
64
- </div>
65
- </body>
66
- </html>
File without changes
@@ -1 +0,0 @@
1
- # See https://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
File without changes
@@ -1,5 +0,0 @@
1
- require "test_helper"
2
-
3
- class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
4
- driven_by :selenium, using: :chrome, screen_size: [1400, 1400]
5
- end
@@ -1,11 +0,0 @@
1
- require "test_helper"
2
-
3
- class ApplicationCable::ConnectionTest < ActionCable::Connection::TestCase
4
- # test "connects with cookies" do
5
- # cookies.signed[:user_id] = 42
6
- #
7
- # connect
8
- #
9
- # assert_equal connection.user_id, "42"
10
- # end
11
- end