Sha256: 01fbecb5f322363a1adbf6b5a6e8379887deb5eaa0d1d61a707c0121da1cb932
Contents?: true
Size: 952 Bytes
Versions: 2
Compression:
Stored size: 952 Bytes
Contents
require 'yaml' def git_commit message git add: '-A' git commit: "-a -m '#{message}'" end def root @root ||= File.expand_path File.dirname __FILE__ end def read_template *path File.read File.join root, "templates", *path end def perform task eval File.read File.join root, "templates", "#{task}.rb" end perform :git_init perform :change_source perform :install_gems perform :bundle_install perform :add_gitignore # perform :stop_robots # stop google perform :skeleton perform :config_timezone perform :config_scaffold perform :serve_static perform :database_example perform :figaro perform :active_job perform :simple_form perform :rails_layout perform :rspec perform :guard perform :static_pages perform :devise perform :user # perform :ldap # who needs this perform :controller_helpers perform :authentication_token perform :rolify perform :authorization perform :seeds perform :resources git_commit "project created" perform :run_test
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
crosstie-0.0.5 | lib/crosstie/base.rb |
crosstie-0.0.4 | lib/crosstie/base.rb |