88f6f5f5cdaf2755bc8b1684646bfa1aa0b6c191
[mailshears.git] / mailshears.gemspec
1 Gem::Specification.new do |s|
2
3 s.name = 'mailshears'
4 s.version = '0.0.3'
5 s.platform = Gem::Platform::RUBY
6 s.authors = ['Michael Orlitzky']
7 s.email = ['michael@orlitzky.com']
8 s.homepage = 'http://michael.orlitzky.com/code/mailshears.xhtml'
9 s.summary = 'Prune unused mail directories.'
10 s.description = <<-EOF
11 Managing a mail system with virtual users is annoying. The
12 authoritative database of users is stored in one table, but every
13 other piece of software keeps its own database of users.
14
15 If you're using PostfixAdmin to manage your users, what happens when
16 you delete a user? Chances are, nothing happens: mail directories are
17 left behind, webmail preferences are saved, address books become
18 orphaned. That's what mailshears was designed to fix. It cleans up
19 after you remove a user or domain.
20
21 Another stupidly difficult task is renaming a single email
22 account. It's easy to move the user in one database, but then all of
23 the remaining filesystem directories and databases need to be updated
24 as well. Since these two tasks are related, mailshears does them both.
25 EOF
26
27 s.license = 'AGPL-3.0'
28 s.required_rubygems_version = '>= 1.3.6'
29
30 # If you have runtime dependencies, add them here
31 s.add_runtime_dependency 'pg', '~> 0.11'
32
33 # The list of files to be contained in the gem. We can obtain it
34 # from git as long as we remember that this magic will happen and we
35 # don't add any files in weird locations or build the gem before
36 # running `git add`.
37 s.files = `git ls-files`.split("\n")
38 s.executables = ['mailshears']
39
40 s.require_path = 'lib'
41
42 end