-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy patheventmachine_xmlpushparser-binary.gemspec
More file actions
35 lines (25 loc) · 1.09 KB
/
eventmachine_xmlpushparser-binary.gemspec
File metadata and controls
35 lines (25 loc) · 1.09 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-binary"
s.version = "0.0.1"
s.summary = "EventMachine XML Push Parser - binary gem for Unix platforms"
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, but *include* shared objects present in the lib subdirectory.
s.files = FileList["{lib,test}/**/*"].exclude("rdoc").to_a
s.require_paths = ["lib"]
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