flipper-notifications 0.1.1 → 0.1.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b71d1668359547c3c1d17f429cfc61e7b62dcb432d3604033ba3220ca4a6cca
|
4
|
+
data.tar.gz: 7ddfe94a172c6d34d284007c2f03d8a5cdc708f0d12f5a4080bcceb330812f71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c7cf8e3df4bccb63418d809f47dbdf4a4baf1e3987aea467cdceb9e529996ed684df75250040a63223f7523eaa733de8556091f4a4a8e4c926f470f9604b40e
|
7
|
+
data.tar.gz: b53ecf93c6bdad21da923f939e99428f91fcfdc398f1b82743e97576a262bc863eae96fdfed93fd820845d7db06768b80e102657830e9321b53f442ae42176e9
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
flipper-notifications (0.1.
|
4
|
+
flipper-notifications (0.1.2)
|
5
5
|
activesupport (~> 7.0)
|
6
6
|
flipper (~> 0.24)
|
7
7
|
httparty (~> 0.17)
|
@@ -34,8 +34,8 @@ GEM
|
|
34
34
|
globalid (1.0.0)
|
35
35
|
activesupport (>= 5.0)
|
36
36
|
hashdiff (1.0.1)
|
37
|
-
httparty (0.
|
38
|
-
|
37
|
+
httparty (0.21.0)
|
38
|
+
mini_mime (>= 1.0.0)
|
39
39
|
multi_xml (>= 0.5.2)
|
40
40
|
i18n (1.12.0)
|
41
41
|
concurrent-ruby (~> 1.0)
|
@@ -43,9 +43,7 @@ GEM
|
|
43
43
|
irb (1.6.2)
|
44
44
|
reline (>= 0.3.0)
|
45
45
|
json (2.6.3)
|
46
|
-
|
47
|
-
mime-types-data (~> 3.2015)
|
48
|
-
mime-types-data (3.2022.0105)
|
46
|
+
mini_mime (1.1.2)
|
49
47
|
minitest (5.16.3)
|
50
48
|
multi_xml (0.6.0)
|
51
49
|
parallel (1.22.1)
|
data/README.md
CHANGED
@@ -48,7 +48,7 @@ Flipper::Notifications.configure do |config|
|
|
48
48
|
slack_webhook = Flipper::Notifications::Webhooks::Slack.new(url: ENV.fetch("SLACK_WEBHOOK_URL"))
|
49
49
|
|
50
50
|
config.notifiers = [
|
51
|
-
Flipper::Notifications::Notifiers::WebhookNotifier.new(webhook:
|
51
|
+
Flipper::Notifications::Notifiers::WebhookNotifier.new(webhook: slack_webhook)
|
52
52
|
]
|
53
53
|
end
|
54
54
|
```
|
@@ -7,6 +7,10 @@ module Flipper
|
|
7
7
|
module Notifications
|
8
8
|
class WebhookNotificationJob < ActiveJob::Base
|
9
9
|
|
10
|
+
def self.disable_sidekiq_retries
|
11
|
+
sidekiq_options(retry: 0) if respond_to?(:sidekiq_options)
|
12
|
+
end
|
13
|
+
|
10
14
|
# TODO: Pull queue from configuration?
|
11
15
|
# queue_as :low
|
12
16
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flipper-notifications
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel Lubrano
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|