feedbag 0.10.2 → 0.10.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/feedbag.rb +1 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5439ea287031a4c8aa34a87ade233f73c89acaffb8c03e05f4a1bc9fc1f9eb7
|
4
|
+
data.tar.gz: 043fd828e69509b5a15260c8dc0e0991a70dbc2c01c7128176f74680b640d6f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b3d6f64e975c623f8bc8046670fef214a0209cd09fb33e81b6a27e9684175f48fa950a1803609bb7334b31160df5cd107eaf3af525fcb423bba2b06f8986102
|
7
|
+
data.tar.gz: a5c04f3e465f4e36c570e6a6f42f4c75246d4ef94fbb1e815530d1b9c9efd5e5cdbb7b248eca2ab97044ae18a7630b820aacdfcf8538721d59299ecfc40e82f7
|
data/lib/feedbag.rb
CHANGED
@@ -27,7 +27,7 @@ require "open-uri"
|
|
27
27
|
require "net/http"
|
28
28
|
|
29
29
|
class Feedbag
|
30
|
-
VERSION = '0.10.
|
30
|
+
VERSION = '0.10.3'
|
31
31
|
CONTENT_TYPES = [
|
32
32
|
'application/x.atom+xml',
|
33
33
|
'application/atom+xml',
|
@@ -168,7 +168,6 @@ class Feedbag
|
|
168
168
|
end
|
169
169
|
|
170
170
|
def looks_like_feed?(url)
|
171
|
-
puts url
|
172
171
|
if url =~ /(\.(rdf|xml|rss)(\?([\w'\-%]?(=[\w'\-%.]*)?(&|#|\+|\;)?)+)?(:[\w'\-%]+)?$|feed=(rss|atom)|(atom|feed)\/?$)/i
|
173
172
|
true
|
174
173
|
else
|