]> gitweb.michael.orlitzky.com - mailshears.git/blobdiff - mailshears.gemspec
mailshears.gemspec: bump to v0.0.4, update pg library to v1.2.x.
[mailshears.git] / mailshears.gemspec
index 6af744f0486d29ac836dec338591166f3445d705..e0d9b80f722b33890fd137047340eb04ac8a7457 100644 (file)
@@ -1,11 +1,11 @@
 Gem::Specification.new do |s|
 
   s.name              = 'mailshears'
 Gem::Specification.new do |s|
 
   s.name              = 'mailshears'
-  s.version           = '0.0.1'
+  s.version           = '0.0.4'
   s.platform          = Gem::Platform::RUBY
   s.authors           = ['Michael Orlitzky']
   s.email             = ['michael@orlitzky.com']
   s.platform          = Gem::Platform::RUBY
   s.authors           = ['Michael Orlitzky']
   s.email             = ['michael@orlitzky.com']
-  s.homepage          = 'http://michael.orlitzky.com/code/mailshears.php'
+  s.homepage          = 'http://michael.orlitzky.com/code/mailshears.xhtml'
   s.summary           = 'Prune unused mail directories.'
   s.description       = <<-EOF
     Managing a mail system with virtual users is annoying. The
   s.summary           = 'Prune unused mail directories.'
   s.description       = <<-EOF
     Managing a mail system with virtual users is annoying. The
@@ -24,15 +24,18 @@ Gem::Specification.new do |s|
     as well. Since these two tasks are related, mailshears does them both.
   EOF
 
     as well. Since these two tasks are related, mailshears does them both.
   EOF
 
-  s.license           = 'AGPL-3'
+  s.license           = 'AGPL-3.0'
   s.required_rubygems_version = '>= 1.3.6'
 
   # If you have runtime dependencies, add them here
   s.required_rubygems_version = '>= 1.3.6'
 
   # If you have runtime dependencies, add them here
-  s.add_runtime_dependency 'pg', '~> 0.11'
-
-  # The list of files to be contained in the gem
-  s.files         = `git ls-files`.split("\n")
-  s.executables   = ['mailshears']
+  s.add_runtime_dependency 'pg', '~> 1.2'
+
+  # The list of files to be contained in the gem. We can obtain it
+  # from git as long as we remember that this magic will happen and we
+  # don't add any files in weird locations or build the gem before
+  # running `git add`.
+  s.files       = `git ls-files`.split("\n")
+  s.executables = ['mailshears']
 
   s.require_path = 'lib'
 
 
   s.require_path = 'lib'