# -*- encoding: utf-8 -*- $:.push File.expand_path('../lib', __FILE__) require 'maid/version' Gem::Specification.new do |s| s.name = 'maid' s.version = Maid::VERSION s.platform = Gem::Platform::RUBY s.authors = ['Benjamin Oakes'] s.email = %w(hello@benjaminoakes.com) s.license = 'GPLv2' s.homepage = 'http://github.com/benjaminoakes/maid' s.summary = Maid::SUMMARY s.description = s.summary s.rubyforge_project = 'maid' s.required_ruby_version = '>= 1.9.3' # Strategy: if possible, use ranges (so there are fewer chances of version conflicts) s.add_dependency('escape', '>= 0.0.1', '< 0.1.0') # Used for better Ruby 1.8.7 support, could be replaced with `Shellwords` s.add_dependency('thor', '>= 0.14.0', '< 1.0.0') s.add_dependency('deprecated', '~> 3.0.0') s.add_dependency('dimensions', '>= 1.0.0', '< 2.0') s.add_dependency('mime-types', '~> 2.0') s.add_dependency('rubyzip', '~> 1.1.0') s.add_dependency('xdg', '~> 2.2.3') # previous versions had bugs s.add_dependency('listen', '>= 2.8.0', '< 2.11.0') s.add_dependency('rufus-scheduler', '~> 3.0.6') s.add_dependency('exifr', '~> 1.2.0') s.add_dependency('geocoder', '~> 1.2.0') # TODO: use one of these two gems instead of `mdfind`. **But** They have to work on Linux as well. # # s.add_dependency('mac-spotlight', '~> 0.0.4') # s.add_dependency('spotlight', '~> 0.0.6') # Strategy: specific versions (since they're just for development) s.add_development_dependency('fakefs', '~> 0.4.2') s.add_development_dependency('guard', '~> 2.10.4') s.add_development_dependency('guard-rspec', '~> 4.5.0') s.add_development_dependency('rake', '~> 10.4.2') s.add_development_dependency('redcarpet', '~> 3.2.2') # Soft dependency of `yard` s.add_development_dependency('rspec', '~> 3.1.0') s.add_development_dependency('timecop', '~> 0.7.0') s.add_development_dependency('yard', '~> 0.8.4') # In Vagrant, polling won't cross over the OS boundary if you develop in the host OS but run your tests in the # guest. One way around this is to force polling instead: # # bundle exec guard --force-polling # s.add_development_dependency('rb-inotify', '~> 0.9.0') s.add_development_dependency('rb-fsevent', '~> 0.9.2') s.files = `git ls-files -z`.split("\0") s.test_files = `git ls-files -z -- {test,spec,features}/*`.split("\0") s.executables = `git ls-files -z -- bin/*`.split("\0").map{ |f| File.basename(f) } s.require_paths = %w(lib) end