Permalink
Browse files

adding dependency and gemspec

  • Loading branch information...
1 parent 11adfc6 commit 1523f878eb29a9d39f7daba85ff957efc3467b0a @julien51 julien51 committed Jan 14, 2010
Showing with 58 additions and 1 deletion.
  1. +1 −0 Rakefile
  2. +57 −0 feediscovery.gemspec
  3. +0 −1 lib/feediscovery.rb
View
@@ -11,6 +11,7 @@ begin
gem.homepage = "http://github.com/julien51/feediscovery"
gem.authors = ["julien"]
gem.add_development_dependency "rspec", ">= 0"
+ gem.add_dependency "httparty"
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
View
@@ -0,0 +1,57 @@
+# Generated by jeweler
+# DO NOT EDIT THIS FILE DIRECTLY
+# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = %q{feediscovery}
+ s.version = "1.0.0"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["julien"]
+ s.date = %q{2010-01-14}
+ s.description = %q{A simple gem to extract feeds from any url. Google Chrome should use that!}
+ s.email = %q{julien.genestoux@gmail.com}
+ s.extra_rdoc_files = [
+ "LICENSE",
+ "README.rdoc"
+ ]
+ s.files = [
+ ".document",
+ ".gitignore",
+ "LICENSE",
+ "README.rdoc",
+ "Rakefile",
+ "VERSION",
+ "lib/feediscovery.rb",
+ "spec/feediscovery_spec.rb",
+ "spec/spec.opts",
+ "spec/spec_helper.rb"
+ ]
+ s.homepage = %q{http://github.com/julien51/feediscovery}
+ s.rdoc_options = ["--charset=UTF-8"]
+ s.require_paths = ["lib"]
+ s.rubygems_version = %q{1.3.5}
+ s.summary = %q{A ruby gem for http://feediscovery.appspot.com/}
+ s.test_files = [
+ "spec/feediscovery_spec.rb",
+ "spec/spec_helper.rb"
+ ]
+
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ s.add_development_dependency(%q<rspec>, [">= 0"])
+ s.add_runtime_dependency(%q<httparty>, [">= 0"])
+ else
+ s.add_dependency(%q<rspec>, [">= 0"])
+ s.add_dependency(%q<httparty>, [">= 0"])
+ end
+ else
+ s.add_dependency(%q<rspec>, [">= 0"])
+ s.add_dependency(%q<httparty>, [">= 0"])
+ end
+end
+
View
@@ -1,6 +1,5 @@
require 'httparty'
-
module Feediscovery
class Feed
attr_reader :href, :title, :rel, :type

0 comments on commit 1523f87

Please sign in to comment.