Skip to content
Browse files

Add a gemspec for multipart-parser

  • Loading branch information...
1 parent 34342e5 commit 5b3ff8738fbbf037e8ec7c9210753cfa78dcb2c9 Jérémy Bobbio committed
Showing with 30 additions and 0 deletions.
  1. +3 −0 lib/multipart_parser/version.rb
  2. +27 −0 multipart-parser.gemspec
View
3 lib/multipart_parser/version.rb
@@ -0,0 +1,3 @@
+module MultipartParser
+ VERSION = '0.1.0'
+end
View
27 multipart-parser.gemspec
@@ -0,0 +1,27 @@
+$:.push File.expand_path("../lib", __FILE__)
+require 'multipart_parser/version'
+
+Gem::Specification.new do |s|
+ s.name = 'multipart-parser'
+ s.version = MultipartParser::VERSION
+ s.authors = ['Daniel Abrahamsson']
+ s.email = ['hamsson@gmail.com']
+ s.homepage = 'https://github.com/danabr/multipart-parser'
+ s.summary = %q{simple parser for multipart MIME messages}
+ s.description = <<-DESCRIPTION.gsub(/^ */, '')
+ multipart-parser is a simple parser for multipart MIME messages, written in
+ Ruby, based on felixge/node-formidable's parser.
+
+ Some things to note:
+ - Pure Ruby
+ - Event-driven API
+ - Only supports one level of multipart parsing. Invoke another parser if
+ you need to handle nested messages.
+ - Does not perform I/O.
+ - Does not depend on any other library.
+ DESCRIPTION
+
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.require_paths = ['lib']
+end

0 comments on commit 5b3ff87

Please sign in to comment.
Something went wrong with that request. Please try again.