authrocket 1.4.0 → 1.4.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: 7c054a38d59b78ebb06c889ca6aac2b4c6b50805
4
- data.tar.gz: fdd903042c19e81a680f59c53046b1f6a161ed59
3
+ metadata.gz: 515b2b4a1d158c5b45ce8ddb78141bc1a630a305
4
+ data.tar.gz: b977aec035d07ce3f0793c21949d2dbcd469912f
5
5
  SHA512:
6
- metadata.gz: 5202950282c56717b58192d753844fd3240cbf61b5ece558f8922325c810dabbc38bdc7642941a8bb91473fc97f1f7ad8c71258c0804de05529eed708a4dbaf7
7
- data.tar.gz: b0e99ca0dabf5c8a0b8acb468c1b199623376df9768b2f755e35ce06fa0d734795440ff00fc70aac334989e76ef2f92a636f91a54bc97d9afccce487a4c3a638
6
+ metadata.gz: dd0fd63a749b288ef51e8b143dd9de51fbd5ef625486840d3652f08228548bca10c02c2c72922f013fce96600eabe4b42166a02f82c35a0ad2240f6dbc11c294
7
+ data.tar.gz: cee4e2a2fb6d3c99f5477bdf75edb9ad5cf2a3936d6b01e39de2f3b59214927179364c4c23fdbfc6f68722994aabb824104be338aecea7fe1bd7127f16a3ac08
@@ -1,3 +1,8 @@
1
+ #### 1.4.1
2
+ - Bump to jwt 1.4
3
+ - Add AppHook.email_to
4
+ - Update AppHook.event_types
5
+
1
6
  #### 1.4.0
2
7
  - Support social auth in AuthProvider and Credential.
3
8
 
@@ -19,7 +19,7 @@ Gem::Specification.new do |gem|
19
19
  gem.require_paths = ["lib"]
20
20
 
21
21
  gem.add_dependency 'ncore', '~> 1.2'
22
- gem.add_dependency 'jwt', '~> 1.2.0'
22
+ gem.add_dependency 'jwt', '~> 1.4.0'
23
23
 
24
24
  gem.add_development_dependency "bundler", "~> 1.3"
25
25
  gem.add_development_dependency "rake"
@@ -1,3 +1,3 @@
1
1
  module AuthRocket
2
- VERSION = '1.4.0'
2
+ VERSION = '1.4.1'
3
3
  end
@@ -5,19 +5,19 @@ module AuthRocket
5
5
  belongs_to :realm
6
6
  has_many :events
7
7
 
8
- attr :event_type, :hook_type, :destination, :email_from, :user_type, :email_subject, :email_template
8
+ attr :event_type, :hook_type, :destination
9
+ attr :email_from, :email_subject, :email_template, :email_to, :user_type
9
10
 
10
11
  def self.event_types
11
- %w( *
12
- realm.* realm.created realm.updated realm.deleted
13
- user.* user.created user.updated user.deleted
14
- user.login.* user.login.succeeded user.login.failed
15
- user.password_token.* user.password_token.created user.password_token.consumed user.password_token.failed
16
- org.* org.created org.updated org.deleted
17
- membership.* membership.created membership.updated membership.deleted
18
- app_hook.* app_hook.created app_hook.updated app_hook.deleted
19
- auth_provider.* auth_provider.created auth_provider.updated auth_provider.deleted
20
- login_policy.* login_policy.created login_policy.updated login_policy.deleted
12
+ %w( app_hook.created app_hook.updated app_hook.deleted
13
+ auth_provider.created auth_provider.updated auth_provider.deleted
14
+ login_policy.created login_policy.updated login_policy.deleted
15
+ membership.created membership.updated membership.deleted
16
+ org.created org.updated org.deleted
17
+ realm.created realm.updated realm.deleted
18
+ user.created user.updated user.deleted
19
+ user.login.succeeded user.login.failed
20
+ user.password_token.created user.password_token.consumed user.password_token.failed
21
21
  ).sort
22
22
  end
23
23
 
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.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - thomas morgan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-25 00:00:00.000000000 Z
11
+ date: 2015-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ncore
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.2.0
33
+ version: 1.4.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.2.0
40
+ version: 1.4.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement