appmap 0.83.2 → 0.83.5
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 +21 -0
- data/appmap.gemspec +2 -1
- data/lib/appmap/hook/method/ruby2.rb +7 -3
- data/lib/appmap/hook/method/ruby3.rb +7 -3
- data/lib/appmap/version.rb +1 -1
- metadata +3 -356
- 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/revoke_api_key.appmap.json +0 -901
- 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/depends/user_page_scenario.appmap.json +0 -1776
- 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/revoke_api_key.appmap.json +0 -847
- 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/hook/user_page_scenario.appmap.json +0 -1722
- 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/eval_spec.rb +0 -66
- 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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 324aa913dbeb7c955fb624faf0ac6294694c9ea11e066c741d7e69313b194d91
|
4
|
+
data.tar.gz: bbbc92d307315e5bb520dd769b2f90ab81d542e0243fc5d000172d2df2451dbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80ab785186c5d48d1b34422728f73883c7a152022e67276c64076df636449ecd5711411e32ba8150a0b3a58bad0897111dc63b7036cbb329a1f4030a83d1e102
|
7
|
+
data.tar.gz: 54d432b3a78da40759e8b3bd43ae68fc718db7b2796c569898dc9181aabdde40546d582ebd756c76efab325ed275815ff06d15f2b2d745bffc6108f5586057a3
|
@@ -0,0 +1,16 @@
|
|
1
|
+
name: Add new issues to project tracker
|
2
|
+
|
3
|
+
on:
|
4
|
+
issues:
|
5
|
+
types:
|
6
|
+
- opened
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
add-to-project:
|
10
|
+
name: Add issue to project
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
steps:
|
13
|
+
- uses: actions/add-to-project@main
|
14
|
+
with:
|
15
|
+
project-url: https://github.com/orgs/applandinc/projects/15
|
16
|
+
github-token: ${{ secrets.ADD_TO_PROJECT_BOARD_PAT }}
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,24 @@
|
|
1
|
+
## [0.83.5](https://github.com/applandinc/appmap-ruby/compare/v0.83.4...v0.83.5) (2022-06-30)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* Remove spec and test from the gem ([ab2f6cb](https://github.com/applandinc/appmap-ruby/commit/ab2f6cbd99b2380cd3bc6fcea6a128c080bbcde0))
|
7
|
+
|
8
|
+
## [0.83.4](https://github.com/applandinc/appmap-ruby/compare/v0.83.3...v0.83.4) (2022-06-22)
|
9
|
+
|
10
|
+
|
11
|
+
### Bug Fixes
|
12
|
+
|
13
|
+
* Exclude AppMaps from the gem when packaging ([a0634f0](https://github.com/applandinc/appmap-ruby/commit/a0634f07db264daf51c6192b74ccbc08664ccac6))
|
14
|
+
|
15
|
+
## [0.83.3](https://github.com/applandinc/appmap-ruby/compare/v0.83.2...v0.83.3) (2022-06-03)
|
16
|
+
|
17
|
+
|
18
|
+
### Bug Fixes
|
19
|
+
|
20
|
+
* Eval handler now works correctly even when not tracing ([4c9c40a](https://github.com/applandinc/appmap-ruby/commit/4c9c40abd8c930837ce6e040c72893f284ce0899))
|
21
|
+
|
1
22
|
## [0.83.2](https://github.com/applandinc/appmap-ruby/compare/v0.83.1...v0.83.2) (2022-05-11)
|
2
23
|
|
3
24
|
|
data/appmap.gemspec
CHANGED
@@ -19,7 +19,8 @@ Gem::Specification.new do |spec|
|
|
19
19
|
# Specify which files should be added to the gem when it is released.
|
20
20
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
21
21
|
spec.files = `git ls-files --no-deleted`.split("
|
22
|
-
")
|
22
|
+
").grep_v(/appmap\.json$/).grep_v(/^spec\//).grep_v(/^test\//)
|
23
|
+
|
23
24
|
spec.bindir = 'exe'
|
24
25
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
25
26
|
|
@@ -8,9 +8,9 @@ module AppMap
|
|
8
8
|
# cf. https://eregon.me/blog/2019/11/10/the-delegation-challenge-of-ruby27.html
|
9
9
|
class Method
|
10
10
|
ruby2_keywords def call(receiver, *args, &block)
|
11
|
-
|
12
|
-
|
13
|
-
|
11
|
+
call_event = trace? && with_disabled_hook { before_hook receiver, *args }
|
12
|
+
# note we can't short-circuit directly to do_call because then the call stack
|
13
|
+
# depth changes and eval handler doesn't work correctly
|
14
14
|
trace_call call_event, receiver, *args, &block
|
15
15
|
end
|
16
16
|
|
@@ -32,7 +32,10 @@ module AppMap
|
|
32
32
|
hook_method.bind(receiver).call(*args, &block)
|
33
33
|
end
|
34
34
|
|
35
|
+
# rubocop:disable Metrics/MethodLength
|
35
36
|
ruby2_keywords def trace_call(call_event, receiver, *args, &block)
|
37
|
+
return do_call(receiver, *args, &block) unless call_event
|
38
|
+
|
36
39
|
start_time = gettime
|
37
40
|
begin
|
38
41
|
return_value = do_call(receiver, *args, &block)
|
@@ -44,6 +47,7 @@ module AppMap
|
|
44
47
|
if call_event
|
45
48
|
end
|
46
49
|
end
|
50
|
+
# rubocop:enable Metrics/MethodLength
|
47
51
|
|
48
52
|
def hook_method_def
|
49
53
|
this = self
|
@@ -5,9 +5,9 @@ module AppMap
|
|
5
5
|
# Delegation methods for Ruby 3.
|
6
6
|
class Method
|
7
7
|
def call(receiver, *args, **kwargs, &block)
|
8
|
-
|
9
|
-
|
10
|
-
|
8
|
+
call_event = trace? && with_disabled_hook { before_hook receiver, *args, **kwargs }
|
9
|
+
# note we can't short-circuit directly to do_call because then the call stack
|
10
|
+
# depth changes and eval handler doesn't work correctly
|
11
11
|
trace_call call_event, receiver, *args, **kwargs, &block
|
12
12
|
end
|
13
13
|
|
@@ -34,7 +34,10 @@ module AppMap
|
|
34
34
|
hook_method.bind_call(receiver, *args, **kwargs, &block)
|
35
35
|
end
|
36
36
|
|
37
|
+
# rubocop:disable Metrics/MethodLength
|
37
38
|
def trace_call(call_event, receiver, *args, **kwargs, &block)
|
39
|
+
return do_call(receiver, *args, **kwargs, &block) unless call_event
|
40
|
+
|
38
41
|
start_time = gettime
|
39
42
|
begin
|
40
43
|
return_value = do_call(receiver, *args, **kwargs, &block)
|
@@ -46,6 +49,7 @@ module AppMap
|
|
46
49
|
if call_event
|
47
50
|
end
|
48
51
|
end
|
52
|
+
# rubocop:enable Metrics/MethodLength
|
49
53
|
|
50
54
|
def hook_method_def
|
51
55
|
this = self
|
data/lib/appmap/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appmap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.83.
|
4
|
+
version: 0.83.5
|
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-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -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"
|
@@ -428,360 +429,6 @@ files:
|
|
428
429
|
- lib/appmap/version.rb
|
429
430
|
- package.json
|
430
431
|
- 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/revoke_api_key.appmap.json
|
451
|
-
- spec/fixtures/depends/spec/actual_rspec_test.rb
|
452
|
-
- spec/fixtures/depends/spec/api_spec.rb
|
453
|
-
- spec/fixtures/depends/spec/user_spec.rb
|
454
|
-
- spec/fixtures/depends/test/actual_minitest_test.rb
|
455
|
-
- spec/fixtures/depends/user_page_scenario.appmap.json
|
456
|
-
- spec/fixtures/hook/.gitignore
|
457
|
-
- spec/fixtures/hook/app/controllers/api/api_keys_controller.rb
|
458
|
-
- spec/fixtures/hook/app/controllers/organizations_controller.rb
|
459
|
-
- spec/fixtures/hook/app/models/api_key.rb
|
460
|
-
- spec/fixtures/hook/app/models/configuration.rb
|
461
|
-
- spec/fixtures/hook/app/models/show.rb
|
462
|
-
- spec/fixtures/hook/app/models/user.rb
|
463
|
-
- spec/fixtures/hook/attr_accessor.rb
|
464
|
-
- spec/fixtures/hook/compare.rb
|
465
|
-
- spec/fixtures/hook/constructor.rb
|
466
|
-
- spec/fixtures/hook/custom_instance_method.rb
|
467
|
-
- spec/fixtures/hook/exception_method.rb
|
468
|
-
- spec/fixtures/hook/exclude.rb
|
469
|
-
- spec/fixtures/hook/instance_method.rb
|
470
|
-
- spec/fixtures/hook/kwargs.rb
|
471
|
-
- spec/fixtures/hook/labels.rb
|
472
|
-
- spec/fixtures/hook/method_named_call.rb
|
473
|
-
- spec/fixtures/hook/pkg_a/a.rb
|
474
|
-
- spec/fixtures/hook/prepended_override.rb
|
475
|
-
- spec/fixtures/hook/protected_method.rb
|
476
|
-
- spec/fixtures/hook/report_parameters.rb
|
477
|
-
- spec/fixtures/hook/revoke_api_key.appmap.json
|
478
|
-
- spec/fixtures/hook/singleton_method.rb
|
479
|
-
- spec/fixtures/hook/spec/api_spec.rb
|
480
|
-
- spec/fixtures/hook/spec/user_spec.rb
|
481
|
-
- spec/fixtures/hook/sub_packages.rb
|
482
|
-
- spec/fixtures/hook/user_page_scenario.appmap.json
|
483
|
-
- spec/fixtures/rack_users_app/.dockerignore
|
484
|
-
- spec/fixtures/rack_users_app/.gitignore
|
485
|
-
- spec/fixtures/rack_users_app/Gemfile
|
486
|
-
- spec/fixtures/rack_users_app/appmap.yml
|
487
|
-
- spec/fixtures/rack_users_app/config.ru
|
488
|
-
- spec/fixtures/rack_users_app/lib/app.rb
|
489
|
-
- spec/fixtures/rails5_users_app/.dockerignore
|
490
|
-
- spec/fixtures/rails5_users_app/.gitignore
|
491
|
-
- spec/fixtures/rails5_users_app/.rspec
|
492
|
-
- spec/fixtures/rails5_users_app/.ruby-version
|
493
|
-
- spec/fixtures/rails5_users_app/Gemfile
|
494
|
-
- spec/fixtures/rails5_users_app/Rakefile
|
495
|
-
- spec/fixtures/rails5_users_app/app/controllers/api/users_controller.rb
|
496
|
-
- spec/fixtures/rails5_users_app/app/controllers/application_controller.rb
|
497
|
-
- spec/fixtures/rails5_users_app/app/controllers/concerns/.keep
|
498
|
-
- spec/fixtures/rails5_users_app/app/controllers/health_controller.rb
|
499
|
-
- spec/fixtures/rails5_users_app/app/controllers/users_controller.rb
|
500
|
-
- spec/fixtures/rails5_users_app/app/models/activerecord/user.rb
|
501
|
-
- spec/fixtures/rails5_users_app/app/models/concerns/.keep
|
502
|
-
- spec/fixtures/rails5_users_app/app/models/sequel/user.rb
|
503
|
-
- spec/fixtures/rails5_users_app/app/views/layouts/application.html.haml
|
504
|
-
- spec/fixtures/rails5_users_app/app/views/users/index.html.haml
|
505
|
-
- spec/fixtures/rails5_users_app/appmap.yml
|
506
|
-
- spec/fixtures/rails5_users_app/bin/appmap
|
507
|
-
- spec/fixtures/rails5_users_app/bin/byebug
|
508
|
-
- spec/fixtures/rails5_users_app/bin/gli
|
509
|
-
- spec/fixtures/rails5_users_app/bin/htmldiff
|
510
|
-
- spec/fixtures/rails5_users_app/bin/ldiff
|
511
|
-
- spec/fixtures/rails5_users_app/bin/nokogiri
|
512
|
-
- spec/fixtures/rails5_users_app/bin/rackup
|
513
|
-
- spec/fixtures/rails5_users_app/bin/rails
|
514
|
-
- spec/fixtures/rails5_users_app/bin/rake
|
515
|
-
- spec/fixtures/rails5_users_app/bin/rspec
|
516
|
-
- spec/fixtures/rails5_users_app/bin/ruby-parse
|
517
|
-
- spec/fixtures/rails5_users_app/bin/ruby-rewrite
|
518
|
-
- spec/fixtures/rails5_users_app/bin/sequel
|
519
|
-
- spec/fixtures/rails5_users_app/bin/setup
|
520
|
-
- spec/fixtures/rails5_users_app/bin/sprockets
|
521
|
-
- spec/fixtures/rails5_users_app/bin/thor
|
522
|
-
- spec/fixtures/rails5_users_app/bin/update
|
523
|
-
- spec/fixtures/rails5_users_app/config.ru
|
524
|
-
- spec/fixtures/rails5_users_app/config/application.rb
|
525
|
-
- spec/fixtures/rails5_users_app/config/boot.rb
|
526
|
-
- spec/fixtures/rails5_users_app/config/credentials.yml.enc
|
527
|
-
- spec/fixtures/rails5_users_app/config/database.yml
|
528
|
-
- spec/fixtures/rails5_users_app/config/environment.rb
|
529
|
-
- spec/fixtures/rails5_users_app/config/environments/development.rb
|
530
|
-
- spec/fixtures/rails5_users_app/config/environments/production.rb
|
531
|
-
- spec/fixtures/rails5_users_app/config/environments/test.rb
|
532
|
-
- spec/fixtures/rails5_users_app/config/initializers/application_controller_renderer.rb
|
533
|
-
- spec/fixtures/rails5_users_app/config/initializers/backtrace_silencers.rb
|
534
|
-
- spec/fixtures/rails5_users_app/config/initializers/cors.rb
|
535
|
-
- spec/fixtures/rails5_users_app/config/initializers/filter_parameter_logging.rb
|
536
|
-
- spec/fixtures/rails5_users_app/config/initializers/inflections.rb
|
537
|
-
- spec/fixtures/rails5_users_app/config/initializers/mime_types.rb
|
538
|
-
- spec/fixtures/rails5_users_app/config/initializers/wrap_parameters.rb
|
539
|
-
- spec/fixtures/rails5_users_app/config/locales/en.yml
|
540
|
-
- spec/fixtures/rails5_users_app/config/routes.rb
|
541
|
-
- spec/fixtures/rails5_users_app/db/migrate/20190728211408_create_users.rb
|
542
|
-
- spec/fixtures/rails5_users_app/db/schema.rb
|
543
|
-
- spec/fixtures/rails5_users_app/features/api_users.feature
|
544
|
-
- spec/fixtures/rails5_users_app/features/support/env.rb
|
545
|
-
- spec/fixtures/rails5_users_app/features/support/hooks.rb
|
546
|
-
- spec/fixtures/rails5_users_app/features/support/steps.rb
|
547
|
-
- spec/fixtures/rails5_users_app/lib/tasks/.keep
|
548
|
-
- spec/fixtures/rails5_users_app/log/.keep
|
549
|
-
- spec/fixtures/rails5_users_app/public/robots.txt
|
550
|
-
- spec/fixtures/rails5_users_app/spec/controllers/users_controller_api_spec.rb
|
551
|
-
- spec/fixtures/rails5_users_app/spec/controllers/users_controller_spec.rb
|
552
|
-
- spec/fixtures/rails5_users_app/spec/models/user_spec.rb
|
553
|
-
- spec/fixtures/rails5_users_app/spec/rails_helper.rb
|
554
|
-
- spec/fixtures/rails5_users_app/spec/spec_helper.rb
|
555
|
-
- spec/fixtures/rails5_users_app/users_app/.gitignore
|
556
|
-
- spec/fixtures/rails6_users_app/.dockerignore
|
557
|
-
- spec/fixtures/rails6_users_app/.gitignore
|
558
|
-
- spec/fixtures/rails6_users_app/.rspec
|
559
|
-
- spec/fixtures/rails6_users_app/Gemfile
|
560
|
-
- spec/fixtures/rails6_users_app/Rakefile
|
561
|
-
- spec/fixtures/rails6_users_app/app/controllers/api/users_controller.rb
|
562
|
-
- spec/fixtures/rails6_users_app/app/controllers/application_controller.rb
|
563
|
-
- spec/fixtures/rails6_users_app/app/controllers/concerns/.keep
|
564
|
-
- spec/fixtures/rails6_users_app/app/controllers/health_controller.rb
|
565
|
-
- spec/fixtures/rails6_users_app/app/controllers/users_controller.rb
|
566
|
-
- spec/fixtures/rails6_users_app/app/models/activerecord/user.rb
|
567
|
-
- spec/fixtures/rails6_users_app/app/models/concerns/.keep
|
568
|
-
- spec/fixtures/rails6_users_app/app/models/sequel/user.rb
|
569
|
-
- spec/fixtures/rails6_users_app/app/views/layouts/application.html.haml
|
570
|
-
- spec/fixtures/rails6_users_app/app/views/users/index.html.haml
|
571
|
-
- spec/fixtures/rails6_users_app/appmap.yml
|
572
|
-
- spec/fixtures/rails6_users_app/bin/appmap
|
573
|
-
- spec/fixtures/rails6_users_app/bin/byebug
|
574
|
-
- spec/fixtures/rails6_users_app/bin/gli
|
575
|
-
- spec/fixtures/rails6_users_app/bin/htmldiff
|
576
|
-
- spec/fixtures/rails6_users_app/bin/ldiff
|
577
|
-
- spec/fixtures/rails6_users_app/bin/nokogiri
|
578
|
-
- spec/fixtures/rails6_users_app/bin/rackup
|
579
|
-
- spec/fixtures/rails6_users_app/bin/rails
|
580
|
-
- spec/fixtures/rails6_users_app/bin/rake
|
581
|
-
- spec/fixtures/rails6_users_app/bin/rspec
|
582
|
-
- spec/fixtures/rails6_users_app/bin/ruby-parse
|
583
|
-
- spec/fixtures/rails6_users_app/bin/ruby-rewrite
|
584
|
-
- spec/fixtures/rails6_users_app/bin/sequel
|
585
|
-
- spec/fixtures/rails6_users_app/bin/setup
|
586
|
-
- spec/fixtures/rails6_users_app/bin/sprockets
|
587
|
-
- spec/fixtures/rails6_users_app/bin/thor
|
588
|
-
- spec/fixtures/rails6_users_app/bin/update
|
589
|
-
- spec/fixtures/rails6_users_app/config.ru
|
590
|
-
- spec/fixtures/rails6_users_app/config/application.rb
|
591
|
-
- spec/fixtures/rails6_users_app/config/boot.rb
|
592
|
-
- spec/fixtures/rails6_users_app/config/credentials.yml.enc
|
593
|
-
- spec/fixtures/rails6_users_app/config/database.yml
|
594
|
-
- spec/fixtures/rails6_users_app/config/environment.rb
|
595
|
-
- spec/fixtures/rails6_users_app/config/environments/development.rb
|
596
|
-
- spec/fixtures/rails6_users_app/config/environments/production.rb
|
597
|
-
- spec/fixtures/rails6_users_app/config/environments/test.rb
|
598
|
-
- spec/fixtures/rails6_users_app/config/initializers/application_controller_renderer.rb
|
599
|
-
- spec/fixtures/rails6_users_app/config/initializers/backtrace_silencers.rb
|
600
|
-
- spec/fixtures/rails6_users_app/config/initializers/cors.rb
|
601
|
-
- spec/fixtures/rails6_users_app/config/initializers/filter_parameter_logging.rb
|
602
|
-
- spec/fixtures/rails6_users_app/config/initializers/inflections.rb
|
603
|
-
- spec/fixtures/rails6_users_app/config/initializers/mime_types.rb
|
604
|
-
- spec/fixtures/rails6_users_app/config/initializers/wrap_parameters.rb
|
605
|
-
- spec/fixtures/rails6_users_app/config/locales/en.yml
|
606
|
-
- spec/fixtures/rails6_users_app/config/routes.rb
|
607
|
-
- spec/fixtures/rails6_users_app/db/migrate/20190728211408_create_users.rb
|
608
|
-
- spec/fixtures/rails6_users_app/db/schema.rb
|
609
|
-
- spec/fixtures/rails6_users_app/features/api_users.feature
|
610
|
-
- spec/fixtures/rails6_users_app/features/support/env.rb
|
611
|
-
- spec/fixtures/rails6_users_app/features/support/hooks.rb
|
612
|
-
- spec/fixtures/rails6_users_app/features/support/steps.rb
|
613
|
-
- spec/fixtures/rails6_users_app/lib/tasks/.keep
|
614
|
-
- spec/fixtures/rails6_users_app/lib/tasks/appmap.rake
|
615
|
-
- spec/fixtures/rails6_users_app/log/.keep
|
616
|
-
- spec/fixtures/rails6_users_app/package.json
|
617
|
-
- spec/fixtures/rails6_users_app/public/robots.txt
|
618
|
-
- spec/fixtures/rails6_users_app/spec/controllers/users_controller_api_spec.rb
|
619
|
-
- spec/fixtures/rails6_users_app/spec/controllers/users_controller_spec.rb
|
620
|
-
- spec/fixtures/rails6_users_app/spec/models/user_spec.rb
|
621
|
-
- spec/fixtures/rails6_users_app/spec/rails_helper.rb
|
622
|
-
- spec/fixtures/rails6_users_app/spec/spec_helper.rb
|
623
|
-
- spec/fixtures/rails6_users_app/test/controllers/functional_calc_test.rb
|
624
|
-
- spec/fixtures/rails6_users_app/test/integration/integration_calc_test.rb
|
625
|
-
- spec/fixtures/rails6_users_app/users_app/.gitignore
|
626
|
-
- spec/fixtures/rails6_users_app/yarn.lock
|
627
|
-
- spec/fixtures/rails7_users_app/.dockerignore
|
628
|
-
- spec/fixtures/rails7_users_app/.gitattributes
|
629
|
-
- spec/fixtures/rails7_users_app/.gitignore
|
630
|
-
- spec/fixtures/rails7_users_app/.rspec
|
631
|
-
- spec/fixtures/rails7_users_app/Gemfile
|
632
|
-
- spec/fixtures/rails7_users_app/README.md
|
633
|
-
- spec/fixtures/rails7_users_app/Rakefile
|
634
|
-
- spec/fixtures/rails7_users_app/app/assets/config/manifest.js
|
635
|
-
- spec/fixtures/rails7_users_app/app/assets/images/.keep
|
636
|
-
- spec/fixtures/rails7_users_app/app/assets/stylesheets/application.css
|
637
|
-
- spec/fixtures/rails7_users_app/app/channels/application_cable/channel.rb
|
638
|
-
- spec/fixtures/rails7_users_app/app/channels/application_cable/connection.rb
|
639
|
-
- spec/fixtures/rails7_users_app/app/controllers/application_controller.rb
|
640
|
-
- spec/fixtures/rails7_users_app/app/controllers/concerns/.keep
|
641
|
-
- spec/fixtures/rails7_users_app/app/helpers/application_helper.rb
|
642
|
-
- spec/fixtures/rails7_users_app/app/javascript/application.js
|
643
|
-
- spec/fixtures/rails7_users_app/app/javascript/controllers/application.js
|
644
|
-
- spec/fixtures/rails7_users_app/app/javascript/controllers/hello_controller.js
|
645
|
-
- spec/fixtures/rails7_users_app/app/javascript/controllers/index.js
|
646
|
-
- spec/fixtures/rails7_users_app/app/jobs/application_job.rb
|
647
|
-
- spec/fixtures/rails7_users_app/app/mailers/application_mailer.rb
|
648
|
-
- spec/fixtures/rails7_users_app/app/models/application_record.rb
|
649
|
-
- spec/fixtures/rails7_users_app/app/models/concerns/.keep
|
650
|
-
- spec/fixtures/rails7_users_app/app/models/instance.rb
|
651
|
-
- spec/fixtures/rails7_users_app/app/models/instructor.rb
|
652
|
-
- spec/fixtures/rails7_users_app/app/views/layouts/application.html.erb
|
653
|
-
- spec/fixtures/rails7_users_app/app/views/layouts/mailer.html.erb
|
654
|
-
- spec/fixtures/rails7_users_app/app/views/layouts/mailer.text.erb
|
655
|
-
- spec/fixtures/rails7_users_app/appmap.yml
|
656
|
-
- spec/fixtures/rails7_users_app/bin/bundle
|
657
|
-
- spec/fixtures/rails7_users_app/bin/importmap
|
658
|
-
- spec/fixtures/rails7_users_app/bin/rails
|
659
|
-
- spec/fixtures/rails7_users_app/bin/rake
|
660
|
-
- spec/fixtures/rails7_users_app/bin/setup
|
661
|
-
- spec/fixtures/rails7_users_app/config.ru
|
662
|
-
- spec/fixtures/rails7_users_app/config/application.rb
|
663
|
-
- spec/fixtures/rails7_users_app/config/boot.rb
|
664
|
-
- spec/fixtures/rails7_users_app/config/cable.yml
|
665
|
-
- spec/fixtures/rails7_users_app/config/credentials.yml.enc
|
666
|
-
- spec/fixtures/rails7_users_app/config/database.yml
|
667
|
-
- spec/fixtures/rails7_users_app/config/environment.rb
|
668
|
-
- spec/fixtures/rails7_users_app/config/environments/development.rb
|
669
|
-
- spec/fixtures/rails7_users_app/config/environments/production.rb
|
670
|
-
- spec/fixtures/rails7_users_app/config/environments/test.rb
|
671
|
-
- spec/fixtures/rails7_users_app/config/importmap.rb
|
672
|
-
- spec/fixtures/rails7_users_app/config/initializers/assets.rb
|
673
|
-
- spec/fixtures/rails7_users_app/config/initializers/content_security_policy.rb
|
674
|
-
- spec/fixtures/rails7_users_app/config/initializers/filter_parameter_logging.rb
|
675
|
-
- spec/fixtures/rails7_users_app/config/initializers/inflections.rb
|
676
|
-
- spec/fixtures/rails7_users_app/config/initializers/permissions_policy.rb
|
677
|
-
- spec/fixtures/rails7_users_app/config/locales/en.yml
|
678
|
-
- spec/fixtures/rails7_users_app/config/puma.rb
|
679
|
-
- spec/fixtures/rails7_users_app/config/routes.rb
|
680
|
-
- spec/fixtures/rails7_users_app/config/storage.yml
|
681
|
-
- spec/fixtures/rails7_users_app/db/migrate/20220328093141_create_instances.rb
|
682
|
-
- spec/fixtures/rails7_users_app/db/migrate/20220328093154_create_instructors.rb
|
683
|
-
- spec/fixtures/rails7_users_app/db/schema.rb
|
684
|
-
- spec/fixtures/rails7_users_app/db/seeds.rb
|
685
|
-
- spec/fixtures/rails7_users_app/lib/assets/.keep
|
686
|
-
- spec/fixtures/rails7_users_app/lib/tasks/.keep
|
687
|
-
- spec/fixtures/rails7_users_app/log/.keep
|
688
|
-
- spec/fixtures/rails7_users_app/public/404.html
|
689
|
-
- spec/fixtures/rails7_users_app/public/422.html
|
690
|
-
- spec/fixtures/rails7_users_app/public/500.html
|
691
|
-
- spec/fixtures/rails7_users_app/public/apple-touch-icon-precomposed.png
|
692
|
-
- spec/fixtures/rails7_users_app/public/apple-touch-icon.png
|
693
|
-
- spec/fixtures/rails7_users_app/public/favicon.ico
|
694
|
-
- spec/fixtures/rails7_users_app/public/robots.txt
|
695
|
-
- spec/fixtures/rails7_users_app/storage/.keep
|
696
|
-
- spec/fixtures/rails7_users_app/test/application_system_test_case.rb
|
697
|
-
- spec/fixtures/rails7_users_app/test/channels/application_cable/connection_test.rb
|
698
|
-
- spec/fixtures/rails7_users_app/test/controllers/.keep
|
699
|
-
- spec/fixtures/rails7_users_app/test/fixtures/files/.keep
|
700
|
-
- spec/fixtures/rails7_users_app/test/fixtures/instances.yml
|
701
|
-
- spec/fixtures/rails7_users_app/test/fixtures/instructors.yml
|
702
|
-
- spec/fixtures/rails7_users_app/test/helpers/.keep
|
703
|
-
- spec/fixtures/rails7_users_app/test/integration/.keep
|
704
|
-
- spec/fixtures/rails7_users_app/test/mailers/.keep
|
705
|
-
- spec/fixtures/rails7_users_app/test/models/.keep
|
706
|
-
- spec/fixtures/rails7_users_app/test/models/instance_test.rb
|
707
|
-
- spec/fixtures/rails7_users_app/test/models/instructor_test.rb
|
708
|
-
- spec/fixtures/rails7_users_app/test/system/.keep
|
709
|
-
- spec/fixtures/rails7_users_app/test/test_helper.rb
|
710
|
-
- spec/handler/eval_spec.rb
|
711
|
-
- spec/hook_spec.rb
|
712
|
-
- spec/open_spec.rb
|
713
|
-
- spec/rails_recording_spec.rb
|
714
|
-
- spec/rails_spec_helper.rb
|
715
|
-
- spec/rails_test_spec.rb
|
716
|
-
- spec/railtie_spec.rb
|
717
|
-
- spec/record_net_http_spec.rb
|
718
|
-
- spec/record_sql_rails_pg_spec.rb
|
719
|
-
- spec/remote_recording_spec.rb
|
720
|
-
- spec/service/config_analyzer_spec.rb
|
721
|
-
- spec/service/integration_test_path_finder_spec.rb
|
722
|
-
- spec/service/validator/violation_spec.rb
|
723
|
-
- spec/spec_helper.rb
|
724
|
-
- spec/swagger/swagger_spec.rb
|
725
|
-
- spec/util_spec.rb
|
726
|
-
- test/agent_setup_init_test.rb
|
727
|
-
- test/agent_setup_status_test.rb
|
728
|
-
- test/agent_setup_validate_test.rb
|
729
|
-
- test/bundle_vendor_test.rb
|
730
|
-
- test/cucumber_test.rb
|
731
|
-
- test/expectations/openssl_test_key_sign1.json
|
732
|
-
- test/expectations/openssl_test_key_sign2-3.1.json
|
733
|
-
- test/expectations/openssl_test_key_sign2.json
|
734
|
-
- test/fixtures/bundle_vendor_app/Gemfile
|
735
|
-
- test/fixtures/bundle_vendor_app/appmap.yml
|
736
|
-
- test/fixtures/bundle_vendor_app/cli.rb
|
737
|
-
- test/fixtures/cli_record_test/appmap.yml
|
738
|
-
- test/fixtures/cli_record_test/lib/cli_record_test/main.rb
|
739
|
-
- test/fixtures/cucumber4_recorder/Gemfile
|
740
|
-
- test/fixtures/cucumber4_recorder/appmap.yml
|
741
|
-
- test/fixtures/cucumber4_recorder/features/say_hello.feature
|
742
|
-
- test/fixtures/cucumber4_recorder/features/support/env.rb
|
743
|
-
- test/fixtures/cucumber4_recorder/features/support/hooks.rb
|
744
|
-
- test/fixtures/cucumber4_recorder/features/support/steps.rb
|
745
|
-
- test/fixtures/cucumber4_recorder/lib/hello.rb
|
746
|
-
- test/fixtures/cucumber_recorder/Gemfile
|
747
|
-
- test/fixtures/cucumber_recorder/appmap.yml
|
748
|
-
- test/fixtures/cucumber_recorder/features/say_hello.feature
|
749
|
-
- test/fixtures/cucumber_recorder/features/support/env.rb
|
750
|
-
- test/fixtures/cucumber_recorder/features/support/hooks.rb
|
751
|
-
- test/fixtures/cucumber_recorder/features/support/steps.rb
|
752
|
-
- test/fixtures/cucumber_recorder/lib/hello.rb
|
753
|
-
- test/fixtures/gem_test/Gemfile
|
754
|
-
- test/fixtures/gem_test/appmap.yml
|
755
|
-
- test/fixtures/gem_test/test/parser_test.rb
|
756
|
-
- test/fixtures/minitest_recorder/Gemfile
|
757
|
-
- test/fixtures/minitest_recorder/appmap.yml
|
758
|
-
- test/fixtures/minitest_recorder/lib/hello.rb
|
759
|
-
- test/fixtures/minitest_recorder/test/hello_test.rb
|
760
|
-
- test/fixtures/mocha_mock_app/Gemfile
|
761
|
-
- test/fixtures/mocha_mock_app/appmap.yml
|
762
|
-
- test/fixtures/mocha_mock_app/lib/sheep.rb
|
763
|
-
- test/fixtures/mocha_mock_app/test/sheep_test.rb
|
764
|
-
- test/fixtures/openssl_recorder/Gemfile
|
765
|
-
- test/fixtures/openssl_recorder/appmap.yml
|
766
|
-
- test/fixtures/openssl_recorder/lib/openssl_cert_sign.rb
|
767
|
-
- test/fixtures/openssl_recorder/lib/openssl_encrypt.rb
|
768
|
-
- test/fixtures/openssl_recorder/lib/openssl_key_sign.rb
|
769
|
-
- test/fixtures/process_recorder/appmap.yml
|
770
|
-
- test/fixtures/process_recorder/hello.rb
|
771
|
-
- test/fixtures/rspec_recorder/Gemfile
|
772
|
-
- test/fixtures/rspec_recorder/appmap.yml
|
773
|
-
- test/fixtures/rspec_recorder/lib/hello.rb
|
774
|
-
- test/fixtures/rspec_recorder/spec/decorated_hello_spec.rb
|
775
|
-
- test/fixtures/rspec_recorder/spec/labeled_hello_spec.rb
|
776
|
-
- test/fixtures/rspec_recorder/spec/plain_hello_spec.rb
|
777
|
-
- test/gem_test.rb
|
778
|
-
- test/inspect_cli_test.rb
|
779
|
-
- test/minitest_test.rb
|
780
|
-
- test/mock_compatibility_test.rb
|
781
|
-
- test/openssl_test.rb
|
782
|
-
- test/record_process_test.rb
|
783
|
-
- test/rspec_test.rb
|
784
|
-
- test/test_helper.rb
|
785
432
|
- yarn.lock
|
786
433
|
homepage: https://github.com/applandinc/appmap-ruby
|
787
434
|
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
|