Sha256: 07ab196ef64c9e12b5b8d1e810a3fb92b086cd1b93857ad4eb198daacf2e6ebc
Contents?: true
Size: 602 Bytes
Versions: 2
Compression:
Stored size: 602 Bytes
Contents
module Roro class CLI < Thor no_commands do def insert_roro_gem_into_gemfile insert_into_file 'Gemfile', "gem 'roro'", before: "group :development, :test do" end def insert_pg_gem_into_gemfile comment_lines 'Gemfile', /sqlite/ comment_lines 'Gemfile', /mysql/ insert_into_file 'Gemfile', "gem 'pg'\n", before: "group :development, :test do" end def insert_hfci_gem_into_gemfile insert_into_file 'Gemfile', "gem 'handsome_fencer-test'", after: "group :development, :test do" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
roro-0.3.5 | lib/roro/cli/base/insert_gems.rb |
roro-0.3.4 | lib/roro/cli/base/insert_gems.rb |