class Recipes::Ci
Public Instance Methods
create()
click to toggle source
# File lib/potassium/recipes/ci.rb, line 2 def create template '../assets/.circleci/config.yml.erb', '.circleci/config.yml' gather_gems(:test) do gather_gem 'rspec_junit_formatter', '~> 0.4' end gather_gems(:development, :test) do gather_gem('brakeman') end add_readme_header :ci application 'config.assets.js_compressor = :uglifier', env: 'test' end
install()
click to toggle source
# File lib/potassium/recipes/ci.rb, line 17 def install create end
installed?()
click to toggle source
# File lib/potassium/recipes/ci.rb, line 21 def installed? file_exist?('.circleci/config.yml') end