tampon 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.rdoc +46 -2
  2. data/tampon.gemspec +2 -2
  3. metadata +23 -23
data/README.rdoc CHANGED
@@ -1,6 +1,50 @@
1
1
  = tampon
2
2
 
3
- Description goes here.
3
+ Tampon provides Gitflow integration with Capistrano, without unessecary restrictions to the deploy process. Our goal with tampon was to improve on capistrano-gitflow by allowing you to tag a staging release (or not tag a staging release),
4
+ deploy from the HEAD of whatever branch you are on (feature, develop, hotfix, etc), and deploy to production from bonafide gitflow release tags.
5
+
6
+ == Installation
7
+
8
+ You can use the most recent tampon gem by adding it to your Gemfile:
9
+
10
+ gem install tampon
11
+
12
+ == Capistrano Setup
13
+
14
+ You'll need to require the tampon recipe in deploy.rb:
15
+
16
+ require 'capistrano/ext/multistage'
17
+ require 'capistrano/tampon'
18
+
19
+ That's all you need. Tampon will set the :branch variable and allow you deploy from any tag, branch or release whenever you wish.
20
+
21
+ == Optional Setup
22
+
23
+ If you're using the gitflow binary https://github.com/nvie/gitflow , tampon provides a nice helper to initialize your project using our favorite defaults:
24
+
25
+ rake gitflow:prepare
26
+
27
+ This will attempt to create a develop branch if one doesn't exist locally or remotely, track it and add the following defaults:
28
+
29
+ gitflow.branch.master = master
30
+ gitflow.branch.develop = develop
31
+ gtiflow.prefix.versiontag = v
32
+
33
+ === Deploy to staging
34
+
35
+ To deploy what you're currently working on to staging:
36
+
37
+ cap staging deploy
38
+
39
+ Tampon will ask if you'd like to tag the release. The tag will include the date, who is deploying and a message. You will then be able to specify that tag as what you'd like to deploy.
40
+
41
+ === Deploy to production
42
+
43
+ After you've finished a release branch, tampon will show you all the available releases to deploy from:
44
+
45
+ cap production deploy
46
+
47
+
4
48
 
5
49
  == Contributing to tampon
6
50
 
@@ -14,6 +58,6 @@ Description goes here.
14
58
 
15
59
  == Copyright
16
60
 
17
- Copyright (c) 2011 Spencer Markowski. See LICENSE.txt for
61
+ Copyright (c) 2011 Spencer Markowski (The Able Few, LLC). See LICENSE.txt for
18
62
  further details.
19
63
 
data/tampon.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{tampon}
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Spencer Markowski"]
12
- s.date = %q{2011-08-31}
12
+ s.date = %q{2011-09-07}
13
13
  s.description = %q{An unrestictive way to deploy using gitflow and capistrano}
14
14
  s.email = %q{spencer@theablefew.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tampon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,12 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-31 00:00:00.000000000 -04:00
12
+ date: 2011-09-07 00:00:00.000000000 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: capistrano
17
- requirement: &70159440432760 !ruby/object:Gem::Requirement
17
+ requirement: &70213878034400 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70159440432760
25
+ version_requirements: *70213878034400
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: stringex
28
- requirement: &70159440431820 !ruby/object:Gem::Requirement
28
+ requirement: &70213878033500 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *70159440431820
36
+ version_requirements: *70213878033500
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: shoulda
39
- requirement: &70159440430940 !ruby/object:Gem::Requirement
39
+ requirement: &70213878032800 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 3.0.0.beta2
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *70159440430940
47
+ version_requirements: *70213878032800
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: active_support
50
- requirement: &70159440429860 !ruby/object:Gem::Requirement
50
+ requirement: &70213878032140 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: '0'
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *70159440429860
58
+ version_requirements: *70213878032140
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: i18n
61
- requirement: &70159440428760 !ruby/object:Gem::Requirement
61
+ requirement: &70213878031200 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ! '>='
@@ -66,10 +66,10 @@ dependencies:
66
66
  version: '0'
67
67
  type: :development
68
68
  prerelease: false
69
- version_requirements: *70159440428760
69
+ version_requirements: *70213878031200
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: minitest-rg
72
- requirement: &70159440426980 !ruby/object:Gem::Requirement
72
+ requirement: &70213878030240 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
75
  - - ! '>='
@@ -77,10 +77,10 @@ dependencies:
77
77
  version: '0'
78
78
  type: :development
79
79
  prerelease: false
80
- version_requirements: *70159440426980
80
+ version_requirements: *70213878030240
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: cucumber
83
- requirement: &70159440424020 !ruby/object:Gem::Requirement
83
+ requirement: &70213878029600 !ruby/object:Gem::Requirement
84
84
  none: false
85
85
  requirements:
86
86
  - - ! '>='
@@ -88,10 +88,10 @@ dependencies:
88
88
  version: '0'
89
89
  type: :development
90
90
  prerelease: false
91
- version_requirements: *70159440424020
91
+ version_requirements: *70213878029600
92
92
  - !ruby/object:Gem::Dependency
93
93
  name: bundler
94
- requirement: &70159440422840 !ruby/object:Gem::Requirement
94
+ requirement: &70213878029000 !ruby/object:Gem::Requirement
95
95
  none: false
96
96
  requirements:
97
97
  - - ~>
@@ -99,10 +99,10 @@ dependencies:
99
99
  version: 1.0.0
100
100
  type: :development
101
101
  prerelease: false
102
- version_requirements: *70159440422840
102
+ version_requirements: *70213878029000
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: jeweler
105
- requirement: &70159440414360 !ruby/object:Gem::Requirement
105
+ requirement: &70213878028440 !ruby/object:Gem::Requirement
106
106
  none: false
107
107
  requirements:
108
108
  - - ~>
@@ -110,10 +110,10 @@ dependencies:
110
110
  version: 1.6.4
111
111
  type: :development
112
112
  prerelease: false
113
- version_requirements: *70159440414360
113
+ version_requirements: *70213878028440
114
114
  - !ruby/object:Gem::Dependency
115
115
  name: rcov
116
- requirement: &70159440413500 !ruby/object:Gem::Requirement
116
+ requirement: &70213878027380 !ruby/object:Gem::Requirement
117
117
  none: false
118
118
  requirements:
119
119
  - - ! '>='
@@ -121,7 +121,7 @@ dependencies:
121
121
  version: '0'
122
122
  type: :development
123
123
  prerelease: false
124
- version_requirements: *70159440413500
124
+ version_requirements: *70213878027380
125
125
  description: An unrestictive way to deploy using gitflow and capistrano
126
126
  email: spencer@theablefew.com
127
127
  executables: []
@@ -165,7 +165,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
165
165
  version: '0'
166
166
  segments:
167
167
  - 0
168
- hash: 3693216269973272026
168
+ hash: -1460440377779938
169
169
  required_rubygems_version: !ruby/object:Gem::Requirement
170
170
  none: false
171
171
  requirements: