aptible-auth 0.7.1 → 0.8.1

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: 2be2c6ded4793b2f3ca17c3f090b2987a3f8d483
4
- data.tar.gz: d2e407cfb0d6f5c9dd9601728472d9c5932eca7c
3
+ metadata.gz: 6ad2048beb5c3af12731f99410fcc435baa999fb
4
+ data.tar.gz: 9cb6b36e46f73b59a81c3be7f058bd84baa1bdad
5
5
  SHA512:
6
- metadata.gz: 5172825e130142534a25cefa418e728874ab474e8a591eba6a2e5fb17d82be32a8233f99d36b67103e201101ffcb42f71775231551a53e9c3cf38691de099651
7
- data.tar.gz: b478a51b2f8f710ec4972300ee4007f83ae8a877187f976d02f514bcd199fb6311e02e6853230aac0d7413f14502c9c549f9bacf39ba929c61eaf898eae9d935
6
+ metadata.gz: 9d43cc87898afd32350454be4b182392e30028fe34d8fc131dd307a3d14da90c1b3e1637c6a38e6dfae71ccfb3231772080c7e5fd93961e29962e0b42c2dfae8
7
+ data.tar.gz: 756a1ce662f8960a3f78bb90cddcaf85c0e4e2b5028f671c58a5e5d68139c151435909eab1e4321fba870e028c62192f1d3d597637626cc3c95504483a9a25de
@@ -0,0 +1,14 @@
1
+ module Aptible
2
+ module Auth
3
+ class SshKey < Resource
4
+ belongs_to :user
5
+
6
+ field :id
7
+ field :name
8
+ field :public_key_fingerprint
9
+ field :ssh_public_key
10
+ field :created_at, type: Time
11
+ field :updated_at, type: Time
12
+ end
13
+ end
14
+ end
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  module Aptible
2
2
  module Auth
3
- VERSION = '0.7.1'
3
+ VERSION = '0.8.1'
4
4
  end
5
5
  end
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.7.1
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-23 00:00:00.000000000 Z
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