-
Notifications
You must be signed in to change notification settings - Fork 10
/
multipart-parser.gemspec
27 lines (24 loc) · 1016 Bytes
/
multipart-parser.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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 = ['[email protected]']
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