maid.gemspec in maid-0.1.2 vs maid.gemspec in maid-0.1.3.beta.1
- old
+ new
@@ -1,8 +1,9 @@
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "maid/version"
+require "maid/platform"
Gem::Specification.new do |s|
s.name = "maid"
s.version = Maid::VERSION
s.platform = Gem::Platform::RUBY
@@ -12,14 +13,24 @@
s.summary = %q{Be lazy. Let Maid clean up after you, based on rules you define.}
s.description = s.summary
s.rubyforge_project = "maid"
- s.add_dependency('thor', '~> 0.14.6')
- s.add_development_dependency('rake', '~> 0.8.7')
- s.add_development_dependency('rspec', '~> 2.5.0')
- s.add_development_dependency('timecop', '~> 0.3.5')
- s.add_development_dependency('ZenTest', '~> 4.4.2')
+ s.add_dependency('thor', '~> 0.16.0')
+ s.add_dependency('deprecated', '~> 3.0.1')
+ s.add_dependency('xdg', '~> 2.2.2') # Only used on Linux, but still required/tested on OSX
+ s.add_development_dependency('guard', '~> 1.4.0')
+ s.add_development_dependency('guard-rspec', '~> 2.1.0')
+ s.add_development_dependency('rake', '~> 0.9.2.2')
+ s.add_development_dependency('rspec', '~> 2.11.0')
+ s.add_development_dependency('timecop', '~> 0.5.2')
+ s.add_development_dependency('fakefs', '~> 0.4.0')
+
+ if Maid::Platform.linux?
+ s.add_development_dependency('rb-inotify', '~> 0.8.8')
+ elsif Maid::Platform.osx?
+ s.add_development_dependency('rb-fsevent', '~> 0.9.2')
+ end
s.files = `git ls-files`.split("\n")
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"]