harleytt-capistrano-gitflow 1.4.4

Sign up to get free protection for your applications and to get access to all the features.
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ README.rdoc
2
+ lib/**/*.rb
3
+ bin/*
4
+ features/**/*.feature
5
+ LICENSE
data/.gitignore ADDED
@@ -0,0 +1,6 @@
1
+ rdoc
2
+ pkg
3
+ *~
4
+ *.swp
5
+ *.swo
6
+ *.gem
data/README.rdoc ADDED
@@ -0,0 +1,107 @@
1
+ = gitflow: a Capistrano recipe for git deployment using tags in a multistage environment.
2
+
3
+ The best thing about this recipe is that there is almost nothing to learn -- your cap deploy process barely changes.
4
+ Gitflow simply adds some tagging/logging/workflow magic.
5
+
6
+ # BEFORE
7
+ $ cap deploy # 'master' goes to staging
8
+ $ cap production deploy # 'master' goes to production
9
+
10
+ # AFTER
11
+ $ cap deploy
12
+ # 'master' goes to staging; tag staging-YYYY-MM-DD.X created
13
+ $ cap production deploy
14
+ # deploys latest staging tag, or if last tag is a production tag then that, to production
15
+ # for specifying the tag by hand add `-s tag=staging-YYYY-MM-DD-X-user-description`
16
+ # tag 'staging-YYYY-MM-DD-X' goes to production
17
+ # tag 'production-YYYY-MM-DD-X' created; points to staging-YYYY-MM-DD-X
18
+
19
+ # BONUS
20
+ cap gitflow:commit_log
21
+ # displays a commit log pushed to staging
22
+ # ... alternatively, if you're using GitHub, will open a page using branch compare
23
+ cap production gitflow:log_log
24
+ # displays a commit log of what will be pushed to production
25
+
26
+ == INSTALLATION
27
+
28
+ First, install the gem:
29
+
30
+ gem install capistrano-gitflow
31
+
32
+ Then update config/deploy.rb
33
+
34
+ require 'capistrano/ext/multistage'
35
+ require 'capistrano/gitflow' # needs to come after multistage
36
+
37
+ More info at: http://rubygems.org/gems/capistrano-gitflow
38
+
39
+ == DETAILS
40
+
41
+ After experimenting with several workflows for deployment in git, I've finally found one I really like.
42
+
43
+ * You can push to staging at any time; every staging push is automatically tagged with a unique tag.
44
+ * You can only push a staging tag to production. This helps to enforce QA of all pushes to production.
45
+
46
+ === PUSH TO STAGING
47
+
48
+ Whenever you want to push the currently checked-out code to staging, just do:
49
+
50
+ cap staging deploy
51
+
52
+ gitflow will automatically:
53
+
54
+ * create a unique tag in the format of 'staging-YYYY-MM-DD.X'
55
+ * configure multistage to use that tag for the deploy
56
+ * push the code and tags to the remote "origin"
57
+ * and run the normal deploy task for the staging stage.
58
+
59
+ === PUSH TO PRODUCTION:
60
+
61
+ Whenever you want to push code to production, you must specify the staging tag you wish to promote to production:
62
+
63
+ cap production deploy -s tag=staging-2009-09-08.2
64
+
65
+ gitflow will automatically:
66
+
67
+ * alias the staging tag to a production tag like: production-2008-09-08.2
68
+ * configure multistage to use that tag for the deploy
69
+ * push the code and tags to the remote "origin"
70
+ * and run the normal deploy task for the production stage.
71
+
72
+ === NOTES:
73
+
74
+ * you may need to wipe out the cached-copy on the remote server that cap uses when switching to this workflow; I have seen situations where the cached copy cannot cleanly checkout to the new branch/tag. it's safe to try without wiping it out first, it will fail gracefully.
75
+ * if your stages already have a "set :branch, 'my-staging-branch'" call in your configs, remove it. This workflow configures it automatically.
76
+
77
+ == CREDIT
78
+
79
+ Originally created by Alan Pinstein.
80
+
81
+ Gemified and hacked by Josh Nichols.
82
+
83
+ == LICENSE
84
+
85
+ MIT licensed.
86
+
87
+ Copyright (c) 2009-2010 Alan Pinstein <apinstein@mac.com>
88
+
89
+ Copyright (c) 2010 Josh Nichols
90
+
91
+ Permission is hereby granted, free of charge, to any person obtaining a copy
92
+ of this software and associated documentation files (the "Software"), to deal
93
+ in the Software without restriction, including without limitation the rights
94
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
95
+ copies of the Software, and to permit persons to whom the Software is
96
+ furnished to do so, subject to the following conditions:
97
+
98
+ The above copyright notice and this permission notice shall be included in
99
+ all copies or substantial portions of the Software.
100
+
101
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
102
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
103
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
104
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
105
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
106
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
107
+ THE SOFTWARE.
data/Rakefile ADDED
@@ -0,0 +1,47 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+
4
+ begin
5
+ require 'jeweler'
6
+ Jeweler::Tasks.new do |gem|
7
+ gem.name = "capistrano-gitflow"
8
+ gem.summary = %Q{Capistrano recipe for a deployment workflow based on git tags }
9
+ gem.description = %Q{Capistrano recipe for a deployment workflow based on git tags}
10
+ gem.email = "josh@technicalpickles.com"
11
+ gem.homepage = "http://github.com/technicalpickles/capistrano-gitflow"
12
+ gem.authors = ["Joshua Nichols"]
13
+ gem.add_dependency "capistrano"
14
+ gem.add_dependency "stringex"
15
+ gem.add_development_dependency "rspec", ">= 1.2.9"
16
+ # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
17
+ end
18
+ Jeweler::GemcutterTasks.new
19
+ rescue LoadError
20
+ puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
21
+ end
22
+
23
+ require 'spec/rake/spectask'
24
+ Spec::Rake::SpecTask.new(:spec) do |spec|
25
+ spec.libs << 'lib' << 'spec'
26
+ spec.spec_files = FileList['spec/**/*_spec.rb']
27
+ end
28
+
29
+ Spec::Rake::SpecTask.new(:rcov) do |spec|
30
+ spec.libs << 'lib' << 'spec'
31
+ spec.pattern = 'spec/**/*_spec.rb'
32
+ spec.rcov = true
33
+ end
34
+
35
+ task :spec => :check_dependencies
36
+
37
+ task :default => :spec
38
+
39
+ require 'rake/rdoctask'
40
+ Rake::RDocTask.new do |rdoc|
41
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
42
+
43
+ rdoc.rdoc_dir = 'rdoc'
44
+ rdoc.title = "gitflow #{version}"
45
+ rdoc.rdoc_files.include('README*')
46
+ rdoc.rdoc_files.include('lib/**/*.rb')
47
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.4.4
@@ -0,0 +1,44 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{harleytt-capistrano-gitflow}
8
+ s.version = "1.4.4"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Joshua Nichols", "Harley Trung"]
12
+ s.date = %q{2011-08-07}
13
+ s.description = %q{Capistrano recipe for a deployment workflow based on git tags}
14
+ s.summary = %q{Capistrano recipe for a deployment workflow based on git tags}
15
+ s.email = %q{harley.trung@gmail.com}
16
+ s.extra_rdoc_files = [
17
+ "README.rdoc"
18
+ ]
19
+ s.files = `git ls-files`.split("\n")
20
+ s.test_files = `git ls-files -- spec/*`.split("\n")
21
+ s.homepage = "http://github.com/harleyttd/#{s.name}"
22
+ s.require_paths = ["lib"]
23
+ s.rubygems_version = %q{1.3.7}
24
+
25
+ if s.respond_to? :specification_version then
26
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
27
+ s.specification_version = 3
28
+
29
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
30
+ s.add_runtime_dependency(%q<capistrano>, [">= 0"])
31
+ s.add_runtime_dependency(%q<stringex>, [">= 0"])
32
+ s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
33
+ else
34
+ s.add_dependency(%q<capistrano>, [">= 0"])
35
+ s.add_dependency(%q<stringex>, [">= 0"])
36
+ s.add_dependency(%q<rspec>, [">= 1.2.9"])
37
+ end
38
+ else
39
+ s.add_dependency(%q<capistrano>, [">= 0"])
40
+ s.add_dependency(%q<stringex>, [">= 0"])
41
+ s.add_dependency(%q<rspec>, [">= 1.2.9"])
42
+ end
43
+ end
44
+
@@ -0,0 +1,76 @@
1
+ # natcmp.rb
2
+ #
3
+ # Natural order comparison of two strings
4
+ # e.g. "my_prog_v1.1.0" < "my_prog_v1.2.0" < "my_prog_v1.10.0"
5
+ # which does not follow alphabetically
6
+ #
7
+ # Based on Martin Pool's "Natural Order String Comparison" originally written in C
8
+ # http://sourcefrog.net/projects/natsort/
9
+ #
10
+ # This implementation is Copyright (C) 2003 by Alan Davies
11
+ # <cs96and_AT_yahoo_DOT_co_DOT_uk>
12
+ #
13
+ # This software is provided 'as-is', without any express or implied
14
+ # warranty. In no event will the authors be held liable for any damages
15
+ # arising from the use of this software.
16
+ #
17
+ # Permission is granted to anyone to use this software for any purpose,
18
+ # including commercial applications, and to alter it and redistribute it
19
+ # freely, subject to the following restrictions:
20
+ #
21
+ # 1. The origin of this software must not be misrepresented; you must not
22
+ # claim that you wrote the original software. If you use this software
23
+ # in a product, an acknowledgment in the product documentation would be
24
+ # appreciated but is not required.
25
+ # 2. Altered source versions must be plainly marked as such, and must not be
26
+ # misrepresented as being the original software.
27
+ # 3. This notice may not be removed or altered from any source distribution.
28
+
29
+ class String
30
+
31
+ # 'Natural order' comparison of two strings
32
+ def String.natcmp(str1, str2, caseInsensitive=false)
33
+ str1, str2 = str1.dup, str2.dup
34
+ compareExpression = /^(\D*)(\d*)(.*)$/
35
+
36
+ if caseInsensitive
37
+ str1.downcase!
38
+ str2.downcase!
39
+ end
40
+
41
+ # Remove all whitespace
42
+ str1.gsub!(/\s*/, '')
43
+ str2.gsub!(/\s*/, '')
44
+
45
+ while (str1.length > 0) or (str2.length > 0) do
46
+ # Extract non-digits, digits and rest of string
47
+ str1 =~ compareExpression
48
+ chars1, num1, str1 = $1.dup, $2.dup, $3.dup
49
+
50
+ str2 =~ compareExpression
51
+ chars2, num2, str2 = $1.dup, $2.dup, $3.dup
52
+
53
+ # Compare the non-digits
54
+ case (chars1 <=> chars2)
55
+ when 0 # Non-digits are the same, compare the digits...
56
+ # If either number begins with a zero, then compare alphabetically,
57
+ # otherwise compare numerically
58
+ if (num1[0] != 48) and (num2[0] != 48)
59
+ num1, num2 = num1.to_i, num2.to_i
60
+ end
61
+
62
+ case (num1 <=> num2)
63
+ when -1 then return -1
64
+ when 1 then return 1
65
+ end
66
+ when -1 then return -1
67
+ when 1 then return 1
68
+ end # case
69
+
70
+ end # while
71
+
72
+ # Strings are naturally equal
73
+ return 0
74
+ end
75
+
76
+ end # class String
@@ -0,0 +1,209 @@
1
+ require 'capistrano'
2
+ require File.join(File.dirname(__FILE__), 'gitflow', 'natcmp')
3
+ require 'stringex'
4
+
5
+ module Capistrano
6
+ class Gitflow
7
+ def self.load_into(capistrano_configuration)
8
+ capistrano_configuration.load do
9
+ before "deploy:update_code", "gitflow:calculate_tag"
10
+ before "gitflow:calculate_tag", "gitflow:verify_up_to_date"
11
+
12
+ namespace :gitflow do
13
+ def last_tag_matching(pattern)
14
+ # search for most recent (chronologically) tag matching the passed pattern, then get the name of that tag.
15
+ last_tag = `git describe --exact-match --match '#{pattern}' \`git log --tags='#{pattern}*' --format="%H" -1\``.chomp
16
+ last_tag.presence
17
+ end
18
+
19
+ def last_staging_tag()
20
+ last_tag_matching('staging-*')
21
+ end
22
+
23
+ def next_staging_tag
24
+ hwhen = Date.today.to_s
25
+ who = `whoami`.chomp.to_url
26
+ what = Capistrano::CLI.ui.ask("What does this release introduce? (this will be normalized and used in the tag for this release) ").to_url
27
+
28
+ last_staging_tag = last_tag_matching("staging-#{hwhen}-*")
29
+ new_tag_serial = if last_staging_tag && last_staging_tag =~ /staging-[0-9]{4}-[0-9]{2}-[0-9]{2}\-([0-9]*)/
30
+ $1.to_i + 1
31
+ else
32
+ 1
33
+ end
34
+
35
+ "#{stage}-#{hwhen}-#{new_tag_serial}-#{who}-#{what}"
36
+ end
37
+
38
+ def last_production_tag()
39
+ last_tag_matching('production-*')
40
+ end
41
+
42
+ def using_git?
43
+ fetch(:scm, :git).to_sym == :git
44
+ end
45
+
46
+ def github_compare_link(from_tag, to_tag)
47
+ "https://github.com/#{$1}/#{$2}/compare/#{from_tag}...#{to_tag}"
48
+ end
49
+
50
+ def get_from_tag(stage_name)
51
+ case stage_name
52
+ when :production
53
+ last_production_tag
54
+ when :staging
55
+ last_staging_tag
56
+ else
57
+ raise "Unsupported stage #{stage}"
58
+ end
59
+ end
60
+
61
+ def get_to_tag(stage_name)
62
+ puts "Calculating 'end' tag for :commit_log for '#{stage}'"
63
+ case stage_name
64
+ when :production
65
+ last_staging_tag
66
+ when :staging
67
+ 'master'
68
+ else
69
+ raise "Unsupported state #{stage}"
70
+ end
71
+ end
72
+
73
+ task :verify_up_to_date do
74
+ if using_git?
75
+ set :local_branch, `git branch --no-color 2> /dev/null | sed -e '/^[^*]/d'`.gsub(/\* /, '').chomp
76
+ set :local_sha, `git log --pretty=format:%H HEAD -1`.chomp
77
+ set :origin_sha, `git log --pretty=format:%H #{local_branch} -1`
78
+ unless local_sha == origin_sha
79
+ abort """
80
+ Your #{local_branch} branch is not up to date with origin/#{local_branch}.
81
+ Please make sure you have pulled and pushed all code before deploying:
82
+
83
+ git pull origin #{local_branch}
84
+ # run tests, etc
85
+ git push origin #{local_branch}
86
+
87
+ """
88
+ end
89
+ end
90
+ end
91
+
92
+ desc "Calculate the tag to deploy"
93
+ task :calculate_tag do
94
+ if using_git?
95
+ # make sure we have any other deployment tags that have been pushed by others so our auto-increment code doesn't create conflicting tags
96
+ `git fetch`
97
+
98
+ if respond_to?("tag_#{stage}")
99
+ send "tag_#{stage}"
100
+
101
+ system "git push --tags origin #{local_branch}"
102
+ if $? != 0
103
+ abort "git push failed"
104
+ end
105
+ else
106
+ puts "Will deploy tag: #{local_branch}"
107
+ set :branch, local_branch
108
+ end
109
+ end
110
+ end
111
+
112
+ desc "Show log between most recent staging tag (or given tag=XXX) and last production release."
113
+ task :commit_log do
114
+ from_tag = get_from_tag(stage)
115
+
116
+ # no idea how to properly test for an optional cap argument a la '-s tag=x'
117
+ to_tag = capistrano_configuration[:tag] || get_to_tag(stage)
118
+
119
+ # use custom compare command if set
120
+ if ENV['git_log_command'].present?
121
+ command = "git #{ENV['git_log_command']} #{from_tag}..#{to_tag}"
122
+ else
123
+ # default compare command
124
+ # be awesome for github
125
+ if `git config remote.origin.url` =~ /git@github.com:(.*)\/(.*).git/
126
+ command = "open #{github_compare_link from_tag, to_tag}"
127
+ else
128
+ command = "git log #{from_tag}..#{to_tag}"
129
+ end
130
+ end
131
+ puts "Displaying commits from #{from_tag} to #{to_tag} via:\n#{command}"
132
+ system command
133
+ end
134
+
135
+ desc "Show from_tag and to_tag for custom commands"
136
+ task :from_to_tags do
137
+ puts get_from_tag(stage) + " --> " + get_to_tag(stage)
138
+ end
139
+
140
+ desc "Mark the current code as a staging/qa release"
141
+ task :tag_staging do
142
+ current_sha = `git log --pretty=format:%H HEAD -1`
143
+ last_staging_tag_sha = if last_staging_tag
144
+ `git log --pretty=format:%H #{last_staging_tag} -1`
145
+ end
146
+
147
+ if last_staging_tag_sha == current_sha
148
+ puts "Not re-tagging staging because latest tag (#{last_staging_tag}) already points to HEAD"
149
+ new_staging_tag = last_staging_tag
150
+ else
151
+ new_staging_tag = next_staging_tag
152
+ puts "Tagging current branch for deployment to staging as '#{new_staging_tag}'"
153
+ system "git tag -a -m 'tagging current code for deployment to staging' #{new_staging_tag}"
154
+ end
155
+
156
+ set :branch, new_staging_tag
157
+ end
158
+
159
+ desc "Push the approved tag to production. Pass in tag to deploy with '-s tag=staging-YYYY-MM-DD-X-feature'."
160
+ task :tag_production do
161
+ promote_to_production_tag = capistrano_configuration[:tag] || last_staging_tag
162
+
163
+ unless promote_to_production_tag && promote_to_production_tag =~ /staging-.*/
164
+ abort "Couldn't find a staging tag to deploy; use '-s tag=staging-YYYY-MM-DD.X'"
165
+ end
166
+ unless last_tag_matching(promote_to_production_tag)
167
+ abort "Staging tag #{promote_to_production_tag} does not exist."
168
+ end
169
+
170
+ promote_to_production_tag =~ /^staging-(.*)$/
171
+ new_production_tag = "production-#{$1}"
172
+
173
+ if new_production_tag == last_production_tag
174
+ puts "Not re-tagging #{last_production_tag} because it already exists"
175
+ really_deploy = Capistrano::CLI.ui.ask("Do you really want to deploy #{last_production_tag}? [y/N]").to_url
176
+
177
+ exit(1) unless really_deploy =~ /^[Yy]$/
178
+ else
179
+ puts "Preparing to promote staging tag '#{promote_to_production_tag}' to '#{new_production_tag}'"
180
+ unless capistrano_configuration[:tag]
181
+ really_deploy = Capistrano::CLI.ui.ask("Do you really want to deploy #{new_production_tag}? [y/N]").to_url
182
+
183
+ exit(1) unless really_deploy =~ /^[Yy]$/
184
+ end
185
+ puts "Promoting staging tag #{promote_to_production_tag} to production as '#{new_production_tag}'"
186
+ system "git tag -a -m 'tagging current code for deployment to production' #{new_production_tag} #{promote_to_production_tag}"
187
+ end
188
+
189
+ set :branch, new_production_tag
190
+ end
191
+ end
192
+
193
+ namespace :deploy do
194
+ namespace :pending do
195
+ task :compare do
196
+ gitflow.commit_log
197
+ end
198
+ end
199
+ end
200
+
201
+ end
202
+
203
+ end
204
+ end
205
+ end
206
+
207
+ if Capistrano::Configuration.instance
208
+ Capistrano::Gitflow.load_into(Capistrano::Configuration.instance)
209
+ end
@@ -0,0 +1,2 @@
1
+ # Just need to add to LOAD_PATH, so we can require 'gitflow'
2
+ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')
@@ -0,0 +1,7 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
+
3
+ describe "Gitflow" do
4
+ it "fails" do
5
+ fail "hey buddy, you should probably rename this file and start specing for real"
6
+ end
7
+ end
data/spec/spec.opts ADDED
@@ -0,0 +1 @@
1
+ --color
@@ -0,0 +1,9 @@
1
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
2
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
3
+ require 'gitflow'
4
+ require 'spec'
5
+ require 'spec/autorun'
6
+
7
+ Spec::Runner.configure do |config|
8
+
9
+ end
metadata ADDED
@@ -0,0 +1,124 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: harleytt-capistrano-gitflow
3
+ version: !ruby/object:Gem::Version
4
+ hash: 15
5
+ prerelease:
6
+ segments:
7
+ - 1
8
+ - 4
9
+ - 4
10
+ version: 1.4.4
11
+ platform: ruby
12
+ authors:
13
+ - Joshua Nichols
14
+ - Harley Trung
15
+ autorequire:
16
+ bindir: bin
17
+ cert_chain: []
18
+
19
+ date: 2011-08-07 00:00:00 -04:00
20
+ default_executable:
21
+ dependencies:
22
+ - !ruby/object:Gem::Dependency
23
+ name: capistrano
24
+ prerelease: false
25
+ requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ hash: 3
31
+ segments:
32
+ - 0
33
+ version: "0"
34
+ type: :runtime
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
37
+ name: stringex
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ hash: 3
45
+ segments:
46
+ - 0
47
+ version: "0"
48
+ type: :runtime
49
+ version_requirements: *id002
50
+ - !ruby/object:Gem::Dependency
51
+ name: rspec
52
+ prerelease: false
53
+ requirement: &id003 !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ hash: 13
59
+ segments:
60
+ - 1
61
+ - 2
62
+ - 9
63
+ version: 1.2.9
64
+ type: :development
65
+ version_requirements: *id003
66
+ description: Capistrano recipe for a deployment workflow based on git tags
67
+ email: harley.trung@gmail.com
68
+ executables: []
69
+
70
+ extensions: []
71
+
72
+ extra_rdoc_files:
73
+ - README.rdoc
74
+ files:
75
+ - .document
76
+ - .gitignore
77
+ - README.rdoc
78
+ - Rakefile
79
+ - VERSION
80
+ - capistrano-gitflow.gemspec
81
+ - lib/capistrano/gitflow.rb
82
+ - lib/capistrano/gitflow/natcmp.rb
83
+ - recipes/gitflow_recipes.rb
84
+ - spec/gitflow_spec.rb
85
+ - spec/spec.opts
86
+ - spec/spec_helper.rb
87
+ has_rdoc: true
88
+ homepage: http://github.com/harleyttd/harleytt-capistrano-gitflow
89
+ licenses: []
90
+
91
+ post_install_message:
92
+ rdoc_options: []
93
+
94
+ require_paths:
95
+ - lib
96
+ required_ruby_version: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ hash: 3
102
+ segments:
103
+ - 0
104
+ version: "0"
105
+ required_rubygems_version: !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ hash: 3
111
+ segments:
112
+ - 0
113
+ version: "0"
114
+ requirements: []
115
+
116
+ rubyforge_project:
117
+ rubygems_version: 1.5.3
118
+ signing_key:
119
+ specification_version: 3
120
+ summary: Capistrano recipe for a deployment workflow based on git tags
121
+ test_files:
122
+ - spec/gitflow_spec.rb
123
+ - spec/spec.opts
124
+ - spec/spec_helper.rb