appmap 0.18.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.dockerignore +5 -0
- data/.gitignore +17 -0
- data/.rubocop.yml +18 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.md +100 -0
- data/Dockerfile.appmap +5 -0
- data/Gemfile +5 -0
- data/LICENSE.txt +21 -0
- data/README.md +133 -0
- data/Rakefile +117 -0
- data/appmap.gemspec +41 -0
- data/appmap.yml +8 -0
- data/examples/install.rb +76 -0
- data/examples/mock_webapp/Gemfile +1 -0
- data/examples/mock_webapp/appmap.yml +2 -0
- data/examples/mock_webapp/exe/mock_webapp_request +12 -0
- data/examples/mock_webapp/lib/mock_webapp/controller.rb +23 -0
- data/examples/mock_webapp/lib/mock_webapp/request.rb +12 -0
- data/examples/mock_webapp/lib/mock_webapp/user.rb +18 -0
- data/exe/_appmap-record-self +49 -0
- data/exe/appmap +168 -0
- data/lib/appmap/algorithm/prune_class_map.rb +65 -0
- data/lib/appmap/command/inspect.rb +11 -0
- data/lib/appmap/command/record.rb +91 -0
- data/lib/appmap/command/upload.rb +103 -0
- data/lib/appmap/config/directory.rb +65 -0
- data/lib/appmap/config/file.rb +13 -0
- data/lib/appmap/config/named_function.rb +21 -0
- data/lib/appmap/config/package_dir.rb +52 -0
- data/lib/appmap/config/path.rb +25 -0
- data/lib/appmap/config.rb +65 -0
- data/lib/appmap/feature.rb +262 -0
- data/lib/appmap/inspect/inspector.rb +99 -0
- data/lib/appmap/inspect/parse_node.rb +170 -0
- data/lib/appmap/inspect/parser.rb +15 -0
- data/lib/appmap/inspect.rb +91 -0
- data/lib/appmap/middleware/remote_recording.rb +122 -0
- data/lib/appmap/parser.rb +60 -0
- data/lib/appmap/rails/action_handler.rb +77 -0
- data/lib/appmap/rails/sql_handler.rb +148 -0
- data/lib/appmap/railtie.rb +32 -0
- data/lib/appmap/rspec/parse_node.rb +41 -0
- data/lib/appmap/rspec/parser.rb +15 -0
- data/lib/appmap/rspec.rb +288 -0
- data/lib/appmap/trace/event_handler/rack_handler_webrick.rb +65 -0
- data/lib/appmap/trace/tracer.rb +347 -0
- data/lib/appmap/version.rb +5 -0
- data/lib/appmap.rb +26 -0
- data/lore/pages/2019-05-21-install-and-record/index.pug +51 -0
- data/lore/pages/2019-05-21-install-and-record/install_example_appmap.png +0 -0
- data/lore/pages/2019-05-21-install-and-record/metadata.yml +5 -0
- data/lore/pages/layout.pug +66 -0
- data/lore/public/lib/bootstrap-4.1.3/css/bootstrap-grid.css +1912 -0
- data/lore/public/lib/bootstrap-4.1.3/css/bootstrap-grid.css.map +1 -0
- data/lore/public/lib/bootstrap-4.1.3/css/bootstrap-grid.min.css +7 -0
- data/lore/public/lib/bootstrap-4.1.3/css/bootstrap-grid.min.css.map +1 -0
- data/lore/public/lib/bootstrap-4.1.3/css/bootstrap-reboot.css +331 -0
- data/lore/public/lib/bootstrap-4.1.3/css/bootstrap-reboot.css.map +1 -0
- data/lore/public/lib/bootstrap-4.1.3/css/bootstrap-reboot.min.css +8 -0
- data/lore/public/lib/bootstrap-4.1.3/css/bootstrap-reboot.min.css.map +1 -0
- data/lore/public/lib/bootstrap-4.1.3/css/bootstrap.css +9030 -0
- data/lore/public/lib/bootstrap-4.1.3/css/bootstrap.css.map +1 -0
- data/lore/public/lib/bootstrap-4.1.3/css/bootstrap.min.css +7 -0
- data/lore/public/lib/bootstrap-4.1.3/css/bootstrap.min.css.map +1 -0
- data/lore/public/stylesheets/style.css +8 -0
- data/package-lock.json +1066 -0
- data/package.json +24 -0
- data/spec/abstract_controller4_base_spec.rb +58 -0
- data/spec/abstract_controller_base_spec.rb +59 -0
- data/spec/fixtures/rack_users_app/.dockerignore +2 -0
- data/spec/fixtures/rack_users_app/.gitignore +2 -0
- data/spec/fixtures/rack_users_app/Dockerfile +32 -0
- data/spec/fixtures/rack_users_app/Gemfile +10 -0
- data/spec/fixtures/rack_users_app/appmap.yml +3 -0
- data/spec/fixtures/rack_users_app/config.ru +2 -0
- data/spec/fixtures/rack_users_app/docker-compose.yml +9 -0
- data/spec/fixtures/rack_users_app/lib/app.rb +36 -0
- data/spec/fixtures/rails4_users_app/.gitignore +13 -0
- data/spec/fixtures/rails4_users_app/.rbenv-gemsets +2 -0
- data/spec/fixtures/rails4_users_app/.ruby-version +1 -0
- data/spec/fixtures/rails4_users_app/Dockerfile +30 -0
- data/spec/fixtures/rails4_users_app/Dockerfile.pg +3 -0
- data/spec/fixtures/rails4_users_app/Gemfile +77 -0
- data/spec/fixtures/rails4_users_app/README.rdoc +28 -0
- data/spec/fixtures/rails4_users_app/Rakefile +6 -0
- data/spec/fixtures/rails4_users_app/app/assets/images/.keep +0 -0
- data/spec/fixtures/rails4_users_app/app/assets/javascripts/application.js +16 -0
- data/spec/fixtures/rails4_users_app/app/assets/stylesheets/application.css +15 -0
- data/spec/fixtures/rails4_users_app/app/controllers/api/users_controller.rb +27 -0
- data/spec/fixtures/rails4_users_app/app/controllers/application_controller.rb +5 -0
- data/spec/fixtures/rails4_users_app/app/controllers/concerns/.keep +0 -0
- data/spec/fixtures/rails4_users_app/app/controllers/health_controller.rb +5 -0
- data/spec/fixtures/rails4_users_app/app/controllers/users_controller.rb +5 -0
- data/spec/fixtures/rails4_users_app/app/helpers/application_helper.rb +2 -0
- data/spec/fixtures/rails4_users_app/app/mailers/.keep +0 -0
- data/spec/fixtures/rails4_users_app/app/models/.keep +0 -0
- data/spec/fixtures/rails4_users_app/app/models/concerns/.keep +0 -0
- data/spec/fixtures/rails4_users_app/app/models/user.rb +18 -0
- data/spec/fixtures/rails4_users_app/app/views/layouts/application.html.haml +7 -0
- data/spec/fixtures/rails4_users_app/app/views/users/index.html.haml +7 -0
- data/spec/fixtures/rails4_users_app/appmap.yml +3 -0
- data/spec/fixtures/rails4_users_app/bin/rails +9 -0
- data/spec/fixtures/rails4_users_app/bin/setup +29 -0
- data/spec/fixtures/rails4_users_app/bin/spring +17 -0
- data/spec/fixtures/rails4_users_app/config/application.rb +26 -0
- data/spec/fixtures/rails4_users_app/config/boot.rb +3 -0
- data/spec/fixtures/rails4_users_app/config/database.yml +17 -0
- data/spec/fixtures/rails4_users_app/config/environment.rb +5 -0
- data/spec/fixtures/rails4_users_app/config/environments/development.rb +41 -0
- data/spec/fixtures/rails4_users_app/config/environments/production.rb +79 -0
- data/spec/fixtures/rails4_users_app/config/environments/test.rb +42 -0
- data/spec/fixtures/rails4_users_app/config/initializers/assets.rb +11 -0
- data/spec/fixtures/rails4_users_app/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/fixtures/rails4_users_app/config/initializers/cookies_serializer.rb +3 -0
- data/spec/fixtures/rails4_users_app/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/fixtures/rails4_users_app/config/initializers/inflections.rb +16 -0
- data/spec/fixtures/rails4_users_app/config/initializers/mime_types.rb +4 -0
- data/spec/fixtures/rails4_users_app/config/initializers/session_store.rb +3 -0
- data/spec/fixtures/rails4_users_app/config/initializers/to_time_preserves_timezone.rb +10 -0
- data/spec/fixtures/rails4_users_app/config/initializers/wrap_parameters.rb +14 -0
- data/spec/fixtures/rails4_users_app/config/locales/en.yml +23 -0
- data/spec/fixtures/rails4_users_app/config/routes.rb +12 -0
- data/spec/fixtures/rails4_users_app/config/secrets.yml +22 -0
- data/spec/fixtures/rails4_users_app/config.ru +4 -0
- data/spec/fixtures/rails4_users_app/create_app +23 -0
- data/spec/fixtures/rails4_users_app/db/migrate/20191127112304_create_users.rb +10 -0
- data/spec/fixtures/rails4_users_app/db/schema.rb +26 -0
- data/spec/fixtures/rails4_users_app/db/seeds.rb +7 -0
- data/spec/fixtures/rails4_users_app/docker-compose.yml +24 -0
- data/spec/fixtures/rails4_users_app/lib/assets/.keep +0 -0
- data/spec/fixtures/rails4_users_app/lib/tasks/.keep +0 -0
- data/spec/fixtures/rails4_users_app/log/.keep +0 -0
- data/spec/fixtures/rails4_users_app/public/404.html +67 -0
- data/spec/fixtures/rails4_users_app/public/422.html +67 -0
- data/spec/fixtures/rails4_users_app/public/500.html +66 -0
- data/spec/fixtures/rails4_users_app/public/favicon.ico +0 -0
- data/spec/fixtures/rails4_users_app/public/robots.txt +5 -0
- data/spec/fixtures/rails4_users_app/spec/controllers/users_controller_api_spec.rb +49 -0
- data/spec/fixtures/rails4_users_app/spec/rails_helper.rb +95 -0
- data/spec/fixtures/rails4_users_app/spec/spec_helper.rb +96 -0
- data/spec/fixtures/rails4_users_app/test/fixtures/users.yml +9 -0
- data/spec/fixtures/rails_users_app/.dockerignore +1 -0
- data/spec/fixtures/rails_users_app/.gitignore +39 -0
- data/spec/fixtures/rails_users_app/.rspec +1 -0
- data/spec/fixtures/rails_users_app/.ruby-version +1 -0
- data/spec/fixtures/rails_users_app/Dockerfile +29 -0
- data/spec/fixtures/rails_users_app/Dockerfile.pg +3 -0
- data/spec/fixtures/rails_users_app/Gemfile +51 -0
- data/spec/fixtures/rails_users_app/Rakefile +6 -0
- data/spec/fixtures/rails_users_app/app/controllers/api/users_controller.rb +27 -0
- data/spec/fixtures/rails_users_app/app/controllers/application_controller.rb +2 -0
- data/spec/fixtures/rails_users_app/app/controllers/concerns/.keep +0 -0
- data/spec/fixtures/rails_users_app/app/controllers/health_controller.rb +5 -0
- data/spec/fixtures/rails_users_app/app/controllers/users_controller.rb +5 -0
- data/spec/fixtures/rails_users_app/app/models/activerecord/user.rb +18 -0
- data/spec/fixtures/rails_users_app/app/models/concerns/.keep +0 -0
- data/spec/fixtures/rails_users_app/app/models/sequel/user.rb +25 -0
- data/spec/fixtures/rails_users_app/app/views/layouts/application.html.haml +7 -0
- data/spec/fixtures/rails_users_app/app/views/users/index.html.haml +7 -0
- data/spec/fixtures/rails_users_app/appmap.yml +3 -0
- data/spec/fixtures/rails_users_app/bin/_appmap-record-self +29 -0
- data/spec/fixtures/rails_users_app/bin/appmap +29 -0
- data/spec/fixtures/rails_users_app/bin/byebug +29 -0
- data/spec/fixtures/rails_users_app/bin/gli +29 -0
- data/spec/fixtures/rails_users_app/bin/htmldiff +29 -0
- data/spec/fixtures/rails_users_app/bin/ldiff +29 -0
- data/spec/fixtures/rails_users_app/bin/nokogiri +29 -0
- data/spec/fixtures/rails_users_app/bin/rackup +29 -0
- data/spec/fixtures/rails_users_app/bin/rails +4 -0
- data/spec/fixtures/rails_users_app/bin/rake +29 -0
- data/spec/fixtures/rails_users_app/bin/rspec +29 -0
- data/spec/fixtures/rails_users_app/bin/ruby-parse +29 -0
- data/spec/fixtures/rails_users_app/bin/ruby-rewrite +29 -0
- data/spec/fixtures/rails_users_app/bin/sequel +29 -0
- data/spec/fixtures/rails_users_app/bin/setup +25 -0
- data/spec/fixtures/rails_users_app/bin/sprockets +29 -0
- data/spec/fixtures/rails_users_app/bin/thor +29 -0
- data/spec/fixtures/rails_users_app/bin/update +25 -0
- data/spec/fixtures/rails_users_app/config/application.rb +51 -0
- data/spec/fixtures/rails_users_app/config/boot.rb +3 -0
- data/spec/fixtures/rails_users_app/config/credentials.yml.enc +1 -0
- data/spec/fixtures/rails_users_app/config/database.yml +17 -0
- data/spec/fixtures/rails_users_app/config/environment.rb +5 -0
- data/spec/fixtures/rails_users_app/config/environments/development.rb +40 -0
- data/spec/fixtures/rails_users_app/config/environments/production.rb +68 -0
- data/spec/fixtures/rails_users_app/config/environments/test.rb +36 -0
- data/spec/fixtures/rails_users_app/config/initializers/application_controller_renderer.rb +8 -0
- data/spec/fixtures/rails_users_app/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/fixtures/rails_users_app/config/initializers/cors.rb +16 -0
- data/spec/fixtures/rails_users_app/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/fixtures/rails_users_app/config/initializers/inflections.rb +16 -0
- data/spec/fixtures/rails_users_app/config/initializers/mime_types.rb +4 -0
- data/spec/fixtures/rails_users_app/config/initializers/record_button.rb +3 -0
- data/spec/fixtures/rails_users_app/config/initializers/wrap_parameters.rb +9 -0
- data/spec/fixtures/rails_users_app/config/locales/en.yml +33 -0
- data/spec/fixtures/rails_users_app/config/routes.rb +11 -0
- data/spec/fixtures/rails_users_app/config.ru +5 -0
- data/spec/fixtures/rails_users_app/create_app +11 -0
- data/spec/fixtures/rails_users_app/db/migrate/20190728211408_create_users.rb +9 -0
- data/spec/fixtures/rails_users_app/db/schema.rb +23 -0
- data/spec/fixtures/rails_users_app/docker-compose.yml +24 -0
- data/spec/fixtures/rails_users_app/lib/tasks/.keep +0 -0
- data/spec/fixtures/rails_users_app/log/.keep +0 -0
- data/spec/fixtures/rails_users_app/public/robots.txt +1 -0
- data/spec/fixtures/rails_users_app/spec/controllers/users_controller_api_spec.rb +29 -0
- data/spec/fixtures/rails_users_app/spec/models/user_spec.rb +39 -0
- data/spec/fixtures/rails_users_app/spec/rails_helper.rb +66 -0
- data/spec/fixtures/rails_users_app/spec/spec_helper.rb +96 -0
- data/spec/fixtures/rails_users_app/users_app/.gitignore +20 -0
- data/spec/rack_handler_webrick_spec.rb +59 -0
- data/spec/rails_spec_helper.rb +34 -0
- data/spec/railtie_spec.rb +35 -0
- data/spec/record_sql_rails4_pg_spec.rb +76 -0
- data/spec/record_sql_rails_pg_spec.rb +68 -0
- data/spec/rspec_feature_metadata_spec.rb +30 -0
- data/spec/spec_helper.rb +6 -0
- data/test/cli_test.rb +81 -0
- data/test/config_test.rb +149 -0
- data/test/explict_inspect_test.rb +29 -0
- data/test/fixtures/active_record_like/active_record/aggregations.rb +4 -0
- data/test/fixtures/active_record_like/active_record/association.rb +4 -0
- data/test/fixtures/active_record_like/active_record/associations/join_dependency/join_base.rb +8 -0
- data/test/fixtures/active_record_like/active_record/associations/join_dependency/join_part.rb +8 -0
- data/test/fixtures/active_record_like/active_record/associations/join_dependency.rb +6 -0
- data/test/fixtures/active_record_like/active_record/caps/caps.rb +4 -0
- data/test/fixtures/active_record_like/active_record.rb +2 -0
- data/test/fixtures/cli_record_test/appmap.yml +2 -0
- data/test/fixtures/cli_record_test/lib/cli_record_test/main.rb +7 -0
- data/test/fixtures/ignore_non_ruby_file/class.rb +3 -0
- data/test/fixtures/ignore_non_ruby_file/non-ruby.txt +1 -0
- data/test/fixtures/includes_excludes/lib/a/a_1.rb +6 -0
- data/test/fixtures/includes_excludes/lib/a/a_2.rb +6 -0
- data/test/fixtures/includes_excludes/lib/a/x/x_1.rb +8 -0
- data/test/fixtures/includes_excludes/lib/b/b_1.rb +6 -0
- data/test/fixtures/includes_excludes/lib/root_1.rb +4 -0
- data/test/fixtures/inspect_multiple_subdirs/module_a/class_a.rb +5 -0
- data/test/fixtures/inspect_multiple_subdirs/module_a.rb +2 -0
- data/test/fixtures/inspect_multiple_subdirs/module_b/class_b.rb +5 -0
- data/test/fixtures/inspect_multiple_subdirs/module_b/class_c.rb +5 -0
- data/test/fixtures/inspect_multiple_subdirs/module_b.rb +2 -0
- data/test/fixtures/inspect_package/module_a/module_b/class_in_module.rb +6 -0
- data/test/fixtures/parse_file/defs_static_function.rb +96 -0
- data/test/fixtures/parse_file/function_within_class.rb +36 -0
- data/test/fixtures/parse_file/include_public_methods.rb +127 -0
- data/test/fixtures/parse_file/instance_function.rb +17 -0
- data/test/fixtures/parse_file/modules.rb +71 -0
- data/test/fixtures/parse_file/sclass_static_function.rb +88 -0
- data/test/fixtures/parse_file/toplevel_class.rb +13 -0
- data/test/fixtures/parse_file/toplevel_function.rb +14 -0
- data/test/fixtures/rspec_recorder/Gemfile +5 -0
- data/test/fixtures/rspec_recorder/appmap.yml +3 -0
- data/test/fixtures/rspec_recorder/lib/hello.rb +5 -0
- data/test/fixtures/rspec_recorder/spec/hello_spec.rb +9 -0
- data/test/fixtures/trace_test/trace_program_1.rb +44 -0
- data/test/implicit_inspect_test.rb +33 -0
- data/test/include_exclude_test.rb +48 -0
- data/test/prerecorded_trace_test.rb +76 -0
- data/test/rspec_test.rb +22 -0
- data/test/test_helper.rb +46 -0
- data/test/trace_test.rb +92 -0
- metadata +501 -0
data/test/trace_test.rb
ADDED
@@ -0,0 +1,92 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class TraceTest < Minitest::Test
|
4
|
+
class << self
|
5
|
+
def trace(program_file_path, &block)
|
6
|
+
require 'appmap/inspect'
|
7
|
+
features = AppMap::Inspect.inspect_file(:implicit, file_path: program_file_path).flatten
|
8
|
+
functions = features.map(&:collect_functions).flatten
|
9
|
+
require 'appmap/trace/tracer'
|
10
|
+
tracer = AppMap::Trace.tracers.trace(functions)
|
11
|
+
begin
|
12
|
+
load program_file_path
|
13
|
+
|
14
|
+
yield tracer
|
15
|
+
ensure
|
16
|
+
AppMap::Trace.tracers.delete(tracer)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
def test_print_to_stdout
|
22
|
+
program_file_path = 'test/fixtures/trace_test/trace_program_1.rb'
|
23
|
+
self.class.trace(program_file_path) do |tracer|
|
24
|
+
printer = Fixtures::TraceTest::TraceProgram1::Printer::Stdout.new
|
25
|
+
Fixtures::TraceTest::TraceProgram1::Main.new(printer).say("hello")
|
26
|
+
|
27
|
+
events = []
|
28
|
+
while tracer.event?
|
29
|
+
events << tracer.next_event
|
30
|
+
end
|
31
|
+
|
32
|
+
assert_equal JSON.pretty_generate(JSON.parse(<<-JSON)), JSON.pretty_generate(extract_summary(events))
|
33
|
+
[
|
34
|
+
{"defined_class":"Fixtures::TraceTest::TraceProgram1::Main","method_id":"initialize","path":"test/fixtures/trace_test/trace_program_1.rb","lineno":5,"static":false},
|
35
|
+
{"defined_class":"Fixtures::TraceTest::TraceProgram1::Main","method_id":"say","path":"test/fixtures/trace_test/trace_program_1.rb","lineno":9,"static":false},
|
36
|
+
{"defined_class":"Fixtures::TraceTest::TraceProgram1::Printer::Stdout","method_id":"say","path":"test/fixtures/trace_test/trace_program_1.rb","lineno":17,"static":false}
|
37
|
+
]
|
38
|
+
JSON
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
def test_print_to_stderr
|
43
|
+
program_file_path = 'test/fixtures/trace_test/trace_program_1.rb'
|
44
|
+
self.class.trace(program_file_path) do |tracer|
|
45
|
+
# printer = Fixtures::TraceTest::TraceProgram1::Printer.make_stderr_printer
|
46
|
+
printer = Fixtures::TraceTest::TraceProgram1::Printer::Stderr
|
47
|
+
Fixtures::TraceTest::TraceProgram1::Main.new(printer).say("hello")
|
48
|
+
|
49
|
+
events = []
|
50
|
+
while tracer.event?
|
51
|
+
events << tracer.next_event
|
52
|
+
end
|
53
|
+
|
54
|
+
assert_equal JSON.pretty_generate(JSON.parse(<<-JSON)), JSON.pretty_generate(extract_summary(events))
|
55
|
+
[
|
56
|
+
{"defined_class":"Fixtures::TraceTest::TraceProgram1::Main","method_id":"initialize","path":"test/fixtures/trace_test/trace_program_1.rb","lineno":5,"static":false},
|
57
|
+
{"defined_class":"Fixtures::TraceTest::TraceProgram1::Main","method_id":"say","path":"test/fixtures/trace_test/trace_program_1.rb","lineno":9,"static":false},
|
58
|
+
{"defined_class":"Fixtures::TraceTest::TraceProgram1::Printer::Stderr","method_id":"say","path":"test/fixtures/trace_test/trace_program_1.rb","lineno":25,"static":true}
|
59
|
+
]
|
60
|
+
JSON
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
def test_print_to_stderr_via_instance_sclass
|
65
|
+
program_file_path = 'test/fixtures/trace_test/trace_program_1.rb'
|
66
|
+
self.class.trace(program_file_path) do |tracer|
|
67
|
+
printer = Fixtures::TraceTest::TraceProgram1::Printer.make_stderr_printer
|
68
|
+
|
69
|
+
Fixtures::TraceTest::TraceProgram1::Main.new(printer).say("hello")
|
70
|
+
|
71
|
+
events = []
|
72
|
+
while tracer.event?
|
73
|
+
events << tracer.next_event
|
74
|
+
end
|
75
|
+
|
76
|
+
assert_equal JSON.pretty_generate(JSON.parse(<<-JSON)), JSON.pretty_generate(extract_summary(events))
|
77
|
+
[
|
78
|
+
{"defined_class":"Fixtures::TraceTest::TraceProgram1::Printer","method_id":"make_stderr_printer","path":"test/fixtures/trace_test/trace_program_1.rb","lineno":32,"static":true},
|
79
|
+
{"defined_class":"Fixtures::TraceTest::TraceProgram1::Main","method_id":"initialize","path":"test/fixtures/trace_test/trace_program_1.rb","lineno":5,"static":false},
|
80
|
+
{"defined_class":"Fixtures::TraceTest::TraceProgram1::Main","method_id":"say","path":"test/fixtures/trace_test/trace_program_1.rb","lineno":9,"static":false},
|
81
|
+
{"defined_class":"Fixtures::TraceTest::TraceProgram1::Printer::Stdout","method_id":"say","path":"test/fixtures/trace_test/trace_program_1.rb","lineno":35,"static":true}
|
82
|
+
]
|
83
|
+
JSON
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
def extract_summary(events)
|
88
|
+
events.select { |e| e.event == :call }
|
89
|
+
.map(&:to_h)
|
90
|
+
.map { |h| h.keep_if { |k, _| %i[defined_class method_id path lineno static].member?(k) } }
|
91
|
+
end
|
92
|
+
end
|
metadata
ADDED
@@ -0,0 +1,501 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: appmap
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.18.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Kevin Gilpin
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-12-03 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: activesupport
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: faraday
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: gli
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: parser
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bundler
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.16'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.16'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: minitest
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '5.0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '5.0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: pry-byebug
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rake
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '10.0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '10.0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rdoc
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: climate_control
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: launchy
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: rspec
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: selenium-webdriver
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: webdrivers
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '4.0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '4.0'
|
209
|
+
description:
|
210
|
+
email:
|
211
|
+
- kgilpin@gmail.com
|
212
|
+
executables:
|
213
|
+
- _appmap-record-self
|
214
|
+
- appmap
|
215
|
+
extensions: []
|
216
|
+
extra_rdoc_files: []
|
217
|
+
files:
|
218
|
+
- ".dockerignore"
|
219
|
+
- ".gitignore"
|
220
|
+
- ".rubocop.yml"
|
221
|
+
- ".ruby-version"
|
222
|
+
- CHANGELOG.md
|
223
|
+
- Dockerfile.appmap
|
224
|
+
- Gemfile
|
225
|
+
- LICENSE.txt
|
226
|
+
- README.md
|
227
|
+
- Rakefile
|
228
|
+
- appmap.gemspec
|
229
|
+
- appmap.yml
|
230
|
+
- examples/install.rb
|
231
|
+
- examples/mock_webapp/Gemfile
|
232
|
+
- examples/mock_webapp/appmap.yml
|
233
|
+
- examples/mock_webapp/exe/mock_webapp_request
|
234
|
+
- examples/mock_webapp/lib/mock_webapp/controller.rb
|
235
|
+
- examples/mock_webapp/lib/mock_webapp/request.rb
|
236
|
+
- examples/mock_webapp/lib/mock_webapp/user.rb
|
237
|
+
- exe/_appmap-record-self
|
238
|
+
- exe/appmap
|
239
|
+
- lib/appmap.rb
|
240
|
+
- lib/appmap/algorithm/prune_class_map.rb
|
241
|
+
- lib/appmap/command/inspect.rb
|
242
|
+
- lib/appmap/command/record.rb
|
243
|
+
- lib/appmap/command/upload.rb
|
244
|
+
- lib/appmap/config.rb
|
245
|
+
- lib/appmap/config/directory.rb
|
246
|
+
- lib/appmap/config/file.rb
|
247
|
+
- lib/appmap/config/named_function.rb
|
248
|
+
- lib/appmap/config/package_dir.rb
|
249
|
+
- lib/appmap/config/path.rb
|
250
|
+
- lib/appmap/feature.rb
|
251
|
+
- lib/appmap/inspect.rb
|
252
|
+
- lib/appmap/inspect/inspector.rb
|
253
|
+
- lib/appmap/inspect/parse_node.rb
|
254
|
+
- lib/appmap/inspect/parser.rb
|
255
|
+
- lib/appmap/middleware/remote_recording.rb
|
256
|
+
- lib/appmap/parser.rb
|
257
|
+
- lib/appmap/rails/action_handler.rb
|
258
|
+
- lib/appmap/rails/sql_handler.rb
|
259
|
+
- lib/appmap/railtie.rb
|
260
|
+
- lib/appmap/rspec.rb
|
261
|
+
- lib/appmap/rspec/parse_node.rb
|
262
|
+
- lib/appmap/rspec/parser.rb
|
263
|
+
- lib/appmap/trace/event_handler/rack_handler_webrick.rb
|
264
|
+
- lib/appmap/trace/tracer.rb
|
265
|
+
- lib/appmap/version.rb
|
266
|
+
- lore/pages/2019-05-21-install-and-record/index.pug
|
267
|
+
- lore/pages/2019-05-21-install-and-record/install_example_appmap.png
|
268
|
+
- lore/pages/2019-05-21-install-and-record/metadata.yml
|
269
|
+
- lore/pages/layout.pug
|
270
|
+
- lore/public/lib/bootstrap-4.1.3/css/bootstrap-grid.css
|
271
|
+
- lore/public/lib/bootstrap-4.1.3/css/bootstrap-grid.css.map
|
272
|
+
- lore/public/lib/bootstrap-4.1.3/css/bootstrap-grid.min.css
|
273
|
+
- lore/public/lib/bootstrap-4.1.3/css/bootstrap-grid.min.css.map
|
274
|
+
- lore/public/lib/bootstrap-4.1.3/css/bootstrap-reboot.css
|
275
|
+
- lore/public/lib/bootstrap-4.1.3/css/bootstrap-reboot.css.map
|
276
|
+
- lore/public/lib/bootstrap-4.1.3/css/bootstrap-reboot.min.css
|
277
|
+
- lore/public/lib/bootstrap-4.1.3/css/bootstrap-reboot.min.css.map
|
278
|
+
- lore/public/lib/bootstrap-4.1.3/css/bootstrap.css
|
279
|
+
- lore/public/lib/bootstrap-4.1.3/css/bootstrap.css.map
|
280
|
+
- lore/public/lib/bootstrap-4.1.3/css/bootstrap.min.css
|
281
|
+
- lore/public/lib/bootstrap-4.1.3/css/bootstrap.min.css.map
|
282
|
+
- lore/public/stylesheets/style.css
|
283
|
+
- package-lock.json
|
284
|
+
- package.json
|
285
|
+
- spec/abstract_controller4_base_spec.rb
|
286
|
+
- spec/abstract_controller_base_spec.rb
|
287
|
+
- spec/fixtures/rack_users_app/.dockerignore
|
288
|
+
- spec/fixtures/rack_users_app/.gitignore
|
289
|
+
- spec/fixtures/rack_users_app/Dockerfile
|
290
|
+
- spec/fixtures/rack_users_app/Gemfile
|
291
|
+
- spec/fixtures/rack_users_app/appmap.yml
|
292
|
+
- spec/fixtures/rack_users_app/config.ru
|
293
|
+
- spec/fixtures/rack_users_app/docker-compose.yml
|
294
|
+
- spec/fixtures/rack_users_app/lib/app.rb
|
295
|
+
- spec/fixtures/rails4_users_app/.gitignore
|
296
|
+
- spec/fixtures/rails4_users_app/.rbenv-gemsets
|
297
|
+
- spec/fixtures/rails4_users_app/.ruby-version
|
298
|
+
- spec/fixtures/rails4_users_app/Dockerfile
|
299
|
+
- spec/fixtures/rails4_users_app/Dockerfile.pg
|
300
|
+
- spec/fixtures/rails4_users_app/Gemfile
|
301
|
+
- spec/fixtures/rails4_users_app/README.rdoc
|
302
|
+
- spec/fixtures/rails4_users_app/Rakefile
|
303
|
+
- spec/fixtures/rails4_users_app/app/assets/images/.keep
|
304
|
+
- spec/fixtures/rails4_users_app/app/assets/javascripts/application.js
|
305
|
+
- spec/fixtures/rails4_users_app/app/assets/stylesheets/application.css
|
306
|
+
- spec/fixtures/rails4_users_app/app/controllers/api/users_controller.rb
|
307
|
+
- spec/fixtures/rails4_users_app/app/controllers/application_controller.rb
|
308
|
+
- spec/fixtures/rails4_users_app/app/controllers/concerns/.keep
|
309
|
+
- spec/fixtures/rails4_users_app/app/controllers/health_controller.rb
|
310
|
+
- spec/fixtures/rails4_users_app/app/controllers/users_controller.rb
|
311
|
+
- spec/fixtures/rails4_users_app/app/helpers/application_helper.rb
|
312
|
+
- spec/fixtures/rails4_users_app/app/mailers/.keep
|
313
|
+
- spec/fixtures/rails4_users_app/app/models/.keep
|
314
|
+
- spec/fixtures/rails4_users_app/app/models/concerns/.keep
|
315
|
+
- spec/fixtures/rails4_users_app/app/models/user.rb
|
316
|
+
- spec/fixtures/rails4_users_app/app/views/layouts/application.html.haml
|
317
|
+
- spec/fixtures/rails4_users_app/app/views/users/index.html.haml
|
318
|
+
- spec/fixtures/rails4_users_app/appmap.yml
|
319
|
+
- spec/fixtures/rails4_users_app/bin/rails
|
320
|
+
- spec/fixtures/rails4_users_app/bin/setup
|
321
|
+
- spec/fixtures/rails4_users_app/bin/spring
|
322
|
+
- spec/fixtures/rails4_users_app/config.ru
|
323
|
+
- spec/fixtures/rails4_users_app/config/application.rb
|
324
|
+
- spec/fixtures/rails4_users_app/config/boot.rb
|
325
|
+
- spec/fixtures/rails4_users_app/config/database.yml
|
326
|
+
- spec/fixtures/rails4_users_app/config/environment.rb
|
327
|
+
- spec/fixtures/rails4_users_app/config/environments/development.rb
|
328
|
+
- spec/fixtures/rails4_users_app/config/environments/production.rb
|
329
|
+
- spec/fixtures/rails4_users_app/config/environments/test.rb
|
330
|
+
- spec/fixtures/rails4_users_app/config/initializers/assets.rb
|
331
|
+
- spec/fixtures/rails4_users_app/config/initializers/backtrace_silencers.rb
|
332
|
+
- spec/fixtures/rails4_users_app/config/initializers/cookies_serializer.rb
|
333
|
+
- spec/fixtures/rails4_users_app/config/initializers/filter_parameter_logging.rb
|
334
|
+
- spec/fixtures/rails4_users_app/config/initializers/inflections.rb
|
335
|
+
- spec/fixtures/rails4_users_app/config/initializers/mime_types.rb
|
336
|
+
- spec/fixtures/rails4_users_app/config/initializers/session_store.rb
|
337
|
+
- spec/fixtures/rails4_users_app/config/initializers/to_time_preserves_timezone.rb
|
338
|
+
- spec/fixtures/rails4_users_app/config/initializers/wrap_parameters.rb
|
339
|
+
- spec/fixtures/rails4_users_app/config/locales/en.yml
|
340
|
+
- spec/fixtures/rails4_users_app/config/routes.rb
|
341
|
+
- spec/fixtures/rails4_users_app/config/secrets.yml
|
342
|
+
- spec/fixtures/rails4_users_app/create_app
|
343
|
+
- spec/fixtures/rails4_users_app/db/migrate/20191127112304_create_users.rb
|
344
|
+
- spec/fixtures/rails4_users_app/db/schema.rb
|
345
|
+
- spec/fixtures/rails4_users_app/db/seeds.rb
|
346
|
+
- spec/fixtures/rails4_users_app/docker-compose.yml
|
347
|
+
- spec/fixtures/rails4_users_app/lib/assets/.keep
|
348
|
+
- spec/fixtures/rails4_users_app/lib/tasks/.keep
|
349
|
+
- spec/fixtures/rails4_users_app/log/.keep
|
350
|
+
- spec/fixtures/rails4_users_app/public/404.html
|
351
|
+
- spec/fixtures/rails4_users_app/public/422.html
|
352
|
+
- spec/fixtures/rails4_users_app/public/500.html
|
353
|
+
- spec/fixtures/rails4_users_app/public/favicon.ico
|
354
|
+
- spec/fixtures/rails4_users_app/public/robots.txt
|
355
|
+
- spec/fixtures/rails4_users_app/spec/controllers/users_controller_api_spec.rb
|
356
|
+
- spec/fixtures/rails4_users_app/spec/rails_helper.rb
|
357
|
+
- spec/fixtures/rails4_users_app/spec/spec_helper.rb
|
358
|
+
- spec/fixtures/rails4_users_app/test/fixtures/users.yml
|
359
|
+
- spec/fixtures/rails_users_app/.dockerignore
|
360
|
+
- spec/fixtures/rails_users_app/.gitignore
|
361
|
+
- spec/fixtures/rails_users_app/.rspec
|
362
|
+
- spec/fixtures/rails_users_app/.ruby-version
|
363
|
+
- spec/fixtures/rails_users_app/Dockerfile
|
364
|
+
- spec/fixtures/rails_users_app/Dockerfile.pg
|
365
|
+
- spec/fixtures/rails_users_app/Gemfile
|
366
|
+
- spec/fixtures/rails_users_app/Rakefile
|
367
|
+
- spec/fixtures/rails_users_app/app/controllers/api/users_controller.rb
|
368
|
+
- spec/fixtures/rails_users_app/app/controllers/application_controller.rb
|
369
|
+
- spec/fixtures/rails_users_app/app/controllers/concerns/.keep
|
370
|
+
- spec/fixtures/rails_users_app/app/controllers/health_controller.rb
|
371
|
+
- spec/fixtures/rails_users_app/app/controllers/users_controller.rb
|
372
|
+
- spec/fixtures/rails_users_app/app/models/activerecord/user.rb
|
373
|
+
- spec/fixtures/rails_users_app/app/models/concerns/.keep
|
374
|
+
- spec/fixtures/rails_users_app/app/models/sequel/user.rb
|
375
|
+
- spec/fixtures/rails_users_app/app/views/layouts/application.html.haml
|
376
|
+
- spec/fixtures/rails_users_app/app/views/users/index.html.haml
|
377
|
+
- spec/fixtures/rails_users_app/appmap.yml
|
378
|
+
- spec/fixtures/rails_users_app/bin/_appmap-record-self
|
379
|
+
- spec/fixtures/rails_users_app/bin/appmap
|
380
|
+
- spec/fixtures/rails_users_app/bin/byebug
|
381
|
+
- spec/fixtures/rails_users_app/bin/gli
|
382
|
+
- spec/fixtures/rails_users_app/bin/htmldiff
|
383
|
+
- spec/fixtures/rails_users_app/bin/ldiff
|
384
|
+
- spec/fixtures/rails_users_app/bin/nokogiri
|
385
|
+
- spec/fixtures/rails_users_app/bin/rackup
|
386
|
+
- spec/fixtures/rails_users_app/bin/rails
|
387
|
+
- spec/fixtures/rails_users_app/bin/rake
|
388
|
+
- spec/fixtures/rails_users_app/bin/rspec
|
389
|
+
- spec/fixtures/rails_users_app/bin/ruby-parse
|
390
|
+
- spec/fixtures/rails_users_app/bin/ruby-rewrite
|
391
|
+
- spec/fixtures/rails_users_app/bin/sequel
|
392
|
+
- spec/fixtures/rails_users_app/bin/setup
|
393
|
+
- spec/fixtures/rails_users_app/bin/sprockets
|
394
|
+
- spec/fixtures/rails_users_app/bin/thor
|
395
|
+
- spec/fixtures/rails_users_app/bin/update
|
396
|
+
- spec/fixtures/rails_users_app/config.ru
|
397
|
+
- spec/fixtures/rails_users_app/config/application.rb
|
398
|
+
- spec/fixtures/rails_users_app/config/boot.rb
|
399
|
+
- spec/fixtures/rails_users_app/config/credentials.yml.enc
|
400
|
+
- spec/fixtures/rails_users_app/config/database.yml
|
401
|
+
- spec/fixtures/rails_users_app/config/environment.rb
|
402
|
+
- spec/fixtures/rails_users_app/config/environments/development.rb
|
403
|
+
- spec/fixtures/rails_users_app/config/environments/production.rb
|
404
|
+
- spec/fixtures/rails_users_app/config/environments/test.rb
|
405
|
+
- spec/fixtures/rails_users_app/config/initializers/application_controller_renderer.rb
|
406
|
+
- spec/fixtures/rails_users_app/config/initializers/backtrace_silencers.rb
|
407
|
+
- spec/fixtures/rails_users_app/config/initializers/cors.rb
|
408
|
+
- spec/fixtures/rails_users_app/config/initializers/filter_parameter_logging.rb
|
409
|
+
- spec/fixtures/rails_users_app/config/initializers/inflections.rb
|
410
|
+
- spec/fixtures/rails_users_app/config/initializers/mime_types.rb
|
411
|
+
- spec/fixtures/rails_users_app/config/initializers/record_button.rb
|
412
|
+
- spec/fixtures/rails_users_app/config/initializers/wrap_parameters.rb
|
413
|
+
- spec/fixtures/rails_users_app/config/locales/en.yml
|
414
|
+
- spec/fixtures/rails_users_app/config/routes.rb
|
415
|
+
- spec/fixtures/rails_users_app/create_app
|
416
|
+
- spec/fixtures/rails_users_app/db/migrate/20190728211408_create_users.rb
|
417
|
+
- spec/fixtures/rails_users_app/db/schema.rb
|
418
|
+
- spec/fixtures/rails_users_app/docker-compose.yml
|
419
|
+
- spec/fixtures/rails_users_app/lib/tasks/.keep
|
420
|
+
- spec/fixtures/rails_users_app/log/.keep
|
421
|
+
- spec/fixtures/rails_users_app/public/robots.txt
|
422
|
+
- spec/fixtures/rails_users_app/spec/controllers/users_controller_api_spec.rb
|
423
|
+
- spec/fixtures/rails_users_app/spec/models/user_spec.rb
|
424
|
+
- spec/fixtures/rails_users_app/spec/rails_helper.rb
|
425
|
+
- spec/fixtures/rails_users_app/spec/spec_helper.rb
|
426
|
+
- spec/fixtures/rails_users_app/users_app/.gitignore
|
427
|
+
- spec/rack_handler_webrick_spec.rb
|
428
|
+
- spec/rails_spec_helper.rb
|
429
|
+
- spec/railtie_spec.rb
|
430
|
+
- spec/record_sql_rails4_pg_spec.rb
|
431
|
+
- spec/record_sql_rails_pg_spec.rb
|
432
|
+
- spec/rspec_feature_metadata_spec.rb
|
433
|
+
- spec/spec_helper.rb
|
434
|
+
- test/cli_test.rb
|
435
|
+
- test/config_test.rb
|
436
|
+
- test/explict_inspect_test.rb
|
437
|
+
- test/fixtures/active_record_like/active_record.rb
|
438
|
+
- test/fixtures/active_record_like/active_record/aggregations.rb
|
439
|
+
- test/fixtures/active_record_like/active_record/association.rb
|
440
|
+
- test/fixtures/active_record_like/active_record/associations/join_dependency.rb
|
441
|
+
- test/fixtures/active_record_like/active_record/associations/join_dependency/join_base.rb
|
442
|
+
- test/fixtures/active_record_like/active_record/associations/join_dependency/join_part.rb
|
443
|
+
- test/fixtures/active_record_like/active_record/caps/caps.rb
|
444
|
+
- test/fixtures/cli_record_test/appmap.yml
|
445
|
+
- test/fixtures/cli_record_test/lib/cli_record_test/main.rb
|
446
|
+
- test/fixtures/ignore_non_ruby_file/class.rb
|
447
|
+
- test/fixtures/ignore_non_ruby_file/non-ruby.txt
|
448
|
+
- test/fixtures/includes_excludes/lib/a/a_1.rb
|
449
|
+
- test/fixtures/includes_excludes/lib/a/a_2.rb
|
450
|
+
- test/fixtures/includes_excludes/lib/a/x/x_1.rb
|
451
|
+
- test/fixtures/includes_excludes/lib/b/b_1.rb
|
452
|
+
- test/fixtures/includes_excludes/lib/root_1.rb
|
453
|
+
- test/fixtures/inspect_multiple_subdirs/module_a.rb
|
454
|
+
- test/fixtures/inspect_multiple_subdirs/module_a/class_a.rb
|
455
|
+
- test/fixtures/inspect_multiple_subdirs/module_b.rb
|
456
|
+
- test/fixtures/inspect_multiple_subdirs/module_b/class_b.rb
|
457
|
+
- test/fixtures/inspect_multiple_subdirs/module_b/class_c.rb
|
458
|
+
- test/fixtures/inspect_package/module_a/module_b/class_in_module.rb
|
459
|
+
- test/fixtures/parse_file/defs_static_function.rb
|
460
|
+
- test/fixtures/parse_file/function_within_class.rb
|
461
|
+
- test/fixtures/parse_file/include_public_methods.rb
|
462
|
+
- test/fixtures/parse_file/instance_function.rb
|
463
|
+
- test/fixtures/parse_file/modules.rb
|
464
|
+
- test/fixtures/parse_file/sclass_static_function.rb
|
465
|
+
- test/fixtures/parse_file/toplevel_class.rb
|
466
|
+
- test/fixtures/parse_file/toplevel_function.rb
|
467
|
+
- test/fixtures/rspec_recorder/Gemfile
|
468
|
+
- test/fixtures/rspec_recorder/appmap.yml
|
469
|
+
- test/fixtures/rspec_recorder/lib/hello.rb
|
470
|
+
- test/fixtures/rspec_recorder/spec/hello_spec.rb
|
471
|
+
- test/fixtures/trace_test/trace_program_1.rb
|
472
|
+
- test/implicit_inspect_test.rb
|
473
|
+
- test/include_exclude_test.rb
|
474
|
+
- test/prerecorded_trace_test.rb
|
475
|
+
- test/rspec_test.rb
|
476
|
+
- test/test_helper.rb
|
477
|
+
- test/trace_test.rb
|
478
|
+
homepage: https://github.com/kgilpin/appmap-ruby
|
479
|
+
licenses:
|
480
|
+
- MIT
|
481
|
+
metadata: {}
|
482
|
+
post_install_message:
|
483
|
+
rdoc_options: []
|
484
|
+
require_paths:
|
485
|
+
- lib
|
486
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
487
|
+
requirements:
|
488
|
+
- - ">="
|
489
|
+
- !ruby/object:Gem::Version
|
490
|
+
version: '0'
|
491
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
492
|
+
requirements:
|
493
|
+
- - ">="
|
494
|
+
- !ruby/object:Gem::Version
|
495
|
+
version: '0'
|
496
|
+
requirements: []
|
497
|
+
rubygems_version: 3.0.3
|
498
|
+
signing_key:
|
499
|
+
specification_version: 4
|
500
|
+
summary: Inspect and trace your Ruby code, generating a JSON data file.
|
501
|
+
test_files: []
|