heroku-rails 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/heroku-rails.gemspec +1 -1
- data/lib/generators/templates/heroku.yml +1 -1
- data/lib/heroku/rails/tasks.rb +3 -1
- metadata +5 -5
data/Gemfile.lock
CHANGED
data/heroku-rails.gemspec
CHANGED
data/lib/heroku/rails/tasks.rb
CHANGED
@@ -51,6 +51,7 @@ namespace :heroku do
|
|
51
51
|
puts "\n\nDeploying to #{app_name}..."
|
52
52
|
# set the current heroku_app so that callbacks can read the data
|
53
53
|
@heroku_app = {:env => heroku_env, :app_name => app_name, :repo => repo}
|
54
|
+
Rake::Task["heroku:before_each_deploy"].reenable
|
54
55
|
Rake::Task["heroku:before_each_deploy"].invoke
|
55
56
|
|
56
57
|
branch = `git branch`.scan(/^\* (.*)\n/).flatten.first.to_s
|
@@ -61,10 +62,11 @@ namespace :heroku do
|
|
61
62
|
puts "Unable to determine the current git branch, please checkout the branch you'd like to deploy"
|
62
63
|
exit(1)
|
63
64
|
end
|
65
|
+
Rake::Task["heroku:after_each_deploy"].reenable
|
64
66
|
Rake::Task["heroku:after_each_deploy"].invoke
|
65
67
|
puts "\n"
|
66
68
|
end
|
67
|
-
Rake::Task["heroku:after_deploy"].
|
69
|
+
Rake::Task["heroku:after_deploy"].invoke
|
68
70
|
end
|
69
71
|
|
70
72
|
# Callback before all deploys
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
version: 0.2.
|
8
|
+
- 8
|
9
|
+
version: 0.2.8
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Elijah Miller
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-11-
|
19
|
+
date: 2010-11-12 00:00:00 -08:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
@@ -94,7 +94,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
94
94
|
requirements:
|
95
95
|
- - ">="
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
hash:
|
97
|
+
hash: 2186462347550587634
|
98
98
|
segments:
|
99
99
|
- 0
|
100
100
|
version: "0"
|
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
103
|
requirements:
|
104
104
|
- - ">="
|
105
105
|
- !ruby/object:Gem::Version
|
106
|
-
hash:
|
106
|
+
hash: 2186462347550587634
|
107
107
|
segments:
|
108
108
|
- 0
|
109
109
|
version: "0"
|