auther 13.6.0 → 14.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 +1 -2
- data/app/models/auther/account.rb +9 -10
- data/auther.gemspec +3 -3
- data/lib/auther.rb +6 -6
- data.tar.gz.sig +0 -0
- metadata +6 -6
- 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: a986ec20b4a4be02603d4e8f897b2ea1ee6df46c4dd9423b02cb75aebe3dff9c
|
4
|
+
data.tar.gz: 7620a8e132534ead7c4aa3e8c858253f497b6a4840d949f7f6d714bd8e6b0deb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e99b0d8a323a8faf87631a00f40b10281ffc2ff9c5dca6c668454db7ed42c61158c9ab4300237a9e5d3b0633bdcf4f61e5a8e54a6c6202cf2942ae155bb1dbd6
|
7
|
+
data.tar.gz: 9b82dbc84887a402c0234c384003f09567b299d5b4be36920d2a951d52d1b895679d9499a598487097547dfa7de395c0b06358a54eaf8a0a3eb94ab5b59ce8e9
|
checksums.yaml.gz.sig
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
��
|
2
|
-
�E�7��[�!�b�i���/T���mDBI��sw�����&0�C�� �Z��� Rץzh�w(!ۈm"ֵK���v-�^��Y<N�h�sbIX��t�P�G���@��}�G��EI���<d�C�KL��uے�pw�s�Aw�߅
|
1
|
+
����$��!\����1P [6��'���a��m��m{�;0���BTZ����;Q��;zt��G�^��Z4�.J$Dlj��2���"��
|
@@ -3,17 +3,16 @@
|
|
3
3
|
require "active_model"
|
4
4
|
|
5
5
|
module Auther
|
6
|
-
ACCOUNT_ATTRIBUTES = %i[
|
7
|
-
name
|
8
|
-
encrypted_login
|
9
|
-
encrypted_password
|
10
|
-
paths
|
11
|
-
authorized_url
|
12
|
-
deauthorized_url
|
13
|
-
].freeze
|
14
|
-
|
15
6
|
# Represents an authenticatable account.
|
16
|
-
Account = Struct.new(
|
7
|
+
Account = Struct.new(
|
8
|
+
:name,
|
9
|
+
:encrypted_login,
|
10
|
+
:encrypted_password,
|
11
|
+
:paths,
|
12
|
+
:authorized_url,
|
13
|
+
:deauthorized_url,
|
14
|
+
keyword_init: true
|
15
|
+
) do
|
17
16
|
include ActiveModel::Validations
|
18
17
|
|
19
18
|
validates :name, :encrypted_login, :encrypted_password, presence: true
|
data/auther.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "auther"
|
5
|
-
spec.version = "
|
5
|
+
spec.version = "14.0.0"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
8
|
spec.homepage = "https://www.alchemists.io/projects/auther"
|
@@ -23,9 +23,9 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.signing_key = Gem.default_key_path
|
24
24
|
spec.cert_chain = [Gem.default_cert_path]
|
25
25
|
|
26
|
-
spec.required_ruby_version = "~> 3.
|
26
|
+
spec.required_ruby_version = "~> 3.2"
|
27
27
|
spec.add_dependency "rails", "~> 7.0"
|
28
|
-
spec.add_dependency "refinements", "~>
|
28
|
+
spec.add_dependency "refinements", "~> 10.0"
|
29
29
|
spec.add_dependency "sass-rails", "~> 6.0"
|
30
30
|
spec.add_dependency "slim-rails", "~> 3.5"
|
31
31
|
|
data/lib/auther.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "slim-rails"
|
4
|
-
require "auther/settings"
|
5
|
-
require "auther/null_logger"
|
6
|
-
require "auther/cipher"
|
7
3
|
require "auther/authenticator"
|
8
|
-
require "auther/
|
9
|
-
require "auther/gatekeeper"
|
4
|
+
require "auther/cipher"
|
10
5
|
require "auther/engine"
|
6
|
+
require "auther/gatekeeper"
|
7
|
+
require "auther/keymaster"
|
8
|
+
require "auther/null_logger"
|
9
|
+
require "auther/settings"
|
10
|
+
require "slim-rails"
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: auther
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 14.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -28,7 +28,7 @@ cert_chain:
|
|
28
28
|
CxDe2+VuChj4I1nvIHdu+E6XoEVlanUPKmSg6nddhkKn2gC45Kyzh6FZqnzH/CRp
|
29
29
|
RFE=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date: 2022-
|
31
|
+
date: 2022-12-26 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rails
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
53
|
+
version: '10.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: '
|
60
|
+
version: '10.0'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: sass-rails
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -137,14 +137,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
137
137
|
requirements:
|
138
138
|
- - "~>"
|
139
139
|
- !ruby/object:Gem::Version
|
140
|
-
version: '3.
|
140
|
+
version: '3.2'
|
141
141
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - ">="
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0'
|
146
146
|
requirements: []
|
147
|
-
rubygems_version: 3.3.
|
147
|
+
rubygems_version: 3.3.26
|
148
148
|
signing_key:
|
149
149
|
specification_version: 4
|
150
150
|
summary: Enhances Rails with multi-account, form-based, database-less, application-wide
|
metadata.gz.sig
CHANGED
Binary file
|