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 +4 -4
- data/aptible-api.gemspec +0 -1
- data/lib/aptible/api/account.rb +0 -1
- data/lib/aptible/api/operation.rb +4 -2
- data/lib/aptible/api/version.rb +1 -1
- data/spec/aptible/api/operation_spec.rb +5 -1
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9c6eb639f828bf55b97ce98c42466f95783b119
|
4
|
+
data.tar.gz: 52664905bf0e652c6c19bd7df7dc5e254b1f0da1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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'
|
data/lib/aptible/api/account.rb
CHANGED
@@ -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
|
-
|
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.
|
data/lib/aptible/api/version.rb
CHANGED
@@ -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
|
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.
|
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-
|
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
|