omniauth-identity 3.1.5 → 3.2.1
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 +67 -1
- data/CITATION.cff +6 -6
- data/CONTRIBUTING.md +94 -104
- data/FUNDING.md +20 -16
- data/LICENSE.md +10 -0
- data/MIT.md +21 -0
- data/README.md +191 -184
- data/SECURITY.md +3 -15
- data/certs/pboling.pem +27 -0
- data/lib/omniauth/identity/model.rb +35 -4
- data/lib/omniauth/identity/models/active_record.rb +18 -16
- data/lib/omniauth/identity/models/couch_potato.rb +50 -46
- data/lib/omniauth/identity/models/mongoid.rb +40 -36
- data/lib/omniauth/identity/models/nobrainer.rb +40 -36
- data/lib/omniauth/identity/models/rom.rb +41 -28
- data/lib/omniauth/identity/models/sequel.rb +65 -63
- data/lib/omniauth/identity/secure_password.rb +14 -12
- data/lib/omniauth/identity/version.rb +2 -5
- data/lib/omniauth/identity.rb +7 -0
- data/lib/omniauth/strategies/identity.rb +1 -1
- data/sig/omniauth/identity/version.rbs +8 -0
- data.tar.gz.sig +0 -0
- metadata +120 -63
- metadata.gz.sig +0 -0
- data/LICENSE.txt +0 -24
- data/REEK +0 -0
|
@@ -41,80 +41,82 @@ module OmniAuth
|
|
|
41
41
|
#
|
|
42
42
|
# @param base [Class] the model class including this module
|
|
43
43
|
# @return [void]
|
|
44
|
-
|
|
45
|
-
base
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
44
|
+
class << self
|
|
45
|
+
def included(base)
|
|
46
|
+
base.class_eval do
|
|
47
|
+
# NOTE: Using the deprecated :validations_class_methods because it defines
|
|
48
|
+
# validates_confirmation_of, while current :validation_helpers does not.
|
|
49
|
+
# plugin :validation_helpers
|
|
50
|
+
plugin(:validation_class_methods)
|
|
50
51
|
|
|
51
|
-
|
|
52
|
-
|
|
52
|
+
include(::OmniAuth::Identity::Model)
|
|
53
|
+
include(::OmniAuth::Identity::SecurePassword)
|
|
53
54
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
55
|
+
# `validations: true` (default) would normally incur a dependency on ActiveModel.
|
|
56
|
+
# Starting in v3.1 we check if ActiveModel is defined before we actually set validations.
|
|
57
|
+
# If ActiveModel isn't defined, it may be unexpected that validations are not being set,
|
|
58
|
+
# so this will result in a warning deprecation until release of v4,
|
|
59
|
+
# at which point the default (for Sequel ORM only) will change to `validations: false`
|
|
60
|
+
has_secure_password(validations: OmniAuth::Identity::Version.major < 4)
|
|
60
61
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
class << self
|
|
63
|
+
# @!method self.auth_key=(key)
|
|
64
|
+
# Sets the authentication key for the model and adds uniqueness validation.
|
|
65
|
+
#
|
|
66
|
+
# @param key [Symbol, String] the attribute to use as the authentication key
|
|
67
|
+
# @return [void]
|
|
68
|
+
# @example
|
|
69
|
+
# class User < Sequel::Model(:users)
|
|
70
|
+
# include OmniAuth::Identity::Models::Sequel
|
|
71
|
+
# self.auth_key = :email
|
|
72
|
+
# end
|
|
73
|
+
def auth_key=(key)
|
|
74
|
+
super
|
|
75
|
+
# Sequel version of validates_uniqueness_of! Does not incur ActiveRecord dependency!
|
|
76
|
+
validates_uniqueness_of(:key, case_sensitive: false)
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
# @!method self.locate(arguments)
|
|
80
|
+
# Finds a record by the given search criteria.
|
|
81
|
+
#
|
|
82
|
+
# Filtering is probably the most common dataset modifying action done in Sequel.
|
|
83
|
+
# Both the where and filter methods filter the dataset by modifying the dataset's WHERE clause.
|
|
84
|
+
# Both accept a wide variety of input formats.
|
|
85
|
+
# See: https://sequel.jeremyevans.net/rdoc/files/doc/querying_rdoc.html#label-Filters
|
|
86
|
+
#
|
|
87
|
+
# @param arguments [any] the search criteria
|
|
88
|
+
# @return [Sequel::Model, nil] the first matching record or nil
|
|
89
|
+
# @example
|
|
90
|
+
# User.locate(email: 'user@example.com')
|
|
91
|
+
def locate(arguments)
|
|
92
|
+
where(arguments).first
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
# @!method persisted?
|
|
97
|
+
# Checks if the record exists in the database.
|
|
64
98
|
#
|
|
65
|
-
# @
|
|
66
|
-
# @return [void]
|
|
99
|
+
# @return [Boolean] true if the record exists, false otherwise
|
|
67
100
|
# @example
|
|
68
|
-
#
|
|
69
|
-
#
|
|
70
|
-
#
|
|
71
|
-
#
|
|
72
|
-
def
|
|
73
|
-
|
|
74
|
-
# Sequel version of validates_uniqueness_of! Does not incur ActiveRecord dependency!
|
|
75
|
-
validates_uniqueness_of(:key, case_sensitive: false)
|
|
101
|
+
# user = User.new
|
|
102
|
+
# user.persisted? # => false
|
|
103
|
+
# user.save
|
|
104
|
+
# user.persisted? # => true
|
|
105
|
+
def persisted?
|
|
106
|
+
exists?
|
|
76
107
|
end
|
|
77
108
|
|
|
78
|
-
# @!method
|
|
79
|
-
#
|
|
80
|
-
#
|
|
81
|
-
# Filtering is probably the most common dataset modifying action done in Sequel.
|
|
82
|
-
# Both the where and filter methods filter the dataset by modifying the dataset's WHERE clause.
|
|
83
|
-
# Both accept a wide variety of input formats.
|
|
84
|
-
# See: https://sequel.jeremyevans.net/rdoc/files/doc/querying_rdoc.html#label-Filters
|
|
109
|
+
# @!method save
|
|
110
|
+
# Saves the record to the database.
|
|
85
111
|
#
|
|
86
|
-
# @
|
|
87
|
-
# @return [Sequel::Model, nil] the first matching record or nil
|
|
112
|
+
# @return [Boolean] true if saved successfully, false otherwise
|
|
88
113
|
# @example
|
|
89
|
-
# User.
|
|
90
|
-
|
|
91
|
-
|
|
114
|
+
# user = User.new(email: 'user@example.com', password: 'password')
|
|
115
|
+
# user.save # => true
|
|
116
|
+
def save
|
|
117
|
+
super
|
|
92
118
|
end
|
|
93
119
|
end
|
|
94
|
-
|
|
95
|
-
# @!method persisted?
|
|
96
|
-
# Checks if the record exists in the database.
|
|
97
|
-
#
|
|
98
|
-
# @return [Boolean] true if the record exists, false otherwise
|
|
99
|
-
# @example
|
|
100
|
-
# user = User.new
|
|
101
|
-
# user.persisted? # => false
|
|
102
|
-
# user.save
|
|
103
|
-
# user.persisted? # => true
|
|
104
|
-
def persisted?
|
|
105
|
-
exists?
|
|
106
|
-
end
|
|
107
|
-
|
|
108
|
-
# @!method save
|
|
109
|
-
# Saves the record to the database.
|
|
110
|
-
#
|
|
111
|
-
# @return [Boolean] true if saved successfully, false otherwise
|
|
112
|
-
# @example
|
|
113
|
-
# user = User.new(email: 'user@example.com', password: 'password')
|
|
114
|
-
# user.save # => true
|
|
115
|
-
def save
|
|
116
|
-
super
|
|
117
|
-
end
|
|
118
120
|
end
|
|
119
121
|
end
|
|
120
122
|
end
|
|
@@ -22,16 +22,6 @@ module OmniAuth
|
|
|
22
22
|
# user = User.new(password: 'secret')
|
|
23
23
|
# user.authenticate('secret') # => user
|
|
24
24
|
module SecurePassword
|
|
25
|
-
# Called when this module is included in a model class.
|
|
26
|
-
#
|
|
27
|
-
# Extends the base class with ClassMethods unless it already responds to has_secure_password.
|
|
28
|
-
#
|
|
29
|
-
# @param base [Class] the model class including this module
|
|
30
|
-
# @return [void]
|
|
31
|
-
def self.included(base)
|
|
32
|
-
base.extend(ClassMethods) unless base.respond_to?(:has_secure_password)
|
|
33
|
-
end
|
|
34
|
-
|
|
35
25
|
# @!attribute [r] MAX_PASSWORD_LENGTH_ALLOWED
|
|
36
26
|
# BCrypt hash function can handle maximum 72 bytes, and if we pass
|
|
37
27
|
# password of length more than 72 bytes it ignores extra characters.
|
|
@@ -39,13 +29,25 @@ module OmniAuth
|
|
|
39
29
|
# @return [Integer] The maximum allowed password length in bytes.
|
|
40
30
|
MAX_PASSWORD_LENGTH_ALLOWED = BCrypt::Engine::MAX_SECRET_BYTESIZE
|
|
41
31
|
|
|
32
|
+
MIN_COST_MUTEX = Mutex.new
|
|
33
|
+
private_constant :MIN_COST_MUTEX
|
|
34
|
+
|
|
42
35
|
class << self
|
|
36
|
+
def included(base)
|
|
37
|
+
base.extend(ClassMethods) unless base.respond_to?(:has_secure_password)
|
|
38
|
+
end
|
|
39
|
+
|
|
43
40
|
# @!attribute [rw] min_cost
|
|
44
41
|
# Controls whether to use minimum cost for BCrypt hashing (for testing).
|
|
45
42
|
# @return [true, false]
|
|
46
|
-
|
|
43
|
+
def min_cost # :nodoc:
|
|
44
|
+
MIN_COST_MUTEX.synchronize { @min_cost.nil? ? false : @min_cost }
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
def min_cost=(value) # :nodoc:
|
|
48
|
+
MIN_COST_MUTEX.synchronize { @min_cost = value }
|
|
49
|
+
end
|
|
47
50
|
end
|
|
48
|
-
self.min_cost = false
|
|
49
51
|
|
|
50
52
|
# Class-level methods for secure password functionality.
|
|
51
53
|
module ClassMethods
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Contains version information for the OmniAuth Identity gem.
|
|
4
3
|
module OmniAuth
|
|
5
4
|
module Identity
|
|
6
5
|
module Version
|
|
7
|
-
|
|
8
|
-
# The current version of the omniauth-identity gem.
|
|
9
|
-
# @return [String]
|
|
10
|
-
VERSION = "3.1.5"
|
|
6
|
+
VERSION = "3.2.1"
|
|
11
7
|
end
|
|
8
|
+
VERSION = Version::VERSION # Traditional Constant Location
|
|
12
9
|
end
|
|
13
10
|
end
|
data/lib/omniauth/identity.rb
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
# TODO[v4]: Remove this deprecation with v4 release.
|
|
4
|
+
require "version_gem"
|
|
5
|
+
|
|
4
6
|
unless defined?(OmniAuth::Identity::Version::VERSION)
|
|
5
7
|
# external gems
|
|
6
8
|
require "version_gem"
|
|
@@ -65,3 +67,8 @@ module OmniAuth
|
|
|
65
67
|
end
|
|
66
68
|
end
|
|
67
69
|
end
|
|
70
|
+
require_relative "identity/version"
|
|
71
|
+
|
|
72
|
+
OmniAuth::Identity::Version.class_eval do
|
|
73
|
+
extend VersionGem::Basic
|
|
74
|
+
end
|
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.1
|
|
4
|
+
version: 3.2.1
|
|
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
|
- |
|
|
@@ -39,6 +37,46 @@ cert_chain:
|
|
|
39
37
|
-----END CERTIFICATE-----
|
|
40
38
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
41
39
|
dependencies:
|
|
40
|
+
- !ruby/object:Gem::Dependency
|
|
41
|
+
name: anonymous_loader
|
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - "~>"
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: '0.1'
|
|
47
|
+
- - ">="
|
|
48
|
+
- !ruby/object:Gem::Version
|
|
49
|
+
version: 0.1.3
|
|
50
|
+
type: :runtime
|
|
51
|
+
prerelease: false
|
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
53
|
+
requirements:
|
|
54
|
+
- - "~>"
|
|
55
|
+
- !ruby/object:Gem::Version
|
|
56
|
+
version: '0.1'
|
|
57
|
+
- - ">="
|
|
58
|
+
- !ruby/object:Gem::Version
|
|
59
|
+
version: 0.1.3
|
|
60
|
+
- !ruby/object:Gem::Dependency
|
|
61
|
+
name: auth-sanitizer
|
|
62
|
+
requirement: !ruby/object:Gem::Requirement
|
|
63
|
+
requirements:
|
|
64
|
+
- - "~>"
|
|
65
|
+
- !ruby/object:Gem::Version
|
|
66
|
+
version: '0.2'
|
|
67
|
+
- - ">="
|
|
68
|
+
- !ruby/object:Gem::Version
|
|
69
|
+
version: 0.2.3
|
|
70
|
+
type: :runtime
|
|
71
|
+
prerelease: false
|
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
73
|
+
requirements:
|
|
74
|
+
- - "~>"
|
|
75
|
+
- !ruby/object:Gem::Version
|
|
76
|
+
version: '0.2'
|
|
77
|
+
- - ">="
|
|
78
|
+
- !ruby/object:Gem::Version
|
|
79
|
+
version: 0.2.3
|
|
42
80
|
- !ruby/object:Gem::Dependency
|
|
43
81
|
name: bcrypt
|
|
44
82
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -90,7 +128,7 @@ dependencies:
|
|
|
90
128
|
version: '1.1'
|
|
91
129
|
- - ">="
|
|
92
130
|
- !ruby/object:Gem::Version
|
|
93
|
-
version: 1.1.
|
|
131
|
+
version: 1.1.14
|
|
94
132
|
type: :runtime
|
|
95
133
|
prerelease: false
|
|
96
134
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -100,35 +138,41 @@ dependencies:
|
|
|
100
138
|
version: '1.1'
|
|
101
139
|
- - ">="
|
|
102
140
|
- !ruby/object:Gem::Version
|
|
103
|
-
version: 1.1.
|
|
141
|
+
version: 1.1.14
|
|
104
142
|
- !ruby/object:Gem::Dependency
|
|
105
143
|
name: kettle-dev
|
|
106
144
|
requirement: !ruby/object:Gem::Requirement
|
|
107
145
|
requirements:
|
|
108
146
|
- - "~>"
|
|
109
147
|
- !ruby/object:Gem::Version
|
|
110
|
-
version: '
|
|
148
|
+
version: '2.3'
|
|
149
|
+
- - ">="
|
|
150
|
+
- !ruby/object:Gem::Version
|
|
151
|
+
version: 2.3.4
|
|
111
152
|
type: :development
|
|
112
153
|
prerelease: false
|
|
113
154
|
version_requirements: !ruby/object:Gem::Requirement
|
|
114
155
|
requirements:
|
|
115
156
|
- - "~>"
|
|
116
157
|
- !ruby/object:Gem::Version
|
|
117
|
-
version: '
|
|
158
|
+
version: '2.3'
|
|
159
|
+
- - ">="
|
|
160
|
+
- !ruby/object:Gem::Version
|
|
161
|
+
version: 2.3.4
|
|
118
162
|
- !ruby/object:Gem::Dependency
|
|
119
163
|
name: bundler-audit
|
|
120
164
|
requirement: !ruby/object:Gem::Requirement
|
|
121
165
|
requirements:
|
|
122
166
|
- - "~>"
|
|
123
167
|
- !ruby/object:Gem::Version
|
|
124
|
-
version: 0.9.
|
|
168
|
+
version: 0.9.3
|
|
125
169
|
type: :development
|
|
126
170
|
prerelease: false
|
|
127
171
|
version_requirements: !ruby/object:Gem::Requirement
|
|
128
172
|
requirements:
|
|
129
173
|
- - "~>"
|
|
130
174
|
- !ruby/object:Gem::Version
|
|
131
|
-
version: 0.9.
|
|
175
|
+
version: 0.9.3
|
|
132
176
|
- !ruby/object:Gem::Dependency
|
|
133
177
|
name: rake
|
|
134
178
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -164,117 +208,135 @@ dependencies:
|
|
|
164
208
|
- !ruby/object:Gem::Version
|
|
165
209
|
version: 1.0.4
|
|
166
210
|
- !ruby/object:Gem::Dependency
|
|
167
|
-
name:
|
|
211
|
+
name: appraisal2
|
|
168
212
|
requirement: !ruby/object:Gem::Requirement
|
|
169
213
|
requirements:
|
|
214
|
+
- - "~>"
|
|
215
|
+
- !ruby/object:Gem::Version
|
|
216
|
+
version: '3.1'
|
|
170
217
|
- - ">="
|
|
171
218
|
- !ruby/object:Gem::Version
|
|
172
|
-
version:
|
|
219
|
+
version: 3.1.4
|
|
173
220
|
type: :development
|
|
174
221
|
prerelease: false
|
|
175
222
|
version_requirements: !ruby/object:Gem::Requirement
|
|
176
223
|
requirements:
|
|
224
|
+
- - "~>"
|
|
225
|
+
- !ruby/object:Gem::Version
|
|
226
|
+
version: '3.1'
|
|
177
227
|
- - ">="
|
|
178
228
|
- !ruby/object:Gem::Version
|
|
179
|
-
version:
|
|
229
|
+
version: 3.1.4
|
|
180
230
|
- !ruby/object:Gem::Dependency
|
|
181
|
-
name:
|
|
231
|
+
name: kettle-test
|
|
182
232
|
requirement: !ruby/object:Gem::Requirement
|
|
183
233
|
requirements:
|
|
184
234
|
- - "~>"
|
|
185
235
|
- !ruby/object:Gem::Version
|
|
186
|
-
version: '
|
|
236
|
+
version: '2.0'
|
|
187
237
|
- - ">="
|
|
188
238
|
- !ruby/object:Gem::Version
|
|
189
|
-
version:
|
|
239
|
+
version: 2.0.10
|
|
190
240
|
type: :development
|
|
191
241
|
prerelease: false
|
|
192
242
|
version_requirements: !ruby/object:Gem::Requirement
|
|
193
243
|
requirements:
|
|
194
244
|
- - "~>"
|
|
195
245
|
- !ruby/object:Gem::Version
|
|
196
|
-
version: '
|
|
246
|
+
version: '2.0'
|
|
197
247
|
- - ">="
|
|
198
248
|
- !ruby/object:Gem::Version
|
|
199
|
-
version:
|
|
249
|
+
version: 2.0.10
|
|
200
250
|
- !ruby/object:Gem::Dependency
|
|
201
|
-
name:
|
|
251
|
+
name: turbo_tests2
|
|
202
252
|
requirement: !ruby/object:Gem::Requirement
|
|
203
253
|
requirements:
|
|
204
254
|
- - "~>"
|
|
205
255
|
- !ruby/object:Gem::Version
|
|
206
|
-
version: '3.
|
|
256
|
+
version: '3.1'
|
|
257
|
+
- - ">="
|
|
258
|
+
- !ruby/object:Gem::Version
|
|
259
|
+
version: 3.1.8
|
|
207
260
|
type: :development
|
|
208
261
|
prerelease: false
|
|
209
262
|
version_requirements: !ruby/object:Gem::Requirement
|
|
210
263
|
requirements:
|
|
211
264
|
- - "~>"
|
|
212
265
|
- !ruby/object:Gem::Version
|
|
213
|
-
version: '3.
|
|
266
|
+
version: '3.1'
|
|
267
|
+
- - ">="
|
|
268
|
+
- !ruby/object:Gem::Version
|
|
269
|
+
version: 3.1.8
|
|
214
270
|
- !ruby/object:Gem::Dependency
|
|
215
|
-
name:
|
|
271
|
+
name: ruby-progressbar
|
|
216
272
|
requirement: !ruby/object:Gem::Requirement
|
|
217
273
|
requirements:
|
|
218
274
|
- - "~>"
|
|
219
275
|
- !ruby/object:Gem::Version
|
|
220
|
-
version: '1.
|
|
276
|
+
version: '1.13'
|
|
221
277
|
type: :development
|
|
222
278
|
prerelease: false
|
|
223
279
|
version_requirements: !ruby/object:Gem::Requirement
|
|
224
280
|
requirements:
|
|
225
281
|
- - "~>"
|
|
226
282
|
- !ruby/object:Gem::Version
|
|
227
|
-
version: '1.
|
|
283
|
+
version: '1.13'
|
|
228
284
|
- !ruby/object:Gem::Dependency
|
|
229
|
-
name:
|
|
285
|
+
name: stone_checksums
|
|
230
286
|
requirement: !ruby/object:Gem::Requirement
|
|
231
287
|
requirements:
|
|
232
288
|
- - "~>"
|
|
233
289
|
- !ruby/object:Gem::Version
|
|
234
|
-
version: '1'
|
|
290
|
+
version: '1.0'
|
|
291
|
+
- - ">="
|
|
292
|
+
- !ruby/object:Gem::Version
|
|
293
|
+
version: 1.0.6
|
|
235
294
|
type: :development
|
|
236
295
|
prerelease: false
|
|
237
296
|
version_requirements: !ruby/object:Gem::Requirement
|
|
238
297
|
requirements:
|
|
239
298
|
- - "~>"
|
|
240
299
|
- !ruby/object:Gem::Version
|
|
241
|
-
version: '1'
|
|
300
|
+
version: '1.0'
|
|
301
|
+
- - ">="
|
|
302
|
+
- !ruby/object:Gem::Version
|
|
303
|
+
version: 1.0.6
|
|
242
304
|
- !ruby/object:Gem::Dependency
|
|
243
|
-
name:
|
|
305
|
+
name: gitmoji-regex
|
|
244
306
|
requirement: !ruby/object:Gem::Requirement
|
|
245
307
|
requirements:
|
|
246
308
|
- - "~>"
|
|
247
309
|
- !ruby/object:Gem::Version
|
|
248
|
-
version: '
|
|
310
|
+
version: '2.0'
|
|
249
311
|
- - ">="
|
|
250
312
|
- !ruby/object:Gem::Version
|
|
251
|
-
version:
|
|
313
|
+
version: 2.0.4
|
|
252
314
|
type: :development
|
|
253
315
|
prerelease: false
|
|
254
316
|
version_requirements: !ruby/object:Gem::Requirement
|
|
255
317
|
requirements:
|
|
256
318
|
- - "~>"
|
|
257
319
|
- !ruby/object:Gem::Version
|
|
258
|
-
version: '
|
|
320
|
+
version: '2.0'
|
|
259
321
|
- - ">="
|
|
260
322
|
- !ruby/object:Gem::Version
|
|
261
|
-
version:
|
|
323
|
+
version: 2.0.4
|
|
262
324
|
- !ruby/object:Gem::Dependency
|
|
263
|
-
name:
|
|
325
|
+
name: activerecord
|
|
264
326
|
requirement: !ruby/object:Gem::Requirement
|
|
265
327
|
requirements:
|
|
266
|
-
- - "
|
|
328
|
+
- - ">="
|
|
267
329
|
- !ruby/object:Gem::Version
|
|
268
|
-
version: '
|
|
330
|
+
version: '5'
|
|
269
331
|
type: :development
|
|
270
332
|
prerelease: false
|
|
271
333
|
version_requirements: !ruby/object:Gem::Requirement
|
|
272
334
|
requirements:
|
|
273
|
-
- - "
|
|
335
|
+
- - ">="
|
|
274
336
|
- !ruby/object:Gem::Version
|
|
275
|
-
version: '
|
|
337
|
+
version: '5'
|
|
276
338
|
- !ruby/object:Gem::Dependency
|
|
277
|
-
name:
|
|
339
|
+
name: anonymous_active_record
|
|
278
340
|
requirement: !ruby/object:Gem::Requirement
|
|
279
341
|
requirements:
|
|
280
342
|
- - "~>"
|
|
@@ -282,7 +344,7 @@ dependencies:
|
|
|
282
344
|
version: '1.0'
|
|
283
345
|
- - ">="
|
|
284
346
|
- !ruby/object:Gem::Version
|
|
285
|
-
version: 1.0.
|
|
347
|
+
version: 1.0.9
|
|
286
348
|
type: :development
|
|
287
349
|
prerelease: false
|
|
288
350
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -292,47 +354,41 @@ dependencies:
|
|
|
292
354
|
version: '1.0'
|
|
293
355
|
- - ">="
|
|
294
356
|
- !ruby/object:Gem::Version
|
|
295
|
-
version: 1.0.
|
|
357
|
+
version: 1.0.9
|
|
296
358
|
- !ruby/object:Gem::Dependency
|
|
297
|
-
name:
|
|
359
|
+
name: rack-test
|
|
298
360
|
requirement: !ruby/object:Gem::Requirement
|
|
299
361
|
requirements:
|
|
300
362
|
- - "~>"
|
|
301
363
|
- !ruby/object:Gem::Version
|
|
302
|
-
version: '1
|
|
303
|
-
- - ">="
|
|
304
|
-
- !ruby/object:Gem::Version
|
|
305
|
-
version: 1.0.3
|
|
364
|
+
version: '1'
|
|
306
365
|
type: :development
|
|
307
366
|
prerelease: false
|
|
308
367
|
version_requirements: !ruby/object:Gem::Requirement
|
|
309
368
|
requirements:
|
|
310
369
|
- - "~>"
|
|
311
370
|
- !ruby/object:Gem::Version
|
|
312
|
-
version: '1
|
|
313
|
-
- - ">="
|
|
314
|
-
- !ruby/object:Gem::Version
|
|
315
|
-
version: 1.0.3
|
|
371
|
+
version: '1'
|
|
316
372
|
- !ruby/object:Gem::Dependency
|
|
317
|
-
name:
|
|
373
|
+
name: rspec-pending_for
|
|
318
374
|
requirement: !ruby/object:Gem::Requirement
|
|
319
375
|
requirements:
|
|
320
376
|
- - "~>"
|
|
321
377
|
- !ruby/object:Gem::Version
|
|
322
|
-
version: '
|
|
378
|
+
version: '0.0'
|
|
323
379
|
- - ">="
|
|
324
380
|
- !ruby/object:Gem::Version
|
|
325
|
-
version:
|
|
381
|
+
version: 0.0.17
|
|
326
382
|
type: :development
|
|
327
383
|
prerelease: false
|
|
328
384
|
version_requirements: !ruby/object:Gem::Requirement
|
|
329
385
|
requirements:
|
|
330
386
|
- - "~>"
|
|
331
387
|
- !ruby/object:Gem::Version
|
|
332
|
-
version: '
|
|
388
|
+
version: '0.0'
|
|
333
389
|
- - ">="
|
|
334
390
|
- !ruby/object:Gem::Version
|
|
335
|
-
version:
|
|
391
|
+
version: 0.0.17
|
|
336
392
|
description: "\U0001FAF5 Traditional username/password based authentication system
|
|
337
393
|
for OmniAuth"
|
|
338
394
|
email:
|
|
@@ -345,9 +401,8 @@ extra_rdoc_files:
|
|
|
345
401
|
- CODE_OF_CONDUCT.md
|
|
346
402
|
- CONTRIBUTING.md
|
|
347
403
|
- FUNDING.md
|
|
348
|
-
- LICENSE.
|
|
404
|
+
- LICENSE.md
|
|
349
405
|
- README.md
|
|
350
|
-
- REEK
|
|
351
406
|
- RUBOCOP.md
|
|
352
407
|
- SECURITY.md
|
|
353
408
|
files:
|
|
@@ -356,11 +411,12 @@ files:
|
|
|
356
411
|
- CODE_OF_CONDUCT.md
|
|
357
412
|
- CONTRIBUTING.md
|
|
358
413
|
- FUNDING.md
|
|
359
|
-
- LICENSE.
|
|
414
|
+
- LICENSE.md
|
|
415
|
+
- MIT.md
|
|
360
416
|
- README.md
|
|
361
|
-
- REEK
|
|
362
417
|
- RUBOCOP.md
|
|
363
418
|
- SECURITY.md
|
|
419
|
+
- certs/pboling.pem
|
|
364
420
|
- lib/omniauth-identity.rb
|
|
365
421
|
- lib/omniauth/identity.rb
|
|
366
422
|
- lib/omniauth/identity/model.rb
|
|
@@ -373,15 +429,16 @@ files:
|
|
|
373
429
|
- lib/omniauth/identity/secure_password.rb
|
|
374
430
|
- lib/omniauth/identity/version.rb
|
|
375
431
|
- lib/omniauth/strategies/identity.rb
|
|
432
|
+
- sig/omniauth/identity/version.rbs
|
|
376
433
|
homepage: https://github.com/omniauth/omniauth-identity
|
|
377
434
|
licenses:
|
|
378
435
|
- MIT
|
|
379
436
|
metadata:
|
|
380
|
-
homepage_uri: https://omniauth-identity.galtzo.com
|
|
381
|
-
source_code_uri: https://github.com/omniauth/omniauth-identity/tree/v3.1
|
|
382
|
-
changelog_uri: https://github.com/omniauth/omniauth-identity/blob/v3.1
|
|
437
|
+
homepage_uri: https://omniauth-identity.galtzo.com
|
|
438
|
+
source_code_uri: https://github.com/omniauth/omniauth-identity/tree/v3.2.1
|
|
439
|
+
changelog_uri: https://github.com/omniauth/omniauth-identity/blob/v3.2.1/CHANGELOG.md
|
|
383
440
|
bug_tracker_uri: https://github.com/omniauth/omniauth-identity/issues
|
|
384
|
-
documentation_uri: https://www.rubydoc.info/gems/omniauth-identity/3.1
|
|
441
|
+
documentation_uri: https://www.rubydoc.info/gems/omniauth-identity/3.2.1
|
|
385
442
|
funding_uri: https://github.com/sponsors/pboling
|
|
386
443
|
wiki_uri: https://github.com/omniauth/omniauth-identity/wiki
|
|
387
444
|
news_uri: https://www.railsbling.com/tags/omniauth-identity
|
|
@@ -411,7 +468,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
411
468
|
- !ruby/object:Gem::Version
|
|
412
469
|
version: '0'
|
|
413
470
|
requirements: []
|
|
414
|
-
rubygems_version:
|
|
471
|
+
rubygems_version: 4.0.16
|
|
415
472
|
specification_version: 4
|
|
416
473
|
summary: "\U0001FAF5 Traditional username/password based authentication system for
|
|
417
474
|
OmniAuth"
|
metadata.gz.sig
CHANGED
|
Binary file
|
data/LICENSE.txt
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2021, 2024-2025 Peter H. Boling, and omniauth-identity contributors
|
|
4
|
-
Copyright (c) 2020 Peter H. Boling, Andrew Roberts, and Jellybooks Ltd.
|
|
5
|
-
Copyright (c) 2010-2015 Michael Bleigh, and Intridea, Inc.
|
|
6
|
-
|
|
7
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
8
|
-
a copy of this software and associated documentation files (the
|
|
9
|
-
"Software"), to deal in the Software without restriction, including
|
|
10
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
11
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
12
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
13
|
-
the following conditions:
|
|
14
|
-
|
|
15
|
-
The above copyright notice and this permission notice shall be
|
|
16
|
-
included in all copies or substantial portions of the Software.
|
|
17
|
-
|
|
18
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
19
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
20
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
21
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
22
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
23
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
24
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/REEK
DELETED
|
File without changes
|