version_deploy 0.0.2 → 0.0.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/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 1.9.3-p448
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
@@ -86,9 +86,9 @@ namespace :deploy do
86
86
  puts 'Deploying to staging...'
87
87
  response = system('git push staging develop:master')
88
88
  fail "Error pushing to staging" if !response
89
- puts `heroku run rake db:migrate --remote staging`
90
- puts `heroku ps:restart --remote staging`
91
- puts `heroku open --remote staging`
89
+ Bundler.with_clean_env { puts `heroku run rake db:migrate --remote staging` }
90
+ Bundler.with_clean_env { puts `heroku ps:restart --remote staging` }
91
+ Bundler.with_clean_env { puts `heroku open --remote staging` }
92
92
  puts 'Deployed to staging'
93
93
  end
94
94
 
@@ -137,9 +137,9 @@ namespace :deploy do
137
137
  puts 'Deploying to production...'
138
138
  response = system('git push production master:master')
139
139
  fail "Error pushing to production" if !response
140
- puts `heroku run rake db:migrate --remote production`
141
- puts `heroku ps:restart --remote production`
142
- puts `heroku open --remote production`
140
+ Bundler.with_clean_env { puts `heroku run rake db:migrate --remote production` }
141
+ Bundler.with_clean_env { puts `heroku ps:restart --remote production` }
142
+ Bundler.with_clean_env { puts `heroku open --remote production` }
143
143
  puts 'Deployed to production'
144
144
  end
145
145
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "version_deploy"
8
- s.version = "0.0.2"
8
+ s.version = "0.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ben McFadden"]
12
- s.date = "2012-11-12"
12
+ s.date = "2013-12-05"
13
13
  s.description = "Integrating with git-flow for versioning and heroku for deployment, this makes releasing to staging and production a one-line command "
14
14
  s.email = "ben.mcfadden@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
18
18
  ]
19
19
  s.files = [
20
20
  ".document",
21
+ ".ruby-version",
21
22
  "Gemfile",
22
23
  "Gemfile.lock",
23
24
  "LICENSE.txt",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: version_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-12 00:00:00.000000000 Z
12
+ date: 2013-12-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: shoulda
@@ -101,6 +101,7 @@ extra_rdoc_files:
101
101
  - README.md
102
102
  files:
103
103
  - .document
104
+ - .ruby-version
104
105
  - Gemfile
105
106
  - Gemfile.lock
106
107
  - LICENSE.txt
@@ -127,7 +128,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
127
128
  version: '0'
128
129
  segments:
129
130
  - 0
130
- hash: -4576270911180590005
131
+ hash: -2615620594172800669
131
132
  required_rubygems_version: !ruby/object:Gem::Requirement
132
133
  none: false
133
134
  requirements: