Sha256: 71951970be6723304fa505ac7ba27ce94ae270f9c63bfe0a5a3c7a563d731586
Contents?: true
Size: 1022 Bytes
Versions: 3
Compression:
Stored size: 1022 Bytes
Contents
# Application template recipe for the rails_apps_composer. Check for a newer version here: # https://github.com/RailsApps/rails_apps_composer/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/RailsApps/rails3-application-templates/raw/master/files/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 rails_apps_composer'" # 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: RailsApps exclusive: scm category: other tags: [scm]
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rails_apps_composer-1.0.5 | recipes/git.rb |
rails_apps_composer-1.0.4 | recipes/git.rb |
rails_apps_composer-1.0.3 | recipes/git.rb |