heroku-rails 0.2.8 → 0.2.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- heroku-rails (0.2.8)
4
+ heroku-rails (0.2.9)
5
5
  heroku (>= 1.11.0)
6
6
 
7
7
  GEM
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "heroku-rails"
3
- s.version = "0.2.8"
3
+ s.version = "0.2.9"
4
4
 
5
5
  s.authors = ["Elijah Miller", "Glenn Roberts", "Jacques Crocker"]
6
6
  s.summary = "Deployment and configuration tools for Heroku/Rails"
@@ -6,6 +6,12 @@ HEROKU_RUNNER = Heroku::Rails::HerokuRunner.new(HEROKU_CONFIG)
6
6
  (HEROKU_CONFIG.apps).each do |heroku_env, app_name|
7
7
  desc "Select #{heroku_env} Heroku app for later commands"
8
8
  task heroku_env do
9
+
10
+ # callback switch_environment
11
+ @heroku_app = {:env => heroku_env, :app_name => app_name}
12
+ Rake::Task["heroku:switch_environment"].reenable
13
+ Rake::Task["heroku:switch_environment"].invoke
14
+
9
15
  HEROKU_RUNNER.add_environment(heroku_env)
10
16
  end
11
17
  end
@@ -85,6 +91,10 @@ namespace :heroku do
85
91
  task :after_each_deploy do
86
92
  end
87
93
 
94
+ # Callback for when we switch environment
95
+ task :switch_environment do
96
+ end
97
+
88
98
  desc "Force deploys, migrates and restarts latest code"
89
99
  task :force_deploy do
90
100
  @git_push_arguments ||= []
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 8
9
- version: 0.2.8
8
+ - 9
9
+ version: 0.2.9
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-12 00:00:00 -08:00
19
+ date: 2010-11-16 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: 2186462347550587634
97
+ hash: 1892535180642759805
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: 2186462347550587634
106
+ hash: 1892535180642759805
107
107
  segments:
108
108
  - 0
109
109
  version: "0"