aptible-auth 0.7.1 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aptible/auth/ssh_key.rb +14 -0
- data/lib/aptible/auth/user.rb +1 -2
- data/lib/aptible/auth/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ad2048beb5c3af12731f99410fcc435baa999fb
|
4
|
+
data.tar.gz: 9cb6b36e46f73b59a81c3be7f058bd84baa1bdad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d43cc87898afd32350454be4b182392e30028fe34d8fc131dd307a3d14da90c1b3e1637c6a38e6dfae71ccfb3231772080c7e5fd93961e29962e0b42c2dfae8
|
7
|
+
data.tar.gz: 756a1ce662f8960a3f78bb90cddcaf85c0e4e2b5028f671c58a5e5d68139c151435909eab1e4321fba870e028c62192f1d3d597637626cc3c95504483a9a25de
|
data/lib/aptible/auth/user.rb
CHANGED
@@ -2,14 +2,13 @@ module Aptible
|
|
2
2
|
module Auth
|
3
3
|
class User < Resource
|
4
4
|
has_many :roles
|
5
|
+
has_many :ssh_keys
|
5
6
|
|
6
7
|
field :id
|
7
8
|
field :name
|
8
9
|
field :email
|
9
10
|
field :username
|
10
11
|
field :verified, type: Aptible::Resource::Boolean
|
11
|
-
field :public_key_fingerprint
|
12
|
-
field :ssh_public_key
|
13
12
|
field :created_at, type: Time
|
14
13
|
field :updated_at, type: Time
|
15
14
|
|
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.
|
4
|
+
version: 0.8.1
|
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-08-
|
11
|
+
date: 2014-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aptible-resource
|
@@ -161,6 +161,7 @@ files:
|
|
161
161
|
- lib/aptible/auth/resource.rb
|
162
162
|
- lib/aptible/auth/role.rb
|
163
163
|
- lib/aptible/auth/session.rb
|
164
|
+
- lib/aptible/auth/ssh_key.rb
|
164
165
|
- lib/aptible/auth/token.rb
|
165
166
|
- lib/aptible/auth/user.rb
|
166
167
|
- lib/aptible/auth/version.rb
|