backburn 0.1.0-aarch64-linux

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/exe/backburn ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ # RubyGems binstubs `load` this file, so it has to be Ruby. It hands over to the
5
+ # native binary, which the gem installs as libexec/backburn.
6
+ bin = File.expand_path("../libexec/backburn", __dir__)
7
+ abort "backburn: no native binary for #{RUBY_PLATFORM}" unless File.executable?(bin)
8
+ exec [bin, "backburn"], *ARGV
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Backburn
4
+ # The only version source: backburn.gemspec reads it, and the Makefile turns
5
+ # it into build/version.h for `backburn --version` and the report headers.
6
+ VERSION = "0.1.0"
7
+ end
data/libexec/backburn ADDED
Binary file
@@ -0,0 +1,11 @@
1
+ # Preset `devise`: Devise calls these hooks on your controllers, often protected or private ones.
2
+ < Devise::*Controller
3
+ < DeviseController
4
+ *Controller#after_sign_in_path_for
5
+ *Controller#after_sign_out_path_for
6
+ *Controller#after_sign_up_path_for
7
+ *Controller#after_inactive_sign_up_path_for
8
+ *Controller#after_update_path_for
9
+ *Controller#after_confirmation_path_for
10
+ *Controller#after_resetting_password_path_for
11
+ *Controller#configure_permitted_parameters
@@ -0,0 +1,5 @@
1
+ # Preset `fast-mcp`: MCP tools and resources are registered through `descendants`, never by name.
2
+ < FastMcp::Tool
3
+ < FastMcp::Resource
4
+ < ActionTool::Base
5
+ < ActionResource::Base
@@ -0,0 +1,6 @@
1
+ # Preset `graphql`: GraphQL-ruby calls types, mutations, resolvers and scalars by convention.
2
+ public < GraphQL::Schema
3
+ public < GraphQL::Schema::*
4
+ < GraphQL::Dataloader::Source
5
+ *.resolve_type
6
+ *#resolve_type
@@ -0,0 +1,7 @@
1
+ # Preset `phlex`: view components (Phlex, ViewComponent).
2
+ < Phlex::*
3
+ < ViewComponent::Base
4
+ *Component#view_template
5
+ *Component#call
6
+ *Component#before_template
7
+ *Component#render?
@@ -0,0 +1,3 @@
1
+ # Preset `pundit`: authorization policies.
2
+ public < *ApplicationPolicy
3
+ public < *ApplicationPolicy::Scope
@@ -0,0 +1,10 @@
1
+ # Entry points of the Rails framework itself, layered on --public-api.
2
+ # Generators and commands are looked up by name (`rails generate model`, `rails server`),
3
+ # and Thor runs every public method of a generator in order.
4
+ < Rails::Generators::Base
5
+ < Rails::Command::Base
6
+ < Thor::Group
7
+ < Thor
8
+ # Bug-report templates and app templates are run as scripts.
9
+ path:guides/*
10
+ path:*/templates/*
@@ -0,0 +1,83 @@
1
+ # Preset `rails`: entry points Rails and its common companions call by convention.
2
+
3
+ # --- Rails core
4
+ public < ActionController::Base
5
+ public < ActionController::API
6
+ public *Controller#*
7
+ public < ActionMailer::Base
8
+ < ActiveJob::Base
9
+ < ActiveRecord::Migration
10
+ < ActiveModel::*Validator
11
+ < Rails::Application
12
+ < Rails::Engine
13
+ *Helper
14
+ *Controller
15
+ *Job
16
+ *Mailer
17
+ path:db/migrate/*
18
+ path:db/seeds.rb
19
+ path:config/*
20
+ path:lib/tasks/*
21
+ path:*/db/migrate/*
22
+ path:*/config/*
23
+ path:*/lib/tasks/*
24
+ path:*.rake
25
+
26
+ # --- errors are raised by class name, rescued by class name; their methods are hooks
27
+ < StandardError
28
+ < *Error
29
+ < Exception
30
+
31
+ # --- admin (Avo) and maintenance tasks
32
+ < Avo::*
33
+ public < MaintenanceTasks::Task
34
+
35
+ # --- tests are roots for what they define (helpers, setup)
36
+ path:test/*
37
+ path:spec/*
38
+
39
+ # --- hooks Rails and common gems call by name
40
+ *.table_name_prefix
41
+ *#to_xml
42
+ *#as_json
43
+ *#serializable_hash
44
+ *.matches?
45
+ *#matches?
46
+ *#pundit_user
47
+ *#append_info_to_payload
48
+ *#search_data
49
+ < ActiveModel::Type::*
50
+ < ActiveRecord::Type::*
51
+ < RuboCop::Cop::*
52
+
53
+ # --- scripts are run by hand
54
+ path:script/*
55
+ path:bin/*
56
+
57
+ # --- Ruby's own protocols: IO-like and conversion objects are called by the standard library
58
+ *#readpartial
59
+ *#read
60
+ *#write
61
+ *#to_str
62
+ *#to_ary
63
+ *#to_proc
64
+ *#coerce
65
+ *#respond_to_missing?
66
+
67
+ # --- Action Cable
68
+ public < ActionCable::Channel::Base
69
+ < ActionCable::Connection::Base
70
+
71
+ # --- ActiveModel class-level hooks
72
+ *.human_attribute_name
73
+ *.model_name
74
+
75
+ # --- Action Mailbox: Rails names ApplicationMailbox and routes to its subclasses
76
+ < ActionMailbox::Base
77
+
78
+ # --- protocols Rails calls on your objects: `render item`, table-name prefixes on namespace modules
79
+ *#to_partial_path
80
+ *.to_partial_path
81
+ *#table_name_prefix
82
+ *.table_name_suffix
83
+ *#table_name_suffix
@@ -0,0 +1,4 @@
1
+ # Preset `sidekiq`: background workers marked by a mixin rather than a superclass.
2
+ < Shoryuken::Worker
3
+ < Sidekiq::Job
4
+ < Sidekiq::Worker
@@ -0,0 +1,3 @@
1
+ # Preset `thor`: Thor runs every public method of a command or generator.
2
+ public < Thor
3
+ public < Thor::Group
data/rails.roots ADDED
@@ -0,0 +1,99 @@
1
+ # Entry points the framework calls by convention. This file is the tool's only Rails knowledge.
2
+ #
3
+ # Pattern matches a qualified name: Class#instance_method, Class.class_method, Namespace::Class
4
+ # public Pattern only public methods
5
+ # < Superclass every class that inherits (directly or not) from Superclass, and all its methods
6
+ # public < Superclass ... and only its public methods
7
+ # path:glob everything defined in matching files
8
+
9
+ # --- Rails core
10
+ public < ActionController::Base
11
+ public < ActionController::API
12
+ public *Controller#*
13
+ public < ActionMailer::Base
14
+ < ActiveJob::Base
15
+ < ActiveRecord::Migration
16
+ < ActiveModel::*Validator
17
+ < Rails::Application
18
+ < Rails::Engine
19
+ *Helper
20
+ *Controller
21
+ *Job
22
+ *Mailer
23
+ path:db/migrate/*
24
+ path:db/seeds.rb
25
+ path:config/*
26
+ path:lib/tasks/*
27
+
28
+ # --- errors are raised by class name, rescued by class name; their methods are hooks
29
+ < StandardError
30
+ < *Error
31
+ < Exception
32
+
33
+ # --- view components (Phlex, ViewComponent)
34
+ < Phlex::*
35
+ < ViewComponent::Base
36
+ *Component#view_template
37
+ *Component#call
38
+ *Component#before_template
39
+ *Component#render?
40
+
41
+ # --- authorization (Pundit)
42
+ public < *ApplicationPolicy
43
+ public < *ApplicationPolicy::Scope
44
+
45
+ # --- admin (Avo) and maintenance tasks
46
+ < Avo::*
47
+ public < MaintenanceTasks::Task
48
+
49
+ # --- tests are roots for what they define (helpers, setup)
50
+ path:test/*
51
+ path:spec/*
52
+
53
+ # --- hooks Rails and common gems call by name
54
+ *.table_name_prefix
55
+ *#to_xml
56
+ *#as_json
57
+ *#serializable_hash
58
+ *.matches?
59
+ *#matches?
60
+ *#pundit_user
61
+ *#append_info_to_payload
62
+ *#search_data
63
+ < ActiveModel::Type::*
64
+ < ActiveRecord::Type::*
65
+ < RuboCop::Cop::*
66
+
67
+ # --- background workers marked by a mixin rather than a superclass
68
+ < Shoryuken::Worker
69
+ < Sidekiq::Job
70
+ < Sidekiq::Worker
71
+
72
+ # --- scripts are run by hand
73
+ path:script/*
74
+ path:bin/*
75
+
76
+ # --- Ruby's own protocols: IO-like and conversion objects are called by the standard library
77
+ *#readpartial
78
+ *#read
79
+ *#write
80
+ *#to_str
81
+ *#to_ary
82
+ *#to_proc
83
+ *#coerce
84
+ *#respond_to_missing?
85
+
86
+ # --- Action Cable
87
+ public < ActionCable::Channel::Base
88
+ < ActionCable::Connection::Base
89
+
90
+ # --- GraphQL-ruby: the schema calls types, mutations, resolvers and scalars by convention
91
+ public < GraphQL::Schema
92
+ public < GraphQL::Schema::*
93
+ < GraphQL::Dataloader::Source
94
+ *.resolve_type
95
+ *#resolve_type
96
+
97
+ # --- ActiveModel class-level hooks
98
+ *.human_attribute_name
99
+ *.model_name
metadata ADDED
@@ -0,0 +1,64 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: backburn
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: aarch64-linux
6
+ authors:
7
+ - Sophie Déziel
8
+ bindir: exe
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies: []
12
+ description: Backburn parses a Ruby codebase with Prism, builds a name-resolved reference
13
+ graph, marks everything reachable from your entry points and reports what stays
14
+ unmarked, including dead chains and dead cycles, in batches you can delete one commit
15
+ at a time.
16
+ email:
17
+ - courrier@sophiedeziel.com
18
+ executables:
19
+ - backburn
20
+ extensions: []
21
+ extra_rdoc_files: []
22
+ files:
23
+ - LICENSE
24
+ - README.md
25
+ - docs/cli-and-outputs.md
26
+ - docs/technical-spec.md
27
+ - exe/backburn
28
+ - lib/backburn/version.rb
29
+ - libexec/backburn
30
+ - presets/devise.roots
31
+ - presets/fast-mcp.roots
32
+ - presets/graphql.roots
33
+ - presets/phlex.roots
34
+ - presets/pundit.roots
35
+ - presets/rails-framework.roots
36
+ - presets/rails.roots
37
+ - presets/sidekiq.roots
38
+ - presets/thor.roots
39
+ - rails.roots
40
+ homepage: https://github.com/sophiedeziel/backburn
41
+ licenses:
42
+ - MIT
43
+ metadata:
44
+ source_code_uri: https://github.com/sophiedeziel/backburn
45
+ bug_tracker_uri: https://github.com/sophiedeziel/backburn/issues
46
+ rubygems_mfa_required: 'true'
47
+ rdoc_options: []
48
+ require_paths:
49
+ - lib
50
+ required_ruby_version: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '2.7'
55
+ required_rubygems_version: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
60
+ requirements: []
61
+ rubygems_version: 3.6.9
62
+ specification_version: 4
63
+ summary: Finds Ruby code that no production path can reach.
64
+ test_files: []