diff --git a/README.rdoc b/README.rdoc index 40051c22..8779e7e6 100644 --- a/README.rdoc +++ b/README.rdoc @@ -5,6 +5,8 @@ Experiments in a REST API lib Super alpha! Don't use it if you mind throwing away all the code when I change the API on a whim. +This mess is gonna get raw, like sushi. So, haters to the left. + == Usage # uses Net/HTTP, no response parsing @@ -65,6 +67,7 @@ connection class: == TODO +* other HTTP methods besides just GET * gracefully skip tests for Yajl and other optional libraries if they don't exist. * gracefully skip live http server tests if the sinatra server is not running. * use Typhoeus' request mocking facilities in the Typhoeus adapter test diff --git a/faraday.gemspec b/faraday.gemspec new file mode 100644 index 00000000..01aa28c9 --- /dev/null +++ b/faraday.gemspec @@ -0,0 +1,65 @@ +# 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{faraday} + s.version = "0.0.1" + + s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= + s.authors = ["rick"] + s.date = %q{2009-12-19} + s.description = %q{HTTP/REST API client library with pluggable components} + s.email = %q{technoweenie@gmail.com} + s.extra_rdoc_files = [ + "LICENSE", + "README.rdoc" + ] + s.files = [ + ".document", + ".gitignore", + "LICENSE", + "README.rdoc", + "Rakefile", + "VERSION", + "lib/faraday.rb", + "lib/faraday/adapter/mock_request.rb", + "lib/faraday/adapter/net_http.rb", + "lib/faraday/adapter/typhoeus.rb", + "lib/faraday/connection.rb", + "lib/faraday/error.rb", + "lib/faraday/response.rb", + "lib/faraday/response/yajl_response.rb", + "test/adapter/typhoeus_test.rb", + "test/adapter_test.rb", + "test/connection_test.rb", + "test/helper.rb", + "test/live_server.rb", + "test/response_test.rb" + ] + s.homepage = %q{http://github.com/technoweenie/faraday} + s.rdoc_options = ["--charset=UTF-8"] + s.require_paths = ["lib"] + s.rubygems_version = %q{1.3.5} + s.summary = %q{HTTP/REST API client library} + s.test_files = [ + "test/adapter/typhoeus_test.rb", + "test/adapter_test.rb", + "test/connection_test.rb", + "test/helper.rb", + "test/live_server.rb", + "test/response_test.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 + else + end + else + end +end +