pubsubhubbub-rails 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pubsubhubbub.rb +2 -1
- data/lib/pubsubhubbub/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a109e49af1cbc7b379755afa739c8a0e589a2bac
|
4
|
+
data.tar.gz: 3a770eb58125f6d51dc94f6859980a6c766d573c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14446373d72b82d1317257c08106d26b4373b385ba8b428b0f4b1b7b71d6617da092bd321783ee7a3d8452441996c08775084dbb2aeb2c618d5ed5093721e66e
|
7
|
+
data.tar.gz: 9a3e3e4ff3f20b265bf6054b767da7b5ca7f426bc7fabea757fb47d694c39bc91c97c4a781ec4adcb0613b073a099be66f3cd7a8417865fc9a0e83c1c81b1c62
|
data/lib/pubsubhubbub.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
require 'pubsubhubbub/engine'
|
3
|
+
require 'pubsubhubbub/version'
|
3
4
|
require 'addressable/uri'
|
4
5
|
require 'nokogiri'
|
5
6
|
require 'http'
|
@@ -24,7 +25,7 @@ module Pubsubhubbub
|
|
24
25
|
module Utils
|
25
26
|
def http_client
|
26
27
|
HTTP.timeout(:per_operation, write: 30, connect: 20, read: 30)
|
27
|
-
.headers(user_agent: "PubSubHubbub/#{VERSION}")
|
28
|
+
.headers(user_agent: "PubSubHubbub/#{Pubsubhubbub::VERSION}")
|
28
29
|
end
|
29
30
|
end
|
30
31
|
end
|
data/lib/pubsubhubbub/version.rb
CHANGED