pubsubhubbub-rails 0.2.5 → 0.2.6
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db805f0b5e1c3942f199fa90c96179beda252310
|
4
|
+
data.tar.gz: c23a61d4bf6e18e322021f7c7c3fb9a034b4aca4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6e44824c58667cc3ff7dd580fd66e9f79f84817cf76d5cb6db0d4abcee43ec476e40401c2af71c65746641992b0441c5215d2eedeee2460eb3e93947564e503
|
7
|
+
data.tar.gz: 4862e4e6728fb2db4b28ad93ac1b9cd0006b36ea0a4a71c9c6cfd17d0514e8dfe8227e12e73ef991be2bb8ad468c27913436158f4e22b28a872e0d28be620b95
|
@@ -58,7 +58,9 @@ module Pubsubhubbub
|
|
58
58
|
raise ValidationError, 'Missing topic URL' if @topic.blank?
|
59
59
|
check_topic_hub!
|
60
60
|
|
61
|
-
@subscription = Subscription.where(topic: @topic, callback: @callback).first_or_initialize(topic: @topic, callback: @callback
|
61
|
+
@subscription = Subscription.where(topic: @topic, callback: @callback).first_or_initialize(topic: @topic, callback: @callback)
|
62
|
+
@subscription.mode = @mode
|
63
|
+
@subscription.secret = @secret
|
62
64
|
@subscription.lease_seconds = @lease_seconds
|
63
65
|
@subscription.save!
|
64
66
|
|
data/lib/pubsubhubbub/version.rb
CHANGED