aptible-api 0.9.14 → 0.9.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fca6144f0c1ad810abee436b30ed9b3e03df144f
4
- data.tar.gz: 137b04d0be16b37453a23fe5d26b974178e7edc5
3
+ metadata.gz: b9c6eb639f828bf55b97ce98c42466f95783b119
4
+ data.tar.gz: 52664905bf0e652c6c19bd7df7dc5e254b1f0da1
5
5
  SHA512:
6
- metadata.gz: c6fd7583ad12fc618073bf6fccc4c35bbc4b50836878c37837f166624d8eb47f5da9b79b5ab52ea15fe10657add1b64f4423290a3675395228c8ba992d628548
7
- data.tar.gz: f577e098d4e40e56c00f18278e097e486524e5a4699b10519e7141624911274f0b07947f6a39082b18412d847b52a825ebff7b2f263070066821a431d6f7afcf
6
+ metadata.gz: 449f42a33175161bfed43ea14de05fb08ee2338860909b358f4f7098b5f029a08e19e47c0861b76152a1d6aa53ed37f685a39dfcc5aa56742cb00ca0f2e21727
7
+ data.tar.gz: 214c2eb943a3ebf04e77cad57dd01cd2a210678aa3c46aa8ba99dd0198a95c2328ab108996e225e3717b669a9c7be0c2f9f5fa6db617da4422d32eee76d9adc4
data/aptible-api.gemspec CHANGED
@@ -21,7 +21,6 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.add_dependency 'aptible-resource', '>= 0.3.4'
23
23
  spec.add_dependency 'aptible-auth', '>= 0.5.0'
24
- spec.add_dependency 'stripe', '>= 1.13.0'
25
24
  spec.add_dependency 'gem_config'
26
25
 
27
26
  spec.add_development_dependency 'bundler', '~> 1.3'
@@ -1,5 +1,4 @@
1
1
  require 'aptible/auth'
2
- require 'stripe'
3
2
 
4
3
  module Aptible
5
4
  module Api
@@ -61,8 +61,10 @@ module Aptible
61
61
  cmd = [
62
62
  'ssh',
63
63
  "#{connection.ssh_user}@#{account.bastion_host}",
64
- '-p', account.ssh_portal_port.to_s
65
- ] + ['-i', id_file]
64
+ '-p', account.ssh_portal_port.to_s,
65
+ '-i', id_file,
66
+ '-o', 'IdentitiesOnly=yes'
67
+ ]
66
68
 
67
69
  # If we aren't allowed to create a pty, then we shouldn't try to
68
70
  # allocate once, or we'll get an awkward error.
@@ -1,5 +1,5 @@
1
1
  module Aptible
2
2
  module Api
3
- VERSION = '0.9.14'.freeze
3
+ VERSION = '0.9.15'.freeze
4
4
  end
5
5
  end
@@ -66,9 +66,13 @@ describe Aptible::Api::Operation do
66
66
  if ssh_pty
67
67
  expect(cmd).not_to include('-T')
68
68
  else
69
- expect(cmd.last).to eq('-T')
69
+ expect(cmd).to include('-T')
70
70
  end
71
71
 
72
+ identities_only = 'IdentitiesOnly=yes'
73
+ expect(cmd).to include(identities_only)
74
+ expect(cmd[cmd.index(identities_only) - 1]).to eq('-o')
75
+
72
76
  has_yielded = true
73
77
  end
74
78
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aptible-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.14
4
+ version: 0.9.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank Macreery
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-08 00:00:00.000000000 Z
11
+ date: 2016-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aptible-resource
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.5.0
41
- - !ruby/object:Gem::Dependency
42
- name: stripe
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: 1.13.0
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: 1.13.0
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: gem_config
57
43
  requirement: !ruby/object:Gem::Requirement