webhook_system 2.1.6 → 2.2.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: 428ebdafe157c314eb2426f47c9a04ab236dc6261b7ab469ddbbee5ff86fdf87
4
- data.tar.gz: 22dc65660838f49875cdefb303e7ef783e97e53931c9ad889e20a3954bb22000
3
+ metadata.gz: a70d2874b3a9be03c3c1c99c39a2aafd7c84a3df03204ca2c97bc94bba2da812
4
+ data.tar.gz: 7d3aa6e608f9fc0d650fd0a9562d2055deb77906b26d99284f25927cb13920a2
5
5
  SHA512:
6
- metadata.gz: da4e60ad66ac25c63eff52f51f8e46f3fc0a1087b9f4ff5e355290cefe3d6003853666cf3a92db84f2dcd1f1ec3efb47d559d31819afb16548b14223e2b58b66
7
- data.tar.gz: f4ace79d2aa3f3b63492f7220f27f03a7dc5af3b49e503197b6f98f9ac8648ea28ac08d2e794c521fc80910391ddb77cc3baea275d33b41ac1e17ac45f35469c
6
+ metadata.gz: afd6da24afebdb56a4549b567feed01ab0e23f6f7e172202017101748aa272cf2ce553b60493a46fddef38516766cfbc40333404eb26ef9594b88ffb06da68ee
7
+ data.tar.gz: be103c12b745ce57f92fc1be610866d4e702c09472e84e467fc4214219a14ca506cd06358d445f3635f45b20bc568768ea1d84d85ea200c7255598b1ed3367be
@@ -1,8 +1,42 @@
1
1
  # Change Log
2
2
 
3
+ ## [v2.2.0](https://github.com/payrollhero/webhook_system/tree/v2.2.0) (2019-11-07)
4
+ [Full Changelog](https://github.com/payrollhero/webhook_system/compare/v2.1.6...v2.2.0)
5
+
6
+ * Syntatic sugar: simple dispatch call to also build the event object
7
+
8
+ ## [v2.1.6](https://github.com/payrollhero/webhook_system/tree/v2.1.6) (2019-07-26)
9
+ [Full Changelog](https://github.com/payrollhero/webhook_system/compare/v2.1.5...v2.1.6)
10
+
11
+ * add account info to error message
12
+
13
+ ## [v2.1.5](https://github.com/payrollhero/webhook_system/tree/v2.1.5) (2019-07-24)
14
+ [Full Changelog](https://github.com/payrollhero/webhook_system/compare/v2.1.4...v2.1.5)
15
+
16
+ * response body error message in exception
17
+
18
+ ## [v2.1.4](https://github.com/payrollhero/webhook_system/tree/v2.1.4) (2019-05-10)
19
+ [Full Changelog](https://github.com/payrollhero/webhook_system/compare/v2.1.3...v2.1.4)
20
+
21
+ * Make URL display in Exception message
22
+ * Make tests pass again
23
+ * Small typo fix by Heath Attig, thank you
24
+
25
+ ## [v2.1.3](https://github.com/payrollhero/webhook_system/tree/v2.1.3) (2017-12-06)
26
+ [Full Changelog](https://github.com/payrollhero/webhook_system/compare/v2.1.2...v2.1.3)
27
+
28
+ by Ron
29
+
30
+ ## [v2.1.2](https://github.com/payrollhero/webhook_system/tree/v2.1.2) (2017-01-24)
31
+ [Full Changelog](https://github.com/payrollhero/webhook_system/compare/v2.1.1...v2.1.2)
32
+
33
+ by Piotr
34
+
3
35
  ## [v2.1.1](https://github.com/payrollhero/webhook_system/tree/v2.1.1) (2016-12-20)
4
36
  [Full Changelog](https://github.com/payrollhero/webhook_system/compare/v2.1.0...v2.1.1)
5
37
 
38
+ by Piotr
39
+
6
40
  ## [v2.1.0](https://github.com/payrollhero/webhook_system/tree/v2.1.0) (2016-07-20)
7
41
  [Full Changelog](https://github.com/payrollhero/webhook_system/compare/v2.0.0...v2.1.0)
8
42
 
@@ -53,4 +87,4 @@
53
87
 
54
88
 
55
89
 
56
- \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
90
+ \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
@@ -37,6 +37,10 @@ module WebhookSystem
37
37
  key.to_s.in? %w(event event_id)
38
38
  end
39
39
 
40
+ def self.dispatch(args)
41
+ WebhookSystem::Subscription.global.dispatch self.build(args)
42
+ end
43
+
40
44
  private
41
45
 
42
46
  def with_caller_backtrace(exception, backtrack=2)
@@ -1,3 +1,3 @@
1
1
  module WebhookSystem
2
- VERSION = '2.1.6'
2
+ VERSION = '2.2.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webhook_system
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.6
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Banasik
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2019-07-26 00:00:00.000000000 Z
12
+ date: 2019-11-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -325,7 +325,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
325
325
  - !ruby/object:Gem::Version
326
326
  version: '0'
327
327
  requirements: []
328
- rubygems_version: 3.0.4
328
+ rubygems_version: 3.0.6
329
329
  signing_key:
330
330
  specification_version: 4
331
331
  summary: Webhook system