webhook_system 2.1.0 → 2.1.1

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
  SHA1:
3
- metadata.gz: 90f58d18463b764007411f0afe4d73c5bb57355b
4
- data.tar.gz: cceb480b7c982ec3cf245583be982d6f774bd25c
3
+ metadata.gz: 467319caa0fb0cd7e1a15135c725e489d59a8573
4
+ data.tar.gz: e9603fb394bd096b0de74f05a8497726524da999
5
5
  SHA512:
6
- metadata.gz: f923b7323b1b3eef8a4d9ed1db3315c66e1ee96daaf6397a37d52fe171aef8696a73224a3f9edc2e6215223a5cea1b78156a39cc59eab379003e41c29a71702f
7
- data.tar.gz: 97de701df22a41e2d5d3ec80204be6422c2a9a07c04f6a0c61f0bfe3237266c4de9310e754c43459e60336618b1347ed33a208ee22c28b183051666b966d9938
6
+ metadata.gz: e1635ede870cc03fb372e2663e010b3e4aba15d6eb06e223cb4d951d890fe1e31d8d8fcc280925275d8445d51fca0a7f37887ab1bc8001cde85305b9d9f7e1c8
7
+ data.tar.gz: 268c5fff6226296b2666ef72dba9121217a9b85680da14c37754a555c4e6f67e8bf9cc35784a100809e8d0bc28619383cacc1ddffcf5f1c8198cb2487067559a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Change Log
2
2
 
3
+ ## [v2.1.0](https://github.com/payrollhero/webhook_system/tree/v2.1.0) (2016-07-20)
4
+ [Full Changelog](https://github.com/payrollhero/webhook_system/compare/v2.0.0...v2.1.0)
5
+
6
+ - Changing the main dispatch interface to call of a relation, enabling filtering of the subscriptions being considered [\#10](https://github.com/payrollhero/webhook_system/pull/10) ([piotrb](https://github.com/piotrb))
7
+
8
+ ## [v2.0.0](https://github.com/payrollhero/webhook_system/tree/v2.0.0) (2016-07-19)
9
+ [Full Changelog](https://github.com/payrollhero/webhook_system/compare/v1.0.4...v2.0.0)
10
+
11
+ - This adds support for plain text payloads, version bumps to 2.0 [\#9](https://github.com/payrollhero/webhook_system/pull/9) ([piotrb](https://github.com/piotrb))
12
+
3
13
  ## [v1.0.4](https://github.com/payrollhero/webhook_system/tree/v1.0.4) (2016-02-19)
4
14
  [Full Changelog](https://github.com/payrollhero/webhook_system/compare/v1.0.3...v1.0.4)
5
15
 
@@ -51,7 +51,7 @@ module WebhookSystem
51
51
 
52
52
  def self.ensure_success(response)
53
53
  status = response.status
54
- unless status == 200
54
+ unless (200..299).cover? status
55
55
  raise RequestFailed.new("request failed with code: #{status}", status)
56
56
  end
57
57
  end
@@ -1,3 +1,3 @@
1
1
  module WebhookSystem
2
- VERSION = '2.1.0'
2
+ VERSION = '2.1.1'
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.0
4
+ version: 2.1.1
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: 2016-07-20 00:00:00.000000000 Z
12
+ date: 2016-12-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport