rack-superfeedr 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/VERSION +1 -1
- data/lib/rack-superfeedr.rb +5 -3
- data/rack-superfeedr.gemspec +4 -4
- metadata +23 -25
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
ZTU5NDYxMDc0YmM4MzJjNGE0Y2U5ZmExNWQ0M2ViYzlmNWE0YWM4NQ==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 10b756d74c37d7df4ed3519e31b04d28fcfe0664
|
4
|
+
data.tar.gz: 0352bb3fa00eb3e9449b27ca0c6bd66809946d07
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
YjVkMjFjYzE3NjYzZjhhYTE1NjMxMDJhYjE1OWVjOWJhODVkYTAzN2NkY2I5
|
11
|
-
MjM5ODhhMjRjOTJjMWE1ZDgxNzg0MTgzYzk2MmI2ZGFjMTcwZWI=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
ZmNjZTFjMWZlZTBjNmE2NmUxNzRjM2Q3ZDA2MmRiNGMwNDg1NWM3MzM2N2M5
|
14
|
-
ZDFkNTAzNzE4NDhiYjQzMzRhMDI1OWNmNDQzZTNkNGExY2RmNmI2ODdiZmU5
|
15
|
-
NjE0ZTA4YjhhNjIwYzgzZWNmZjViM2Q2NjllZDJiOTAzYzFhOTY=
|
6
|
+
metadata.gz: 6fc806a8e7fda1bffb173b9907be6bb0ed2e2110272af8e6dad6fbb4a7339d1fca8ac17bea0d26916510c41da19f184559ff8e0e338acc7c63d9235290e67f01
|
7
|
+
data.tar.gz: a390d3122c937f940245bad085d890a15044c628e70de4ad08d70394669b18bce3abb2b57e6d8fbc17c85539dac311e6b1fc3d72e2d5b407f7c42d5dc9be5ad7
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.6
|
data/lib/rack-superfeedr.rb
CHANGED
@@ -5,7 +5,7 @@ require 'uri'
|
|
5
5
|
module SuperfeedrAPI
|
6
6
|
|
7
7
|
@@superfeedr_endpoint = "https://push.superfeedr.com/"
|
8
|
-
@@port =
|
8
|
+
@@port = nil
|
9
9
|
@@host = 'my-app.com'
|
10
10
|
@@base_path = '/superfeedr/feed/'
|
11
11
|
@@scheme = 'http'
|
@@ -306,9 +306,11 @@ module SuperfeedrAPI
|
|
306
306
|
|
307
307
|
def generate_callback(url, feed_id)
|
308
308
|
if @@scheme == "https"
|
309
|
-
|
309
|
+
port ||= @@port || 443
|
310
|
+
URI::HTTPS.build({:scheme => @@scheme, :host => @@host, :path => "#{@@base_path}#{feed_id}", :port => port }).to_s
|
310
311
|
else
|
311
|
-
|
312
|
+
port ||= @@port || 80
|
313
|
+
URI::HTTP.build({:scheme => @@scheme, :host => @@host, :path => "#{@@base_path}#{feed_id}", :port => port }).to_s
|
312
314
|
end
|
313
315
|
end
|
314
316
|
end
|
data/rack-superfeedr.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: rack-superfeedr 0.4.
|
5
|
+
# stub: rack-superfeedr 0.4.6 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "rack-superfeedr"
|
9
|
-
s.version = "0.4.
|
9
|
+
s.version = "0.4.6"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["julien51"]
|
14
|
-
s.date = "2015-
|
14
|
+
s.date = "2015-05-18"
|
15
15
|
s.description = "A gem that provides a rack middleware to interract with Superfeedr's API. "
|
16
16
|
s.email = "julien@superfeedr.com"
|
17
17
|
s.extra_rdoc_files = [
|
@@ -34,7 +34,7 @@ Gem::Specification.new do |s|
|
|
34
34
|
]
|
35
35
|
s.homepage = "http://rubygems.org/gems/rack-superfeedr"
|
36
36
|
s.licenses = ["MIT"]
|
37
|
-
s.rubygems_version = "2.4.
|
37
|
+
s.rubygems_version = "2.4.5"
|
38
38
|
s.summary = "A gem that provides a rack middleware to interract with Superfeedr's API."
|
39
39
|
|
40
40
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
@@ -1,116 +1,114 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-superfeedr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- julien51
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: shoulda
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: turn
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 1.0.0
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 1.0.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: jeweler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
76
|
-
MS42LjQ=
|
75
|
+
version: 1.6.4
|
77
76
|
type: :development
|
78
77
|
prerelease: false
|
79
78
|
version_requirements: !ruby/object:Gem::Requirement
|
80
79
|
requirements:
|
81
|
-
- -
|
80
|
+
- - ">="
|
82
81
|
- !ruby/object:Gem::Version
|
83
|
-
version:
|
84
|
-
MS42LjQ=
|
82
|
+
version: 1.6.4
|
85
83
|
- !ruby/object:Gem::Dependency
|
86
84
|
name: thin
|
87
85
|
requirement: !ruby/object:Gem::Requirement
|
88
86
|
requirements:
|
89
|
-
- -
|
87
|
+
- - ">="
|
90
88
|
- !ruby/object:Gem::Version
|
91
89
|
version: '0'
|
92
90
|
type: :development
|
93
91
|
prerelease: false
|
94
92
|
version_requirements: !ruby/object:Gem::Requirement
|
95
93
|
requirements:
|
96
|
-
- -
|
94
|
+
- - ">="
|
97
95
|
- !ruby/object:Gem::Version
|
98
96
|
version: '0'
|
99
97
|
- !ruby/object:Gem::Dependency
|
100
98
|
name: test-unit
|
101
99
|
requirement: !ruby/object:Gem::Requirement
|
102
100
|
requirements:
|
103
|
-
- -
|
101
|
+
- - ">="
|
104
102
|
- !ruby/object:Gem::Version
|
105
103
|
version: '0'
|
106
104
|
type: :development
|
107
105
|
prerelease: false
|
108
106
|
version_requirements: !ruby/object:Gem::Requirement
|
109
107
|
requirements:
|
110
|
-
- -
|
108
|
+
- - ">="
|
111
109
|
- !ruby/object:Gem::Version
|
112
110
|
version: '0'
|
113
|
-
description:
|
111
|
+
description: 'A gem that provides a rack middleware to interract with Superfeedr''s
|
114
112
|
API. '
|
115
113
|
email: julien@superfeedr.com
|
116
114
|
executables: []
|
@@ -119,7 +117,7 @@ extra_rdoc_files:
|
|
119
117
|
- LICENSE.txt
|
120
118
|
- README.rdoc
|
121
119
|
files:
|
122
|
-
- .document
|
120
|
+
- ".document"
|
123
121
|
- Gemfile
|
124
122
|
- Gemfile.lock
|
125
123
|
- LICENSE.txt
|
@@ -141,17 +139,17 @@ require_paths:
|
|
141
139
|
- lib
|
142
140
|
required_ruby_version: !ruby/object:Gem::Requirement
|
143
141
|
requirements:
|
144
|
-
- -
|
142
|
+
- - ">="
|
145
143
|
- !ruby/object:Gem::Version
|
146
144
|
version: '0'
|
147
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
148
146
|
requirements:
|
149
|
-
- -
|
147
|
+
- - ">="
|
150
148
|
- !ruby/object:Gem::Version
|
151
149
|
version: '0'
|
152
150
|
requirements: []
|
153
151
|
rubyforge_project:
|
154
|
-
rubygems_version: 2.4.
|
152
|
+
rubygems_version: 2.4.5
|
155
153
|
signing_key:
|
156
154
|
specification_version: 4
|
157
155
|
summary: A gem that provides a rack middleware to interract with Superfeedr's API.
|