update heroku_san

This commit is contained in:
Maxwell Salzberg 2012-03-27 15:43:54 -07:00
parent f5fdb8ade1
commit 9d26643288
3 changed files with 8 additions and 8 deletions

View file

@ -143,7 +143,7 @@ end
group :development do
gem 'heroku'
gem 'heroku_san', '1.3.0'
gem 'heroku_san'
gem 'capistrano', '~> 2.9.0', :require => false
gem 'capistrano_colors', :require => false
gem 'capistrano-ext', '1.2.1', :require => false

View file

@ -187,14 +187,14 @@ GEM
json (>= 1.4.6)
haml (3.1.4)
hashie (1.2.0)
heroku (2.21.3)
heroku (2.23.0)
launchy (>= 0.3.2)
netrc (~> 0.7.1)
rest-client (~> 1.6.1)
rubyzip
heroku_san (1.3.0)
heroku_san (2.1.1)
heroku (>= 2)
rails (>= 2)
rake
highline (1.6.11)
hike (1.2.1)
hodel_3000_compliant_logger (0.1.0)
@ -219,7 +219,7 @@ GEM
rspec (>= 1.3.1)
selenium-webdriver (>= 0.1.3)
jasmine-core (1.1.0)
json (1.6.5)
json (1.6.6)
jsonpath (0.5.0)
multi_json
jwt (0.1.4)
@ -480,7 +480,7 @@ DEPENDENCIES
fuubar (= 0.0.6)
haml
heroku
heroku_san (= 1.3.0)
heroku_san
http_accept_language (~> 1.0.2)
i18n-inflector-rails (~> 1.0)
jammit-s3

View file

@ -1,8 +1,8 @@
desc "include custom landing page before heroku san deploys"
task :before_deploy => :environment do
each_heroku_app do |name, app, repo|
home_file = @app_settings[name]['config']['HOME_FILE']
each_heroku_app do |stage|
home_file = stage.config['HOME_FILE']
# Perform this task only if custom landing page is not present in app/views/home/_show.html.haml
if home_file.present?
puts "-----> custom landing page detected..."