-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy patheventmachine_xmlpushparser.gemspec
More file actions
35 lines (26 loc) · 1.1 KB
/
eventmachine_xmlpushparser.gemspec
File metadata and controls
35 lines (26 loc) · 1.1 KB
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
28
29
30
31
32
33
spec = Gem::Specification.new do |s|
s.name = "eventmachine_xmlpushparser"
s.version = "0.0.1"
s.summary = "EventMachine XML Push Parser"
s.platform = Gem::Platform::RUBY
s.has_rdoc = true
s.rdoc_options = %w(--title EventMachine_XMLPushParser --main README --line-numbers)
# Include the Rakefile so users can run our test suite.
s.extra_rdoc_files = ["README", "RELEASE_NOTES", "COPYING", "Rakefile"]
# Exclude rdocs and any compiled shared objects which may be present.
s.files = FileList["{ext,lib,test}/**/*"].exclude(/rdoc|\.so\Z/).to_a
s.require_paths = ["lib"]
s.extensions = "ext/extconf.rb"
s.author = "Francis Cianfrocca"
s.email = "garbagecat10@gmail.com"
s.homepage = "http://www.eventmachine.com"
description = []
File.open("README") do |file|
file.each do |line|
line.chomp!
break if line.empty?
description << "#{line.gsub(/\[\d\]/, '')}"
end
end
s.description = description[1..-1].join(" ")
end