omniauth-identity 3.1.4 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +152 -4
- data/CITATION.cff +20 -0
- data/CODE_OF_CONDUCT.md +3 -4
- data/CONTRIBUTING.md +177 -116
- data/FUNDING.md +74 -0
- data/LICENSE.md +10 -0
- data/README.md +349 -195
- data/RUBOCOP.md +71 -0
- data/SECURITY.md +7 -31
- data/certs/pboling.pem +27 -0
- data/lib/omniauth/identity/model.rb +51 -11
- data/lib/omniauth/identity/models/active_record.rb +55 -9
- data/lib/omniauth/identity/models/couch_potato.rb +75 -19
- data/lib/omniauth/identity/models/mongoid.rb +63 -14
- data/lib/omniauth/identity/models/nobrainer.rb +63 -15
- data/lib/omniauth/identity/models/rom.rb +164 -0
- data/lib/omniauth/identity/models/sequel.rb +104 -40
- data/lib/omniauth/identity/secure_password.rb +41 -6
- data/lib/omniauth/identity/version.rb +10 -2
- data/lib/omniauth/identity.rb +41 -0
- data/lib/omniauth/strategies/identity.rb +127 -6
- data/sig/omniauth/identity/version.rbs +8 -0
- data.tar.gz.sig +0 -0
- metadata +202 -49
- metadata.gz.sig +0 -0
- data/LICENSE.txt +0 -24
|
@@ -5,27 +5,96 @@ module OmniAuth
|
|
|
5
5
|
# The identity strategy allows you to provide simple internal
|
|
6
6
|
# user authentication using the same process flow that you
|
|
7
7
|
# use for external OmniAuth providers.
|
|
8
|
+
#
|
|
9
|
+
# @example Basic Setup
|
|
10
|
+
# use OmniAuth::Strategies::Identity,
|
|
11
|
+
# fields: [:email],
|
|
12
|
+
# model: User
|
|
13
|
+
#
|
|
14
|
+
# @example With Registration
|
|
15
|
+
# use OmniAuth::Strategies::Identity,
|
|
16
|
+
# fields: [:email, :name],
|
|
17
|
+
# model: User,
|
|
18
|
+
# enable_registration: true
|
|
19
|
+
#
|
|
20
|
+
# @see https://github.com/omniauth/omniauth-identity
|
|
8
21
|
class Identity
|
|
22
|
+
# @!attribute [r] DEFAULT_REGISTRATION_FIELDS
|
|
23
|
+
# Default fields required for registration.
|
|
24
|
+
# @return [Array<Symbol>]
|
|
9
25
|
DEFAULT_REGISTRATION_FIELDS = %i[password password_confirmation].freeze
|
|
10
26
|
include OmniAuth::Strategy
|
|
27
|
+
|
|
28
|
+
# @!attribute [rw] fields
|
|
29
|
+
# The fields to collect for user registration.
|
|
30
|
+
# @return [Array<Symbol>]
|
|
11
31
|
option :fields, %i[name email]
|
|
12
32
|
|
|
13
|
-
#
|
|
33
|
+
# @!attribute [rw] enable_registration
|
|
34
|
+
# Whether to enable user registration functionality.
|
|
35
|
+
# @return [true, false]
|
|
14
36
|
option :enable_registration, true # See #other_phase and #request_phase
|
|
37
|
+
|
|
38
|
+
# @!attribute [rw] enable_login
|
|
39
|
+
# Whether to enable login functionality.
|
|
40
|
+
# @return [true, false]
|
|
15
41
|
option :enable_login, true # See #other_phase
|
|
16
42
|
|
|
17
|
-
#
|
|
43
|
+
# @!attribute [rw] on_login
|
|
44
|
+
# Custom login handler. If provided, called instead of showing the default login form.
|
|
45
|
+
# @return [Proc, nil]
|
|
18
46
|
option :on_login, nil # See #request_phase
|
|
47
|
+
|
|
48
|
+
# @!attribute [rw] on_validation
|
|
49
|
+
# Custom validation handler for registration.
|
|
50
|
+
# @return [Proc, nil]
|
|
19
51
|
option :on_validation, nil # See #registration_phase
|
|
52
|
+
|
|
53
|
+
# @!attribute [rw] on_registration
|
|
54
|
+
# Custom registration handler. If provided, called instead of showing the default registration form.
|
|
55
|
+
# @return [Proc, nil]
|
|
20
56
|
option :on_registration, nil # See #registration_phase
|
|
57
|
+
|
|
58
|
+
# @!attribute [rw] on_failed_registration
|
|
59
|
+
# Custom handler for failed registration.
|
|
60
|
+
# @return [Proc, nil]
|
|
21
61
|
option :on_failed_registration, nil # See #registration_phase
|
|
62
|
+
|
|
63
|
+
# @!attribute [rw] locate_conditions
|
|
64
|
+
# Conditions for locating an identity during login.
|
|
65
|
+
# @return [Proc, Hash]
|
|
22
66
|
option :locate_conditions, ->(req) { {model.auth_key => req.params["auth_key"]} }
|
|
67
|
+
|
|
68
|
+
# @!attribute [rw] create_identity_link_text
|
|
69
|
+
# Text for the link to create a new identity.
|
|
70
|
+
# @return [String]
|
|
23
71
|
option :create_identity_link_text, "Create an Identity"
|
|
72
|
+
|
|
73
|
+
# @!attribute [rw] registration_failure_message
|
|
74
|
+
# Message to display on registration failure.
|
|
75
|
+
# @return [String]
|
|
24
76
|
option :registration_failure_message, "One or more fields were invalid"
|
|
77
|
+
|
|
78
|
+
# @!attribute [rw] validation_failure_message
|
|
79
|
+
# Message to display on validation failure.
|
|
80
|
+
# @return [String]
|
|
25
81
|
option :validation_failure_message, "Validation failed"
|
|
82
|
+
|
|
83
|
+
# @!attribute [rw] title
|
|
84
|
+
# Title for the login form.
|
|
85
|
+
# @return [String]
|
|
26
86
|
option :title, "Identity Verification" # Title for Login Form
|
|
87
|
+
|
|
88
|
+
# @!attribute [rw] registration_form_title
|
|
89
|
+
# Title for the registration form.
|
|
90
|
+
# @return [String]
|
|
27
91
|
option :registration_form_title, "Register Identity" # Title for Registration Form
|
|
28
92
|
|
|
93
|
+
# Handles the initial request phase.
|
|
94
|
+
#
|
|
95
|
+
# Shows the login form or calls the custom on_login handler.
|
|
96
|
+
#
|
|
97
|
+
# @return [Rack::Response] the response to send
|
|
29
98
|
def request_phase
|
|
30
99
|
if options[:on_login]
|
|
31
100
|
options[:on_login].call(env)
|
|
@@ -34,12 +103,22 @@ module OmniAuth
|
|
|
34
103
|
end
|
|
35
104
|
end
|
|
36
105
|
|
|
106
|
+
# Handles the callback phase after login.
|
|
107
|
+
#
|
|
108
|
+
# Authenticates the user and calls super if successful.
|
|
109
|
+
#
|
|
110
|
+
# @return [void]
|
|
37
111
|
def callback_phase
|
|
38
112
|
return fail!(:invalid_credentials) unless identity
|
|
39
113
|
|
|
40
114
|
super
|
|
41
115
|
end
|
|
42
116
|
|
|
117
|
+
# Handles other phases like registration.
|
|
118
|
+
#
|
|
119
|
+
# Routes to registration or login based on the path and options.
|
|
120
|
+
#
|
|
121
|
+
# @return [void]
|
|
43
122
|
def other_phase
|
|
44
123
|
if options[:enable_registration] && on_registration_path?
|
|
45
124
|
if request.get?
|
|
@@ -61,6 +140,10 @@ module OmniAuth
|
|
|
61
140
|
end
|
|
62
141
|
end
|
|
63
142
|
|
|
143
|
+
# Shows the registration form or calls the custom on_registration handler.
|
|
144
|
+
#
|
|
145
|
+
# @param validation_message [String, nil] message to display if validation failed
|
|
146
|
+
# @return [Rack::Response] the response to send
|
|
64
147
|
def registration_form(validation_message = nil)
|
|
65
148
|
if options[:on_registration]
|
|
66
149
|
options[:on_registration].call(env)
|
|
@@ -69,6 +152,11 @@ module OmniAuth
|
|
|
69
152
|
end
|
|
70
153
|
end
|
|
71
154
|
|
|
155
|
+
# Handles the registration phase.
|
|
156
|
+
#
|
|
157
|
+
# Creates a new identity and saves it.
|
|
158
|
+
#
|
|
159
|
+
# @return [void]
|
|
72
160
|
def registration_phase
|
|
73
161
|
attributes = (options[:fields] + DEFAULT_REGISTRATION_FIELDS).each_with_object({}) do |k, h|
|
|
74
162
|
h[k] = request.params[k.to_s]
|
|
@@ -92,17 +180,33 @@ module OmniAuth
|
|
|
92
180
|
end
|
|
93
181
|
end
|
|
94
182
|
|
|
183
|
+
# @!method uid
|
|
184
|
+
# Returns the unique identifier for the authenticated identity.
|
|
185
|
+
# @return [String]
|
|
95
186
|
uid { identity.uid }
|
|
187
|
+
|
|
188
|
+
# @!method info
|
|
189
|
+
# Returns the info hash for the authenticated identity.
|
|
190
|
+
# @return [Hash]
|
|
96
191
|
info { identity.info }
|
|
97
192
|
|
|
193
|
+
# Returns the path for registration.
|
|
194
|
+
#
|
|
195
|
+
# @return [String] the registration path
|
|
98
196
|
def registration_path
|
|
99
197
|
options[:registration_path] || "#{script_name}#{path_prefix}/#{name}/register"
|
|
100
198
|
end
|
|
101
199
|
|
|
200
|
+
# Checks if the current request is for the registration path.
|
|
201
|
+
#
|
|
202
|
+
# @return [true, false]
|
|
102
203
|
def on_registration_path?
|
|
103
204
|
on_path?(registration_path)
|
|
104
205
|
end
|
|
105
206
|
|
|
207
|
+
# Finds and authenticates the identity based on the request parameters.
|
|
208
|
+
#
|
|
209
|
+
# @return [Object, nil] the authenticated identity or nil
|
|
106
210
|
def identity
|
|
107
211
|
conditions = options[:locate_conditions]
|
|
108
212
|
conditions = conditions.is_a?(Proc) ? instance_exec(request, &conditions).to_hash : conditions.to_hash
|
|
@@ -110,12 +214,18 @@ module OmniAuth
|
|
|
110
214
|
@identity ||= model.authenticate(conditions, request.params["password"])
|
|
111
215
|
end
|
|
112
216
|
|
|
217
|
+
# Returns the model class to use for identities.
|
|
218
|
+
#
|
|
219
|
+
# @return [Class] the identity model class
|
|
113
220
|
def model
|
|
114
221
|
options[:model] || ::Identity
|
|
115
222
|
end
|
|
116
223
|
|
|
117
224
|
private
|
|
118
225
|
|
|
226
|
+
# Builds the login form.
|
|
227
|
+
#
|
|
228
|
+
# @return [OmniAuth::Form] the login form
|
|
119
229
|
def build_omniauth_login_form
|
|
120
230
|
OmniAuth::Form.build(
|
|
121
231
|
title: options[:title],
|
|
@@ -129,6 +239,10 @@ module OmniAuth
|
|
|
129
239
|
end
|
|
130
240
|
end
|
|
131
241
|
|
|
242
|
+
# Builds the registration form.
|
|
243
|
+
#
|
|
244
|
+
# @param validation_message [String, nil] message to display
|
|
245
|
+
# @return [OmniAuth::Form] the registration form
|
|
132
246
|
def build_omniauth_registration_form(validation_message)
|
|
133
247
|
OmniAuth::Form.build(title: options[:registration_form_title]) do |f|
|
|
134
248
|
f.html("<p style='color:red'>#{validation_message}</p>") if validation_message
|
|
@@ -140,22 +254,26 @@ module OmniAuth
|
|
|
140
254
|
end
|
|
141
255
|
end
|
|
142
256
|
|
|
143
|
-
#
|
|
257
|
+
# Checks if validation is enabled.
|
|
144
258
|
#
|
|
145
|
-
# @return [
|
|
259
|
+
# @return [true, false]
|
|
146
260
|
def validating?
|
|
147
261
|
!!options[:on_validation]
|
|
148
262
|
end
|
|
149
263
|
|
|
150
|
-
# Validates the
|
|
264
|
+
# Validates the identity using the custom validation handler.
|
|
151
265
|
#
|
|
152
|
-
# @return [true
|
|
266
|
+
# @return [true, false] result of validation
|
|
153
267
|
def valid?
|
|
154
268
|
# on_validation may run a Captcha or other validation mechanism
|
|
155
269
|
# Must return true when validation passes, false otherwise
|
|
156
270
|
!!options[:on_validation].call(env: env)
|
|
157
271
|
end
|
|
158
272
|
|
|
273
|
+
# Handles registration failure.
|
|
274
|
+
#
|
|
275
|
+
# @param message [String] the failure message
|
|
276
|
+
# @return [void]
|
|
159
277
|
def registration_failure(message)
|
|
160
278
|
if options[:on_failed_registration]
|
|
161
279
|
options[:on_failed_registration].call(env)
|
|
@@ -164,6 +282,9 @@ module OmniAuth
|
|
|
164
282
|
end
|
|
165
283
|
end
|
|
166
284
|
|
|
285
|
+
# Handles the result of registration.
|
|
286
|
+
#
|
|
287
|
+
# @return [void]
|
|
167
288
|
def registration_result
|
|
168
289
|
if @identity.persisted?
|
|
169
290
|
env["PATH_INFO"] = "#{path_prefix}/#{name}/callback"
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omniauth-identity
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
8
|
-
- Andrew Roberts
|
|
9
|
-
- Michael Bleigh
|
|
7
|
+
- "|7eter l-|. l3oling"
|
|
10
8
|
bindir: exe
|
|
11
9
|
cert_chain:
|
|
12
10
|
- |
|
|
@@ -37,8 +35,28 @@ cert_chain:
|
|
|
37
35
|
DVjBtqT23eugOqQ73umLcYDZkc36vnqGxUBSsXrzY9pzV5gGr2I8YUxMqf6ATrZt
|
|
38
36
|
L9nRqA==
|
|
39
37
|
-----END CERTIFICATE-----
|
|
40
|
-
date:
|
|
38
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
41
39
|
dependencies:
|
|
40
|
+
- !ruby/object:Gem::Dependency
|
|
41
|
+
name: auth-sanitizer
|
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - "~>"
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: '0.2'
|
|
47
|
+
- - ">="
|
|
48
|
+
- !ruby/object:Gem::Version
|
|
49
|
+
version: 0.2.0
|
|
50
|
+
type: :runtime
|
|
51
|
+
prerelease: false
|
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
53
|
+
requirements:
|
|
54
|
+
- - "~>"
|
|
55
|
+
- !ruby/object:Gem::Version
|
|
56
|
+
version: '0.2'
|
|
57
|
+
- - ">="
|
|
58
|
+
- !ruby/object:Gem::Version
|
|
59
|
+
version: 0.2.0
|
|
42
60
|
- !ruby/object:Gem::Dependency
|
|
43
61
|
name: bcrypt
|
|
44
62
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -85,38 +103,72 @@ dependencies:
|
|
|
85
103
|
name: version_gem
|
|
86
104
|
requirement: !ruby/object:Gem::Requirement
|
|
87
105
|
requirements:
|
|
88
|
-
- - "
|
|
106
|
+
- - "~>"
|
|
89
107
|
- !ruby/object:Gem::Version
|
|
90
|
-
version: 1.1
|
|
91
|
-
- - "
|
|
108
|
+
version: '1.1'
|
|
109
|
+
- - ">="
|
|
92
110
|
- !ruby/object:Gem::Version
|
|
93
|
-
version:
|
|
111
|
+
version: 1.1.9
|
|
94
112
|
type: :runtime
|
|
95
113
|
prerelease: false
|
|
96
114
|
version_requirements: !ruby/object:Gem::Requirement
|
|
97
115
|
requirements:
|
|
98
|
-
- - "
|
|
116
|
+
- - "~>"
|
|
99
117
|
- !ruby/object:Gem::Version
|
|
100
|
-
version: 1.1
|
|
101
|
-
- - "
|
|
118
|
+
version: '1.1'
|
|
119
|
+
- - ">="
|
|
102
120
|
- !ruby/object:Gem::Version
|
|
103
|
-
version:
|
|
121
|
+
version: 1.1.9
|
|
104
122
|
- !ruby/object:Gem::Dependency
|
|
105
|
-
name:
|
|
123
|
+
name: kettle-dev
|
|
106
124
|
requirement: !ruby/object:Gem::Requirement
|
|
107
125
|
requirements:
|
|
126
|
+
- - "~>"
|
|
127
|
+
- !ruby/object:Gem::Version
|
|
128
|
+
version: '2.0'
|
|
108
129
|
- - ">="
|
|
109
130
|
- !ruby/object:Gem::Version
|
|
110
|
-
version:
|
|
131
|
+
version: 2.0.8
|
|
111
132
|
type: :development
|
|
112
133
|
prerelease: false
|
|
113
134
|
version_requirements: !ruby/object:Gem::Requirement
|
|
114
135
|
requirements:
|
|
136
|
+
- - "~>"
|
|
137
|
+
- !ruby/object:Gem::Version
|
|
138
|
+
version: '2.0'
|
|
115
139
|
- - ">="
|
|
116
140
|
- !ruby/object:Gem::Version
|
|
117
|
-
version:
|
|
141
|
+
version: 2.0.8
|
|
118
142
|
- !ruby/object:Gem::Dependency
|
|
119
|
-
name:
|
|
143
|
+
name: bundler-audit
|
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
|
145
|
+
requirements:
|
|
146
|
+
- - "~>"
|
|
147
|
+
- !ruby/object:Gem::Version
|
|
148
|
+
version: 0.9.3
|
|
149
|
+
type: :development
|
|
150
|
+
prerelease: false
|
|
151
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
152
|
+
requirements:
|
|
153
|
+
- - "~>"
|
|
154
|
+
- !ruby/object:Gem::Version
|
|
155
|
+
version: 0.9.3
|
|
156
|
+
- !ruby/object:Gem::Dependency
|
|
157
|
+
name: rake
|
|
158
|
+
requirement: !ruby/object:Gem::Requirement
|
|
159
|
+
requirements:
|
|
160
|
+
- - "~>"
|
|
161
|
+
- !ruby/object:Gem::Version
|
|
162
|
+
version: '13.0'
|
|
163
|
+
type: :development
|
|
164
|
+
prerelease: false
|
|
165
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
166
|
+
requirements:
|
|
167
|
+
- - "~>"
|
|
168
|
+
- !ruby/object:Gem::Version
|
|
169
|
+
version: '13.0'
|
|
170
|
+
- !ruby/object:Gem::Dependency
|
|
171
|
+
name: require_bench
|
|
120
172
|
requirement: !ruby/object:Gem::Requirement
|
|
121
173
|
requirements:
|
|
122
174
|
- - "~>"
|
|
@@ -124,7 +176,7 @@ dependencies:
|
|
|
124
176
|
version: '1.0'
|
|
125
177
|
- - ">="
|
|
126
178
|
- !ruby/object:Gem::Version
|
|
127
|
-
version: 1.0.
|
|
179
|
+
version: 1.0.4
|
|
128
180
|
type: :development
|
|
129
181
|
prerelease: false
|
|
130
182
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -134,7 +186,7 @@ dependencies:
|
|
|
134
186
|
version: '1.0'
|
|
135
187
|
- - ">="
|
|
136
188
|
- !ruby/object:Gem::Version
|
|
137
|
-
version: 1.0.
|
|
189
|
+
version: 1.0.4
|
|
138
190
|
- !ruby/object:Gem::Dependency
|
|
139
191
|
name: appraisal2
|
|
140
192
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -142,6 +194,9 @@ dependencies:
|
|
|
142
194
|
- - "~>"
|
|
143
195
|
- !ruby/object:Gem::Version
|
|
144
196
|
version: '3.0'
|
|
197
|
+
- - ">="
|
|
198
|
+
- !ruby/object:Gem::Version
|
|
199
|
+
version: 3.0.7
|
|
145
200
|
type: :development
|
|
146
201
|
prerelease: false
|
|
147
202
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -149,50 +204,65 @@ dependencies:
|
|
|
149
204
|
- - "~>"
|
|
150
205
|
- !ruby/object:Gem::Version
|
|
151
206
|
version: '3.0'
|
|
207
|
+
- - ">="
|
|
208
|
+
- !ruby/object:Gem::Version
|
|
209
|
+
version: 3.0.7
|
|
152
210
|
- !ruby/object:Gem::Dependency
|
|
153
|
-
name:
|
|
211
|
+
name: kettle-test
|
|
154
212
|
requirement: !ruby/object:Gem::Requirement
|
|
155
213
|
requirements:
|
|
156
214
|
- - "~>"
|
|
157
215
|
- !ruby/object:Gem::Version
|
|
158
|
-
version: '
|
|
216
|
+
version: '2.0'
|
|
217
|
+
- - ">="
|
|
218
|
+
- !ruby/object:Gem::Version
|
|
219
|
+
version: 2.0.3
|
|
159
220
|
type: :development
|
|
160
221
|
prerelease: false
|
|
161
222
|
version_requirements: !ruby/object:Gem::Requirement
|
|
162
223
|
requirements:
|
|
163
224
|
- - "~>"
|
|
164
225
|
- !ruby/object:Gem::Version
|
|
165
|
-
version: '
|
|
226
|
+
version: '2.0'
|
|
227
|
+
- - ">="
|
|
228
|
+
- !ruby/object:Gem::Version
|
|
229
|
+
version: 2.0.3
|
|
166
230
|
- !ruby/object:Gem::Dependency
|
|
167
|
-
name:
|
|
231
|
+
name: turbo_tests2
|
|
168
232
|
requirement: !ruby/object:Gem::Requirement
|
|
169
233
|
requirements:
|
|
170
234
|
- - "~>"
|
|
171
235
|
- !ruby/object:Gem::Version
|
|
172
|
-
version: '
|
|
236
|
+
version: '3.1'
|
|
237
|
+
- - ">="
|
|
238
|
+
- !ruby/object:Gem::Version
|
|
239
|
+
version: 3.1.1
|
|
173
240
|
type: :development
|
|
174
241
|
prerelease: false
|
|
175
242
|
version_requirements: !ruby/object:Gem::Requirement
|
|
176
243
|
requirements:
|
|
177
244
|
- - "~>"
|
|
178
245
|
- !ruby/object:Gem::Version
|
|
179
|
-
version: '
|
|
246
|
+
version: '3.1'
|
|
247
|
+
- - ">="
|
|
248
|
+
- !ruby/object:Gem::Version
|
|
249
|
+
version: 3.1.1
|
|
180
250
|
- !ruby/object:Gem::Dependency
|
|
181
|
-
name:
|
|
251
|
+
name: ruby-progressbar
|
|
182
252
|
requirement: !ruby/object:Gem::Requirement
|
|
183
253
|
requirements:
|
|
184
254
|
- - "~>"
|
|
185
255
|
- !ruby/object:Gem::Version
|
|
186
|
-
version: '
|
|
256
|
+
version: '1.13'
|
|
187
257
|
type: :development
|
|
188
258
|
prerelease: false
|
|
189
259
|
version_requirements: !ruby/object:Gem::Requirement
|
|
190
260
|
requirements:
|
|
191
261
|
- - "~>"
|
|
192
262
|
- !ruby/object:Gem::Version
|
|
193
|
-
version: '
|
|
263
|
+
version: '1.13'
|
|
194
264
|
- !ruby/object:Gem::Dependency
|
|
195
|
-
name:
|
|
265
|
+
name: stone_checksums
|
|
196
266
|
requirement: !ruby/object:Gem::Requirement
|
|
197
267
|
requirements:
|
|
198
268
|
- - "~>"
|
|
@@ -200,7 +270,7 @@ dependencies:
|
|
|
200
270
|
version: '1.0'
|
|
201
271
|
- - ">="
|
|
202
272
|
- !ruby/object:Gem::Version
|
|
203
|
-
version: 1.0.
|
|
273
|
+
version: 1.0.3
|
|
204
274
|
type: :development
|
|
205
275
|
prerelease: false
|
|
206
276
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -210,14 +280,51 @@ dependencies:
|
|
|
210
280
|
version: '1.0'
|
|
211
281
|
- - ">="
|
|
212
282
|
- !ruby/object:Gem::Version
|
|
213
|
-
version: 1.0.
|
|
283
|
+
version: 1.0.3
|
|
214
284
|
- !ruby/object:Gem::Dependency
|
|
215
|
-
name:
|
|
285
|
+
name: gitmoji-regex
|
|
286
|
+
requirement: !ruby/object:Gem::Requirement
|
|
287
|
+
requirements:
|
|
288
|
+
- - "~>"
|
|
289
|
+
- !ruby/object:Gem::Version
|
|
290
|
+
version: '2.0'
|
|
291
|
+
- - ">="
|
|
292
|
+
- !ruby/object:Gem::Version
|
|
293
|
+
version: 2.0.1
|
|
294
|
+
type: :development
|
|
295
|
+
prerelease: false
|
|
296
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
297
|
+
requirements:
|
|
298
|
+
- - "~>"
|
|
299
|
+
- !ruby/object:Gem::Version
|
|
300
|
+
version: '2.0'
|
|
301
|
+
- - ">="
|
|
302
|
+
- !ruby/object:Gem::Version
|
|
303
|
+
version: 2.0.1
|
|
304
|
+
- !ruby/object:Gem::Dependency
|
|
305
|
+
name: activerecord
|
|
306
|
+
requirement: !ruby/object:Gem::Requirement
|
|
307
|
+
requirements:
|
|
308
|
+
- - ">="
|
|
309
|
+
- !ruby/object:Gem::Version
|
|
310
|
+
version: '5'
|
|
311
|
+
type: :development
|
|
312
|
+
prerelease: false
|
|
313
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
314
|
+
requirements:
|
|
315
|
+
- - ">="
|
|
316
|
+
- !ruby/object:Gem::Version
|
|
317
|
+
version: '5'
|
|
318
|
+
- !ruby/object:Gem::Dependency
|
|
319
|
+
name: anonymous_active_record
|
|
216
320
|
requirement: !ruby/object:Gem::Requirement
|
|
217
321
|
requirements:
|
|
218
322
|
- - "~>"
|
|
219
323
|
- !ruby/object:Gem::Version
|
|
220
324
|
version: '1.0'
|
|
325
|
+
- - ">="
|
|
326
|
+
- !ruby/object:Gem::Version
|
|
327
|
+
version: 1.0.9
|
|
221
328
|
type: :development
|
|
222
329
|
prerelease: false
|
|
223
330
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -225,25 +332,70 @@ dependencies:
|
|
|
225
332
|
- - "~>"
|
|
226
333
|
- !ruby/object:Gem::Version
|
|
227
334
|
version: '1.0'
|
|
228
|
-
|
|
335
|
+
- - ">="
|
|
336
|
+
- !ruby/object:Gem::Version
|
|
337
|
+
version: 1.0.9
|
|
338
|
+
- !ruby/object:Gem::Dependency
|
|
339
|
+
name: rack-test
|
|
340
|
+
requirement: !ruby/object:Gem::Requirement
|
|
341
|
+
requirements:
|
|
342
|
+
- - "~>"
|
|
343
|
+
- !ruby/object:Gem::Version
|
|
344
|
+
version: '1'
|
|
345
|
+
type: :development
|
|
346
|
+
prerelease: false
|
|
347
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
348
|
+
requirements:
|
|
349
|
+
- - "~>"
|
|
350
|
+
- !ruby/object:Gem::Version
|
|
351
|
+
version: '1'
|
|
352
|
+
- !ruby/object:Gem::Dependency
|
|
353
|
+
name: rspec-pending_for
|
|
354
|
+
requirement: !ruby/object:Gem::Requirement
|
|
355
|
+
requirements:
|
|
356
|
+
- - "~>"
|
|
357
|
+
- !ruby/object:Gem::Version
|
|
358
|
+
version: '0.0'
|
|
359
|
+
- - ">="
|
|
360
|
+
- !ruby/object:Gem::Version
|
|
361
|
+
version: 0.0.17
|
|
362
|
+
type: :development
|
|
363
|
+
prerelease: false
|
|
364
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
365
|
+
requirements:
|
|
366
|
+
- - "~>"
|
|
367
|
+
- !ruby/object:Gem::Version
|
|
368
|
+
version: '0.0'
|
|
369
|
+
- - ">="
|
|
370
|
+
- !ruby/object:Gem::Version
|
|
371
|
+
version: 0.0.17
|
|
372
|
+
description: "\U0001FAF5 Traditional username/password based authentication system
|
|
373
|
+
for OmniAuth"
|
|
229
374
|
email:
|
|
230
375
|
- floss@galtzo.com
|
|
231
376
|
executables: []
|
|
232
377
|
extensions: []
|
|
233
378
|
extra_rdoc_files:
|
|
234
379
|
- CHANGELOG.md
|
|
380
|
+
- CITATION.cff
|
|
235
381
|
- CODE_OF_CONDUCT.md
|
|
236
382
|
- CONTRIBUTING.md
|
|
237
|
-
-
|
|
383
|
+
- FUNDING.md
|
|
384
|
+
- LICENSE.md
|
|
238
385
|
- README.md
|
|
386
|
+
- RUBOCOP.md
|
|
239
387
|
- SECURITY.md
|
|
240
388
|
files:
|
|
241
389
|
- CHANGELOG.md
|
|
390
|
+
- CITATION.cff
|
|
242
391
|
- CODE_OF_CONDUCT.md
|
|
243
392
|
- CONTRIBUTING.md
|
|
244
|
-
-
|
|
393
|
+
- FUNDING.md
|
|
394
|
+
- LICENSE.md
|
|
245
395
|
- README.md
|
|
396
|
+
- RUBOCOP.md
|
|
246
397
|
- SECURITY.md
|
|
398
|
+
- certs/pboling.pem
|
|
247
399
|
- lib/omniauth-identity.rb
|
|
248
400
|
- lib/omniauth/identity.rb
|
|
249
401
|
- lib/omniauth/identity/model.rb
|
|
@@ -251,34 +403,34 @@ files:
|
|
|
251
403
|
- lib/omniauth/identity/models/couch_potato.rb
|
|
252
404
|
- lib/omniauth/identity/models/mongoid.rb
|
|
253
405
|
- lib/omniauth/identity/models/nobrainer.rb
|
|
406
|
+
- lib/omniauth/identity/models/rom.rb
|
|
254
407
|
- lib/omniauth/identity/models/sequel.rb
|
|
255
408
|
- lib/omniauth/identity/secure_password.rb
|
|
256
409
|
- lib/omniauth/identity/version.rb
|
|
257
410
|
- lib/omniauth/strategies/identity.rb
|
|
411
|
+
- sig/omniauth/identity/version.rbs
|
|
258
412
|
homepage: https://github.com/omniauth/omniauth-identity
|
|
259
413
|
licenses:
|
|
260
414
|
- MIT
|
|
261
415
|
metadata:
|
|
262
|
-
homepage_uri: https://omniauth-identity.galtzo.com
|
|
263
|
-
source_code_uri: https://github.com/omniauth/omniauth-identity/tree/v3.
|
|
264
|
-
changelog_uri: https://github.com/omniauth/omniauth-identity/blob/v3.
|
|
416
|
+
homepage_uri: https://omniauth-identity.galtzo.com
|
|
417
|
+
source_code_uri: https://github.com/omniauth/omniauth-identity/tree/v3.2.0
|
|
418
|
+
changelog_uri: https://github.com/omniauth/omniauth-identity/blob/v3.2.0/CHANGELOG.md
|
|
265
419
|
bug_tracker_uri: https://github.com/omniauth/omniauth-identity/issues
|
|
266
|
-
documentation_uri: https://www.rubydoc.info/gems/omniauth-identity/3.
|
|
267
|
-
wiki_uri: https://github.com/omniauth/omniauth-identity/wiki
|
|
420
|
+
documentation_uri: https://www.rubydoc.info/gems/omniauth-identity/3.2.0
|
|
268
421
|
funding_uri: https://github.com/sponsors/pboling
|
|
422
|
+
wiki_uri: https://github.com/omniauth/omniauth-identity/wiki
|
|
269
423
|
news_uri: https://www.railsbling.com/tags/omniauth-identity
|
|
424
|
+
discord_uri: https://discord.gg/3qme4XHNKN
|
|
270
425
|
rubygems_mfa_required: 'true'
|
|
271
426
|
rdoc_options:
|
|
272
427
|
- "--title"
|
|
273
|
-
- omniauth-identity - Traditional username/password based authentication
|
|
274
|
-
OmniAuth
|
|
428
|
+
- "omniauth-identity - \U0001FAF5 Traditional username/password based authentication
|
|
429
|
+
system for OmniAuth"
|
|
275
430
|
- "--main"
|
|
276
|
-
- CHANGELOG.md
|
|
277
|
-
- CODE_OF_CONDUCT.md
|
|
278
|
-
- CONTRIBUTING.md
|
|
279
|
-
- LICENSE.txt
|
|
280
431
|
- README.md
|
|
281
|
-
-
|
|
432
|
+
- "--exclude"
|
|
433
|
+
- "^sig/"
|
|
282
434
|
- "--line-numbers"
|
|
283
435
|
- "--inline-source"
|
|
284
436
|
- "--quiet"
|
|
@@ -295,7 +447,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
295
447
|
- !ruby/object:Gem::Version
|
|
296
448
|
version: '0'
|
|
297
449
|
requirements: []
|
|
298
|
-
rubygems_version:
|
|
450
|
+
rubygems_version: 4.0.10
|
|
299
451
|
specification_version: 4
|
|
300
|
-
summary: Traditional username/password based authentication system for
|
|
452
|
+
summary: "\U0001FAF5 Traditional username/password based authentication system for
|
|
453
|
+
OmniAuth"
|
|
301
454
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|