logophobia-feedbag 0.5.101 → 0.5.102

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/feedbag.rb +1 -1
  2. metadata +3 -2
data/lib/feedbag.rb CHANGED
@@ -130,7 +130,7 @@ module Feedbag
130
130
  end
131
131
 
132
132
  def self.looks_like_feed?(url)
133
- if url =~ /(\.(rdf|xml|rdf|rss)$|feed=(rss|atom)|(atom|feed)\/?$)/i
133
+ if url =~ /((\.|\/)(rdf|xml|rdf|rss)$|feed=(rss|atom)|(atom|feed)\/?$)/i
134
134
  true
135
135
  else
136
136
  false
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logophobia-feedbag
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.101
4
+ version: 0.5.102
5
5
  platform: ruby
6
6
  authors:
7
7
  - Axiombox
@@ -39,6 +39,7 @@ files:
39
39
  - COPYING
40
40
  has_rdoc: true
41
41
  homepage: http://axiombox.com/feedbag
42
+ licenses:
42
43
  post_install_message:
43
44
  rdoc_options:
44
45
  - --main
@@ -60,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
61
  requirements: []
61
62
 
62
63
  rubyforge_project:
63
- rubygems_version: 1.2.0
64
+ rubygems_version: 1.3.5
64
65
  signing_key:
65
66
  specification_version: 2
66
67
  summary: Ruby's favorite feed auto-discovery tool