SYMBOL INDEX (83 symbols across 11 files) FILE: lib/rails/diff.rb type Rails (line 14) | module Rails type Diff (line 15) | module Diff function file (line 19) | def file(*files, no_cache: false, ref: nil, new_app_options: nil, ap... function generated (line 27) | def generated(generator_name, *args, no_cache: false, skip: [], only... function infra (line 36) | def infra(no_cache: false, skip: [], only: [], ref: nil, new_app_opt... function diff_with_header (line 50) | def diff_with_header(file, template_app_path, differ_class:) function diff_file (line 58) | def diff_file(file, template_app_path, differ_class:) FILE: lib/rails/diff/cli.rb type Rails (line 3) | module Rails type Diff (line 4) | module Diff class CLI (line 5) | class CLI < Thor method exit_on_failure? (line 12) | def self.exit_on_failure? = true method file (line 15) | def file(*files) method dotfiles (line 31) | def dotfiles method generated (line 40) | def generated(generator_name, *args) method infra (line 59) | def infra method __version (line 75) | def __version FILE: lib/rails/diff/file_tracker.rb type Rails (line 3) | module Rails type Diff (line 4) | module Diff type FileTracker (line 5) | module FileTracker function new_files (line 8) | def self.new_files(base_dir, only:, skip: []) function list_files (line 15) | def self.list_files(dir, skip: [], only: [], exclusions: DEFAULT_E... FILE: lib/rails/diff/logger.rb type Rails (line 1) | module Rails type Diff (line 2) | module Diff type Logger (line 3) | module Logger function info (line 6) | def info(message) function debug (line 10) | def debug(message) function error (line 16) | def error(label, message) FILE: lib/rails/diff/rails_app_generator.rb type Rails (line 3) | module Rails type Diff (line 4) | module Diff class RailsAppGenerator (line 5) | class RailsAppGenerator method initialize (line 6) | def initialize(ref: nil, new_app_options: nil, no_cache: false, lo... method clear_cache (line 15) | def clear_cache method create_template_app (line 21) | def create_template_app method template_app_path (line 27) | def template_app_path method install_app_dependencies (line 31) | def install_app_dependencies method run_generator (line 40) | def run_generator(generator_name, *args, skip, only) method normalize_ref (line 55) | def normalize_ref(ref) method ref (line 63) | def ref = @ref ||= rails_repo.latest_commit method rails_cache_dir_key (line 65) | def rails_cache_dir_key = "rails-#{ref.first(10)}" method railsrc_path (line 67) | def railsrc_path = "#{ENV["HOME"]}/.railsrc" method railsrc_options (line 69) | def railsrc_options method app_name (line 73) | def app_name = @app_name ||= File.basename(Dir.pwd) method cached_app? (line 75) | def cached_app? method create_new_rails_app (line 79) | def create_new_rails_app method generate_app (line 84) | def generate_app method checkout_rails_ref (line 92) | def checkout_rails_ref = rails_repo.checkout(ref) method rails_new_options (line 94) | def rails_new_options method rails_new_options_hash (line 98) | def rails_new_options_hash FILE: lib/rails/diff/rails_repo.rb type Rails (line 1) | module Rails type Diff (line 2) | module Diff class RailsRepo (line 3) | class RailsRepo method initialize (line 6) | def initialize(logger:, cache_dir: Rails::Diff::CACHE_DIR, rails_r... method checkout (line 12) | def checkout(ref) method latest_commit (line 22) | def latest_commit method up_to_date? (line 29) | def up_to_date? method install_dependencies (line 33) | def install_dependencies method new_app (line 43) | def new_app(name, options) method within (line 51) | def within(dir, &block) = on_rails_dir { Dir.chdir(dir, &block) } method rails_path (line 57) | def rails_path method on_latest_commit? (line 61) | def on_latest_commit? method on_rails_dir (line 70) | def on_rails_dir(&block) method current_commit (line 75) | def current_commit = on_rails_dir { `git rev-parse HEAD`.strip } method remove_repo (line 77) | def remove_repo = FileUtils.rm_rf(rails_path, secure: true) method clone_repo (line 79) | def clone_repo method rails_new_command (line 84) | def rails_new_command(name, options) FILE: lib/rails/diff/shell.rb type Rails (line 5) | module Rails type Diff (line 6) | module Diff type Shell (line 7) | module Shell function run! (line 10) | def run!(*cmd, logger:, abort: true) FILE: lib/rails/diff/version.rb type Rails (line 3) | module Rails type Diff (line 4) | module Diff FILE: spec/lib/rails/diff/rails_app_generator_spec.rb function build_generator (line 19) | def build_generator(ref: "abc1234567890def", logger: spy, rails_repo: sp... function stub_command (line 23) | def stub_command(*args, result: true, **opts) FILE: spec/lib/rails/diff_spec.rb function mock_generator (line 14) | def mock_generator(template_path: template_dir) function fake_differ_class (line 18) | def fake_differ_class(output: "some diff output") function write_file (line 25) | def write_file(dir, path, content) FILE: spec/support/git_repo.rb class GitRepo (line 4) | class GitRepo method initialize (line 8) | def initialize method add_commit (line 32) | def add_commit(message) method add_tag (line 44) | def add_tag(tag_name) method shallow_clone (line 51) | def shallow_clone(dest_path) method clone_at_commit (line 55) | def clone_at_commit(commit_sha, dest_path) method cleanup (line 63) | def cleanup