authrocket 1.0.1 → 1.1.0

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: 6ea0d4f926fa7c4fe5f7deca66d580e541d29b76
4
- data.tar.gz: e95dd818cdde5ce2236f21ebc191828e9677fee7
3
+ metadata.gz: 53bfcb95248a74b37d0ac613c38c29a853798d40
4
+ data.tar.gz: f087381b2969437dae746174e641ac0790426dd4
5
5
  SHA512:
6
- metadata.gz: df95ed7c8b7ecab959ab1530a5a47881118092232b731547ac04891a6dabf45e64aa5b4aea3825cfe44f3d09bb7f3191f66956a339a7ae1f2c1b3e1ac4a36792
7
- data.tar.gz: 816f0cc47f1dd9c25fe30650c47f8be799e46b50144fc2945530e371dd3f02c612ab9403207e88637f55230cb6735604144d0367561d95454e1aa5af35014b7a
6
+ metadata.gz: 0de20f77e25e048700b360f53f80cb5591ee135dfde912f87d4f08e80700854357390da53894afc1ba1424ec268c2c25225ffe322a6ba5b8cf7bf4ef65d9e3b5
7
+ data.tar.gz: 7bf84ae3a60d25094523e05ecbcdf8e9dc4c1c46045d24ce7189f97eb8f9291725046243d174b90ebb5bd40cc9793ee1b34cac54790705251dbe1329c64ed7ec
data/CHANGELOG.md ADDED
@@ -0,0 +1,13 @@
1
+ #### 1.1.0
2
+
3
+ - Add custom attributes for Membership, Org, Realm, User
4
+
5
+
6
+ #### 1.0.1
7
+
8
+ - Change User#last_login_on -> #last_login_at
9
+
10
+
11
+ #### 1.0.0
12
+
13
+ - Initial release
@@ -1,3 +1,3 @@
1
1
  module AuthRocket
2
- VERSION = '1.0.1'
2
+ VERSION = '1.1.0'
3
3
  end
@@ -6,6 +6,7 @@ module AuthRocket
6
6
  belongs_to :user
7
7
  has_many :events
8
8
 
9
+ attr :custom
9
10
  attr_datetime :expires_at
10
11
 
11
12
 
@@ -6,7 +6,7 @@ module AuthRocket
6
6
  has_many :events
7
7
  has_many :memberships
8
8
 
9
- attr :realm_id, :name, :state, :reference
9
+ attr :custom, :name, :reference, :state
10
10
  attr_datetime :created_at
11
11
 
12
12
 
@@ -8,8 +8,8 @@ module AuthRocket
8
8
  has_many :orgs
9
9
  has_many :users
10
10
 
11
- attr :api_key_policy, :api_key_prefix, :name, :require_unique_emails, :state
12
- attr :username_validation_human
11
+ attr :api_key_policy, :api_key_prefix, :custom, :name
12
+ attr :require_unique_emails, :state, :username_validation_human
13
13
 
14
14
 
15
15
  def reset!(params={})
@@ -6,9 +6,9 @@ module AuthRocket
6
6
  has_many :events
7
7
  has_many :memberships
8
8
 
9
- attr :user_type, :username, :state, :reference
10
- attr :first_name, :last_name, :password, :password_confirmation
11
- attr :name, :api_key, :email
9
+ attr :api_key, :custom, :email, :first_name
10
+ attr :last_name, :name, :password, :password_confirmation
11
+ attr :reference, :state, :user_type, :username
12
12
  attr_datetime :created_at, :last_login_at
13
13
  attr_datetime :last_login_on # deprecated
14
14
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authrocket
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - thomas morgan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-30 00:00:00.000000000 Z
11
+ date: 2014-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ncore
@@ -60,6 +60,7 @@ extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
62
  - .gitignore
63
+ - CHANGELOG.md
63
64
  - Gemfile
64
65
  - LICENSE
65
66
  - README.md