auther 11.1.0 → 12.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +2 -1
- data.tar.gz.sig +0 -0
- data/LICENSE.adoc +1 -1
- data/README.adoc +29 -27
- data/lib/auther/identity.rb +1 -1
- data/lib/generators/auther/templates/config/initializers/auther.rb +6 -4
- metadata +17 -227
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad3b3e97e7f73e8ccb1ea05ae6cae50e955a6ab153cf502b76066c0fc0e9ab6c
|
4
|
+
data.tar.gz: 0e131767984d8d086688d501ddac9eead5d7185aa2418601f25dd7a6f68a2f6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aea3c17594ccbfce1dc8104b2b2c9bb4e129820721b4a41a6cf7fab79df390b26c296f6d08aa9e0639e40ba92674d9ee926b7abedd0e68ac62bf1d63b0e49903
|
7
|
+
data.tar.gz: bc551fd2cf52476e873d87c6d25a13565d1b05cb502d332ecef68ae41a01bbc0b5b157a743883c0f5e0b25a834ca4b821d94e0154a8f64098c4bfb5ffc602090
|
checksums.yaml.gz.sig
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
��^NW�;M)��ve�ǩ���~s�
|
2
|
+
�]v��B�>AI��ԉv�=���\w̙�u�V�:�JŠj�|�O��D�S�?��~�/�Sޮ]�[��5eB�e��~����b#�^����9;��o��_j1!ٰv:�3J���o�������;�5f�*a�NI��D��[4�+r����&� ��_�I�F��o��A "V!�g��Q�̽�VX)����'����-0`U+���4�v-Sk���\��z�OY�a,�
|
data.tar.gz.sig
CHANGED
Binary file
|
data/LICENSE.adoc
CHANGED
@@ -150,7 +150,7 @@ additional liability.
|
|
150
150
|
|
151
151
|
END OF TERMS AND CONDITIONS
|
152
152
|
|
153
|
-
Copyright link:https://www.alchemists.io[
|
153
|
+
Copyright 2014 link:https://www.alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
|
154
154
|
|
155
155
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
|
156
156
|
compliance with the License. You may obtain a link:https://www.apache.org/licenses/LICENSE-2.0[copy]
|
data/README.adoc
CHANGED
@@ -6,6 +6,8 @@
|
|
6
6
|
|
7
7
|
[link=http://badge.fury.io/rb/auther]
|
8
8
|
image::https://badge.fury.io/rb/auther.svg[Gem Version]
|
9
|
+
[link=https://www.alchemists.io/projects/code_quality]
|
10
|
+
image::https://img.shields.io/badge/code_style-alchemists-brightgreen.svg[Alchemists Style Guide]
|
9
11
|
[link=https://circleci.com/gh/bkuhlmann/auther]
|
10
12
|
image::https://circleci.com/gh/bkuhlmann/auther.svg?style=svg[Circle CI Status]
|
11
13
|
|
@@ -34,13 +36,11 @@ image::https://www.alchemists.io/images/projects/auther/screenshots/form-with_er
|
|
34
36
|
|
35
37
|
== Requirements
|
36
38
|
|
37
|
-
. link:https://www.ruby-lang.org[Ruby
|
38
|
-
. link:
|
39
|
+
. link:https://www.ruby-lang.org[Ruby]
|
40
|
+
. link:https://rubyonrails.org[Ruby on Rails]
|
39
41
|
|
40
42
|
== Setup
|
41
43
|
|
42
|
-
=== Production
|
43
|
-
|
44
44
|
To install, run:
|
45
45
|
|
46
46
|
[source,bash]
|
@@ -74,24 +74,6 @@ credentials into your `.envrc` file. Example:
|
|
74
74
|
|
75
75
|
image::https://www.alchemists.io/images/projects/auther/screenshots/credentials_generator.jpg[Credentials Generator Screenshot]
|
76
76
|
|
77
|
-
=== Development
|
78
|
-
|
79
|
-
To contribute, run:
|
80
|
-
|
81
|
-
[source,bash]
|
82
|
-
----
|
83
|
-
git clone https://github.com/bkuhlmann/auther.git
|
84
|
-
cd auther
|
85
|
-
bin/setup
|
86
|
-
----
|
87
|
-
|
88
|
-
You can also use the IRB console for direct access to all objects:
|
89
|
-
|
90
|
-
[source,bash]
|
91
|
-
----
|
92
|
-
bin/console
|
93
|
-
----
|
94
|
-
|
95
77
|
== Usage
|
96
78
|
|
97
79
|
Launch your Rails application and visit the following: `http://localhost:3000/login`. Enter your
|
@@ -107,10 +89,12 @@ initializer comes installed with the following settings:
|
|
107
89
|
----
|
108
90
|
Rails.application.config.auther_settings = {
|
109
91
|
accounts: [
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
92
|
+
{
|
93
|
+
name: "admin",
|
94
|
+
encrypted_login: ENV["AUTHER_ADMIN_LOGIN"],
|
95
|
+
encrypted_password: ENV["AUTHER_ADMIN_PASSWORD"],
|
96
|
+
paths: ["/admin"]
|
97
|
+
}
|
114
98
|
],
|
115
99
|
secret: ENV["AUTHER_SECRET"]
|
116
100
|
}
|
@@ -246,6 +230,24 @@ debug custom Auther settings:
|
|
246
230
|
you have customized this to something else, you might want to read the usage documentation
|
247
231
|
(mentioned above) to rebuild the authentication view/form for your specific business needs.
|
248
232
|
|
233
|
+
== Development
|
234
|
+
|
235
|
+
To contribute, run:
|
236
|
+
|
237
|
+
[source,bash]
|
238
|
+
----
|
239
|
+
git clone https://github.com/bkuhlmann/auther.git
|
240
|
+
cd auther
|
241
|
+
bin/setup
|
242
|
+
----
|
243
|
+
|
244
|
+
You can also use the IRB console for direct access to all objects:
|
245
|
+
|
246
|
+
[source,bash]
|
247
|
+
----
|
248
|
+
bin/console
|
249
|
+
----
|
250
|
+
|
249
251
|
== Tests
|
250
252
|
|
251
253
|
To test, run:
|
@@ -282,4 +284,4 @@ Read link:CHANGES.adoc[CHANGES] for details.
|
|
282
284
|
|
283
285
|
== Credits
|
284
286
|
|
285
|
-
Engineered by link:https://www.alchemists.io/team/brooke_kuhlmann
|
287
|
+
Engineered by link:https://www.alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
|
data/lib/auther/identity.rb
CHANGED
@@ -2,10 +2,12 @@
|
|
2
2
|
|
3
3
|
Rails.application.config.auther_settings = {
|
4
4
|
accounts: [
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
{
|
6
|
+
name: "admin",
|
7
|
+
encrypted_login: ENV["AUTHER_ADMIN_LOGIN"],
|
8
|
+
encrypted_password: ENV["AUTHER_ADMIN_PASSWORD"],
|
9
|
+
paths: ["/admin"]
|
10
|
+
}
|
9
11
|
],
|
10
12
|
secret: ENV["AUTHER_SECRET"]
|
11
13
|
}
|
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: auther
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 12.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain:
|
11
11
|
- |
|
@@ -28,7 +28,7 @@ cert_chain:
|
|
28
28
|
2XV8FRa7/JimI07sPLC13eLY3xd/aYTi85Z782KIA4j0G8XEEWAX0ouBhlXPocZv
|
29
29
|
QWc=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date: 2020-
|
31
|
+
date: 2020-12-30 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rails
|
@@ -45,167 +45,27 @@ dependencies:
|
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '6.0'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
|
-
name:
|
48
|
+
name: refinements
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
53
|
+
version: '8.0'
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: slim-rails
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '3.2'
|
68
|
-
type: :runtime
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - "~>"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '3.2'
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: ammeter
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - "~>"
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '1.1'
|
82
|
-
type: :development
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - "~>"
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '1.1'
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: bundler-audit
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - "~>"
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: '0.6'
|
96
|
-
type: :development
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - "~>"
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '0.6'
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: gemsmith
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - "~>"
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '14.0'
|
110
|
-
type: :development
|
111
|
-
prerelease: false
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
- - "~>"
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: '14.0'
|
60
|
+
version: '8.0'
|
117
61
|
- !ruby/object:Gem::Dependency
|
118
|
-
name:
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - "~>"
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: '4.0'
|
124
|
-
type: :development
|
125
|
-
prerelease: false
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
- - "~>"
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
version: '4.0'
|
131
|
-
- !ruby/object:Gem::Dependency
|
132
|
-
name: guard-rspec
|
133
|
-
requirement: !ruby/object:Gem::Requirement
|
134
|
-
requirements:
|
135
|
-
- - "~>"
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
version: '4.7'
|
138
|
-
type: :development
|
139
|
-
prerelease: false
|
140
|
-
version_requirements: !ruby/object:Gem::Requirement
|
141
|
-
requirements:
|
142
|
-
- - "~>"
|
143
|
-
- !ruby/object:Gem::Version
|
144
|
-
version: '4.7'
|
145
|
-
- !ruby/object:Gem::Dependency
|
146
|
-
name: pg
|
147
|
-
requirement: !ruby/object:Gem::Requirement
|
148
|
-
requirements:
|
149
|
-
- - "~>"
|
150
|
-
- !ruby/object:Gem::Version
|
151
|
-
version: '1.2'
|
152
|
-
type: :development
|
153
|
-
prerelease: false
|
154
|
-
version_requirements: !ruby/object:Gem::Requirement
|
155
|
-
requirements:
|
156
|
-
- - "~>"
|
157
|
-
- !ruby/object:Gem::Version
|
158
|
-
version: '1.2'
|
159
|
-
- !ruby/object:Gem::Dependency
|
160
|
-
name: pry
|
161
|
-
requirement: !ruby/object:Gem::Requirement
|
162
|
-
requirements:
|
163
|
-
- - "~>"
|
164
|
-
- !ruby/object:Gem::Version
|
165
|
-
version: '0.12'
|
166
|
-
type: :development
|
167
|
-
prerelease: false
|
168
|
-
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
requirements:
|
170
|
-
- - "~>"
|
171
|
-
- !ruby/object:Gem::Version
|
172
|
-
version: '0.12'
|
173
|
-
- !ruby/object:Gem::Dependency
|
174
|
-
name: pry-byebug
|
175
|
-
requirement: !ruby/object:Gem::Requirement
|
176
|
-
requirements:
|
177
|
-
- - "~>"
|
178
|
-
- !ruby/object:Gem::Version
|
179
|
-
version: '3.7'
|
180
|
-
type: :development
|
181
|
-
prerelease: false
|
182
|
-
version_requirements: !ruby/object:Gem::Requirement
|
183
|
-
requirements:
|
184
|
-
- - "~>"
|
185
|
-
- !ruby/object:Gem::Version
|
186
|
-
version: '3.7'
|
187
|
-
- !ruby/object:Gem::Dependency
|
188
|
-
name: rake
|
189
|
-
requirement: !ruby/object:Gem::Requirement
|
190
|
-
requirements:
|
191
|
-
- - "~>"
|
192
|
-
- !ruby/object:Gem::Version
|
193
|
-
version: '13.0'
|
194
|
-
type: :development
|
195
|
-
prerelease: false
|
196
|
-
version_requirements: !ruby/object:Gem::Requirement
|
197
|
-
requirements:
|
198
|
-
- - "~>"
|
199
|
-
- !ruby/object:Gem::Version
|
200
|
-
version: '13.0'
|
201
|
-
- !ruby/object:Gem::Dependency
|
202
|
-
name: reek
|
62
|
+
name: sass-rails
|
203
63
|
requirement: !ruby/object:Gem::Requirement
|
204
64
|
requirements:
|
205
65
|
- - "~>"
|
206
66
|
- !ruby/object:Gem::Version
|
207
67
|
version: '6.0'
|
208
|
-
type: :
|
68
|
+
type: :runtime
|
209
69
|
prerelease: false
|
210
70
|
version_requirements: !ruby/object:Gem::Requirement
|
211
71
|
requirements:
|
@@ -213,90 +73,20 @@ dependencies:
|
|
213
73
|
- !ruby/object:Gem::Version
|
214
74
|
version: '6.0'
|
215
75
|
- !ruby/object:Gem::Dependency
|
216
|
-
name:
|
217
|
-
requirement: !ruby/object:Gem::Requirement
|
218
|
-
requirements:
|
219
|
-
- - "~>"
|
220
|
-
- !ruby/object:Gem::Version
|
221
|
-
version: '4.0'
|
222
|
-
type: :development
|
223
|
-
prerelease: false
|
224
|
-
version_requirements: !ruby/object:Gem::Requirement
|
225
|
-
requirements:
|
226
|
-
- - "~>"
|
227
|
-
- !ruby/object:Gem::Version
|
228
|
-
version: '4.0'
|
229
|
-
- !ruby/object:Gem::Dependency
|
230
|
-
name: rubocop
|
231
|
-
requirement: !ruby/object:Gem::Requirement
|
232
|
-
requirements:
|
233
|
-
- - "~>"
|
234
|
-
- !ruby/object:Gem::Version
|
235
|
-
version: '0.79'
|
236
|
-
type: :development
|
237
|
-
prerelease: false
|
238
|
-
version_requirements: !ruby/object:Gem::Requirement
|
239
|
-
requirements:
|
240
|
-
- - "~>"
|
241
|
-
- !ruby/object:Gem::Version
|
242
|
-
version: '0.79'
|
243
|
-
- !ruby/object:Gem::Dependency
|
244
|
-
name: rubocop-performance
|
245
|
-
requirement: !ruby/object:Gem::Requirement
|
246
|
-
requirements:
|
247
|
-
- - "~>"
|
248
|
-
- !ruby/object:Gem::Version
|
249
|
-
version: '1.5'
|
250
|
-
type: :development
|
251
|
-
prerelease: false
|
252
|
-
version_requirements: !ruby/object:Gem::Requirement
|
253
|
-
requirements:
|
254
|
-
- - "~>"
|
255
|
-
- !ruby/object:Gem::Version
|
256
|
-
version: '1.5'
|
257
|
-
- !ruby/object:Gem::Dependency
|
258
|
-
name: rubocop-rake
|
259
|
-
requirement: !ruby/object:Gem::Requirement
|
260
|
-
requirements:
|
261
|
-
- - "~>"
|
262
|
-
- !ruby/object:Gem::Version
|
263
|
-
version: '0.5'
|
264
|
-
type: :development
|
265
|
-
prerelease: false
|
266
|
-
version_requirements: !ruby/object:Gem::Requirement
|
267
|
-
requirements:
|
268
|
-
- - "~>"
|
269
|
-
- !ruby/object:Gem::Version
|
270
|
-
version: '0.5'
|
271
|
-
- !ruby/object:Gem::Dependency
|
272
|
-
name: rubocop-rspec
|
273
|
-
requirement: !ruby/object:Gem::Requirement
|
274
|
-
requirements:
|
275
|
-
- - "~>"
|
276
|
-
- !ruby/object:Gem::Version
|
277
|
-
version: '1.37'
|
278
|
-
type: :development
|
279
|
-
prerelease: false
|
280
|
-
version_requirements: !ruby/object:Gem::Requirement
|
281
|
-
requirements:
|
282
|
-
- - "~>"
|
283
|
-
- !ruby/object:Gem::Version
|
284
|
-
version: '1.37'
|
285
|
-
- !ruby/object:Gem::Dependency
|
286
|
-
name: simplecov
|
76
|
+
name: slim-rails
|
287
77
|
requirement: !ruby/object:Gem::Requirement
|
288
78
|
requirements:
|
289
79
|
- - "~>"
|
290
80
|
- !ruby/object:Gem::Version
|
291
|
-
version: '
|
292
|
-
type: :
|
81
|
+
version: '3.2'
|
82
|
+
type: :runtime
|
293
83
|
prerelease: false
|
294
84
|
version_requirements: !ruby/object:Gem::Requirement
|
295
85
|
requirements:
|
296
86
|
- - "~>"
|
297
87
|
- !ruby/object:Gem::Version
|
298
|
-
version: '
|
299
|
-
description:
|
88
|
+
version: '3.2'
|
89
|
+
description:
|
300
90
|
email:
|
301
91
|
- brooke@alchemists.io
|
302
92
|
executables: []
|
@@ -336,7 +126,7 @@ metadata:
|
|
336
126
|
changelog_uri: https://www.alchemists.io/projects/auther/changes.html
|
337
127
|
documentation_uri: https://www.alchemists.io/projects/auther
|
338
128
|
source_code_uri: https://github.com/bkuhlmann/auther
|
339
|
-
post_install_message:
|
129
|
+
post_install_message:
|
340
130
|
rdoc_options: []
|
341
131
|
require_paths:
|
342
132
|
- lib
|
@@ -344,15 +134,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
344
134
|
requirements:
|
345
135
|
- - "~>"
|
346
136
|
- !ruby/object:Gem::Version
|
347
|
-
version: '
|
137
|
+
version: '3.0'
|
348
138
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
349
139
|
requirements:
|
350
140
|
- - ">="
|
351
141
|
- !ruby/object:Gem::Version
|
352
142
|
version: '0'
|
353
143
|
requirements: []
|
354
|
-
rubygems_version: 3.
|
355
|
-
signing_key:
|
144
|
+
rubygems_version: 3.2.3
|
145
|
+
signing_key:
|
356
146
|
specification_version: 4
|
357
147
|
summary: Enhances Rails with multi-account, form-based, database-less, application-wide
|
358
148
|
authentication.
|
metadata.gz.sig
CHANGED
Binary file
|