appmap 0.83.4 → 0.84.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +16 -0
- data/CHANGELOG.md +33 -0
- data/appmap.gemspec +3 -2
- data/lib/appmap/agent.rb +6 -0
- data/lib/appmap/{gem_hooks → builtin_hooks}/activesupport.yml +6 -0
- data/lib/appmap/builtin_hooks/net/http.yml +1 -1
- data/lib/appmap/builtin_hooks/openssl.yml +34 -0
- data/lib/appmap/builtin_hooks/ruby.yml +1 -1
- data/lib/appmap/config.rb +3 -3
- data/lib/appmap/event.rb +2 -2
- data/lib/appmap/gem_hooks/actionpack.yml +2 -0
- data/lib/appmap/gem_hooks/random.yml +12 -0
- data/lib/appmap/handler/{eval.rb → eval_handler.rb} +4 -4
- data/lib/appmap/handler/{function.rb → function_handler.rb} +1 -1
- data/lib/appmap/handler/{net_http.rb → net_http_handler.rb} +3 -3
- data/lib/appmap/handler/open_ssl_handler.rb +16 -0
- data/lib/appmap/handler/rails/render_handler.rb +2 -2
- data/lib/appmap/handler/rails/template.rb +2 -2
- data/lib/appmap/hook/method.rb +1 -1
- data/lib/appmap/trace.rb +1 -1
- data/lib/appmap/util.rb +1 -0
- data/lib/appmap/version.rb +1 -1
- data/lib/appmap.rb +0 -7
- metadata +13 -361
- data/spec/class_map_spec.rb +0 -28
- data/spec/config_spec.rb +0 -155
- data/spec/depends/api_spec.rb +0 -196
- data/spec/depends/spec_helper.rb +0 -18
- data/spec/display_string_spec.rb +0 -40
- data/spec/fixtures/config/incomplete_config.yml +0 -1
- data/spec/fixtures/config/invalid_config.yml +0 -2
- data/spec/fixtures/config/invalid_yaml_config.yml +0 -3
- data/spec/fixtures/config/maximal_config.yml +0 -14
- data/spec/fixtures/config/missing_path_or_gem.yml +0 -3
- data/spec/fixtures/config/valid_config.yml +0 -3
- data/spec/fixtures/database.yml +0 -11
- data/spec/fixtures/depends/.gitignore +0 -2
- data/spec/fixtures/depends/app/controllers/api/api_keys_controller.rb +0 -2
- data/spec/fixtures/depends/app/controllers/organizations_controller.rb +0 -2
- data/spec/fixtures/depends/app/models/api_key.rb +0 -2
- data/spec/fixtures/depends/app/models/configuration.rb +0 -2
- data/spec/fixtures/depends/app/models/show.rb +0 -2
- data/spec/fixtures/depends/app/models/user.rb +0 -2
- data/spec/fixtures/depends/spec/actual_rspec_test.rb +0 -7
- data/spec/fixtures/depends/spec/api_spec.rb +0 -2
- data/spec/fixtures/depends/spec/user_spec.rb +0 -2
- data/spec/fixtures/depends/test/actual_minitest_test.rb +0 -5
- data/spec/fixtures/hook/.gitignore +0 -2
- data/spec/fixtures/hook/app/controllers/api/api_keys_controller.rb +0 -1
- data/spec/fixtures/hook/app/controllers/organizations_controller.rb +0 -1
- data/spec/fixtures/hook/app/models/api_key.rb +0 -1
- data/spec/fixtures/hook/app/models/configuration.rb +0 -1
- data/spec/fixtures/hook/app/models/show.rb +0 -1
- data/spec/fixtures/hook/app/models/user.rb +0 -1
- data/spec/fixtures/hook/attr_accessor.rb +0 -5
- data/spec/fixtures/hook/compare.rb +0 -7
- data/spec/fixtures/hook/constructor.rb +0 -7
- data/spec/fixtures/hook/custom_instance_method.rb +0 -11
- data/spec/fixtures/hook/exception_method.rb +0 -61
- data/spec/fixtures/hook/exclude.rb +0 -15
- data/spec/fixtures/hook/instance_method.rb +0 -31
- data/spec/fixtures/hook/kwargs.rb +0 -11
- data/spec/fixtures/hook/labels.rb +0 -6
- data/spec/fixtures/hook/method_named_call.rb +0 -11
- data/spec/fixtures/hook/pkg_a/a.rb +0 -7
- data/spec/fixtures/hook/prepended_override.rb +0 -14
- data/spec/fixtures/hook/protected_method.rb +0 -29
- data/spec/fixtures/hook/report_parameters.rb +0 -8
- data/spec/fixtures/hook/singleton_method.rb +0 -63
- data/spec/fixtures/hook/spec/api_spec.rb +0 -1
- data/spec/fixtures/hook/spec/user_spec.rb +0 -1
- data/spec/fixtures/hook/sub_packages.rb +0 -7
- data/spec/fixtures/rack_users_app/.dockerignore +0 -2
- data/spec/fixtures/rack_users_app/.gitignore +0 -2
- data/spec/fixtures/rack_users_app/Gemfile +0 -10
- data/spec/fixtures/rack_users_app/appmap.yml +0 -3
- data/spec/fixtures/rack_users_app/config.ru +0 -2
- data/spec/fixtures/rack_users_app/lib/app.rb +0 -36
- data/spec/fixtures/rails5_users_app/.dockerignore +0 -1
- data/spec/fixtures/rails5_users_app/.gitignore +0 -39
- data/spec/fixtures/rails5_users_app/.rspec +0 -1
- data/spec/fixtures/rails5_users_app/.ruby-version +0 -1
- data/spec/fixtures/rails5_users_app/Gemfile +0 -54
- data/spec/fixtures/rails5_users_app/Rakefile +0 -6
- data/spec/fixtures/rails5_users_app/app/controllers/api/users_controller.rb +0 -29
- data/spec/fixtures/rails5_users_app/app/controllers/application_controller.rb +0 -2
- data/spec/fixtures/rails5_users_app/app/controllers/concerns/.keep +0 -0
- data/spec/fixtures/rails5_users_app/app/controllers/health_controller.rb +0 -5
- data/spec/fixtures/rails5_users_app/app/controllers/users_controller.rb +0 -21
- data/spec/fixtures/rails5_users_app/app/models/activerecord/user.rb +0 -18
- data/spec/fixtures/rails5_users_app/app/models/concerns/.keep +0 -0
- data/spec/fixtures/rails5_users_app/app/models/sequel/user.rb +0 -25
- data/spec/fixtures/rails5_users_app/app/views/layouts/application.html.haml +0 -7
- data/spec/fixtures/rails5_users_app/app/views/users/index.html.haml +0 -7
- data/spec/fixtures/rails5_users_app/appmap.yml +0 -11
- data/spec/fixtures/rails5_users_app/bin/appmap +0 -29
- data/spec/fixtures/rails5_users_app/bin/byebug +0 -29
- data/spec/fixtures/rails5_users_app/bin/gli +0 -29
- data/spec/fixtures/rails5_users_app/bin/htmldiff +0 -29
- data/spec/fixtures/rails5_users_app/bin/ldiff +0 -29
- data/spec/fixtures/rails5_users_app/bin/nokogiri +0 -29
- data/spec/fixtures/rails5_users_app/bin/rackup +0 -29
- data/spec/fixtures/rails5_users_app/bin/rails +0 -4
- data/spec/fixtures/rails5_users_app/bin/rake +0 -29
- data/spec/fixtures/rails5_users_app/bin/rspec +0 -29
- data/spec/fixtures/rails5_users_app/bin/ruby-parse +0 -29
- data/spec/fixtures/rails5_users_app/bin/ruby-rewrite +0 -29
- data/spec/fixtures/rails5_users_app/bin/sequel +0 -29
- data/spec/fixtures/rails5_users_app/bin/setup +0 -25
- data/spec/fixtures/rails5_users_app/bin/sprockets +0 -29
- data/spec/fixtures/rails5_users_app/bin/thor +0 -29
- data/spec/fixtures/rails5_users_app/bin/update +0 -25
- data/spec/fixtures/rails5_users_app/config/application.rb +0 -45
- data/spec/fixtures/rails5_users_app/config/boot.rb +0 -3
- data/spec/fixtures/rails5_users_app/config/credentials.yml.enc +0 -1
- data/spec/fixtures/rails5_users_app/config/database.yml +0 -1
- data/spec/fixtures/rails5_users_app/config/environment.rb +0 -5
- data/spec/fixtures/rails5_users_app/config/environments/development.rb +0 -40
- data/spec/fixtures/rails5_users_app/config/environments/production.rb +0 -68
- data/spec/fixtures/rails5_users_app/config/environments/test.rb +0 -39
- data/spec/fixtures/rails5_users_app/config/initializers/application_controller_renderer.rb +0 -8
- data/spec/fixtures/rails5_users_app/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/fixtures/rails5_users_app/config/initializers/cors.rb +0 -16
- data/spec/fixtures/rails5_users_app/config/initializers/filter_parameter_logging.rb +0 -4
- data/spec/fixtures/rails5_users_app/config/initializers/inflections.rb +0 -16
- data/spec/fixtures/rails5_users_app/config/initializers/mime_types.rb +0 -4
- data/spec/fixtures/rails5_users_app/config/initializers/wrap_parameters.rb +0 -9
- data/spec/fixtures/rails5_users_app/config/locales/en.yml +0 -33
- data/spec/fixtures/rails5_users_app/config/routes.rb +0 -11
- data/spec/fixtures/rails5_users_app/config.ru +0 -5
- data/spec/fixtures/rails5_users_app/db/migrate/20190728211408_create_users.rb +0 -9
- data/spec/fixtures/rails5_users_app/db/schema.rb +0 -23
- data/spec/fixtures/rails5_users_app/features/api_users.feature +0 -13
- data/spec/fixtures/rails5_users_app/features/support/env.rb +0 -4
- data/spec/fixtures/rails5_users_app/features/support/hooks.rb +0 -11
- data/spec/fixtures/rails5_users_app/features/support/steps.rb +0 -18
- data/spec/fixtures/rails5_users_app/lib/tasks/.keep +0 -0
- data/spec/fixtures/rails5_users_app/log/.keep +0 -0
- data/spec/fixtures/rails5_users_app/public/robots.txt +0 -1
- data/spec/fixtures/rails5_users_app/spec/controllers/users_controller_api_spec.rb +0 -42
- data/spec/fixtures/rails5_users_app/spec/controllers/users_controller_spec.rb +0 -27
- data/spec/fixtures/rails5_users_app/spec/models/user_spec.rb +0 -29
- data/spec/fixtures/rails5_users_app/spec/rails_helper.rb +0 -57
- data/spec/fixtures/rails5_users_app/spec/spec_helper.rb +0 -96
- data/spec/fixtures/rails5_users_app/users_app/.gitignore +0 -20
- data/spec/fixtures/rails6_users_app/.dockerignore +0 -1
- data/spec/fixtures/rails6_users_app/.gitignore +0 -39
- data/spec/fixtures/rails6_users_app/.rspec +0 -1
- data/spec/fixtures/rails6_users_app/Gemfile +0 -28
- data/spec/fixtures/rails6_users_app/Rakefile +0 -6
- data/spec/fixtures/rails6_users_app/app/controllers/api/users_controller.rb +0 -28
- data/spec/fixtures/rails6_users_app/app/controllers/application_controller.rb +0 -2
- data/spec/fixtures/rails6_users_app/app/controllers/concerns/.keep +0 -0
- data/spec/fixtures/rails6_users_app/app/controllers/health_controller.rb +0 -5
- data/spec/fixtures/rails6_users_app/app/controllers/users_controller.rb +0 -21
- data/spec/fixtures/rails6_users_app/app/models/activerecord/user.rb +0 -18
- data/spec/fixtures/rails6_users_app/app/models/concerns/.keep +0 -0
- data/spec/fixtures/rails6_users_app/app/models/sequel/user.rb +0 -25
- data/spec/fixtures/rails6_users_app/app/views/layouts/application.html.haml +0 -7
- data/spec/fixtures/rails6_users_app/app/views/users/index.html.haml +0 -7
- data/spec/fixtures/rails6_users_app/appmap.yml +0 -14
- data/spec/fixtures/rails6_users_app/bin/appmap +0 -29
- data/spec/fixtures/rails6_users_app/bin/byebug +0 -29
- data/spec/fixtures/rails6_users_app/bin/gli +0 -29
- data/spec/fixtures/rails6_users_app/bin/htmldiff +0 -29
- data/spec/fixtures/rails6_users_app/bin/ldiff +0 -29
- data/spec/fixtures/rails6_users_app/bin/nokogiri +0 -29
- data/spec/fixtures/rails6_users_app/bin/rackup +0 -29
- data/spec/fixtures/rails6_users_app/bin/rails +0 -4
- data/spec/fixtures/rails6_users_app/bin/rake +0 -29
- data/spec/fixtures/rails6_users_app/bin/rspec +0 -29
- data/spec/fixtures/rails6_users_app/bin/ruby-parse +0 -29
- data/spec/fixtures/rails6_users_app/bin/ruby-rewrite +0 -29
- data/spec/fixtures/rails6_users_app/bin/sequel +0 -29
- data/spec/fixtures/rails6_users_app/bin/setup +0 -25
- data/spec/fixtures/rails6_users_app/bin/sprockets +0 -29
- data/spec/fixtures/rails6_users_app/bin/thor +0 -29
- data/spec/fixtures/rails6_users_app/bin/update +0 -25
- data/spec/fixtures/rails6_users_app/config/application.rb +0 -45
- data/spec/fixtures/rails6_users_app/config/boot.rb +0 -3
- data/spec/fixtures/rails6_users_app/config/credentials.yml.enc +0 -1
- data/spec/fixtures/rails6_users_app/config/database.yml +0 -1
- data/spec/fixtures/rails6_users_app/config/environment.rb +0 -5
- data/spec/fixtures/rails6_users_app/config/environments/development.rb +0 -40
- data/spec/fixtures/rails6_users_app/config/environments/production.rb +0 -68
- data/spec/fixtures/rails6_users_app/config/environments/test.rb +0 -39
- data/spec/fixtures/rails6_users_app/config/initializers/application_controller_renderer.rb +0 -8
- data/spec/fixtures/rails6_users_app/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/fixtures/rails6_users_app/config/initializers/cors.rb +0 -16
- data/spec/fixtures/rails6_users_app/config/initializers/filter_parameter_logging.rb +0 -4
- data/spec/fixtures/rails6_users_app/config/initializers/inflections.rb +0 -16
- data/spec/fixtures/rails6_users_app/config/initializers/mime_types.rb +0 -4
- data/spec/fixtures/rails6_users_app/config/initializers/wrap_parameters.rb +0 -9
- data/spec/fixtures/rails6_users_app/config/locales/en.yml +0 -33
- data/spec/fixtures/rails6_users_app/config/routes.rb +0 -11
- data/spec/fixtures/rails6_users_app/config.ru +0 -5
- data/spec/fixtures/rails6_users_app/db/migrate/20190728211408_create_users.rb +0 -9
- data/spec/fixtures/rails6_users_app/db/schema.rb +0 -23
- data/spec/fixtures/rails6_users_app/features/api_users.feature +0 -13
- data/spec/fixtures/rails6_users_app/features/support/env.rb +0 -4
- data/spec/fixtures/rails6_users_app/features/support/hooks.rb +0 -11
- data/spec/fixtures/rails6_users_app/features/support/steps.rb +0 -18
- data/spec/fixtures/rails6_users_app/lib/tasks/.keep +0 -0
- data/spec/fixtures/rails6_users_app/lib/tasks/appmap.rake +0 -23
- data/spec/fixtures/rails6_users_app/log/.keep +0 -0
- data/spec/fixtures/rails6_users_app/package.json +0 -8
- data/spec/fixtures/rails6_users_app/public/robots.txt +0 -1
- data/spec/fixtures/rails6_users_app/spec/controllers/users_controller_api_spec.rb +0 -42
- data/spec/fixtures/rails6_users_app/spec/controllers/users_controller_spec.rb +0 -27
- data/spec/fixtures/rails6_users_app/spec/models/user_spec.rb +0 -29
- data/spec/fixtures/rails6_users_app/spec/rails_helper.rb +0 -57
- data/spec/fixtures/rails6_users_app/spec/spec_helper.rb +0 -96
- data/spec/fixtures/rails6_users_app/test/controllers/functional_calc_test.rb +0 -10
- data/spec/fixtures/rails6_users_app/test/integration/integration_calc_test.rb +0 -12
- data/spec/fixtures/rails6_users_app/users_app/.gitignore +0 -20
- data/spec/fixtures/rails6_users_app/yarn.lock +0 -2020
- data/spec/fixtures/rails7_users_app/.dockerignore +0 -1
- data/spec/fixtures/rails7_users_app/.gitattributes +0 -7
- data/spec/fixtures/rails7_users_app/.gitignore +0 -31
- data/spec/fixtures/rails7_users_app/.rspec +0 -1
- data/spec/fixtures/rails7_users_app/Gemfile +0 -75
- data/spec/fixtures/rails7_users_app/README.md +0 -24
- data/spec/fixtures/rails7_users_app/Rakefile +0 -6
- data/spec/fixtures/rails7_users_app/app/assets/config/manifest.js +0 -4
- data/spec/fixtures/rails7_users_app/app/assets/images/.keep +0 -0
- data/spec/fixtures/rails7_users_app/app/assets/stylesheets/application.css +0 -15
- data/spec/fixtures/rails7_users_app/app/channels/application_cable/channel.rb +0 -4
- data/spec/fixtures/rails7_users_app/app/channels/application_cable/connection.rb +0 -4
- data/spec/fixtures/rails7_users_app/app/controllers/application_controller.rb +0 -2
- data/spec/fixtures/rails7_users_app/app/controllers/concerns/.keep +0 -0
- data/spec/fixtures/rails7_users_app/app/helpers/application_helper.rb +0 -2
- data/spec/fixtures/rails7_users_app/app/javascript/application.js +0 -3
- data/spec/fixtures/rails7_users_app/app/javascript/controllers/application.js +0 -9
- data/spec/fixtures/rails7_users_app/app/javascript/controllers/hello_controller.js +0 -7
- data/spec/fixtures/rails7_users_app/app/javascript/controllers/index.js +0 -11
- data/spec/fixtures/rails7_users_app/app/jobs/application_job.rb +0 -7
- data/spec/fixtures/rails7_users_app/app/mailers/application_mailer.rb +0 -4
- data/spec/fixtures/rails7_users_app/app/models/application_record.rb +0 -3
- data/spec/fixtures/rails7_users_app/app/models/concerns/.keep +0 -0
- data/spec/fixtures/rails7_users_app/app/models/instance.rb +0 -7
- data/spec/fixtures/rails7_users_app/app/models/instructor.rb +0 -7
- data/spec/fixtures/rails7_users_app/app/views/layouts/application.html.erb +0 -16
- data/spec/fixtures/rails7_users_app/app/views/layouts/mailer.html.erb +0 -13
- data/spec/fixtures/rails7_users_app/app/views/layouts/mailer.text.erb +0 -1
- data/spec/fixtures/rails7_users_app/appmap.yml +0 -3
- data/spec/fixtures/rails7_users_app/bin/bundle +0 -114
- data/spec/fixtures/rails7_users_app/bin/importmap +0 -4
- data/spec/fixtures/rails7_users_app/bin/rails +0 -4
- data/spec/fixtures/rails7_users_app/bin/rake +0 -4
- data/spec/fixtures/rails7_users_app/bin/setup +0 -33
- data/spec/fixtures/rails7_users_app/config/application.rb +0 -22
- data/spec/fixtures/rails7_users_app/config/boot.rb +0 -4
- data/spec/fixtures/rails7_users_app/config/cable.yml +0 -10
- data/spec/fixtures/rails7_users_app/config/credentials.yml.enc +0 -1
- data/spec/fixtures/rails7_users_app/config/database.yml +0 -1
- data/spec/fixtures/rails7_users_app/config/environment.rb +0 -5
- data/spec/fixtures/rails7_users_app/config/environments/development.rb +0 -70
- data/spec/fixtures/rails7_users_app/config/environments/production.rb +0 -93
- data/spec/fixtures/rails7_users_app/config/environments/test.rb +0 -60
- data/spec/fixtures/rails7_users_app/config/importmap.rb +0 -7
- data/spec/fixtures/rails7_users_app/config/initializers/assets.rb +0 -12
- data/spec/fixtures/rails7_users_app/config/initializers/content_security_policy.rb +0 -26
- data/spec/fixtures/rails7_users_app/config/initializers/filter_parameter_logging.rb +0 -8
- data/spec/fixtures/rails7_users_app/config/initializers/inflections.rb +0 -16
- data/spec/fixtures/rails7_users_app/config/initializers/permissions_policy.rb +0 -11
- data/spec/fixtures/rails7_users_app/config/locales/en.yml +0 -33
- data/spec/fixtures/rails7_users_app/config/puma.rb +0 -43
- data/spec/fixtures/rails7_users_app/config/routes.rb +0 -6
- data/spec/fixtures/rails7_users_app/config/storage.yml +0 -34
- data/spec/fixtures/rails7_users_app/config.ru +0 -6
- data/spec/fixtures/rails7_users_app/db/migrate/20220328093141_create_instances.rb +0 -8
- data/spec/fixtures/rails7_users_app/db/migrate/20220328093154_create_instructors.rb +0 -8
- data/spec/fixtures/rails7_users_app/db/schema.rb +0 -27
- data/spec/fixtures/rails7_users_app/db/seeds.rb +0 -7
- data/spec/fixtures/rails7_users_app/lib/assets/.keep +0 -0
- data/spec/fixtures/rails7_users_app/lib/tasks/.keep +0 -0
- data/spec/fixtures/rails7_users_app/log/.keep +0 -0
- data/spec/fixtures/rails7_users_app/public/404.html +0 -67
- data/spec/fixtures/rails7_users_app/public/422.html +0 -67
- data/spec/fixtures/rails7_users_app/public/500.html +0 -66
- data/spec/fixtures/rails7_users_app/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/fixtures/rails7_users_app/public/apple-touch-icon.png +0 -0
- data/spec/fixtures/rails7_users_app/public/favicon.ico +0 -0
- data/spec/fixtures/rails7_users_app/public/robots.txt +0 -1
- data/spec/fixtures/rails7_users_app/storage/.keep +0 -0
- data/spec/fixtures/rails7_users_app/test/application_system_test_case.rb +0 -5
- data/spec/fixtures/rails7_users_app/test/channels/application_cable/connection_test.rb +0 -11
- data/spec/fixtures/rails7_users_app/test/controllers/.keep +0 -0
- data/spec/fixtures/rails7_users_app/test/fixtures/files/.keep +0 -0
- data/spec/fixtures/rails7_users_app/test/fixtures/instances.yml +0 -11
- data/spec/fixtures/rails7_users_app/test/fixtures/instructors.yml +0 -11
- data/spec/fixtures/rails7_users_app/test/helpers/.keep +0 -0
- data/spec/fixtures/rails7_users_app/test/integration/.keep +0 -0
- data/spec/fixtures/rails7_users_app/test/mailers/.keep +0 -0
- data/spec/fixtures/rails7_users_app/test/models/.keep +0 -0
- data/spec/fixtures/rails7_users_app/test/models/instance_test.rb +0 -6
- data/spec/fixtures/rails7_users_app/test/models/instructor_test.rb +0 -7
- data/spec/fixtures/rails7_users_app/test/system/.keep +0 -0
- data/spec/fixtures/rails7_users_app/test/test_helper.rb +0 -13
- data/spec/handler/class_with_eval.rb +0 -13
- data/spec/handler/eval_spec.rb +0 -73
- data/spec/hook_spec.rb +0 -1216
- data/spec/open_spec.rb +0 -19
- data/spec/rails_recording_spec.rb +0 -281
- data/spec/rails_spec_helper.rb +0 -107
- data/spec/rails_test_spec.rb +0 -35
- data/spec/railtie_spec.rb +0 -25
- data/spec/record_net_http_spec.rb +0 -161
- data/spec/record_sql_rails_pg_spec.rb +0 -59
- data/spec/remote_recording_spec.rb +0 -108
- data/spec/service/config_analyzer_spec.rb +0 -102
- data/spec/service/integration_test_path_finder_spec.rb +0 -24
- data/spec/service/validator/violation_spec.rb +0 -68
- data/spec/spec_helper.rb +0 -37
- data/spec/swagger/swagger_spec.rb +0 -85
- data/spec/util_spec.rb +0 -38
- data/test/agent_setup_init_test.rb +0 -39
- data/test/agent_setup_status_test.rb +0 -84
- data/test/agent_setup_validate_test.rb +0 -102
- data/test/bundle_vendor_test.rb +0 -35
- data/test/cucumber_test.rb +0 -72
- data/test/expectations/openssl_test_key_sign1.json +0 -53
- data/test/expectations/openssl_test_key_sign2-3.1.json +0 -53
- data/test/expectations/openssl_test_key_sign2.json +0 -58
- data/test/fixtures/bundle_vendor_app/Gemfile +0 -8
- data/test/fixtures/bundle_vendor_app/appmap.yml +0 -4
- data/test/fixtures/bundle_vendor_app/cli.rb +0 -54
- data/test/fixtures/cli_record_test/appmap.yml +0 -3
- data/test/fixtures/cli_record_test/lib/cli_record_test/main.rb +0 -9
- data/test/fixtures/cucumber4_recorder/Gemfile +0 -5
- data/test/fixtures/cucumber4_recorder/appmap.yml +0 -3
- data/test/fixtures/cucumber4_recorder/features/say_hello.feature +0 -5
- data/test/fixtures/cucumber4_recorder/features/support/env.rb +0 -5
- data/test/fixtures/cucumber4_recorder/features/support/hooks.rb +0 -11
- data/test/fixtures/cucumber4_recorder/features/support/steps.rb +0 -9
- data/test/fixtures/cucumber4_recorder/lib/hello.rb +0 -7
- data/test/fixtures/cucumber_recorder/Gemfile +0 -5
- data/test/fixtures/cucumber_recorder/appmap.yml +0 -3
- data/test/fixtures/cucumber_recorder/features/say_hello.feature +0 -5
- data/test/fixtures/cucumber_recorder/features/support/env.rb +0 -5
- data/test/fixtures/cucumber_recorder/features/support/hooks.rb +0 -11
- data/test/fixtures/cucumber_recorder/features/support/steps.rb +0 -9
- data/test/fixtures/cucumber_recorder/lib/hello.rb +0 -7
- data/test/fixtures/gem_test/Gemfile +0 -7
- data/test/fixtures/gem_test/appmap.yml +0 -3
- data/test/fixtures/gem_test/test/parser_test.rb +0 -12
- data/test/fixtures/minitest_recorder/Gemfile +0 -5
- data/test/fixtures/minitest_recorder/appmap.yml +0 -3
- data/test/fixtures/minitest_recorder/lib/hello.rb +0 -5
- data/test/fixtures/minitest_recorder/test/hello_test.rb +0 -12
- data/test/fixtures/mocha_mock_app/Gemfile +0 -5
- data/test/fixtures/mocha_mock_app/appmap.yml +0 -5
- data/test/fixtures/mocha_mock_app/lib/sheep.rb +0 -5
- data/test/fixtures/mocha_mock_app/test/sheep_test.rb +0 -18
- data/test/fixtures/openssl_recorder/Gemfile +0 -3
- data/test/fixtures/openssl_recorder/appmap.yml +0 -3
- data/test/fixtures/openssl_recorder/lib/openssl_cert_sign.rb +0 -94
- data/test/fixtures/openssl_recorder/lib/openssl_encrypt.rb +0 -34
- data/test/fixtures/openssl_recorder/lib/openssl_key_sign.rb +0 -28
- data/test/fixtures/process_recorder/appmap.yml +0 -3
- data/test/fixtures/process_recorder/hello.rb +0 -9
- data/test/fixtures/rspec_recorder/Gemfile +0 -5
- data/test/fixtures/rspec_recorder/appmap.yml +0 -3
- data/test/fixtures/rspec_recorder/lib/hello.rb +0 -5
- data/test/fixtures/rspec_recorder/spec/decorated_hello_spec.rb +0 -21
- data/test/fixtures/rspec_recorder/spec/labeled_hello_spec.rb +0 -9
- data/test/fixtures/rspec_recorder/spec/plain_hello_spec.rb +0 -9
- data/test/gem_test.rb +0 -35
- data/test/inspect_cli_test.rb +0 -12
- data/test/minitest_test.rb +0 -37
- data/test/mock_compatibility_test.rb +0 -45
- data/test/openssl_test.rb +0 -54
- data/test/record_process_test.rb +0 -35
- data/test/rspec_test.rb +0 -63
- data/test/test_helper.rb +0 -8
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appmap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.84.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Gilpin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: method_source
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: rack
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: reverse_markdown
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: activesupport
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
@@ -318,6 +318,7 @@ extensions:
|
|
318
318
|
extra_rdoc_files: []
|
319
319
|
files:
|
320
320
|
- ".dockerignore"
|
321
|
+
- ".github/workflows/main.yml"
|
321
322
|
- ".gitignore"
|
322
323
|
- ".rbenv-gemsets"
|
323
324
|
- ".releaserc.yml"
|
@@ -352,6 +353,7 @@ files:
|
|
352
353
|
- ext/appmap/extconf.rb
|
353
354
|
- lib/appmap.rb
|
354
355
|
- lib/appmap/agent.rb
|
356
|
+
- lib/appmap/builtin_hooks/activesupport.yml
|
355
357
|
- lib/appmap/builtin_hooks/json.yml
|
356
358
|
- lib/appmap/builtin_hooks/logger.yml
|
357
359
|
- lib/appmap/builtin_hooks/net/http.yml
|
@@ -382,19 +384,20 @@ files:
|
|
382
384
|
- lib/appmap/gem_hooks/activejob-cancel.yml
|
383
385
|
- lib/appmap/gem_hooks/activejob.yml
|
384
386
|
- lib/appmap/gem_hooks/activerecord.yml
|
385
|
-
- lib/appmap/gem_hooks/activesupport.yml
|
386
387
|
- lib/appmap/gem_hooks/cancancan.yml
|
387
388
|
- lib/appmap/gem_hooks/devise.yml
|
388
389
|
- lib/appmap/gem_hooks/pandoc-ruby.yml
|
389
390
|
- lib/appmap/gem_hooks/rails.yml
|
390
391
|
- lib/appmap/gem_hooks/railties.yml
|
392
|
+
- lib/appmap/gem_hooks/random.yml
|
391
393
|
- lib/appmap/gem_hooks/resque.yml
|
392
394
|
- lib/appmap/gem_hooks/sidekiq.yml
|
393
395
|
- lib/appmap/gem_hooks/sprockets.yml
|
394
396
|
- lib/appmap/handler.rb
|
395
|
-
- lib/appmap/handler/
|
396
|
-
- lib/appmap/handler/
|
397
|
-
- lib/appmap/handler/
|
397
|
+
- lib/appmap/handler/eval_handler.rb
|
398
|
+
- lib/appmap/handler/function_handler.rb
|
399
|
+
- lib/appmap/handler/net_http_handler.rb
|
400
|
+
- lib/appmap/handler/open_ssl_handler.rb
|
398
401
|
- lib/appmap/handler/rails/render_handler.rb
|
399
402
|
- lib/appmap/handler/rails/request_handler.rb
|
400
403
|
- lib/appmap/handler/rails/sql_handler.rb
|
@@ -428,357 +431,6 @@ files:
|
|
428
431
|
- lib/appmap/version.rb
|
429
432
|
- package.json
|
430
433
|
- release.sh
|
431
|
-
- spec/class_map_spec.rb
|
432
|
-
- spec/config_spec.rb
|
433
|
-
- spec/depends/api_spec.rb
|
434
|
-
- spec/depends/spec_helper.rb
|
435
|
-
- spec/display_string_spec.rb
|
436
|
-
- spec/fixtures/config/incomplete_config.yml
|
437
|
-
- spec/fixtures/config/invalid_config.yml
|
438
|
-
- spec/fixtures/config/invalid_yaml_config.yml
|
439
|
-
- spec/fixtures/config/maximal_config.yml
|
440
|
-
- spec/fixtures/config/missing_path_or_gem.yml
|
441
|
-
- spec/fixtures/config/valid_config.yml
|
442
|
-
- spec/fixtures/database.yml
|
443
|
-
- spec/fixtures/depends/.gitignore
|
444
|
-
- spec/fixtures/depends/app/controllers/api/api_keys_controller.rb
|
445
|
-
- spec/fixtures/depends/app/controllers/organizations_controller.rb
|
446
|
-
- spec/fixtures/depends/app/models/api_key.rb
|
447
|
-
- spec/fixtures/depends/app/models/configuration.rb
|
448
|
-
- spec/fixtures/depends/app/models/show.rb
|
449
|
-
- spec/fixtures/depends/app/models/user.rb
|
450
|
-
- spec/fixtures/depends/spec/actual_rspec_test.rb
|
451
|
-
- spec/fixtures/depends/spec/api_spec.rb
|
452
|
-
- spec/fixtures/depends/spec/user_spec.rb
|
453
|
-
- spec/fixtures/depends/test/actual_minitest_test.rb
|
454
|
-
- spec/fixtures/hook/.gitignore
|
455
|
-
- spec/fixtures/hook/app/controllers/api/api_keys_controller.rb
|
456
|
-
- spec/fixtures/hook/app/controllers/organizations_controller.rb
|
457
|
-
- spec/fixtures/hook/app/models/api_key.rb
|
458
|
-
- spec/fixtures/hook/app/models/configuration.rb
|
459
|
-
- spec/fixtures/hook/app/models/show.rb
|
460
|
-
- spec/fixtures/hook/app/models/user.rb
|
461
|
-
- spec/fixtures/hook/attr_accessor.rb
|
462
|
-
- spec/fixtures/hook/compare.rb
|
463
|
-
- spec/fixtures/hook/constructor.rb
|
464
|
-
- spec/fixtures/hook/custom_instance_method.rb
|
465
|
-
- spec/fixtures/hook/exception_method.rb
|
466
|
-
- spec/fixtures/hook/exclude.rb
|
467
|
-
- spec/fixtures/hook/instance_method.rb
|
468
|
-
- spec/fixtures/hook/kwargs.rb
|
469
|
-
- spec/fixtures/hook/labels.rb
|
470
|
-
- spec/fixtures/hook/method_named_call.rb
|
471
|
-
- spec/fixtures/hook/pkg_a/a.rb
|
472
|
-
- spec/fixtures/hook/prepended_override.rb
|
473
|
-
- spec/fixtures/hook/protected_method.rb
|
474
|
-
- spec/fixtures/hook/report_parameters.rb
|
475
|
-
- spec/fixtures/hook/singleton_method.rb
|
476
|
-
- spec/fixtures/hook/spec/api_spec.rb
|
477
|
-
- spec/fixtures/hook/spec/user_spec.rb
|
478
|
-
- spec/fixtures/hook/sub_packages.rb
|
479
|
-
- spec/fixtures/rack_users_app/.dockerignore
|
480
|
-
- spec/fixtures/rack_users_app/.gitignore
|
481
|
-
- spec/fixtures/rack_users_app/Gemfile
|
482
|
-
- spec/fixtures/rack_users_app/appmap.yml
|
483
|
-
- spec/fixtures/rack_users_app/config.ru
|
484
|
-
- spec/fixtures/rack_users_app/lib/app.rb
|
485
|
-
- spec/fixtures/rails5_users_app/.dockerignore
|
486
|
-
- spec/fixtures/rails5_users_app/.gitignore
|
487
|
-
- spec/fixtures/rails5_users_app/.rspec
|
488
|
-
- spec/fixtures/rails5_users_app/.ruby-version
|
489
|
-
- spec/fixtures/rails5_users_app/Gemfile
|
490
|
-
- spec/fixtures/rails5_users_app/Rakefile
|
491
|
-
- spec/fixtures/rails5_users_app/app/controllers/api/users_controller.rb
|
492
|
-
- spec/fixtures/rails5_users_app/app/controllers/application_controller.rb
|
493
|
-
- spec/fixtures/rails5_users_app/app/controllers/concerns/.keep
|
494
|
-
- spec/fixtures/rails5_users_app/app/controllers/health_controller.rb
|
495
|
-
- spec/fixtures/rails5_users_app/app/controllers/users_controller.rb
|
496
|
-
- spec/fixtures/rails5_users_app/app/models/activerecord/user.rb
|
497
|
-
- spec/fixtures/rails5_users_app/app/models/concerns/.keep
|
498
|
-
- spec/fixtures/rails5_users_app/app/models/sequel/user.rb
|
499
|
-
- spec/fixtures/rails5_users_app/app/views/layouts/application.html.haml
|
500
|
-
- spec/fixtures/rails5_users_app/app/views/users/index.html.haml
|
501
|
-
- spec/fixtures/rails5_users_app/appmap.yml
|
502
|
-
- spec/fixtures/rails5_users_app/bin/appmap
|
503
|
-
- spec/fixtures/rails5_users_app/bin/byebug
|
504
|
-
- spec/fixtures/rails5_users_app/bin/gli
|
505
|
-
- spec/fixtures/rails5_users_app/bin/htmldiff
|
506
|
-
- spec/fixtures/rails5_users_app/bin/ldiff
|
507
|
-
- spec/fixtures/rails5_users_app/bin/nokogiri
|
508
|
-
- spec/fixtures/rails5_users_app/bin/rackup
|
509
|
-
- spec/fixtures/rails5_users_app/bin/rails
|
510
|
-
- spec/fixtures/rails5_users_app/bin/rake
|
511
|
-
- spec/fixtures/rails5_users_app/bin/rspec
|
512
|
-
- spec/fixtures/rails5_users_app/bin/ruby-parse
|
513
|
-
- spec/fixtures/rails5_users_app/bin/ruby-rewrite
|
514
|
-
- spec/fixtures/rails5_users_app/bin/sequel
|
515
|
-
- spec/fixtures/rails5_users_app/bin/setup
|
516
|
-
- spec/fixtures/rails5_users_app/bin/sprockets
|
517
|
-
- spec/fixtures/rails5_users_app/bin/thor
|
518
|
-
- spec/fixtures/rails5_users_app/bin/update
|
519
|
-
- spec/fixtures/rails5_users_app/config.ru
|
520
|
-
- spec/fixtures/rails5_users_app/config/application.rb
|
521
|
-
- spec/fixtures/rails5_users_app/config/boot.rb
|
522
|
-
- spec/fixtures/rails5_users_app/config/credentials.yml.enc
|
523
|
-
- spec/fixtures/rails5_users_app/config/database.yml
|
524
|
-
- spec/fixtures/rails5_users_app/config/environment.rb
|
525
|
-
- spec/fixtures/rails5_users_app/config/environments/development.rb
|
526
|
-
- spec/fixtures/rails5_users_app/config/environments/production.rb
|
527
|
-
- spec/fixtures/rails5_users_app/config/environments/test.rb
|
528
|
-
- spec/fixtures/rails5_users_app/config/initializers/application_controller_renderer.rb
|
529
|
-
- spec/fixtures/rails5_users_app/config/initializers/backtrace_silencers.rb
|
530
|
-
- spec/fixtures/rails5_users_app/config/initializers/cors.rb
|
531
|
-
- spec/fixtures/rails5_users_app/config/initializers/filter_parameter_logging.rb
|
532
|
-
- spec/fixtures/rails5_users_app/config/initializers/inflections.rb
|
533
|
-
- spec/fixtures/rails5_users_app/config/initializers/mime_types.rb
|
534
|
-
- spec/fixtures/rails5_users_app/config/initializers/wrap_parameters.rb
|
535
|
-
- spec/fixtures/rails5_users_app/config/locales/en.yml
|
536
|
-
- spec/fixtures/rails5_users_app/config/routes.rb
|
537
|
-
- spec/fixtures/rails5_users_app/db/migrate/20190728211408_create_users.rb
|
538
|
-
- spec/fixtures/rails5_users_app/db/schema.rb
|
539
|
-
- spec/fixtures/rails5_users_app/features/api_users.feature
|
540
|
-
- spec/fixtures/rails5_users_app/features/support/env.rb
|
541
|
-
- spec/fixtures/rails5_users_app/features/support/hooks.rb
|
542
|
-
- spec/fixtures/rails5_users_app/features/support/steps.rb
|
543
|
-
- spec/fixtures/rails5_users_app/lib/tasks/.keep
|
544
|
-
- spec/fixtures/rails5_users_app/log/.keep
|
545
|
-
- spec/fixtures/rails5_users_app/public/robots.txt
|
546
|
-
- spec/fixtures/rails5_users_app/spec/controllers/users_controller_api_spec.rb
|
547
|
-
- spec/fixtures/rails5_users_app/spec/controllers/users_controller_spec.rb
|
548
|
-
- spec/fixtures/rails5_users_app/spec/models/user_spec.rb
|
549
|
-
- spec/fixtures/rails5_users_app/spec/rails_helper.rb
|
550
|
-
- spec/fixtures/rails5_users_app/spec/spec_helper.rb
|
551
|
-
- spec/fixtures/rails5_users_app/users_app/.gitignore
|
552
|
-
- spec/fixtures/rails6_users_app/.dockerignore
|
553
|
-
- spec/fixtures/rails6_users_app/.gitignore
|
554
|
-
- spec/fixtures/rails6_users_app/.rspec
|
555
|
-
- spec/fixtures/rails6_users_app/Gemfile
|
556
|
-
- spec/fixtures/rails6_users_app/Rakefile
|
557
|
-
- spec/fixtures/rails6_users_app/app/controllers/api/users_controller.rb
|
558
|
-
- spec/fixtures/rails6_users_app/app/controllers/application_controller.rb
|
559
|
-
- spec/fixtures/rails6_users_app/app/controllers/concerns/.keep
|
560
|
-
- spec/fixtures/rails6_users_app/app/controllers/health_controller.rb
|
561
|
-
- spec/fixtures/rails6_users_app/app/controllers/users_controller.rb
|
562
|
-
- spec/fixtures/rails6_users_app/app/models/activerecord/user.rb
|
563
|
-
- spec/fixtures/rails6_users_app/app/models/concerns/.keep
|
564
|
-
- spec/fixtures/rails6_users_app/app/models/sequel/user.rb
|
565
|
-
- spec/fixtures/rails6_users_app/app/views/layouts/application.html.haml
|
566
|
-
- spec/fixtures/rails6_users_app/app/views/users/index.html.haml
|
567
|
-
- spec/fixtures/rails6_users_app/appmap.yml
|
568
|
-
- spec/fixtures/rails6_users_app/bin/appmap
|
569
|
-
- spec/fixtures/rails6_users_app/bin/byebug
|
570
|
-
- spec/fixtures/rails6_users_app/bin/gli
|
571
|
-
- spec/fixtures/rails6_users_app/bin/htmldiff
|
572
|
-
- spec/fixtures/rails6_users_app/bin/ldiff
|
573
|
-
- spec/fixtures/rails6_users_app/bin/nokogiri
|
574
|
-
- spec/fixtures/rails6_users_app/bin/rackup
|
575
|
-
- spec/fixtures/rails6_users_app/bin/rails
|
576
|
-
- spec/fixtures/rails6_users_app/bin/rake
|
577
|
-
- spec/fixtures/rails6_users_app/bin/rspec
|
578
|
-
- spec/fixtures/rails6_users_app/bin/ruby-parse
|
579
|
-
- spec/fixtures/rails6_users_app/bin/ruby-rewrite
|
580
|
-
- spec/fixtures/rails6_users_app/bin/sequel
|
581
|
-
- spec/fixtures/rails6_users_app/bin/setup
|
582
|
-
- spec/fixtures/rails6_users_app/bin/sprockets
|
583
|
-
- spec/fixtures/rails6_users_app/bin/thor
|
584
|
-
- spec/fixtures/rails6_users_app/bin/update
|
585
|
-
- spec/fixtures/rails6_users_app/config.ru
|
586
|
-
- spec/fixtures/rails6_users_app/config/application.rb
|
587
|
-
- spec/fixtures/rails6_users_app/config/boot.rb
|
588
|
-
- spec/fixtures/rails6_users_app/config/credentials.yml.enc
|
589
|
-
- spec/fixtures/rails6_users_app/config/database.yml
|
590
|
-
- spec/fixtures/rails6_users_app/config/environment.rb
|
591
|
-
- spec/fixtures/rails6_users_app/config/environments/development.rb
|
592
|
-
- spec/fixtures/rails6_users_app/config/environments/production.rb
|
593
|
-
- spec/fixtures/rails6_users_app/config/environments/test.rb
|
594
|
-
- spec/fixtures/rails6_users_app/config/initializers/application_controller_renderer.rb
|
595
|
-
- spec/fixtures/rails6_users_app/config/initializers/backtrace_silencers.rb
|
596
|
-
- spec/fixtures/rails6_users_app/config/initializers/cors.rb
|
597
|
-
- spec/fixtures/rails6_users_app/config/initializers/filter_parameter_logging.rb
|
598
|
-
- spec/fixtures/rails6_users_app/config/initializers/inflections.rb
|
599
|
-
- spec/fixtures/rails6_users_app/config/initializers/mime_types.rb
|
600
|
-
- spec/fixtures/rails6_users_app/config/initializers/wrap_parameters.rb
|
601
|
-
- spec/fixtures/rails6_users_app/config/locales/en.yml
|
602
|
-
- spec/fixtures/rails6_users_app/config/routes.rb
|
603
|
-
- spec/fixtures/rails6_users_app/db/migrate/20190728211408_create_users.rb
|
604
|
-
- spec/fixtures/rails6_users_app/db/schema.rb
|
605
|
-
- spec/fixtures/rails6_users_app/features/api_users.feature
|
606
|
-
- spec/fixtures/rails6_users_app/features/support/env.rb
|
607
|
-
- spec/fixtures/rails6_users_app/features/support/hooks.rb
|
608
|
-
- spec/fixtures/rails6_users_app/features/support/steps.rb
|
609
|
-
- spec/fixtures/rails6_users_app/lib/tasks/.keep
|
610
|
-
- spec/fixtures/rails6_users_app/lib/tasks/appmap.rake
|
611
|
-
- spec/fixtures/rails6_users_app/log/.keep
|
612
|
-
- spec/fixtures/rails6_users_app/package.json
|
613
|
-
- spec/fixtures/rails6_users_app/public/robots.txt
|
614
|
-
- spec/fixtures/rails6_users_app/spec/controllers/users_controller_api_spec.rb
|
615
|
-
- spec/fixtures/rails6_users_app/spec/controllers/users_controller_spec.rb
|
616
|
-
- spec/fixtures/rails6_users_app/spec/models/user_spec.rb
|
617
|
-
- spec/fixtures/rails6_users_app/spec/rails_helper.rb
|
618
|
-
- spec/fixtures/rails6_users_app/spec/spec_helper.rb
|
619
|
-
- spec/fixtures/rails6_users_app/test/controllers/functional_calc_test.rb
|
620
|
-
- spec/fixtures/rails6_users_app/test/integration/integration_calc_test.rb
|
621
|
-
- spec/fixtures/rails6_users_app/users_app/.gitignore
|
622
|
-
- spec/fixtures/rails6_users_app/yarn.lock
|
623
|
-
- spec/fixtures/rails7_users_app/.dockerignore
|
624
|
-
- spec/fixtures/rails7_users_app/.gitattributes
|
625
|
-
- spec/fixtures/rails7_users_app/.gitignore
|
626
|
-
- spec/fixtures/rails7_users_app/.rspec
|
627
|
-
- spec/fixtures/rails7_users_app/Gemfile
|
628
|
-
- spec/fixtures/rails7_users_app/README.md
|
629
|
-
- spec/fixtures/rails7_users_app/Rakefile
|
630
|
-
- spec/fixtures/rails7_users_app/app/assets/config/manifest.js
|
631
|
-
- spec/fixtures/rails7_users_app/app/assets/images/.keep
|
632
|
-
- spec/fixtures/rails7_users_app/app/assets/stylesheets/application.css
|
633
|
-
- spec/fixtures/rails7_users_app/app/channels/application_cable/channel.rb
|
634
|
-
- spec/fixtures/rails7_users_app/app/channels/application_cable/connection.rb
|
635
|
-
- spec/fixtures/rails7_users_app/app/controllers/application_controller.rb
|
636
|
-
- spec/fixtures/rails7_users_app/app/controllers/concerns/.keep
|
637
|
-
- spec/fixtures/rails7_users_app/app/helpers/application_helper.rb
|
638
|
-
- spec/fixtures/rails7_users_app/app/javascript/application.js
|
639
|
-
- spec/fixtures/rails7_users_app/app/javascript/controllers/application.js
|
640
|
-
- spec/fixtures/rails7_users_app/app/javascript/controllers/hello_controller.js
|
641
|
-
- spec/fixtures/rails7_users_app/app/javascript/controllers/index.js
|
642
|
-
- spec/fixtures/rails7_users_app/app/jobs/application_job.rb
|
643
|
-
- spec/fixtures/rails7_users_app/app/mailers/application_mailer.rb
|
644
|
-
- spec/fixtures/rails7_users_app/app/models/application_record.rb
|
645
|
-
- spec/fixtures/rails7_users_app/app/models/concerns/.keep
|
646
|
-
- spec/fixtures/rails7_users_app/app/models/instance.rb
|
647
|
-
- spec/fixtures/rails7_users_app/app/models/instructor.rb
|
648
|
-
- spec/fixtures/rails7_users_app/app/views/layouts/application.html.erb
|
649
|
-
- spec/fixtures/rails7_users_app/app/views/layouts/mailer.html.erb
|
650
|
-
- spec/fixtures/rails7_users_app/app/views/layouts/mailer.text.erb
|
651
|
-
- spec/fixtures/rails7_users_app/appmap.yml
|
652
|
-
- spec/fixtures/rails7_users_app/bin/bundle
|
653
|
-
- spec/fixtures/rails7_users_app/bin/importmap
|
654
|
-
- spec/fixtures/rails7_users_app/bin/rails
|
655
|
-
- spec/fixtures/rails7_users_app/bin/rake
|
656
|
-
- spec/fixtures/rails7_users_app/bin/setup
|
657
|
-
- spec/fixtures/rails7_users_app/config.ru
|
658
|
-
- spec/fixtures/rails7_users_app/config/application.rb
|
659
|
-
- spec/fixtures/rails7_users_app/config/boot.rb
|
660
|
-
- spec/fixtures/rails7_users_app/config/cable.yml
|
661
|
-
- spec/fixtures/rails7_users_app/config/credentials.yml.enc
|
662
|
-
- spec/fixtures/rails7_users_app/config/database.yml
|
663
|
-
- spec/fixtures/rails7_users_app/config/environment.rb
|
664
|
-
- spec/fixtures/rails7_users_app/config/environments/development.rb
|
665
|
-
- spec/fixtures/rails7_users_app/config/environments/production.rb
|
666
|
-
- spec/fixtures/rails7_users_app/config/environments/test.rb
|
667
|
-
- spec/fixtures/rails7_users_app/config/importmap.rb
|
668
|
-
- spec/fixtures/rails7_users_app/config/initializers/assets.rb
|
669
|
-
- spec/fixtures/rails7_users_app/config/initializers/content_security_policy.rb
|
670
|
-
- spec/fixtures/rails7_users_app/config/initializers/filter_parameter_logging.rb
|
671
|
-
- spec/fixtures/rails7_users_app/config/initializers/inflections.rb
|
672
|
-
- spec/fixtures/rails7_users_app/config/initializers/permissions_policy.rb
|
673
|
-
- spec/fixtures/rails7_users_app/config/locales/en.yml
|
674
|
-
- spec/fixtures/rails7_users_app/config/puma.rb
|
675
|
-
- spec/fixtures/rails7_users_app/config/routes.rb
|
676
|
-
- spec/fixtures/rails7_users_app/config/storage.yml
|
677
|
-
- spec/fixtures/rails7_users_app/db/migrate/20220328093141_create_instances.rb
|
678
|
-
- spec/fixtures/rails7_users_app/db/migrate/20220328093154_create_instructors.rb
|
679
|
-
- spec/fixtures/rails7_users_app/db/schema.rb
|
680
|
-
- spec/fixtures/rails7_users_app/db/seeds.rb
|
681
|
-
- spec/fixtures/rails7_users_app/lib/assets/.keep
|
682
|
-
- spec/fixtures/rails7_users_app/lib/tasks/.keep
|
683
|
-
- spec/fixtures/rails7_users_app/log/.keep
|
684
|
-
- spec/fixtures/rails7_users_app/public/404.html
|
685
|
-
- spec/fixtures/rails7_users_app/public/422.html
|
686
|
-
- spec/fixtures/rails7_users_app/public/500.html
|
687
|
-
- spec/fixtures/rails7_users_app/public/apple-touch-icon-precomposed.png
|
688
|
-
- spec/fixtures/rails7_users_app/public/apple-touch-icon.png
|
689
|
-
- spec/fixtures/rails7_users_app/public/favicon.ico
|
690
|
-
- spec/fixtures/rails7_users_app/public/robots.txt
|
691
|
-
- spec/fixtures/rails7_users_app/storage/.keep
|
692
|
-
- spec/fixtures/rails7_users_app/test/application_system_test_case.rb
|
693
|
-
- spec/fixtures/rails7_users_app/test/channels/application_cable/connection_test.rb
|
694
|
-
- spec/fixtures/rails7_users_app/test/controllers/.keep
|
695
|
-
- spec/fixtures/rails7_users_app/test/fixtures/files/.keep
|
696
|
-
- spec/fixtures/rails7_users_app/test/fixtures/instances.yml
|
697
|
-
- spec/fixtures/rails7_users_app/test/fixtures/instructors.yml
|
698
|
-
- spec/fixtures/rails7_users_app/test/helpers/.keep
|
699
|
-
- spec/fixtures/rails7_users_app/test/integration/.keep
|
700
|
-
- spec/fixtures/rails7_users_app/test/mailers/.keep
|
701
|
-
- spec/fixtures/rails7_users_app/test/models/.keep
|
702
|
-
- spec/fixtures/rails7_users_app/test/models/instance_test.rb
|
703
|
-
- spec/fixtures/rails7_users_app/test/models/instructor_test.rb
|
704
|
-
- spec/fixtures/rails7_users_app/test/system/.keep
|
705
|
-
- spec/fixtures/rails7_users_app/test/test_helper.rb
|
706
|
-
- spec/handler/class_with_eval.rb
|
707
|
-
- spec/handler/eval_spec.rb
|
708
|
-
- spec/hook_spec.rb
|
709
|
-
- spec/open_spec.rb
|
710
|
-
- spec/rails_recording_spec.rb
|
711
|
-
- spec/rails_spec_helper.rb
|
712
|
-
- spec/rails_test_spec.rb
|
713
|
-
- spec/railtie_spec.rb
|
714
|
-
- spec/record_net_http_spec.rb
|
715
|
-
- spec/record_sql_rails_pg_spec.rb
|
716
|
-
- spec/remote_recording_spec.rb
|
717
|
-
- spec/service/config_analyzer_spec.rb
|
718
|
-
- spec/service/integration_test_path_finder_spec.rb
|
719
|
-
- spec/service/validator/violation_spec.rb
|
720
|
-
- spec/spec_helper.rb
|
721
|
-
- spec/swagger/swagger_spec.rb
|
722
|
-
- spec/util_spec.rb
|
723
|
-
- test/agent_setup_init_test.rb
|
724
|
-
- test/agent_setup_status_test.rb
|
725
|
-
- test/agent_setup_validate_test.rb
|
726
|
-
- test/bundle_vendor_test.rb
|
727
|
-
- test/cucumber_test.rb
|
728
|
-
- test/expectations/openssl_test_key_sign1.json
|
729
|
-
- test/expectations/openssl_test_key_sign2-3.1.json
|
730
|
-
- test/expectations/openssl_test_key_sign2.json
|
731
|
-
- test/fixtures/bundle_vendor_app/Gemfile
|
732
|
-
- test/fixtures/bundle_vendor_app/appmap.yml
|
733
|
-
- test/fixtures/bundle_vendor_app/cli.rb
|
734
|
-
- test/fixtures/cli_record_test/appmap.yml
|
735
|
-
- test/fixtures/cli_record_test/lib/cli_record_test/main.rb
|
736
|
-
- test/fixtures/cucumber4_recorder/Gemfile
|
737
|
-
- test/fixtures/cucumber4_recorder/appmap.yml
|
738
|
-
- test/fixtures/cucumber4_recorder/features/say_hello.feature
|
739
|
-
- test/fixtures/cucumber4_recorder/features/support/env.rb
|
740
|
-
- test/fixtures/cucumber4_recorder/features/support/hooks.rb
|
741
|
-
- test/fixtures/cucumber4_recorder/features/support/steps.rb
|
742
|
-
- test/fixtures/cucumber4_recorder/lib/hello.rb
|
743
|
-
- test/fixtures/cucumber_recorder/Gemfile
|
744
|
-
- test/fixtures/cucumber_recorder/appmap.yml
|
745
|
-
- test/fixtures/cucumber_recorder/features/say_hello.feature
|
746
|
-
- test/fixtures/cucumber_recorder/features/support/env.rb
|
747
|
-
- test/fixtures/cucumber_recorder/features/support/hooks.rb
|
748
|
-
- test/fixtures/cucumber_recorder/features/support/steps.rb
|
749
|
-
- test/fixtures/cucumber_recorder/lib/hello.rb
|
750
|
-
- test/fixtures/gem_test/Gemfile
|
751
|
-
- test/fixtures/gem_test/appmap.yml
|
752
|
-
- test/fixtures/gem_test/test/parser_test.rb
|
753
|
-
- test/fixtures/minitest_recorder/Gemfile
|
754
|
-
- test/fixtures/minitest_recorder/appmap.yml
|
755
|
-
- test/fixtures/minitest_recorder/lib/hello.rb
|
756
|
-
- test/fixtures/minitest_recorder/test/hello_test.rb
|
757
|
-
- test/fixtures/mocha_mock_app/Gemfile
|
758
|
-
- test/fixtures/mocha_mock_app/appmap.yml
|
759
|
-
- test/fixtures/mocha_mock_app/lib/sheep.rb
|
760
|
-
- test/fixtures/mocha_mock_app/test/sheep_test.rb
|
761
|
-
- test/fixtures/openssl_recorder/Gemfile
|
762
|
-
- test/fixtures/openssl_recorder/appmap.yml
|
763
|
-
- test/fixtures/openssl_recorder/lib/openssl_cert_sign.rb
|
764
|
-
- test/fixtures/openssl_recorder/lib/openssl_encrypt.rb
|
765
|
-
- test/fixtures/openssl_recorder/lib/openssl_key_sign.rb
|
766
|
-
- test/fixtures/process_recorder/appmap.yml
|
767
|
-
- test/fixtures/process_recorder/hello.rb
|
768
|
-
- test/fixtures/rspec_recorder/Gemfile
|
769
|
-
- test/fixtures/rspec_recorder/appmap.yml
|
770
|
-
- test/fixtures/rspec_recorder/lib/hello.rb
|
771
|
-
- test/fixtures/rspec_recorder/spec/decorated_hello_spec.rb
|
772
|
-
- test/fixtures/rspec_recorder/spec/labeled_hello_spec.rb
|
773
|
-
- test/fixtures/rspec_recorder/spec/plain_hello_spec.rb
|
774
|
-
- test/gem_test.rb
|
775
|
-
- test/inspect_cli_test.rb
|
776
|
-
- test/minitest_test.rb
|
777
|
-
- test/mock_compatibility_test.rb
|
778
|
-
- test/openssl_test.rb
|
779
|
-
- test/record_process_test.rb
|
780
|
-
- test/rspec_test.rb
|
781
|
-
- test/test_helper.rb
|
782
434
|
- yarn.lock
|
783
435
|
homepage: https://github.com/applandinc/appmap-ruby
|
784
436
|
licenses:
|
data/spec/class_map_spec.rb
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'spec_helper'
|
4
|
-
|
5
|
-
describe 'AppMap::ClassMap' do
|
6
|
-
describe '.build_from_methods' do
|
7
|
-
it 'includes method comment' do
|
8
|
-
map = AppMap.class_map([ruby_method((method :test_method))])
|
9
|
-
function = dig_map(map, 5)[0]
|
10
|
-
expect(function).to include(:comment)
|
11
|
-
end
|
12
|
-
|
13
|
-
# test method comment
|
14
|
-
def test_method
|
15
|
-
'test method body'
|
16
|
-
end
|
17
|
-
|
18
|
-
def ruby_method(method)
|
19
|
-
AppMap::Trace::RubyMethod.new AppMap::Config::Package.new('pkg'), method.receiver.class.name, method, false
|
20
|
-
end
|
21
|
-
|
22
|
-
def dig_map(map, depth)
|
23
|
-
return map if depth == 0
|
24
|
-
|
25
|
-
dig_map map[0][:children], depth - 1
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
data/spec/config_spec.rb
DELETED
@@ -1,155 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'rails_spec_helper'
|
4
|
-
require 'appmap/config'
|
5
|
-
|
6
|
-
describe AppMap::Config do
|
7
|
-
it 'loads as expected' do
|
8
|
-
config_data = {
|
9
|
-
name: 'test',
|
10
|
-
packages: [],
|
11
|
-
functions: [
|
12
|
-
{
|
13
|
-
name: 'pkg/cls#fn',
|
14
|
-
},
|
15
|
-
{
|
16
|
-
methods: ['cls#new_fn'],
|
17
|
-
path: 'pkg'
|
18
|
-
}
|
19
|
-
]
|
20
|
-
}.deep_stringify_keys!
|
21
|
-
config = AppMap::Config.load(config_data)
|
22
|
-
|
23
|
-
expect(config.as_json.keys.sort).to eq(["appmap_dir", "builtin_hooks", "depends_config", "exclude", "functions", "gem_hooks", "hook_paths", "name", "packages", "swagger_config"])
|
24
|
-
expect(config.as_json['appmap_dir']).to eq('tmp/appmap')
|
25
|
-
expect(config.as_json['name']).to eq('test')
|
26
|
-
expect(config.as_json['packages']).to eq([])
|
27
|
-
expect(config.as_json['depends_config']).to eq({
|
28
|
-
"base_dir" => nil,
|
29
|
-
"base_branches" => [
|
30
|
-
"remotes/origin/main",
|
31
|
-
"remotes/origin/master"
|
32
|
-
],
|
33
|
-
"test_file_patterns" => [
|
34
|
-
"spec/**/*_spec.rb",
|
35
|
-
"test/**/*_test.rb"
|
36
|
-
],
|
37
|
-
"dependent_tasks" => [
|
38
|
-
"swagger"
|
39
|
-
],
|
40
|
-
"description" => "Bring AppMaps up to date with local file modifications, and updated derived data such as Swagger files",
|
41
|
-
"rspec_environment_method" => "AppMap::Depends.test_env",
|
42
|
-
"minitest_environment_method" => "AppMap::Depends.test_env",
|
43
|
-
"rspec_select_tests_method" => "AppMap::Depends.select_rspec_tests",
|
44
|
-
"minitest_select_tests_method" => "AppMap::Depends.select_minitest_tests",
|
45
|
-
"rspec_test_command_method" => "AppMap::Depends.rspec_test_command",
|
46
|
-
"minitest_test_command_method" => "AppMap::Depends.minitest_test_command"
|
47
|
-
})
|
48
|
-
expect(config.as_json['swagger_config']).to eq({
|
49
|
-
"project_name" => nil,
|
50
|
-
"project_version" => "1.0",
|
51
|
-
"output_dir" => "swagger",
|
52
|
-
"description" => "Generate Swagger from AppMaps"
|
53
|
-
})
|
54
|
-
expect(config.as_json['hook_paths']).to eq([
|
55
|
-
"pkg",
|
56
|
-
"#{Gem.loaded_specs['activesupport'].gem_dir}"
|
57
|
-
])
|
58
|
-
expect(config.as_json['exclude']).to eq([])
|
59
|
-
expect(config.as_json['functions'].map(&:deep_stringify_keys)).to eq([
|
60
|
-
{
|
61
|
-
"cls" => "cls",
|
62
|
-
"target_methods" => {
|
63
|
-
"package" => "pkg",
|
64
|
-
"method_names" => [
|
65
|
-
:fn
|
66
|
-
]
|
67
|
-
}
|
68
|
-
},
|
69
|
-
{
|
70
|
-
"cls" => "cls",
|
71
|
-
"target_methods" => {
|
72
|
-
"package" => "pkg",
|
73
|
-
"method_names" => [
|
74
|
-
:new_fn
|
75
|
-
]
|
76
|
-
}
|
77
|
-
}
|
78
|
-
])
|
79
|
-
expect(config.as_json['builtin_hooks']).to have_key('JSON::Ext::Parser')
|
80
|
-
expect(config.as_json['builtin_hooks']['JSON::Ext::Parser'].map(&:deep_stringify_keys)).to eq([{
|
81
|
-
"package" => "json",
|
82
|
-
"method_names" => [
|
83
|
-
:parse
|
84
|
-
]
|
85
|
-
}
|
86
|
-
])
|
87
|
-
expect(config.as_json['gem_hooks']).to have_key('cls')
|
88
|
-
expect(config.as_json['gem_hooks']['cls'].map(&:deep_stringify_keys)).to eq([
|
89
|
-
{
|
90
|
-
"package" => "pkg",
|
91
|
-
"method_names" => [
|
92
|
-
:fn
|
93
|
-
]
|
94
|
-
},
|
95
|
-
{
|
96
|
-
"package" => "pkg",
|
97
|
-
"method_names" => [
|
98
|
-
:new_fn
|
99
|
-
]
|
100
|
-
}
|
101
|
-
])
|
102
|
-
expect(config.as_json['gem_hooks']).to have_key('ActiveSupport::Callbacks::CallbackSequence')
|
103
|
-
expect(config.as_json['gem_hooks']['ActiveSupport::Callbacks::CallbackSequence'].map(&:deep_stringify_keys)).to eq([
|
104
|
-
{
|
105
|
-
"package" => "activesupport",
|
106
|
-
"method_names" => [
|
107
|
-
:invoke_before
|
108
|
-
]
|
109
|
-
},
|
110
|
-
{
|
111
|
-
"package" => "activesupport",
|
112
|
-
"method_names" => [
|
113
|
-
:invoke_after
|
114
|
-
]
|
115
|
-
}
|
116
|
-
])
|
117
|
-
end
|
118
|
-
|
119
|
-
describe AppMap::Config::Package do
|
120
|
-
describe :build_from_gem do
|
121
|
-
let(:mock_rails) { double(logger: double(info: true)) }
|
122
|
-
|
123
|
-
before do
|
124
|
-
stub_const('Rails', mock_rails)
|
125
|
-
end
|
126
|
-
|
127
|
-
it 'does not return a truthy value on failure' do
|
128
|
-
result = AppMap::Config::Package.build_from_gem('some_missing_gem_name', optional: true)
|
129
|
-
expect(result).to_not be_truthy
|
130
|
-
end
|
131
|
-
end
|
132
|
-
end
|
133
|
-
|
134
|
-
context do
|
135
|
-
let(:warnings) { @warnings ||= [] }
|
136
|
-
let(:warning) { warnings.join }
|
137
|
-
before do
|
138
|
-
expect(AppMap::Config).to receive(:warn).at_least(1) { |msg| warnings << msg }
|
139
|
-
end
|
140
|
-
it 'prints a warning and uses a default config' do
|
141
|
-
config = AppMap::Config.load_from_file 'no/such/file'
|
142
|
-
expect(config.to_h).to eq(YAML.load(<<~CONFIG))
|
143
|
-
:name: appmap-ruby
|
144
|
-
:packages:
|
145
|
-
- :name: lib
|
146
|
-
:path: lib
|
147
|
-
:handler_class: AppMap::Handler::Function
|
148
|
-
:shallow: false
|
149
|
-
:functions: []
|
150
|
-
:exclude: []
|
151
|
-
CONFIG
|
152
|
-
expect(warning).to include('NOTICE: The AppMap config file no/such/file was not found!')
|
153
|
-
end
|
154
|
-
end
|
155
|
-
end
|