rephrase README section about the "download password" feature
[coquelicot.git] / coquelicot.gemspec
index b81d583..13d4864 100644 (file)
@@ -1,5 +1,5 @@
 # Coquelicot: "one-click" file sharing with a focus on users' privacy.
-# Copyright © 2010-2012 potager.org <jardiniers@potager.org>
+# Copyright © 2010-2013 potager.org <jardiniers@potager.org>
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU Affero General Public License as
@@ -37,12 +37,14 @@ Gem::Specification.new do |s|
     not so active attackers.
   DESCRIPTION
 
-  s.files         = `git ls-files`.split("\n")
+  s.files         = `git ls-files`.split("\n").
+      select { |p| !['.gitignore', '.placeholder', 'coquelicot.git'].include?(File.basename(p)) }
   s.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
   s.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
   s.require_paths = ['lib']
 
-  s.add_development_dependency 'rspec'
+  s.add_development_dependency 'rake'
+  s.add_development_dependency 'rspec', '~>2.6'
   s.add_development_dependency 'hpricot'
   s.add_development_dependency 'timecop'
   s.add_development_dependency 'rack-test'
@@ -58,9 +60,10 @@ Gem::Specification.new do |s|
   s.add_runtime_dependency 'sass'
   s.add_runtime_dependency 'maruku'
   s.add_runtime_dependency 'fast_gettext'
-  s.add_runtime_dependency 'lockfile'
+  s.add_runtime_dependency 'lockfile', '~>2.0'
   s.add_runtime_dependency 'json'
   s.add_runtime_dependency 'rainbows'
   s.add_runtime_dependency 'multipart-parser'
   s.add_runtime_dependency 'upr'
+  s.add_runtime_dependency 'moneta', '~>0.7'
 end