revise_auth 0.8.0 → 0.8.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
- data/lib/revise_auth/version.rb +1 -1
- data/lib/revise_auth.rb +11 -6
- metadata +3 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 79aa6971d3ef0baa6c9100c6442f4de75c35f37b537b0e2a0455f44d839d2d70
|
|
4
|
+
data.tar.gz: 16d9e92024262b4d0afda327b787f6f68f0649912b4f6ab4289e252c24ecd4b2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a58172f8b5c0732c23512853edd2e71afa84d91dea4f32c168ac57f7dca59a4b5122aff06148caf52fc599d177253e034f5e26cbc26c6187d2e6d73205022844
|
|
7
|
+
data.tar.gz: cd7b8de9f806913bf8e1e1c0357982b27538f6508ae8c608f3827ae6bc24e8dd8df7d95cc9c0ecc8e1f9141af42e529eee9f3f1ce5201e4828fe8c0f5c33fe7c
|
data/lib/revise_auth/version.rb
CHANGED
data/lib/revise_auth.rb
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
require "active_support"
|
|
2
|
+
require "active_support/core_ext"
|
|
3
|
+
|
|
1
4
|
require "revise_auth/version"
|
|
2
5
|
require "revise_auth/engine"
|
|
3
6
|
require "revise_auth/routes"
|
|
4
7
|
|
|
5
8
|
module ReviseAuth
|
|
6
|
-
include ActiveSupport::Configurable
|
|
7
|
-
|
|
8
9
|
autoload :Authentication, "revise_auth/authentication"
|
|
9
10
|
autoload :Current, "revise_auth/current"
|
|
10
11
|
autoload :Model, "revise_auth/model"
|
|
@@ -14,8 +15,12 @@ module ReviseAuth
|
|
|
14
15
|
autoload :Helpers, "revise_auth/test/helpers"
|
|
15
16
|
end
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
def self.configure
|
|
19
|
+
yield self
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
mattr_accessor :sign_up_params, default: [:email, :password, :password_confirmation]
|
|
23
|
+
mattr_accessor :update_params, default: []
|
|
24
|
+
mattr_accessor :minimum_password_length, default: 12
|
|
25
|
+
mattr_accessor :login_rate_limit, default: {to: 10, within: 3.minutes, only: :create}
|
|
21
26
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: revise_auth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Oliver
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: rails
|
|
@@ -94,7 +93,6 @@ metadata:
|
|
|
94
93
|
homepage_uri: https://github.com/excid3/revise_auth
|
|
95
94
|
source_code_uri: https://github.com/excid3/revise_auth
|
|
96
95
|
changelog_uri: https://github.com/excid3/revise_auth/blob/main/CHANGELOG.md
|
|
97
|
-
post_install_message:
|
|
98
96
|
rdoc_options: []
|
|
99
97
|
require_paths:
|
|
100
98
|
- lib
|
|
@@ -109,8 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
109
107
|
- !ruby/object:Gem::Version
|
|
110
108
|
version: '0'
|
|
111
109
|
requirements: []
|
|
112
|
-
rubygems_version:
|
|
113
|
-
signing_key:
|
|
110
|
+
rubygems_version: 4.0.11
|
|
114
111
|
specification_version: 4
|
|
115
112
|
summary: Simple authentication for Ruby on Rails apps
|
|
116
113
|
test_files: []
|