aptible-auth 0.8.3 → 0.8.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aptible/auth/organization.rb +2 -1
- data/lib/aptible/auth/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 218a7e1bbe9b5692885404b720f8868b19b1ed30
|
4
|
+
data.tar.gz: 9562873042bbe23ddcab977cb9c096fe628777e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ad15affa29559ad2ad55923363a98162d95dc002bf0bdc26094fb2ecc82a2ca63f8c15cfd571ea8219e5694929f0ad4e0568471e86c56e94f12722ce051e909
|
7
|
+
data.tar.gz: 88f5d22470555c91ca666ce4101a00748cc9625dc90d71cd9a8834d98d19eb480ae14207c60025a3dbbe16c746623ef14fa3e7794b9b68a5c2c30961810d22f5
|
@@ -61,10 +61,11 @@ module Aptible
|
|
61
61
|
end
|
62
62
|
|
63
63
|
def accounts
|
64
|
+
return @accounts if @accounts
|
64
65
|
require 'aptible/api'
|
65
66
|
|
66
67
|
accounts = Aptible::Api::Account.all(token: token, headers: headers)
|
67
|
-
accounts.select do |account|
|
68
|
+
@accounts = accounts.select do |account|
|
68
69
|
(link = account.links[:organization]) && link.href == href
|
69
70
|
end
|
70
71
|
end
|
data/lib/aptible/auth/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aptible-auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Frank Macreery
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aptible-resource
|