travis_heroku 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/bin/travis-heroku CHANGED
@@ -10,6 +10,12 @@ system "ssh-keygen -f #{key_path} -C #{key_id} -P ''"
10
10
  heroku.post_key(File.read("#{key_path}.pub"))
11
11
 
12
12
  system "git remote add heroku git@heroku.com:${HEROKU_APP}.git"
13
- system({'GIT_SSH' => 'ssh-nostrict'}, 'git push heroku master')
13
+
14
+ open(File.expand_path('~/.ssh/config'), 'a') do |f|
15
+ f.write "Host heroku.com\n"
16
+ f.write " StrictHostKeyChecking no\n"
17
+ end
18
+
19
+ system 'git push heroku master'
14
20
 
15
21
  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.3'
3
+ s.version = '0.0.4'
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'
@@ -10,5 +10,5 @@ Gem::Specification.new do |s|
10
10
  s.add_dependency 'heroku-api'
11
11
 
12
12
  s.files = `git ls-files`.split("\n")
13
- s.executables = %w{travis-heroku ssh-nostrict}
13
+ s.executables = %w{travis-heroku}
14
14
  end
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.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -32,12 +32,10 @@ email:
32
32
  - matthewm@boedicker.org
33
33
  executables:
34
34
  - travis-heroku
35
- - ssh-nostrict
36
35
  extensions: []
37
36
  extra_rdoc_files: []
38
37
  files:
39
38
  - README.md
40
- - bin/ssh-nostrict
41
39
  - bin/travis-heroku
42
40
  - travis_heroku.gemspec
43
41
  homepage: https://github.com/mmb/travis-heroku
data/bin/ssh-nostrict DELETED
@@ -1,5 +0,0 @@
1
- #!/bin/sh
2
-
3
- ssh \
4
- -o 'StrictHostKeyChecking no' \
5
- "$@"