wolf_core 0.2.7 → 0.2.8

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: 2b1b3bd18498da025626fe2aa2c5153fb13bc495da0ed79afc7cca1a63f86c69
4
- data.tar.gz: e5fe268fdc99952ff2db2c42c7857bf847c52d068b5be1b5c47cda0b04e5916f
3
+ metadata.gz: e7a56b13d2d2600ef5b5e2aad8639023111cf028b1b078caad2f1f851f0b1480
4
+ data.tar.gz: df241782e468d5c4fb2e686b3db24561493751f302ae7d9e9629bc66f31a26ec
5
5
  SHA512:
6
- metadata.gz: da422c06fafa9dd88c7defa4e5d619fdc3e549b67621fe0324fa10ec4bd081ca27d99d7bb3f580461fe6b407f995a511259762c20803f26a635b456be04de91b
7
- data.tar.gz: 253d73c5acfab87fdc7ea7c1dc8b0bc64db1ff9c658397d1f3e147b0e59e2bf53579ba9538fe087dfc90ff08c9e0ccb8d3b8af57417db3fdd33261bde8785965
6
+ metadata.gz: b20d3a59e824a3fbe072537292ed06ebc0e51eddd93538f20cefb71c5fb667e8930d107f7c52b0554d73d52cef98da523e1d6f9fae39ab50aa3892900710a187
7
+ data.tar.gz: b89d70ca444c4580cf571da0964be036eae2dfc11520dab5dad43e816680f85257625c2f29f34afc02d0307e9a7431cd9740dbfb5f250d6058df8ff5099d7fb4
@@ -36,10 +36,10 @@ module WolfCore
36
36
 
37
37
  def process_webhook(params:)
38
38
  event_type = get_event_type(params: params)
39
- event_name = get_event_name(params: params)
40
39
  if event_type == 'SubscriptionConfirmation'
41
40
  url = params['SubscribeURL']
42
41
  elsif event_type == 'Notification'
42
+ event_name = get_event_name(params: params)
43
43
  yield(event_name)
44
44
  end
45
45
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WolfCore
4
- VERSION = "0.2.7"
4
+ VERSION = "0.2.8"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wolf_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Roncallo