forked from damog/feedbag
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
67 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
* 0.6 - Fri Mar 5 20:10:33 EST 2010 | ||
- Added bin/feedbag. | ||
- Removed the args[:narrow] option, not really needed. | ||
- Handle case where feed URLs contain GET parameters; add tests | ||
by Patrick Reagan <[email protected]>. | ||
|
||
* 0.5.99 - Tue May 12 12:52:22 EDT 2009 | ||
- Added rails/init.rb to load easily on a Rails app. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env ruby | ||
|
||
require "rubygems" | ||
require "feedbag" | ||
|
||
def usage | ||
%Q{ | ||
#{$0} <url 1> [<url 2> <url 3> ... <url n>] | ||
} | ||
end | ||
|
||
if ARGV.empty? | ||
puts usage | ||
exit 1 | ||
end | ||
|
||
ARGV.each do |url| | ||
puts "== #{url}:" | ||
feeds = Feedbag.find url | ||
if feeds.empty? | ||
puts " no feeds found!" | ||
else | ||
feeds.each do |f| | ||
puts " - #{f}" | ||
end | ||
end | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,19 +2,22 @@ | |
|
||
Gem::Specification.new do |s| | ||
s.name = %q{feedbag} | ||
s.version = "0.5.100" | ||
s.version = "0.6" | ||
s.homepage = "http://axiombox.com/feedbag" | ||
s.rubyforge_project = "feedbag" | ||
|
||
s.authors = ["Axiombox", "David Moreno"] | ||
s.date = %q{2009-02-10} | ||
s.date = %q{2010-03-05} | ||
s.description = %q{Ruby's favorite feed auto-discoverty tool} | ||
s.email = %q{[email protected]} | ||
s.extra_rdoc_files = ["README.markdown", "COPYING"] | ||
s.files = ["lib/feedbag.rb", "benchmark/rfeedfinder_benchmark.rb"] | ||
s.files = ["lib/feedbag.rb", "benchmark/rfeedfinder_benchmark.rb", "bin/feedbag"] | ||
s.has_rdoc = true | ||
s.rdoc_options = ["--main", "README.markdown"] | ||
s.summary = %q{Ruby's favorite feed auto-discovery tool} | ||
s.add_dependency("hpricot", '>= 0.6') | ||
s.bindir = 'bin' | ||
s.default_executable = %q{feedbag} | ||
s.executables = ["feedbag"] | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters