webhook_system 1.0.0 → 1.0.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: 7949660ffcd7499c9ad2cd90030a700c984ee81f
4
- data.tar.gz: db0e7b0233716c187c67cd1ec09560eb053ee30b
3
+ metadata.gz: 95522481f50719717dc59eef000851d4f6921c15
4
+ data.tar.gz: 93e0a7d8465075deeccb66beb51c35870a240732
5
5
  SHA512:
6
- metadata.gz: 433ab1c14d97195cb9222247266e5feb06e17e26d36bef61ebb313057cade5a8994600bf2730799e0f25e08c3fc026c345c8223a441a4b6383655919b2a25bb0
7
- data.tar.gz: 2142d2b4256bc7abe4a2a3d3f408b5163ad783b61aafdf851485050c82b6ddb7f4bb38a8f438153fb283f5979ed709750abdf8d11776321fdd2289c1644027f7
6
+ metadata.gz: 08ae9646bdc1ec58e3b75a715d08aecc973060c5803a9077c88fe6cb1aff2f8a53d394cf4bceac9a7a9b8a4c7f0dcf1622719c3a1270d8e22971909ed3883404
7
+ data.tar.gz: 83b5ca480c52977eabd1d6dc82189c5e0491cd1a94990fc0992b46bab25f4ff72ab2f01022d72c37ac9530b29a35b327608a70647eea9392edaa7122e330b39e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change Log
2
2
 
3
+ ## [v1.0.0](https://github.com/payrollhero/webhook_system/tree/v1.0.0) (2016-02-11)
4
+ [Full Changelog](https://github.com/payrollhero/webhook_system/compare/v0.1.1...v1.0.0)
5
+
6
+ - Add event logging [\#4](https://github.com/payrollhero/webhook_system/pull/4) ([piotrb](https://github.com/piotrb))
7
+
3
8
  ## [v0.1.1](https://github.com/payrollhero/webhook_system/tree/v0.1.1) (2016-02-05)
4
9
  [Full Changelog](https://github.com/payrollhero/webhook_system/compare/v0.1.0...v0.1.1)
5
10
 
data/README.md CHANGED
@@ -69,17 +69,17 @@ First migrate the null constraints in ...
69
69
 
70
70
  ```ruby
71
71
  def up
72
- change_column :webhook_subscriptions, :url, null: false
73
- change_column :webhook_subscriptions, :active, null: false
74
- change_column :webhook_subscription_topics, :name, null: false
75
- change_column :webhook_subscription_topics, :subscription_id, null: false
72
+ change_column :webhook_subscriptions, :url, :string, null: false
73
+ change_column :webhook_subscriptions, :active, :boolean, null: false
74
+ change_column :webhook_subscription_topics, :name, :string, null: false
75
+ change_column :webhook_subscription_topics, :subscription_id, :integer, null: false
76
76
  end
77
77
 
78
78
  def down
79
- change_column :webhook_subscription_topics, :subscription_id, null: true
80
- change_column :webhook_subscription_topics, :name, null: true
81
- change_column :webhook_subscriptions, :active, null: true
82
- change_column :webhook_subscriptions, :url, null: true
79
+ change_column :webhook_subscription_topics, :subscription_id, :integer, null: true
80
+ change_column :webhook_subscription_topics, :name, :string, null: true
81
+ change_column :webhook_subscriptions, :active, :boolean, null: true
82
+ change_column :webhook_subscriptions, :url, :string, null: true
83
83
  end
84
84
  ```
85
85
 
@@ -1,3 +1,3 @@
1
1
  module WebhookSystem
2
- VERSION = '1.0.0'.freeze
2
+ VERSION = '1.0.1'
3
3
  end
@@ -3,6 +3,7 @@ require 'active_record'
3
3
  require 'active_job'
4
4
  require 'ph_model'
5
5
  require 'validate_url'
6
+ require 'faraday'
6
7
 
7
8
  module WebhookSystem
8
9
  extend ActiveSupport::Autoload
@@ -5,7 +5,7 @@ require File.expand_path('../lib/webhook_system/version', __FILE__)
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = 'webhook_system'
7
7
  gem.version = WebhookSystem::VERSION
8
- gem.authors = ['Piotr Banasik']
8
+ gem.authors = ['Piotr Banasik', 'Mykola Kyryk']
9
9
  gem.email = 'piotr@payrollhero.com'
10
10
 
11
11
  gem.summary = 'Webhook system'
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webhook_system
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Banasik
8
+ - Mykola Kyryk
8
9
  autorequire:
9
10
  bindir: exe
10
11
  cert_chain: []
11
- date: 2016-02-11 00:00:00.000000000 Z
12
+ date: 2016-02-16 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: activesupport
@@ -297,7 +298,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
297
298
  version: '0'
298
299
  requirements: []
299
300
  rubyforge_project:
300
- rubygems_version: 2.4.5.1
301
+ rubygems_version: 2.2.5
301
302
  signing_key:
302
303
  specification_version: 4
303
304
  summary: Webhook system