Sha256: 95316f7459343f1d512253f27c7f9ce548ebd331459352b1dbd8aeb575bacf64

Contents?: true

Size: 872 Bytes

Versions: 2

Compression:

Stored size: 872 Bytes

Contents

begin
  require 'rubygems'
  require 'hoe'
  require 'lib/multipart_post'

  Hoe.plugin :gemcutter
  hoe = Hoe.spec("multipart-post") do |p|
    p.version = MultipartPost::VERSION
    p.rubyforge_name = "caldersphere"
    p.author = "Nick Sieger"
    p.url = "http://github.com/nicksieger/multipart-post"
    p.email = "nick@nicksieger.com"
    p.description = "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."
    p.summary = "Creates a multipart form post accessory for Net::HTTP."
  end
  hoe.spec.dependencies.delete_if { |dep| dep.name == "hoe" }

  task :gemspec do
    File.open("#{hoe.name}.gemspec", "w") {|f| f << hoe.spec.to_ruby }
  end
  task :package => :gemspec
rescue LoadError
  puts "You really need Hoe installed to be able to package this gem"
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
jwagener-multipart-post-1.0.3 Rakefile
multipart-post-1.0.1 Rakefile