travis_heroku 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/bin/travis-heroku CHANGED
@@ -6,10 +6,10 @@ heroku = Heroku::API.new
6
6
 
7
7
  key_path = File.expand_path('~/.ssh/id_rsa')
8
8
  key_id = "travis#{ENV['TRAVIS_JOB_NUMBER']}"
9
- puts `ssh-keygen -f #{key_path} -C #{key_id} -P ''`
9
+ system "ssh-keygen -f #{key_path} -C #{key_id} -P ''"
10
10
  heroku.post_key(File.read("#{key_path}.pub"))
11
11
 
12
- puts `git remote add heroku git@heroku.com:${HEROKU_APP}.git`
13
- puts `GIT_SSH=ssh-nostrict git push heroku master`
12
+ system "git remote add heroku git@heroku.com:${HEROKU_APP}.git"
13
+ system({'GIT_SSH' => 'ssh-nostrict'}, 'git push heroku master')
14
14
 
15
15
  heroku.delete_key key_id
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'travis_heroku'
3
- s.version = '0.0.2'
3
+ s.version = '0.0.3'
4
4
  s.summary = 'Easily trigger Heroku deploys from Travis builds.'
5
5
  s.description = s.summary
6
6
  s.homepage = 'https://github.com/mmb/travis-heroku'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: travis_heroku
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: