rails_app_generator 0.0.2

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.
@@ -0,0 +1,168 @@
1
+ # frozen_string_literal: true
2
+
3
+ # require 'rails/generators/rails/app/app_generator'
4
+
5
+ module RailsAppGenerator
6
+ # AppGenerator is a wrapper for Rails::AppGenerator
7
+ class AppGenerator < Rails::Generators::AppGenerator
8
+ def initialize(*args)
9
+ super
10
+
11
+ puts options
12
+
13
+ # return unless options[:api]
14
+
15
+ # self.options = options.merge(
16
+ # skip_errors: true,
17
+ # skip_high_voltage: true,
18
+ # skip_stimulus: true,
19
+ # skip_tailwind: true,
20
+ # skip_views: true
21
+ # ).freeze
22
+ end
23
+
24
+ def create_test_files
25
+ return if options[:skip_test]
26
+
27
+ super if options[:test] == 'minitest'
28
+ # puts options[:testing_framework]
29
+
30
+ # add(:rspec) if options[:testing_framework] == 'rspec'
31
+ end
32
+
33
+ # include KLog::Logging
34
+
35
+ # def finish_template
36
+ # puts 'finish template'
37
+ # invoke :rails_customization
38
+ # super
39
+ # end
40
+
41
+ # def fuck
42
+ # puts 'fuckity'
43
+ # end
44
+
45
+ # def rails_customization
46
+ # puts 'rails customizations'
47
+ # invoke :fuck
48
+ # # invoke :customize_gemfile
49
+ # # invoke :setup_development_environment
50
+ # # invoke :setup_production_environment
51
+ # # invoke :setup_secret_token
52
+ # # invoke :configure_app
53
+ # # invoke :copy_miscellaneous_files
54
+ # # invoke :setup_database
55
+ # # invoke :create_github_repo
56
+ # # binding.pry
57
+ # # invoke :generate_default
58
+ # # invoke :create_heroku_apps
59
+ # # invoke :generate_deployment_default
60
+ # # invoke :remove_config_comment_lines
61
+ # # invoke :remove_routes_comment_lines
62
+ # # invoke :outro
63
+ # end
64
+
65
+ # def xxx_generate_default
66
+ # puts 'xxx_generate_default'
67
+ # # binding.pry
68
+ # # run("spring stop > /dev/null 2>&1 || true")
69
+ # generate("rails_app_generator:foo")
70
+ # # generate("suspenders:runner")
71
+ # # generate("suspenders:profiler")
72
+ # # generate("suspenders:json")
73
+ # # generate("suspenders:static")
74
+ # # generate("suspenders:stylesheet_base") unless options[:api]
75
+ # # generate("suspenders:testing")
76
+ # # generate("suspenders:ci")
77
+ # # generate("suspenders:js_driver")
78
+ # # generate("suspenders:forms") unless options[:api]
79
+ # # generate("suspenders:db_optimizations")
80
+ # # generate("suspenders:factories")
81
+ # # generate("suspenders:lint")
82
+ # # generate("suspenders:jobs")
83
+ # # generate("suspenders:analytics")
84
+ # # generate("suspenders:inline_svg")
85
+ # # generate("suspenders:advisories")
86
+ # end
87
+
88
+ # private
89
+
90
+ # def run_rails_generator1
91
+ # # gem_path = Gem.loaded_specs["railties"].full_gem_path
92
+ # # # lib/rails/generators/rails/app/templates
93
+ # # templates_root = File.expand_path(File.join(gem_path, "lib/rails/generators/rails/app/templates"))
94
+
95
+ # # Rails::AppGenerator.source_root templates_root
96
+ # # destination_root = "/Users/davidcruwys/dev/kweb/xmen"
97
+
98
+ # # Rails::Generators::AppGenerator.start [output_folder, '--skip-bundle']
99
+
100
+ # gem_path = Gem.loaded_specs['suspenders'].full_gem_path
101
+ # templates_root = File.expand_path(File.join(gem_path, 'templates'))
102
+
103
+ # Suspenders::AppGenerator.source_root templates_root
104
+ # Suspenders::AppGenerator.source_paths << Rails::Generators::AppGenerator.source_root << templates_root
105
+
106
+ # puts '--------------------------------------------------------------'
107
+ # puts "1 #{templates_root}"
108
+ # puts "2 #{Suspenders::AppGenerator.source_root}"
109
+ # puts "3 #{Suspenders::AppGenerator.source_paths}"
110
+ # puts "4 #{Rails::Generators::AppGenerator.source_root}"
111
+
112
+ # opts = {}
113
+
114
+ # # generator = KStarter::AppGenerator.new([folder], opts)
115
+ # # generator.destination_root = destination_root
116
+ # FileUtils.rm_rf(output_folder)
117
+
118
+ # Suspenders::AppGenerator.start([output_folder, '--skip-bundle'])
119
+ # end
120
+
121
+ # def run_rails_generator2
122
+ # gem_path = Gem.loaded_specs['rails_app_generator'].full_gem_path
123
+ # templates_root = File.expand_path(File.join(gem_path, 'templates'))
124
+
125
+ # puts '--------------------------------------------------------------'
126
+ # puts "1 #{templates_root}"
127
+ # puts "2 #{Rails::Generators::AppGenerator.source_root}"
128
+ # puts "3 #{Rails::Generators::AppGenerator.source_paths}"
129
+ # puts "4 #{Rails::Generators::AppGenerator.source_root}"
130
+
131
+ # opts = {}
132
+
133
+ # # generator = KStarter::AppGenerator.new([folder], opts)
134
+ # # generator.destination_root = destination_root
135
+ # FileUtils.rm_rf(output_folder)
136
+
137
+ # Rails::Generators::AppGenerator.start([output_folder, '--skip-bundle'])
138
+ # end
139
+
140
+ # def dry_run
141
+ # @dry_run_info = DryRunInfo.new(
142
+ # output_folder: output_folder
143
+ # )
144
+
145
+ # # Rails::Generators::AppGenerator.source_root(defaults_rails_templates)
146
+
147
+ # opts = {}
148
+
149
+ # # KStarter::AppGenerator.source_root(defaults_rails_templates)
150
+ # # Rails::Generators::AppGenerator
151
+
152
+ # generator = Rails::Generators::AppGenerator.new([output_folder], opts)
153
+ # generator.app_path
154
+ # # generator.destination_root = destination_root
155
+ # # generator.destination_root
156
+ # generator.source_paths
157
+ # generator.class.source_root
158
+ # # => ["/Users/davidcruwys/.asdf/installs/ruby/2.7.6/lib/ruby/gems/2.7.0/gems/railties-7.0.3.1/lib/rails/generators/rails/app/templates"]
159
+ # # g.find_in_source_paths('README.MD')
160
+
161
+ # # FileUtils.rm_rf(destination_root)
162
+
163
+ # # generator.destination_root
164
+
165
+ # log.structure(dry_run_info)
166
+ # end
167
+ end
168
+ end
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RailsAppGenerator
4
+ # Option for the rails generator
5
+ class BuildOption
6
+ attr_reader :name, :description, :type, :default, :required
7
+
8
+ def initialize(**args)
9
+ @name = args[:name]
10
+ @description = args[:description] || ''
11
+ @type = args[:type] || :string
12
+ @required = args.fetch(:required, false)
13
+ @default = args[:default] || sane_default
14
+
15
+ raise ArgumentError, ':required should not be nil' if @required.nil?
16
+ end
17
+
18
+ private
19
+
20
+ def sane_default
21
+ case type
22
+ when :string
23
+ ''
24
+ when :boolean
25
+ false
26
+ when :integer
27
+ 0
28
+ when :array
29
+ []
30
+ when :hash
31
+ {}
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,68 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RailsAppGenerator
4
+ # Build options for RailsAppGenerator::Starter
5
+ class BuildOptions
6
+ attr_reader :options
7
+
8
+ def initialize(opts)
9
+ # @opts = opts
10
+ @options = default_options
11
+ @options.merge!(opts)
12
+ end
13
+
14
+ class << self
15
+ def registered_options
16
+ @registered_options ||= []
17
+ end
18
+
19
+ def register(name, **args)
20
+ registered_options << BuildOption.new(**{ name: name }.merge(args))
21
+ end
22
+
23
+ def reset
24
+ @registered_options = nil
25
+ end
26
+ end
27
+
28
+ def rails_options
29
+ build_options
30
+
31
+ []
32
+ end
33
+
34
+ private
35
+
36
+ def default_options
37
+ self.class.registered_options.to_h { |option| [option.name, option.default] }
38
+ end
39
+ end
40
+
41
+ # opts = [
42
+ # "--skip-namespace",
43
+ # "--skip-collision-check",
44
+ # "--skip-git",
45
+ # "--skip-keeps",
46
+ # "--skip-action-mailer",
47
+ # "--skip-action-mailbox",
48
+ # "--skip-action-text",
49
+ # "--skip-active-record",
50
+ # "--skip-active-job",
51
+ # "--skip-active-storage",
52
+ # "--skip-action-cable",
53
+ # "--skip-asset-pipeline",
54
+ # "--skip-javascript",
55
+ # "--skip-hotwire",
56
+ # "--skip-jbuilder",
57
+ # "--skip-test",
58
+ # "--skip-system-test",
59
+ # "--skip-bootsnap",
60
+ # "--skip-bundle"
61
+ # ]
62
+
63
+ # opts = [
64
+ # "--skip-git",
65
+ # "--skip-test",
66
+ # "--skip-bundle"
67
+ # ]
68
+ end
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'base'
4
+
5
+ module RailsAppGenerator
6
+ # xxxx
7
+ class AdvisoriesGenerator < Generators::Base
8
+ def bundler_audit_gem
9
+ gem 'bundler-audit', '>= 0.7.0', require: false, group: %i[development test]
10
+ Bundler.with_unbundled_env { run 'bundle install' }
11
+ end
12
+
13
+ def rake_task
14
+ copy_file 'bundler_audit.rake', 'lib/tasks/bundler_audit.rake'
15
+ append_file 'Rakefile', %(\ntask default: "bundle:audit"\n)
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,60 @@
1
+ # frozen_string_literal: true
2
+
3
+ # require "rails/generators"
4
+ # require_relative "../actions"
5
+
6
+ module RailsAppGenerator
7
+ module Generators
8
+ class Base < Rails::Generators::Base
9
+ # include Suspenders::Actions
10
+ # include ExitOnFailure
11
+
12
+ # def self.default_source_root
13
+ # File.expand_path(File.join("..", "..", "..", "templates"), __dir__)
14
+ # end
15
+
16
+ # def self.inherited(subclass)
17
+ # super
18
+
19
+ # description_file = File.expand_path(
20
+ # File.join(
21
+ # default_source_root,
22
+ # "descriptions",
23
+ # "#{subclass.generator_name}.md"
24
+ # )
25
+ # )
26
+
27
+ # subclass.desc File.read(description_file)
28
+ # rescue Errno::ENOENT
29
+ # end
30
+
31
+ # def app_name
32
+ # Rails.app_class.module_parent_name.demodulize.underscore.dasherize
33
+ # end
34
+
35
+ # def empty_directory_with_keep_file(destination)
36
+ # empty_directory(destination, {})
37
+ # keep_file(destination)
38
+ # end
39
+
40
+ # def keep_file(destination)
41
+ # create_file(File.join(destination, ".keep"))
42
+ # end
43
+
44
+ # def append_template_to_file(destination, source, *args)
45
+ # partial = File.expand_path(find_in_source_paths(source))
46
+ # append_to_file(destination, File.read(partial, *args))
47
+ # end
48
+
49
+ # def prepend_template_to_file(destination, source, *args)
50
+ # partial = File.expand_path(find_in_source_paths(source))
51
+ # prepend_to_file(destination, File.read(partial, *args))
52
+ # end
53
+
54
+ # def inject_template_into_file(destination, source, *args)
55
+ # partial = File.expand_path(find_in_source_paths(source))
56
+ # inject_into_file(destination, File.read(partial), *args)
57
+ # end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'base'
4
+
5
+ # Some comment
6
+ module RailsAppGenerator
7
+ # xxx
8
+ class FooGenerator < Generators::Base
9
+ def bundler_audit_gem
10
+ puts '11111111111'
11
+ end
12
+
13
+ def rake_task
14
+ puts '22222222222'
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,43 @@
1
+ "set_default_accessors!" => <struct Thor::Command name="set_default_accessors!", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
2
+ "create_root" => <struct Thor::Command name="create_root", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
3
+ "target_rails_prerelease" => <struct Thor::Command name="target_rails_prerelease", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
4
+ "create_root_files" => <struct Thor::Command name="create_root_files", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
5
+ "create_app_files" => <struct Thor::Command name="create_app_files", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
6
+ "create_bin_files" => <struct Thor::Command name="create_bin_files", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
7
+ "create_config_files" => <struct Thor::Command name="create_config_files", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
8
+ "create_master_key" => <struct Thor::Command name="create_master_key", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
9
+ "create_credentials" => <struct Thor::Command name="create_credentials", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
10
+ "create_boot_file" => <struct Thor::Command name="create_boot_file", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
11
+ "create_active_record_files" => <struct Thor::Command name="create_active_record_files", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
12
+ "create_db_files" => <struct Thor::Command name="create_db_files", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
13
+ "create_lib_files" => <struct Thor::Command name="create_lib_files", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
14
+ "create_log_files" => <struct Thor::Command name="create_log_files", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
15
+ "create_public_files" => <struct Thor::Command name="create_public_files", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
16
+ "create_tmp_files" => <struct Thor::Command name="create_tmp_files", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
17
+ "create_vendor_files" => <struct Thor::Command name="create_vendor_files", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
18
+ "create_test_files" => <struct Thor::Command name="create_test_files", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
19
+ "create_system_test_files" => <struct Thor::Command name="create_system_test_files", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
20
+ "create_storage_files" => <struct Thor::Command name="create_storage_files", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
21
+ "delete_app_assets_if_api_option" => <struct Thor::Command name="delete_app_assets_if_api_option", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
22
+ "delete_app_helpers_if_api_option" => <struct Thor::Command name="delete_app_helpers_if_api_option", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
23
+ "delete_app_views_if_api_option" => <struct Thor::Command name="delete_app_views_if_api_option", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
24
+ "delete_public_files_if_api_option" => <struct Thor::Command name="delete_public_files_if_api_option", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
25
+ "delete_assets_initializer_skipping_sprockets_and_propshaft" => <struct Thor::Command name="delete_assets_initializer_skipping_sprockets_and_propshaft", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
26
+ "delete_application_record_skipping_active_record" => <struct Thor::Command name="delete_application_record_skipping_active_record", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
27
+ "delete_active_job_folder_if_skipping_active_job" => <struct Thor::Command name="delete_active_job_folder_if_skipping_active_job", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
28
+ "delete_action_mailer_files_skipping_action_mailer" => <struct Thor::Command name="delete_action_mailer_files_skipping_action_mailer", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
29
+ "delete_action_cable_files_skipping_action_cable" => <struct Thor::Command name="delete_action_cable_files_skipping_action_cable", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
30
+ "delete_non_api_initializers_if_api_option" => <struct Thor::Command name="delete_non_api_initializers_if_api_option", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
31
+ "delete_api_initializers" => <struct Thor::Command name="delete_api_initializers", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
32
+ "delete_new_framework_defaults" => <struct Thor::Command name="delete_new_framework_defaults", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
33
+ "finish_template" => <struct Thor::Command name="finish_template", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
34
+ "apply_rails_template" => <struct Thor::Command name="apply_rails_template", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
35
+ "run_bundle" => <struct Thor::Command name="run_bundle", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
36
+ "generate_bundler_binstub" => <struct Thor::Command name="generate_bundler_binstub", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
37
+ "run_javascript" => <struct Thor::Command name="run_javascript", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
38
+ "run_hotwire" => <struct Thor::Command name="run_hotwire", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
39
+ "run_css" => <struct Thor::Command name="run_css", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
40
+ "run_after_bundle_callbacks" => <struct Thor::Command name="run_after_bundle_callbacks", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
41
+ "fuck" => <struct Thor::Command name="fuck", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
42
+ "rails_customization" => <struct Thor::Command name="rails_customization", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>,
43
+ "xxx_generate_default" => <struct Thor::Command name="xxx_generate_default", description=nil, long_description=nil, usage=nil, options={}, ancestor_name=nil>
@@ -0,0 +1,87 @@
1
+ # class methods
2
+
3
+ banner
4
+ add_shared_options_for
5
+ strict_args_position
6
+ base_name
7
+ desc
8
+ hooks
9
+ prepare_for_invocation
10
+ namespace
11
+ default_source_root
12
+ generator_name
13
+ source_root
14
+ exit_on_failure?
15
+ default_for_option
16
+ add_shebang_option!
17
+ usage_path
18
+ hide!
19
+ hook_for
20
+ inherited
21
+ class_option
22
+ default_value_for_option
23
+ remove_hook_for
24
+ default_aliases_for_option
25
+ default_generator_root
26
+ base_root
27
+ source_paths_for_search
28
+ source_paths
29
+ add_runtime_options!
30
+ create_command
31
+ create_task
32
+ invocations
33
+ class_options_help
34
+ help
35
+ printable_commands
36
+ invoke
37
+ handle_argument_error
38
+ printable_tasks
39
+ dispatch
40
+ invocation_blocks
41
+ invoke_from_option
42
+ remove_invocation
43
+ get_options_from_invocations
44
+ baseclass
45
+ self_command
46
+ self_task
47
+ check_unknown_options!
48
+ check_unknown_options?
49
+ check_unknown_options
50
+ stop_on_unknown_option?
51
+ basename
52
+ disable_required_check?
53
+ initialize_added
54
+ method_added
55
+ start
56
+ strict_args_position?
57
+ commands
58
+ no_commands
59
+ check_default_type!
60
+ from_superclass
61
+ allow_incompatible_default_type!
62
+ check_default_type
63
+ strict_args_position!
64
+ argument
65
+ is_thor_reserved_word?
66
+ find_and_refresh_command
67
+ remove_argument
68
+ group
69
+ remove_class_option
70
+ tasks
71
+ all_tasks
72
+ remove_command
73
+ remove_task
74
+ no_commands_context
75
+ no_tasks
76
+ build_option
77
+ build_options
78
+ no_commands?
79
+ all_commands
80
+ handle_no_command_error
81
+ arguments
82
+ public_command
83
+ public_task
84
+ handle_no_task_error
85
+ print_options
86
+ find_and_refresh_task
87
+ class_options
@@ -0,0 +1,145 @@
1
+ # instance methods
2
+
3
+ dry_run?
4
+ dry_run_info
5
+ output_folder
6
+ start
7
+ dry_run
8
+ log
9
+ set_default_accessors!
10
+ create_root
11
+ create_root_files
12
+ create_app_files
13
+ create_bin_files
14
+ update_bin_files
15
+ update_active_storage
16
+ create_config_files
17
+ update_config_files
18
+ create_master_key
19
+ create_credentials
20
+ display_upgrade_guide_info
21
+ create_boot_file
22
+ create_active_record_files
23
+ create_db_files
24
+ create_lib_files
25
+ create_log_files
26
+ create_public_files
27
+ create_tmp_files
28
+ create_vendor_files
29
+ create_test_files
30
+ create_system_test_files
31
+ create_storage_files
32
+ delete_app_assets_if_api_option
33
+ delete_app_helpers_if_api_option
34
+ delete_app_views_if_api_option
35
+ delete_public_files_if_api_option
36
+ delete_js_folder_skipping_javascript
37
+ delete_assets_initializer_skipping_sprockets
38
+ delete_application_record_skipping_active_record
39
+ delete_action_mailer_files_skipping_action_mailer
40
+ delete_action_cable_files_skipping_action_cable
41
+ delete_non_api_initializers_if_api_option
42
+ delete_api_initializers
43
+ delete_new_framework_defaults
44
+ delete_bin_yarn
45
+ apply_rails_template
46
+ finish_template
47
+ run_bundle
48
+ generate_bundler_binstub
49
+ generate_spring_binstubs
50
+ run_webpack
51
+ run_after_bundle_callbacks
52
+ rails_template
53
+ shebang
54
+ rails_template=
55
+ app_path=
56
+ app_path
57
+ gem_for_database
58
+ convert_database_option_for_jruby
59
+ add_source
60
+ github
61
+ lib
62
+ application
63
+ vendor
64
+ rakefile
65
+ initializer
66
+ rake
67
+ gem_group
68
+ rails_command
69
+ route
70
+ environment
71
+ readme
72
+ git
73
+ generate
74
+ thor
75
+ append_file
76
+ template
77
+ empty_directory
78
+ create_file
79
+ find_in_source_paths
80
+ append_to_file
81
+ prepend_to_file
82
+ inject_into_file
83
+ apply
84
+ destination_root=
85
+ _cleanup_options_and_set
86
+ relative_to_original_destination_root
87
+ action
88
+ inside
89
+ in_root
90
+ run_ruby_script
91
+ add_file
92
+ directory
93
+ _shared_configuration
94
+ create_link
95
+ add_link
96
+ link_file
97
+ insert_into_file
98
+ prepend_file
99
+ inject_into_class
100
+ inject_into_module
101
+ gsub_file
102
+ uncomment_lines
103
+ comment_lines
104
+ source_paths
105
+ run
106
+ remove_file
107
+ copy_file
108
+ destination_root
109
+ get
110
+ behavior
111
+ behavior=
112
+ remove_dir
113
+ chmod
114
+ _invoke_for_class_method
115
+ say_error
116
+ ask
117
+ print_in_columns
118
+ say_status
119
+ shell
120
+ shell=
121
+ terminal_width
122
+ yes?
123
+ file_collision
124
+ print_wrapped
125
+ with_padding
126
+ print_table
127
+ say
128
+ set_color
129
+ error
130
+ no?
131
+ _retrieve_class_and_task
132
+ current_command_chain
133
+ invoke_all
134
+ _retrieve_class_and_command
135
+ _parse_initialization_options
136
+ invoke_task
137
+ invoke_command
138
+ invoke_with_padding
139
+ invoke
140
+ parent_options
141
+ options
142
+ args
143
+ options=
144
+ parent_options=
145
+ args=