pubsubhubbub-rails 0.2.4 → 0.2.5

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: 0089de07e47e1d4188d3fd412528d63ac8db7a62
4
- data.tar.gz: 55f4a70abc494d8a80134b013db25dfa93f9c5c8
3
+ metadata.gz: 05af3c3868a45ad3f5d96083ee44a2530e9db5fb
4
+ data.tar.gz: 7bc74958d7e6d7ad9f33e4760320416b1760fe31
5
5
  SHA512:
6
- metadata.gz: e3110acf162b100760ea380b50fc5bc5c1bd8b92cab042342925dab855826d2e7bfe17e21587631c27a9194868341e0079bf54507c7d734fb2cb2c81bcf73688
7
- data.tar.gz: c75c434a292e12adb2e650e728a23862b14c3aaa2d7c1d48d6e737ed01dbfd3ac2d8ef9d3a22cd91162c2fa6e9f435fc06496bd959bb44ced4faad6c35136b60
6
+ metadata.gz: 0081e2c13995a627db27d2d0f265dab58bdc074f47333528e15cb35a11e1d4188d32da70accf3f724c5ff0c1af6931115fbabce399b8cec3c88de4c222200856
7
+ data.tar.gz: a93d6b636f8ba2f9f1d4fe3b36675401f082d73a7d66b09326320155ce38457a8ab4093eb776a85df692a4088f13f1d547814c7e7b9686c0051257edc7cb84ac
data/lib/pubsubhubbub.rb CHANGED
@@ -17,4 +17,8 @@ module Pubsubhubbub
17
17
 
18
18
  mattr_accessor :verify_topic
19
19
  mattr_accessor :render_topic
20
+
21
+ def self.publish(hub_url, topic_url)
22
+ FetchTopicJob.perform_later(hub_url, topic_url)
23
+ end
20
24
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Pubsubhubbub
3
- VERSION = '0.2.4'
3
+ VERSION = '0.2.5'
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.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eugen Rochko