Skip to content

Commit

Permalink
Prepare for 1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksieger committed Feb 12, 2009
1 parent 5fe444f commit b4d7cc5
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 11 deletions.
5 changes: 5 additions & 0 deletions History.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
=== 1.0 / 2009-02-12

- Many fixes from mlooney, seems to work now. Putting the 0.9 seal of
approval on it.

=== 0.1 / 2008-08-12

* 1 major enhancement
Expand Down
2 changes: 1 addition & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ gem install multipart-post

(The MIT License)

Copyright (c) 2007-2008 Nick Sieger <nick@nicksieger.com>
Copyright (c) 2007-2009 Nick Sieger <nick@nicksieger.com>

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
4 changes: 3 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ begin
require 'rubygems'
require 'hoe'

hoe = Hoe.new("multipart-post", '0.1') do |p|
require 'lib/multipart_post'

hoe = Hoe.new("multipart-post", MultipartPost::VERSION) do |p|
p.rubyforge_name = "caldersphere"
p.author = "Nick Sieger"
p.url = "http://github.com/nicksieger/multipart-post"
Expand Down
3 changes: 3 additions & 0 deletions lib/multipart_post.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module MultipartPost
VERSION = "1.0"
end
20 changes: 11 additions & 9 deletions multipart-post.gemspec
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

0 comments on commit b4d7cc5

Please sign in to comment.