damog-feedbag 0.5 → 0.5.1

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 +2 -4
  2. metadata +1 -1
data/lib/feedbag.rb CHANGED
@@ -37,8 +37,6 @@ module Feedbag
37
37
  $base_uri = nil
38
38
 
39
39
  def self.feed?(url)
40
- res = self.find(url)
41
-
42
40
  # use LWR::Simple.normalize some time
43
41
  url_uri = URI.parse(url)
44
42
  url = "#{url_uri.scheme or 'http'}://#{url_uri.host}#{url_uri.path}"
@@ -95,9 +93,9 @@ module Feedbag
95
93
 
96
94
  end
97
95
  rescue OpenURI::HTTPError => the_error
98
- puts "Error ocurred with `#{url}': #{the_error}"
96
+ $stderr.puts "Error ocurred with `#{url}': #{the_error}"
99
97
  rescue SocketError => err
100
- puts "Socket error ocurred with: `#{url}': #{err}"
98
+ $stderr.puts "Socket error ocurred with: `#{url}': #{err}"
101
99
  end
102
100
 
103
101
  $feeds
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: damog-feedbag
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.5"
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Axiombox