authrocket 3.6.0 → 3.7.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: de431b2bef15edef554345ec43afe09505d0c0f90be3134140c10027b2294241
4
- data.tar.gz: 5261205c00de414b7605db4c8fa0c53447b3396b2629a873259ad40bc541f27f
3
+ metadata.gz: 3c6c9c00fc890a56c43bb7bc068016f27369351625e66063101646d02c2af8ed
4
+ data.tar.gz: 476de1e3111c160015f9360fe8a018252301a44a8e046f73a39c5a65c0968b1c
5
5
  SHA512:
6
- metadata.gz: 01301c9d68626cb20f01d7afd457cbd38b84a85f172e478574519db8c59c3ae62a43730848f02bc6e60d0a318ea15e51eebff7975b114307c98294be20a23640
7
- data.tar.gz: 880b23a14673b011e9989b2dd9030a0d0af2421f908af33a6052a7eaf918ab7bd2c68213732f08e5a7881963b07a02a4a998fcb85c54bae2fd24b4cc4f73d232
6
+ metadata.gz: 8424ff6291fab0bfe14b2c24865ce13b67f69a238f9962d8ef0251b3867faa9aaf28f540b59b051e65f0aa506b4732e224524b7dbb0d97c30c2d9e2c7f151598
7
+ data.tar.gz: 3f7933b0630f747ddaafe6cf7ab19d5088a4fa8a25931220f77e259d5f8a84300c9f5c87721e3db93282643c619057545d8b12b474e98217e29a845244567cdd
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ #### 3.7.0
2
+
3
+ - Add MailingListSubscription (replaces HookState)
4
+ - Update MailingListProvider, SmtpProvider
5
+
1
6
  #### 3.6.0
2
7
 
3
8
  - Add MailingListProvider, SmtpProvider (replaces Connection)
@@ -1,3 +1,3 @@
1
1
  module AuthRocket
2
- VERSION = '3.6.0'
2
+ VERSION = '3.7.0'
3
3
  end
@@ -4,7 +4,7 @@ module AuthRocket
4
4
 
5
5
  belongs_to :realm
6
6
 
7
- attr :connection_name, :provider_type, :state
7
+ attr :provider_name, :provider_type, :state
8
8
  attr :api_endpoint, :provider_account, :valid_list_ids
9
9
 
10
10
  end
@@ -1,5 +1,5 @@
1
1
  module AuthRocket
2
- class HookState < Resource
2
+ class MailingListSubscription < Resource
3
3
  crud :all, :find, :create, :update, :delete
4
4
 
5
5
  belongs_to :hook
@@ -4,7 +4,7 @@ module AuthRocket
4
4
 
5
5
  belongs_to :realm
6
6
 
7
- attr :connection_name, :provider_type, :state
7
+ attr :provider_name, :provider_type, :state
8
8
  attr :email_from, :email_from_name
9
9
  attr :smtp_host, :smtp_password, :smtp_port, :smtp_user
10
10
 
@@ -5,7 +5,7 @@ module AuthRocket
5
5
  belongs_to :realm
6
6
  has_many :credentials
7
7
  has_many :events
8
- has_many :hook_states
8
+ has_many :mailing_list_subscriptions
9
9
  has_many :memberships
10
10
  has_many :sessions
11
11
 
data/lib/authrocket.rb CHANGED
@@ -13,10 +13,10 @@ end
13
13
  domain
14
14
  event
15
15
  hook
16
- hook_state
17
16
  invitation
18
17
  jwt_key
19
18
  mailing_list_provider
19
+ mailing_list_subscription
20
20
  membership
21
21
  named_permission
22
22
  notification
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authrocket
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.0
4
+ version: 3.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - AuthRocket Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-22 00:00:00.000000000 Z
11
+ date: 2024-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -109,10 +109,10 @@ files:
109
109
  - lib/authrocket/domain.rb
110
110
  - lib/authrocket/event.rb
111
111
  - lib/authrocket/hook.rb
112
- - lib/authrocket/hook_state.rb
113
112
  - lib/authrocket/invitation.rb
114
113
  - lib/authrocket/jwt_key.rb
115
114
  - lib/authrocket/mailing_list_provider.rb
115
+ - lib/authrocket/mailing_list_subscription.rb
116
116
  - lib/authrocket/membership.rb
117
117
  - lib/authrocket/named_permission.rb
118
118
  - lib/authrocket/notification.rb