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: 05af3c3868a45ad3f5d96083ee44a2530e9db5fb
4
- data.tar.gz: 7bc74958d7e6d7ad9f33e4760320416b1760fe31
3
+ metadata.gz: db805f0b5e1c3942f199fa90c96179beda252310
4
+ data.tar.gz: c23a61d4bf6e18e322021f7c7c3fb9a034b4aca4
5
5
  SHA512:
6
- metadata.gz: 0081e2c13995a627db27d2d0f265dab58bdc074f47333528e15cb35a11e1d4188d32da70accf3f724c5ff0c1af6931115fbabce399b8cec3c88de4c222200856
7
- data.tar.gz: a93d6b636f8ba2f9f1d4fe3b36675401f082d73a7d66b09326320155ce38457a8ab4093eb776a85df692a4088f13f1d547814c7e7b9686c0051257edc7cb84ac
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, mode: @mode, secret: @secret)
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
 
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Pubsubhubbub
3
- VERSION = '0.2.5'
3
+ VERSION = '0.2.6'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pubsubhubbub-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eugen Rochko