2014-02-13 04:05:32 +08:00
|
|
|
# coding: utf-8
|
|
|
|
lib = File.expand_path('../lib', __FILE__)
|
|
|
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
|
|
|
|
|
Gem::Specification.new do |spec|
|
|
|
|
spec.name = "multipart"
|
|
|
|
spec.version = "0.0.1"
|
|
|
|
spec.authors = ["Raphael Weiner"]
|
|
|
|
spec.email = ["rweiner@pivotallabs.com"]
|
|
|
|
spec.summary = %q{Multipart helper to prepare an HTTP POST request with file upload}
|
|
|
|
|
|
|
|
spec.files = Dir.glob("{lib,spec}/**/*") + %w(test.sh)
|
|
|
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
|
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
|
|
|
spec.require_paths = ["lib"]
|
|
|
|
|
|
|
|
spec.add_dependency "mime-types", "1.17.2"
|
2014-07-11 01:22:01 +08:00
|
|
|
spec.add_dependency "canvas_slug"
|
2014-02-13 04:05:32 +08:00
|
|
|
|
|
|
|
spec.add_development_dependency "bundler", "~> 1.5"
|
|
|
|
spec.add_development_dependency "rake"
|
2014-08-13 03:17:13 +08:00
|
|
|
spec.add_development_dependency "rspec", "2.99.0"
|
2014-02-13 04:05:32 +08:00
|
|
|
spec.add_development_dependency "rack-test", "0.6.2"
|
|
|
|
end
|