emailbutler 0.7.2 → 0.7.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 38f01cada60bc61027e918007e400a162c4967582ce229dacd76126ee174fe57
4
- data.tar.gz: d88f440f59faabcfe46731d82b148d49c53a4a7e4e1a63619063b3e25d6f9d78
3
+ metadata.gz: ef900f1f3d6550c31563aa1786d11ff7d43ba7ebd1a08096c9843e16d301c379
4
+ data.tar.gz: 417d37e8361f7c9b3c1349c12cf2a2d5660a34f48399c16de1b29310218e8a8c
5
5
  SHA512:
6
- metadata.gz: c1eec6d808d55c4ee327b23cf271c675791cfe649d0c7bc7ae4b581887bd3f431e21e2a3dca0f6ed433a8ea888b3f39b735d4ed7c40f91f21d96dbf996da6ee8
7
- data.tar.gz: 4e76c5459db5e9e4c951277bbbe47e19c1a9b942b5134f9c379e8003ca2a630e241094e5bd8b3ccd678733f8743315cf0f02ba7676de1f836fc2dfcd375c9303
6
+ metadata.gz: b6e8ca309d2ea6c963ff77ba0ac7a53a37ff3d15ee3676dce5955b9a5f990fa321204a7591c89ceca7d8568b7a0bd803c0584ce4143325267b8a45b41181f306
7
+ data.tar.gz: 7ab54082c35081dd7fc7ed195e18fe39b561514ed325a4b9ef7bb8037d64597e3c3fa31e9160fec5e1bbf67cee53931468ad338c37db381027516f862bd16dd4
data/README.md CHANGED
@@ -11,6 +11,7 @@ Emailbutler allows you to monitor the sending of letters, collects notifications
11
11
  Add this line to your application's Gemfile:
12
12
  ```ruby
13
13
  gem 'emailbutler'
14
+ gem 'pagy'
14
15
  ```
15
16
 
16
17
  And then execute:
@@ -36,7 +37,6 @@ Emailbutler.configure do |config|
36
37
  config.ui_username = 'username'
37
38
  config.ui_password = 'password'
38
39
  config.ui_secured_environments = ['production']
39
- config.skip_before_actions = %i[verify_authenticity_token]
40
40
  end
41
41
  ```
42
42
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Emailbutler
4
- class ApplicationController < ApplicationController
4
+ class ApplicationController < ActionController::Base
5
5
  end
6
6
  end
@@ -2,8 +2,6 @@
2
2
 
3
3
  module Emailbutler
4
4
  class WebhooksController < Emailbutler::ApplicationController
5
- skip_before_action(*Emailbutler.configuration.skip_before_actions)
6
-
7
5
  def create
8
6
  ::Emailbutler::Webhooks::Receiver.call(
9
7
  user_agent: request.headers['HTTP_USER_AGENT'],
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Emailbutler
4
4
  class Configuration
5
- attr_accessor :adapter, :ui_username, :ui_password, :ui_secured_environments, :skip_before_actions
5
+ attr_accessor :adapter, :ui_username, :ui_password, :ui_secured_environments
6
6
 
7
7
  def initialize
8
8
  @adapter = nil
@@ -12,9 +12,6 @@ module Emailbutler
12
12
  @ui_password = ''
13
13
  # Secured environments variable must directly contains environment names
14
14
  @ui_secured_environments = []
15
-
16
- # Skip before_actions from your ApplicationController
17
- @skip_before_actions = %i[verify_authenticity_token]
18
15
  end
19
16
  end
20
17
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Emailbutler
4
- VERSION = '0.7.2'
4
+ VERSION = '0.7.3'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emailbutler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bogdanov Anton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-08 00:00:00.000000000 Z
11
+ date: 2023-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pagy