authrocket 2.4.1 → 3.3.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,49 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authrocket
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.1
4
+ version: 3.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - AuthRocket Team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-30 00:00:00.000000000 Z
11
+ date: 2021-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: ncore
14
+ name: addressable
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: 2.2.2
20
- - - "<"
17
+ - - "~>"
21
18
  - !ruby/object:Gem::Version
22
- version: '3'
19
+ version: '2.5'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - ">="
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: 2.2.2
30
- - - "<"
26
+ version: '2.5'
27
+ - !ruby/object:Gem::Dependency
28
+ name: ncore
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '3.0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
31
39
  - !ruby/object:Gem::Version
32
- version: '3'
40
+ version: '3.0'
33
41
  - !ruby/object:Gem::Dependency
34
42
  name: jwt
35
43
  requirement: !ruby/object:Gem::Requirement
36
44
  requirements:
37
45
  - - "~>"
38
46
  - !ruby/object:Gem::Version
39
- version: 1.5.0
47
+ version: '2.1'
40
48
  type: :runtime
41
49
  prerelease: false
42
50
  version_requirements: !ruby/object:Gem::Requirement
43
51
  requirements:
44
52
  - - "~>"
45
53
  - !ruby/object:Gem::Version
46
- version: 1.5.0
54
+ version: '2.1'
47
55
  - !ruby/object:Gem::Dependency
48
56
  name: bundler
49
57
  requirement: !ruby/object:Gem::Requirement
@@ -95,27 +103,34 @@ files:
95
103
  - lib/authrocket/api/log_subscriber.rb
96
104
  - lib/authrocket/api/railtie.rb
97
105
  - lib/authrocket/api/version.rb
98
- - lib/authrocket/app_hook.rb
99
106
  - lib/authrocket/auth_provider.rb
107
+ - lib/authrocket/client_app.rb
108
+ - lib/authrocket/connection.rb
100
109
  - lib/authrocket/credential.rb
110
+ - lib/authrocket/domain.rb
101
111
  - lib/authrocket/event.rb
112
+ - lib/authrocket/hook.rb
113
+ - lib/authrocket/hook_state.rb
114
+ - lib/authrocket/invitation.rb
102
115
  - lib/authrocket/jwt_key.rb
103
- - lib/authrocket/login_policy.rb
104
116
  - lib/authrocket/membership.rb
117
+ - lib/authrocket/named_permission.rb
105
118
  - lib/authrocket/notification.rb
119
+ - lib/authrocket/oauth2_session.rb
106
120
  - lib/authrocket/org.rb
107
121
  - lib/authrocket/rails.rb
108
122
  - lib/authrocket/rails/controller_helper.rb
109
123
  - lib/authrocket/rails/engine.rb
110
124
  - lib/authrocket/realm.rb
125
+ - lib/authrocket/resource_link.rb
111
126
  - lib/authrocket/session.rb
127
+ - lib/authrocket/token.rb
112
128
  - lib/authrocket/user.rb
113
- - lib/authrocket/user_token.rb
114
129
  homepage: https://authrocket.com/
115
130
  licenses:
116
131
  - MIT
117
132
  metadata: {}
118
- post_install_message:
133
+ post_install_message:
119
134
  rdoc_options: []
120
135
  require_paths:
121
136
  - lib
@@ -123,15 +138,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
123
138
  requirements:
124
139
  - - ">="
125
140
  - !ruby/object:Gem::Version
126
- version: '1.9'
141
+ version: '2.3'
127
142
  required_rubygems_version: !ruby/object:Gem::Requirement
128
143
  requirements:
129
144
  - - ">="
130
145
  - !ruby/object:Gem::Version
131
146
  version: '0'
132
147
  requirements: []
133
- rubygems_version: 3.0.8
134
- signing_key:
148
+ rubygems_version: 3.0.9
149
+ signing_key:
135
150
  specification_version: 4
136
151
  summary: AuthRocket client for Ruby
137
152
  test_files: []
@@ -1,28 +0,0 @@
1
- module AuthRocket
2
- class AppHook < Resource
3
- crud :all, :find, :create, :update, :delete
4
-
5
- belongs_to :realm
6
- has_many :events
7
-
8
- attr :event_type, :hook_type, :destination
9
- attr :email_from, :email_from_name, :email_renderer, :email_subject
10
- attr :email_template, :email_to, :user_type
11
-
12
- def self.event_types
13
- %w( app_hook.created app_hook.updated app_hook.deleted
14
- auth_provider.created auth_provider.updated auth_provider.deleted
15
- login_policy.created login_policy.updated login_policy.deleted
16
- membership.created membership.updated membership.deleted
17
- org.created org.updated org.deleted
18
- realm.created realm.updated realm.deleted
19
- user.created user.updated user.deleted
20
- user.email.verification_requested user.email.verified
21
- user.login.succeeded user.login.failed user.login.initiated
22
- user.password_token.created user.password_token.consumed user.password_token.failed
23
- ).sort
24
- end
25
-
26
-
27
- end
28
- end
@@ -1,14 +0,0 @@
1
- module AuthRocket
2
- class LoginPolicy < Resource
3
- crud :all, :find, :create, :update, :delete
4
-
5
- belongs_to :realm
6
- has_many :events
7
-
8
- attr :custom_domains, :external_css
9
- attr :footer, :header, :login_handler, :name, :primary_domain
10
- attr :redirect_uris, :signup_handler, :subdomain
11
- attr :base_domain, :domains # readonly
12
-
13
- end
14
- end
@@ -1,9 +0,0 @@
1
- module AuthRocket
2
- class UserToken < Resource
3
- crud :find, :create
4
-
5
- attr :credential_type, :email, :username
6
- attr :first_name, :last_name, :password, :password_confirmation
7
-
8
- end
9
- end