forked from socketry/multipart-post
-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
5fe444f
commit b4d7cc5
Showing
5 changed files
with
23 additions
and
11 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
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
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
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,3 @@ | ||
module MultipartPost | ||
VERSION = "1.0" | ||
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 |
---|---|---|
@@ -1,33 +1,35 @@ | ||
# -*- encoding: utf-8 -*- | ||
|
||
Gem::Specification.new do |s| | ||
s.name = %q{multipart-post} | ||
s.version = "0.1" | ||
s.version = "0.9" | ||
|
||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | ||
s.authors = ["Nick Sieger"] | ||
s.date = %q{2008-08-12} | ||
s.date = %q{2009-02-12} | ||
s.description = %q{Use with Net::HTTP to do multipart form posts. IO values that have #content_type, #original_filename, and #local_path will be posted as a binary file.} | ||
s.email = %q{nick@nicksieger.com} | ||
s.extra_rdoc_files = ["Manifest.txt", "README.txt"] | ||
s.files = ["lib/composite_io.rb", "lib/net/http/post/multipart.rb", "Manifest.txt", "Rakefile", "README.txt", "test/test_composite_io.rb", "test/net/http/post/test_multipart.rb"] | ||
s.files = ["lib/composite_io.rb", "lib/multipartable.rb", "lib/parts.rb", "lib/net/http/post/multipart.rb", "Manifest.txt", "Rakefile", "README.txt", "test/test_composite_io.rb", "test/net/http/post/test_multipart.rb"] | ||
s.has_rdoc = true | ||
s.homepage = %q{http://github.com/nicksieger/multipart-post} | ||
s.rdoc_options = ["--main", "README.txt"] | ||
s.require_paths = ["lib"] | ||
s.rubyforge_project = %q{multipart-post} | ||
s.rubygems_version = %q{1.2.0} | ||
s.rubyforge_project = %q{caldersphere} | ||
s.rubygems_version = %q{1.3.1} | ||
s.summary = %q{Creates a multipart form post accessory for Net::HTTP.} | ||
s.test_files = ["test/net/http/post/test_multipart.rb", "test/test_composite_io.rb"] | ||
|
||
if s.respond_to? :specification_version then | ||
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION | ||
s.specification_version = 2 | ||
|
||
if current_version >= 3 then | ||
s.add_runtime_dependency(%q<hoe>, [">= 1.5.3"]) | ||
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then | ||
s.add_development_dependency(%q<hoe>, [">= 1.8.2"]) | ||
else | ||
s.add_dependency(%q<hoe>, [">= 1.5.3"]) | ||
s.add_dependency(%q<hoe>, [">= 1.8.2"]) | ||
end | ||
else | ||
s.add_dependency(%q<hoe>, [">= 1.5.3"]) | ||
s.add_dependency(%q<hoe>, [">= 1.8.2"]) | ||
end | ||
end |