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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52597acc83703dc9980cc624ca93537603cabb0a0fb75ce0f89b1861caf03807
4
- data.tar.gz: f2bec039a1b623cd5bd85fbcc53fcaa547de3cc32b5b0d7ebb4fc78e9b38cf6d
3
+ metadata.gz: a986ec20b4a4be02603d4e8f897b2ea1ee6df46c4dd9423b02cb75aebe3dff9c
4
+ data.tar.gz: 7620a8e132534ead7c4aa3e8c858253f497b6a4840d949f7f6d714bd8e6b0deb
5
5
  SHA512:
6
- metadata.gz: 5eb06f0ac0e7f99a36bd48841b607205c559143acce2e3c00026e2fcbbc3286ee4418d867ad94487dfe424d0c473bad786d2e018dd6d3946e509f3aabd7fc18c
7
- data.tar.gz: 4d72654d155a39d0424ef750e1a2056f3d9a8b0b82f46180983e1254eb87c3c4402d231d12be66ab43230c4440ba8141cadc2d4f210e6d080b423507b4d2162f
6
+ metadata.gz: e99b0d8a323a8faf87631a00f40b10281ffc2ff9c5dca6c668454db7ed42c61158c9ab4300237a9e5d3b0633bdcf4f61e5a8e54a6c6202cf2942ae155bb1dbd6
7
+ data.tar.gz: 9b82dbc84887a402c0234c384003f09567b299d5b4be36920d2a951d52d1b895679d9499a598487097547dfa7de395c0b06358a54eaf8a0a3eb94ab5b59ce8e9
checksums.yaml.gz.sig CHANGED
@@ -1,2 +1 @@
1
- ��4�_&��?�z,��4��0q�ҹǸ���M���&4 ��P��F��h�C�;<u�D�d���)���焫�u0:��%�MӜ=�Z�o�UK���i�e�ADE
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(*ACCOUNT_ATTRIBUTES, keyword_init: true) do
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 = "13.6.0"
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.1"
26
+ spec.required_ruby_version = "~> 3.2"
27
27
  spec.add_dependency "rails", "~> 7.0"
28
- spec.add_dependency "refinements", "~> 9.7"
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/keymaster"
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: 13.6.0
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-10-22 00:00:00.000000000 Z
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: '9.7'
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: '9.7'
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.1'
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.24
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