-
Notifications
You must be signed in to change notification settings - Fork 0
/
maid.gemspec
54 lines (47 loc) · 2.34 KB
/
maid.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# -*- 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([email protected])
s.license = 'GPLv2'
s.homepage = 'http://github.com/benjaminoakes/maid'
s.summary = 'Be lazy: let Maid clean up after you. Think of it as "Hazel for hackers".'
s.description = s.summary
s.rubyforge_project = 'maid'
s.required_ruby_version = Gem::Requirement.new('>= 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('mime-types', '~> 2.0')
s.add_dependency('rubyzip', '~> 1.1.0')
s.add_dependency('xdg', '~> 2.2.3') # previous versions had bugs
# 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.6.1')
s.add_development_dependency('guard-rspec', '~> 4.3.1')
s.add_development_dependency('rake', '~> 10.3.2')
s.add_development_dependency('redcarpet', '~> 3.1.2') # Soft dependency of `yard`
s.add_development_dependency('rspec', '>= 2.14', '< 3.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