active_webhook 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.env.sample +1 -0
- data/.gitignore +63 -0
- data/.rspec +4 -0
- data/.rubocop.yml +86 -0
- data/.todo +48 -0
- data/.travis.yml +14 -0
- data/CHANGELOG.md +5 -0
- data/DEV_README.md +199 -0
- data/Gemfile +8 -0
- data/LICENSE.txt +21 -0
- data/README.md +483 -0
- data/Rakefile +23 -0
- data/active_webhook.gemspec +75 -0
- data/config/environment.rb +33 -0
- data/lib/active_webhook.rb +125 -0
- data/lib/active_webhook/adapter.rb +117 -0
- data/lib/active_webhook/callbacks.rb +53 -0
- data/lib/active_webhook/configuration.rb +105 -0
- data/lib/active_webhook/delivery/base_adapter.rb +96 -0
- data/lib/active_webhook/delivery/configuration.rb +16 -0
- data/lib/active_webhook/delivery/faraday_adapter.rb +19 -0
- data/lib/active_webhook/delivery/net_http_adapter.rb +28 -0
- data/lib/active_webhook/error_log.rb +7 -0
- data/lib/active_webhook/formatting/base_adapter.rb +109 -0
- data/lib/active_webhook/formatting/configuration.rb +18 -0
- data/lib/active_webhook/formatting/json_adapter.rb +19 -0
- data/lib/active_webhook/formatting/url_encoded_adapter.rb +28 -0
- data/lib/active_webhook/hook.rb +9 -0
- data/lib/active_webhook/logger.rb +21 -0
- data/lib/active_webhook/models/configuration.rb +18 -0
- data/lib/active_webhook/models/error_log_additions.rb +15 -0
- data/lib/active_webhook/models/subscription_additions.rb +72 -0
- data/lib/active_webhook/models/topic_additions.rb +70 -0
- data/lib/active_webhook/queueing/active_job_adapter.rb +43 -0
- data/lib/active_webhook/queueing/base_adapter.rb +67 -0
- data/lib/active_webhook/queueing/configuration.rb +15 -0
- data/lib/active_webhook/queueing/delayed_job_adapter.rb +28 -0
- data/lib/active_webhook/queueing/sidekiq_adapter.rb +43 -0
- data/lib/active_webhook/queueing/syncronous_adapter.rb +14 -0
- data/lib/active_webhook/subscription.rb +7 -0
- data/lib/active_webhook/topic.rb +7 -0
- data/lib/active_webhook/verification/base_adapter.rb +31 -0
- data/lib/active_webhook/verification/configuration.rb +13 -0
- data/lib/active_webhook/verification/hmac_sha256_adapter.rb +20 -0
- data/lib/active_webhook/verification/unsigned_adapter.rb +11 -0
- data/lib/active_webhook/version.rb +5 -0
- data/lib/generators/install_generator.rb +20 -0
- data/lib/generators/migrations_generator.rb +24 -0
- data/lib/generators/templates/20210618023338_create_active_webhook_tables.rb +31 -0
- data/lib/generators/templates/active_webhook_config.rb +87 -0
- metadata +447 -0
@@ -0,0 +1,31 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
class CreateActiveWebhookTables < ActiveRecord::Migration[4.2]
|
4
|
+
def change
|
5
|
+
create_table :active_webhook_subscriptions do |t|
|
6
|
+
t.references :topic, class: :active_webhook_topic
|
7
|
+
t.text :callback_url
|
8
|
+
t.text :shared_secret
|
9
|
+
t.datetime :disabled_at
|
10
|
+
t.string :disabled_reason
|
11
|
+
|
12
|
+
t.timestamps
|
13
|
+
end
|
14
|
+
|
15
|
+
create_table :active_webhook_topics do |t|
|
16
|
+
t.string :key
|
17
|
+
t.string :version
|
18
|
+
t.datetime :disabled_at
|
19
|
+
t.string :disabled_reason
|
20
|
+
|
21
|
+
t.timestamps
|
22
|
+
end
|
23
|
+
|
24
|
+
create_table :active_webhook_error_logs do |t|
|
25
|
+
t.references :subscription, class: :active_webhook_subscription
|
26
|
+
t.string :job_id
|
27
|
+
|
28
|
+
t.timestamps
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,87 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "active_webhook"
|
4
|
+
|
5
|
+
ApplicationRecord.include ActiveWebhook::Callbacks
|
6
|
+
|
7
|
+
ActiveWebhook.configure do |c|
|
8
|
+
# Inject your Rails Application name into all custom headers for outgoing webhooks
|
9
|
+
# c.custom_header_prefix = Rails.application.class.to_s.split("::").first
|
10
|
+
|
11
|
+
# Specify a custom origin name to use for x-Domain header in outgoing webhooks
|
12
|
+
# c.origin = 'http://'
|
13
|
+
|
14
|
+
# Format the payload BEFORE queuing for delivery.
|
15
|
+
# Helpful when queuing delay is problematic, but comes with the trade of poor performance profile.
|
16
|
+
# c.formatting.format_first = true # << one of: [true, false]
|
17
|
+
|
18
|
+
# Base class for Active Webhook Models (Subscription & Topic)
|
19
|
+
# c.model_base_class = ApplicationRecord
|
20
|
+
|
21
|
+
# --------------------------------------------------------------------------------------------------------------
|
22
|
+
|
23
|
+
# !!! IMPORTANT !!!
|
24
|
+
#
|
25
|
+
# YOU WILL NEED INSTALL AND CONFIGURE ALL DEPENDENCIES OF THE ADAPTERS THAT YOU USE.
|
26
|
+
#
|
27
|
+
# Active Webhook does not register official dependencies for any of the
|
28
|
+
# gems required by the various adapters (so as to not bloat your application with
|
29
|
+
# unused/incompatible gems). This means that you will have to manually install and
|
30
|
+
# configure all gems required by the adapters that you use (via command line or
|
31
|
+
# Bundler).
|
32
|
+
#
|
33
|
+
# For example, to activate the [sidekiq](https://github.com/mperham/sidekiq)
|
34
|
+
# queuing adapter:
|
35
|
+
#
|
36
|
+
# ```ruby
|
37
|
+
# # in config/active_webhook.rb
|
38
|
+
#
|
39
|
+
# require "active_webhook"
|
40
|
+
#
|
41
|
+
# ActiveWebhook.configure do |config|
|
42
|
+
# config.queue_adapter = :sidekiq
|
43
|
+
# end
|
44
|
+
# ```
|
45
|
+
#
|
46
|
+
# ```ruby
|
47
|
+
# # in Gemfile
|
48
|
+
#
|
49
|
+
# gem "sidekiq"
|
50
|
+
# ```
|
51
|
+
# --------------------------------------------------------------------------------------------------------------
|
52
|
+
|
53
|
+
# Queue asynchronous delivery with active_job.
|
54
|
+
# c.adapters.queueing = :active_job # << one of: [:sidekiq, :active_job, :syncronous]
|
55
|
+
|
56
|
+
# Deliver the payload with Faraday.
|
57
|
+
# c.adapters.delivery = :faraday # << one of: [:net_http, :faraday]
|
58
|
+
|
59
|
+
# Sign the payload with HMAC_SHA256.
|
60
|
+
# c.adapters.verification = :hmac_sha256 # << one of: [:hmac_sha256]
|
61
|
+
|
62
|
+
# Serialize the payload as json.
|
63
|
+
# c.adapters.formatting = :json # << one of: [:json]
|
64
|
+
|
65
|
+
# --------------------------------------------------------------------------------------------------------------
|
66
|
+
|
67
|
+
# Note: For extensibility, all adaptors also accept an object (or Proc) that implements `call(**kwargs)`.
|
68
|
+
#
|
69
|
+
# Queue asynchronous delivery with custom adapter.
|
70
|
+
# c.adapters.queueing = Class.new do
|
71
|
+
# def self.call(subscription_id:, **context) do
|
72
|
+
# # ... cause `ActiveWebhook.fulfill_delivery(subscription_id:, payload:, **context)` to be called at a later date
|
73
|
+
# end
|
74
|
+
#
|
75
|
+
# - or -
|
76
|
+
#
|
77
|
+
# c.adapters.queueing = ->(subscription_id:, **context) do
|
78
|
+
# # ... cause `ActiveWebhook.fulfill_delivery(subscription_id:, payload:, **context)` to be called at a later date
|
79
|
+
# end
|
80
|
+
#
|
81
|
+
# For more information, see the files located at:
|
82
|
+
#
|
83
|
+
# - (lib/active_webhook/queueing)[https://github.com/amazing-jay/active_webhook/tree/master/lib/active_webhook/queueing]
|
84
|
+
# - (lib/active_webhook/delivery)[https://github.com/amazing-jay/active_webhook/tree/master/lib/active_webhook/delivery]
|
85
|
+
# - (lib/active_webhook/verification)[https://github.com/amazing-jay/active_webhook/tree/master/lib/active_webhook/verification]
|
86
|
+
# - (lib/active_webhook/formatting)[https://github.com/amazing-jay/active_webhook/tree/master/lib/active_webhook/formatting]
|
87
|
+
end
|
metadata
ADDED
@@ -0,0 +1,447 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: active_webhook
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jay Crouch
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-07-02 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: activerecord
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 5.0.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 5.0.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: memoist
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: awesome_print
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.9.2
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.9.2
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.17'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.17'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: database_cleaner
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 2.0.1
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 2.0.1
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: delayed_job_active_record
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 4.1.6
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 4.1.6
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: dotenv
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '2.5'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '2.5'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: factory_bot
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 6.2.0
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 6.2.0
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: faker
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '2.18'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '2.18'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: faraday
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 1.4.2
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 1.4.2
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: listen
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 3.5.1
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 3.5.1
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: pry-byebug
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '3.9'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '3.9'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: rails
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: 6.1.3.2
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: 6.1.3.2
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: rake
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '10.0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '10.0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: rspec
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - "~>"
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '3.0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - "~>"
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '3.0'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: rspec-rails
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - "~>"
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: 5.0.1
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - "~>"
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: 5.0.1
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: rubocop
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - "~>"
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0.60'
|
244
|
+
type: :development
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - "~>"
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0.60'
|
251
|
+
- !ruby/object:Gem::Dependency
|
252
|
+
name: rubocop-performance
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - "~>"
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '1.5'
|
258
|
+
type: :development
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - "~>"
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '1.5'
|
265
|
+
- !ruby/object:Gem::Dependency
|
266
|
+
name: rubocop-rspec
|
267
|
+
requirement: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - "~>"
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: '1.37'
|
272
|
+
type: :development
|
273
|
+
prerelease: false
|
274
|
+
version_requirements: !ruby/object:Gem::Requirement
|
275
|
+
requirements:
|
276
|
+
- - "~>"
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: '1.37'
|
279
|
+
- !ruby/object:Gem::Dependency
|
280
|
+
name: codecov
|
281
|
+
requirement: !ruby/object:Gem::Requirement
|
282
|
+
requirements:
|
283
|
+
- - "~>"
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: 0.5.2
|
286
|
+
type: :development
|
287
|
+
prerelease: false
|
288
|
+
version_requirements: !ruby/object:Gem::Requirement
|
289
|
+
requirements:
|
290
|
+
- - "~>"
|
291
|
+
- !ruby/object:Gem::Version
|
292
|
+
version: 0.5.2
|
293
|
+
- !ruby/object:Gem::Dependency
|
294
|
+
name: simplecov
|
295
|
+
requirement: !ruby/object:Gem::Requirement
|
296
|
+
requirements:
|
297
|
+
- - "~>"
|
298
|
+
- !ruby/object:Gem::Version
|
299
|
+
version: '0.16'
|
300
|
+
type: :development
|
301
|
+
prerelease: false
|
302
|
+
version_requirements: !ruby/object:Gem::Requirement
|
303
|
+
requirements:
|
304
|
+
- - "~>"
|
305
|
+
- !ruby/object:Gem::Version
|
306
|
+
version: '0.16'
|
307
|
+
- !ruby/object:Gem::Dependency
|
308
|
+
name: sqlite3
|
309
|
+
requirement: !ruby/object:Gem::Requirement
|
310
|
+
requirements:
|
311
|
+
- - "~>"
|
312
|
+
- !ruby/object:Gem::Version
|
313
|
+
version: 1.4.2
|
314
|
+
type: :development
|
315
|
+
prerelease: false
|
316
|
+
version_requirements: !ruby/object:Gem::Requirement
|
317
|
+
requirements:
|
318
|
+
- - "~>"
|
319
|
+
- !ruby/object:Gem::Version
|
320
|
+
version: 1.4.2
|
321
|
+
- !ruby/object:Gem::Dependency
|
322
|
+
name: sidekiq
|
323
|
+
requirement: !ruby/object:Gem::Requirement
|
324
|
+
requirements:
|
325
|
+
- - "~>"
|
326
|
+
- !ruby/object:Gem::Version
|
327
|
+
version: 6.2.1
|
328
|
+
type: :development
|
329
|
+
prerelease: false
|
330
|
+
version_requirements: !ruby/object:Gem::Requirement
|
331
|
+
requirements:
|
332
|
+
- - "~>"
|
333
|
+
- !ruby/object:Gem::Version
|
334
|
+
version: 6.2.1
|
335
|
+
- !ruby/object:Gem::Dependency
|
336
|
+
name: rspec-sidekiq
|
337
|
+
requirement: !ruby/object:Gem::Requirement
|
338
|
+
requirements:
|
339
|
+
- - "~>"
|
340
|
+
- !ruby/object:Gem::Version
|
341
|
+
version: 3.1.0
|
342
|
+
type: :development
|
343
|
+
prerelease: false
|
344
|
+
version_requirements: !ruby/object:Gem::Requirement
|
345
|
+
requirements:
|
346
|
+
- - "~>"
|
347
|
+
- !ruby/object:Gem::Version
|
348
|
+
version: 3.1.0
|
349
|
+
- !ruby/object:Gem::Dependency
|
350
|
+
name: webmock
|
351
|
+
requirement: !ruby/object:Gem::Requirement
|
352
|
+
requirements:
|
353
|
+
- - "~>"
|
354
|
+
- !ruby/object:Gem::Version
|
355
|
+
version: '3.13'
|
356
|
+
type: :development
|
357
|
+
prerelease: false
|
358
|
+
version_requirements: !ruby/object:Gem::Requirement
|
359
|
+
requirements:
|
360
|
+
- - "~>"
|
361
|
+
- !ruby/object:Gem::Version
|
362
|
+
version: '3.13'
|
363
|
+
description: 'Simple, efficient, and extensible webhooks for Ruby, including: Rate
|
364
|
+
Limits, Cryptographic Signatures, Asynchronous Delivery, Buffered Delivery, Versioning.'
|
365
|
+
email:
|
366
|
+
- i.jaycrouch@gmail.com
|
367
|
+
executables: []
|
368
|
+
extensions: []
|
369
|
+
extra_rdoc_files: []
|
370
|
+
files:
|
371
|
+
- ".env.sample"
|
372
|
+
- ".gitignore"
|
373
|
+
- ".rspec"
|
374
|
+
- ".rubocop.yml"
|
375
|
+
- ".todo"
|
376
|
+
- ".travis.yml"
|
377
|
+
- CHANGELOG.md
|
378
|
+
- DEV_README.md
|
379
|
+
- Gemfile
|
380
|
+
- LICENSE.txt
|
381
|
+
- README.md
|
382
|
+
- Rakefile
|
383
|
+
- active_webhook.gemspec
|
384
|
+
- config/environment.rb
|
385
|
+
- lib/active_webhook.rb
|
386
|
+
- lib/active_webhook/adapter.rb
|
387
|
+
- lib/active_webhook/callbacks.rb
|
388
|
+
- lib/active_webhook/configuration.rb
|
389
|
+
- lib/active_webhook/delivery/base_adapter.rb
|
390
|
+
- lib/active_webhook/delivery/configuration.rb
|
391
|
+
- lib/active_webhook/delivery/faraday_adapter.rb
|
392
|
+
- lib/active_webhook/delivery/net_http_adapter.rb
|
393
|
+
- lib/active_webhook/error_log.rb
|
394
|
+
- lib/active_webhook/formatting/base_adapter.rb
|
395
|
+
- lib/active_webhook/formatting/configuration.rb
|
396
|
+
- lib/active_webhook/formatting/json_adapter.rb
|
397
|
+
- lib/active_webhook/formatting/url_encoded_adapter.rb
|
398
|
+
- lib/active_webhook/hook.rb
|
399
|
+
- lib/active_webhook/logger.rb
|
400
|
+
- lib/active_webhook/models/configuration.rb
|
401
|
+
- lib/active_webhook/models/error_log_additions.rb
|
402
|
+
- lib/active_webhook/models/subscription_additions.rb
|
403
|
+
- lib/active_webhook/models/topic_additions.rb
|
404
|
+
- lib/active_webhook/queueing/active_job_adapter.rb
|
405
|
+
- lib/active_webhook/queueing/base_adapter.rb
|
406
|
+
- lib/active_webhook/queueing/configuration.rb
|
407
|
+
- lib/active_webhook/queueing/delayed_job_adapter.rb
|
408
|
+
- lib/active_webhook/queueing/sidekiq_adapter.rb
|
409
|
+
- lib/active_webhook/queueing/syncronous_adapter.rb
|
410
|
+
- lib/active_webhook/subscription.rb
|
411
|
+
- lib/active_webhook/topic.rb
|
412
|
+
- lib/active_webhook/verification/base_adapter.rb
|
413
|
+
- lib/active_webhook/verification/configuration.rb
|
414
|
+
- lib/active_webhook/verification/hmac_sha256_adapter.rb
|
415
|
+
- lib/active_webhook/verification/unsigned_adapter.rb
|
416
|
+
- lib/active_webhook/version.rb
|
417
|
+
- lib/generators/install_generator.rb
|
418
|
+
- lib/generators/migrations_generator.rb
|
419
|
+
- lib/generators/templates/20210618023338_create_active_webhook_tables.rb
|
420
|
+
- lib/generators/templates/active_webhook_config.rb
|
421
|
+
homepage: https://github.com/amazing-jay/active_webhook
|
422
|
+
licenses:
|
423
|
+
- MIT
|
424
|
+
metadata:
|
425
|
+
homepage_uri: https://github.com/amazing-jay/active_webhook
|
426
|
+
source_code_uri: https://github.com/amazing-jay/active_webhook
|
427
|
+
changelog_uri: https://github.com/amazing-jay/active_webhook/master/tree/CHANGELOG.md.
|
428
|
+
post_install_message:
|
429
|
+
rdoc_options: []
|
430
|
+
require_paths:
|
431
|
+
- lib
|
432
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
433
|
+
requirements:
|
434
|
+
- - ">="
|
435
|
+
- !ruby/object:Gem::Version
|
436
|
+
version: '2.5'
|
437
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
438
|
+
requirements:
|
439
|
+
- - ">="
|
440
|
+
- !ruby/object:Gem::Version
|
441
|
+
version: '0'
|
442
|
+
requirements: []
|
443
|
+
rubygems_version: 3.0.9
|
444
|
+
signing_key:
|
445
|
+
specification_version: 4
|
446
|
+
summary: Simple, efficient, and extensible webhooks for Ruby.
|
447
|
+
test_files: []
|