Sha256: 4b540cc5b57a422b0268705ea73660e357d0e2408589a885fee7284dfe9bba3d
Contents?: true
Size: 1004 Bytes
Versions: 2
Compression:
Stored size: 1004 Bytes
Contents
# Application template recipe for the rails3_devise_wizard. Check for a newer version here: # https://github.com/fortuity/rails3_devise_wizard/blob/master/recipes/git.rb after_everything do say_wizard "Git recipe running 'after everything'" # Git should ignore some files remove_file '.gitignore' get "https://github.com/fortuity/rails3-gitignore/raw/master/gitignore.txt", ".gitignore" if recipes.include? 'omniauth' append_file '.gitignore' do <<-TXT # keep OmniAuth service provider secrets out of the Git repo config/initializers/omniauth.rb TXT end end # Initialize new Git repo git :init git :add => '.' git :commit => "-aqm 'new Rails app generated by rails3_devise_wizard'" # Create a git branch git :checkout => ' -b working_branch' git :add => '.' git :commit => "-m 'Initial commit of working_branch'" end __END__ name: Git description: "Set up Git and commit the initial repository." author: fortuity exclusive: scm category: other tags: [scm]
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails3_devise_wizard-0.3.2 | recipes/git.rb |
rails3_devise_wizard-0.3.1 | recipes/git.rb |