aptible-auth 0.8.4 → 0.8.5

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: 218a7e1bbe9b5692885404b720f8868b19b1ed30
4
- data.tar.gz: 9562873042bbe23ddcab977cb9c096fe628777e5
3
+ metadata.gz: a700f84fa000d78cea49f561dc40d2d48965e835
4
+ data.tar.gz: 42f90c7b20601514e1d9ae9a3caaf65ef8409b41
5
5
  SHA512:
6
- metadata.gz: 4ad15affa29559ad2ad55923363a98162d95dc002bf0bdc26094fb2ecc82a2ca63f8c15cfd571ea8219e5694929f0ad4e0568471e86c56e94f12722ce051e909
7
- data.tar.gz: 88f5d22470555c91ca666ce4101a00748cc9625dc90d71cd9a8834d98d19eb480ae14207c60025a3dbbe16c746623ef14fa3e7794b9b68a5c2c30961810d22f5
6
+ metadata.gz: ab8cdd3ef3fa748189b005d081d1d598dd306d84dd7e6491279b88683c8b582fc83451054c4583870f4b430193006ed4d0afe1fe1c7bbed3615f3d02473474f9
7
+ data.tar.gz: 45bc5f5495a3f56c5f038f02f8914f804177f9e7b04b810935f08427d3a6eedec094aca4521bee70728cbfb47efa1f876b75a8be8ae2e3d67f8b813879af877a
data/README.md CHANGED
@@ -60,4 +60,7 @@ end
60
60
 
61
61
  MIT License, see [LICENSE](LICENSE.md) for details.
62
62
 
63
- Copyright (c) 2013 [Aptible](https://www.aptible.com), Frank Macreery, and contributors.
63
+ Copyright (c) 2014 [Aptible](https://www.aptible.com) and contributors.
64
+
65
+ [<img src="https://s.gravatar.com/avatar/9b58236204e844e3181e43e05ddb0809?s=60" style="border-radius: 50%;" alt="@sandersonet" />](https://github.com/sandersonet)
66
+
@@ -6,6 +6,7 @@ module Aptible
6
6
  field :id
7
7
  field :email
8
8
  field :created_at, type: Time
9
+ field :updated_at, type: Time
9
10
  end
10
11
  end
11
12
  end
@@ -6,6 +6,7 @@ module Aptible
6
6
  class Organization < Resource
7
7
  has_many :roles
8
8
  has_many :users
9
+ has_many :invitations
9
10
  belongs_to :security_officer
10
11
  belongs_to :billing_contact
11
12
 
@@ -1,5 +1,5 @@
1
1
  module Aptible
2
2
  module Auth
3
- VERSION = '0.8.4'
3
+ VERSION = '0.8.5'
4
4
  end
5
5
  end
@@ -50,10 +50,9 @@ describe Aptible::Auth::User do
50
50
  subject.stub(:roles) { [so, owner] }
51
51
  expect(subject.organizations.count).to eq 1
52
52
  end
53
-
54
53
  end
55
- describe '#roles' do
56
54
 
55
+ describe '#roles' do
57
56
  let(:so) { double 'Aptible::Auth::Role' }
58
57
  let(:owner) { double 'Aptible::Auth::Role' }
59
58
 
@@ -70,7 +69,6 @@ describe Aptible::Auth::User do
70
69
  end
71
70
 
72
71
  describe '#set_organization_roles' do
73
-
74
72
  let(:so) { double 'Aptible::Auth::Role' }
75
73
  let(:owner) { double 'Aptible::Auth::Role' }
76
74
  let(:org) { double 'Aptible::Auth::Organization' }
@@ -137,6 +135,5 @@ describe Aptible::Auth::User do
137
135
 
138
136
  subject.set_organization_roles(org, [])
139
137
  end
140
-
141
138
  end
142
139
  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.8.4
4
+ version: 0.8.5
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-06 00:00:00.000000000 Z
11
+ date: 2014-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aptible-resource