heroku-rails 0.4.2 → 0.4.3

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.4.2)
4
+ heroku-rails (0.4.3)
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.4.2"
3
+ s.version = "0.4.3"
4
4
 
5
5
  s.authors = ["Elijah Miller", "Glenn Roberts", "Jacques Crocker"]
6
6
  s.summary = "Deployment and configuration tools for Heroku/Rails"
@@ -268,13 +268,15 @@ module HerokuRails
268
268
  end
269
269
 
270
270
  def output_destroy_commands(app)
271
- puts "The #{app} had a few things removed from the heroku.yml."
272
- puts "If they are no longer neccessary, then run the following commands:\n\n"
273
- (@destroy_commands || []).each do |destroy_command|
274
- puts destroy_command
271
+ if @destroy_commands.present?
272
+ puts "The #{app} had a few things removed from the heroku.yml."
273
+ puts "If they are no longer neccessary, then run the following commands:\n\n"
274
+ (@destroy_commands || []).each do |destroy_cmd|
275
+ puts destroy_cmd
276
+ end
277
+ puts "\n\nthese commands may cause data loss so make sure you know that these are necessary"
278
+ # clear destroy commands
275
279
  end
276
- puts "\n\nthese commands may cause data loss so make sure you know that these are necessary"
277
- # clear destroy commands
278
280
  @destroy_commands = []
279
281
  end
280
282
 
@@ -65,7 +65,7 @@ namespace :heroku do
65
65
  branch = `git branch`.scan(/^\* (.*)\n/).flatten.first.to_s
66
66
  if branch.present?
67
67
  @git_push_arguments ||= []
68
- system_with_echo "git push #{repo} #{@git_push_arguments.join(' ')} #{branch}:master && heroku rake --app #{app_name} db:migrate && heroku restart --app #{app_name}"
68
+ system_with_echo "git push #{repo} #{@git_push_arguments.join(' ')} #{branch}:master && heroku restart --app #{app_name}"
69
69
  else
70
70
  puts "Unable to determine the current git branch, please checkout the branch you'd like to deploy"
71
71
  exit(1)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heroku-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -15,7 +15,7 @@ date: 2012-01-07 00:00:00.000000000Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: heroku
18
- requirement: &2152156900 !ruby/object:Gem::Requirement
18
+ requirement: &2152235900 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,10 +23,10 @@ dependencies:
23
23
  version: 1.11.0
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *2152156900
26
+ version_requirements: *2152235900
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
- requirement: &2152155440 !ruby/object:Gem::Requirement
29
+ requirement: &2152234080 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ~>
@@ -34,7 +34,7 @@ dependencies:
34
34
  version: '2.0'
35
35
  type: :development
36
36
  prerelease: false
37
- version_requirements: *2152155440
37
+ version_requirements: *2152234080
38
38
  description: Manage multiple Heroku instances/apps for a single Rails app using Rake.
39
39
  It's the Capistrano for Heroku, without the suck.
40
40
  email: railsjedi@gmail.com
@@ -81,7 +81,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  segments:
83
83
  - 0
84
- hash: 1534960027760843118
84
+ hash: 1070963580858279242
85
85
  required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  none: false
87
87
  requirements:
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  version: '0'
91
91
  segments:
92
92
  - 0
93
- hash: 1534960027760843118
93
+ hash: 1070963580858279242
94
94
  requirements: []
95
95
  rubyforge_project: none
96
96
  rubygems_version: 1.8.6