heroku_san 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +5 -2
- data/VERSION +1 -1
- data/heroku_san.gemspec +2 -2
- data/lib/heroku_san/tasks.rb +10 -1
- metadata +4 -4
data/README.rdoc
CHANGED
@@ -66,6 +66,8 @@ A full list of tasks provided:
|
|
66
66
|
rake all # Select all Heroku apps for later command
|
67
67
|
rake console # Opens a remote console
|
68
68
|
rake deploy # Deploys, migrates and restarts latest code.
|
69
|
+
rake after_deploy # Callback after deploys
|
70
|
+
rake before_deploy # Callback before deploys
|
69
71
|
rake capture # Captures a bundle on Heroku
|
70
72
|
rake heroku:apps # Lists configured apps
|
71
73
|
rake heroku:create # Creates the Heroku app
|
@@ -87,8 +89,9 @@ Issue Tracker:: http://github.com/fastestforward/heroku_san/issues
|
|
87
89
|
|
88
90
|
== Contributors
|
89
91
|
|
90
|
-
Elijah Miller (elijah.miller@gmail.com)
|
91
|
-
Glenn Roberts (glenn.roberts@siyelo.com)
|
92
|
+
* Elijah Miller (elijah.miller@gmail.com)
|
93
|
+
* Glenn Roberts (glenn.roberts@siyelo.com)
|
94
|
+
* Damien Mathieu (42@dmathieu.com)
|
92
95
|
|
93
96
|
== License
|
94
97
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.3
|
data/heroku_san.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{heroku_san}
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Elijah Miller", "Glenn Roberts"]
|
12
|
-
s.date = %q{2010-08-
|
12
|
+
s.date = %q{2010-08-30}
|
13
13
|
s.description = %q{Manage multiple Heroku instances/apps for a single Rails app using Rake}
|
14
14
|
s.email = %q{glenn.roberts@siyelo.com}
|
15
15
|
s.extra_rdoc_files = [
|
data/lib/heroku_san/tasks.rb
CHANGED
@@ -107,7 +107,7 @@ namespace :heroku do
|
|
107
107
|
end
|
108
108
|
|
109
109
|
desc "Deploys, migrates and restarts latest code"
|
110
|
-
task :deploy do
|
110
|
+
task :deploy => :before_deploy do
|
111
111
|
each_heroku_app do |name, app, repo|
|
112
112
|
branch = `git branch`.scan(/^\* (.*)\n/).to_s
|
113
113
|
if branch.present?
|
@@ -118,6 +118,15 @@ task :deploy do
|
|
118
118
|
exit(1)
|
119
119
|
end
|
120
120
|
end
|
121
|
+
Rake::Task[:after_deploy].execute
|
122
|
+
end
|
123
|
+
|
124
|
+
desc "Callback before deploys"
|
125
|
+
task :before_deploy do
|
126
|
+
end
|
127
|
+
|
128
|
+
desc "Callback after deploys"
|
129
|
+
task :after_deploy do
|
121
130
|
end
|
122
131
|
|
123
132
|
desc "Force deploys, migrates and restarts latest code"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: heroku_san
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 3
|
10
|
+
version: 0.2.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Elijah Miller
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-08-
|
19
|
+
date: 2010-08-30 00:00:00 -04:00
|
20
20
|
default_executable:
|
21
21
|
dependencies: []
|
22
22
|
|