Class: Suspenders::CiGenerator
Instance Method Summary
collapse
default_source_root, inherited
Methods included from Actions
#action_mailer_asset_host, #action_mailer_host, #configure_environment, #expand_json, #replace_in_file
Instance Method Details
14
15
16
|
# File 'lib/suspenders/generators/ci_generator.rb', line 14
def configure_ci
template "circle.yml.erb", "circle.yml"
end
|
#simplecov_gem ⇒ Object
5
6
7
8
|
# File 'lib/suspenders/generators/ci_generator.rb', line 5
def simplecov_gem
gem "simplecov", require: false, group: [:test]
Bundler.with_unbundled_env { run "bundle install" }
end
|
#simplecov_test_integration ⇒ Object
10
11
12
|
# File 'lib/suspenders/generators/ci_generator.rb', line 10
def simplecov_test_integration
prepend_template_to_file(test_helper_file, "partials/ci_simplecov.rb")
end
|