forked from activeldap/activeldap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactiveldap.gemspec
59 lines (54 loc) · 2.27 KB
/
activeldap.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# -*- mode: ruby; coding: utf-8 -*-
Gem::Specification.new do |spec|
base_dir = File.expand_path(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(base_dir, 'lib'))
require 'active_ldap/version'
collect_files = lambda do |*globs|
files = []
globs.each do |glob|
files.concat(Dir.glob(glob))
end
files.uniq.sort
end
spec.name = 'activeldap'
spec.version = ActiveLdap::VERSION.dup
spec.rubyforge_project = 'ruby-activeldap'
spec.authors = ['Will Drewry', 'Kouhei Sutou']
spec.email = ['[email protected]', '[email protected]']
spec.summary = 'ActiveLdap is a object-oriented API to LDAP'
spec.homepage = 'http://activeldap.github.io/'
spec.files = collect_files.call("lib/**/*",
"{benchmark,examples,po}/**/*",
"bin/*",
".yardopts",
"doc/text/**/*",
"COPYING",
"Gemfile",
"LICENSE",
"README.textile",
"TODO")
spec.files.delete_if {|file| /\.yaml\z/ =~ File.basename(file)}
spec.test_files = collect_files.call("test/**/*.rb",
"test/config.yaml.sample",
"test/**/*.ldif")
spec.description = <<-EOF
'ActiveLdap' is a ruby library which provides a clean
objected oriented interface to the Ruby/LDAP library. It was inspired
by ActiveRecord. This is not nearly as clean or as flexible as
ActiveRecord, but it is still trivial to define new objects and manipulate
them with minimal difficulty.
EOF
spec.licenses = ["Ruby's", "GPLv2 or later"]
spec.add_dependency("activemodel", ["> 4.0.0"])
spec.add_dependency("locale")
spec.add_dependency("gettext")
spec.add_dependency("gettext_i18n_rails")
spec.add_dependency("builder")
spec.add_development_dependency("bundler")
spec.add_development_dependency("rake")
spec.add_development_dependency("test-unit")
spec.add_development_dependency("test-unit-notify")
spec.add_development_dependency("yard")
spec.add_development_dependency("RedCloth")
spec.add_development_dependency("packnga")
end