superfeedr-superfeedr-ruby 0.3.2 → 0.3.3

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.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/superfeedr.rb +1 -1
  3. metadata +2 -2
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 2
2
+ :patch: 3
3
3
  :major: 0
4
4
  :minor: 3
@@ -194,7 +194,7 @@ module Superfeedr
194
194
  @@callbacks.delete(stanza["id"])
195
195
  else
196
196
  if stanza.name == "message" and stanza.at("event")
197
- @@notication_callback.call(NotificationStanza.new(stanza)) if @@notification_callback
197
+ @@notication_callback.call(NotificationStanza.new(stanza)) if defined?(@@notification_callback) && @@notification_callback
198
198
  # Here we need to call the main notification callback!
199
199
  end
200
200
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: superfeedr-superfeedr-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - julien Genestoux
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-11 00:00:00 -07:00
12
+ date: 2009-06-16 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency