-
Notifications
You must be signed in to change notification settings - Fork 2
/
pdd.gemspec
45 lines (34 loc) · 1002 Bytes
/
pdd.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
require "rubygems"
$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
require "YandexPDD"
spec = Gem::Specification.new do |s|
s.name = "YandexPDD"
s.version = Yandex::PDD::VERSION
s.author = "dctabuyz"
s.email = "[email protected]"
s.homepage = "http://pdd.yandex.ru/"
s.platform = Gem::Platform::RUBY
s.summary = "Yandex mailhosting API wrapper"
candidates = Dir.glob("{bin,docs,lib,ext,tests}/**/*")
s.files = candidates.delete_if do |item|
item.include?("CVS") ||
item.include?("rdoc") ||
item.include?("svn") ||
item.include?("swp") ||
item.include?("~") ||
item.include?("git")
end
s.require_path = [ "lib", "." ]
# s.test_file = "tests/test.rb"
s.has_rdoc = false
s.extensions = "ext/extconf.rb"
s.extra_rdoc_files = ["README.rdoc"]
# s.add_dependency( "libxml-ruby", ">= 1.1.3" )
s.requirements << "libxml, v1.1.3 or greater"
s.requirements << "make utility"
end
if __FILE__ == $0
Gem::Builder.new(spec).build
else
spec
end