forked from svoop/autotest-fsevent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
autotest-fsevent.gemspec
51 lines (43 loc) · 1.98 KB
/
autotest-fsevent.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
# coding: utf-8
require_relative 'lib/autotest-fsevent/version'
Gem::Specification.new do |spec|
spec.name = 'autotest-fsevent'
spec.version = Autotest::FSEvent::VERSION
spec.summary = 'Use FSEvent instead of filesystem polling'
spec.description = <<~END
Autotest relies on filesystem polling to detect modifications in source
code files. This is expensive for the CPU, harddrive and battery - and
unnecesary on Mac OS X 10.5 or higher which comes with the very efficient
FSEvent core service for this very purpose. This gem teaches autotest how
to use FSEvent.
END
spec.authors = ['Sven Schwyn']
spec.email = ['ruby@bitcetera.com']
spec.homepage = 'https://github.com/svoop/autotest-fsevent'
spec.license = 'MIT'
spec.metadata = {
'homepage_uri' => spec.homepage,
'changelog_uri' => 'https://github.com/svoop/autotest-fsevent/blob/main/CHANGELOG.md',
'source_code_uri' => 'https://github.com/svoop/autotest-fsevent',
'documentation_uri' => 'https://www.rubydoc.info/gems/autotest-fsevent',
'bug_tracker_uri' => 'https://github.com/svoop/autotest-fsevent/issues'
}
spec.files = Dir['lib/**/*', 'ext/**/*', 'prebuilt/*', 'post-install.txt']
spec.require_paths = %w(lib)
spec.extensions = ['ext/fsevent/extconf.rb']
spec.cert_chain = ["certs/svoop.pem"]
spec.signing_key = File.expand_path(ENV['GEM_SIGNING_KEY']) if ENV['GEM_SIGNING_KEY']
spec.extra_rdoc_files = Dir['README.md', 'CHANGELOG.md', 'LICENSE.txt']
spec.rdoc_options += [
'--title', 'FSEvent for Autotest',
'--main', 'README.md',
'--line-numbers',
'--inline-source',
'--quiet'
]
spec.post_install_message = "\e[1;32m\n" + ('-' * 79) + "\n\n" + File.read('post-install.txt').strip + "\n\n" + ('-' * 79) + "\n\e[0m"
spec.add_runtime_dependency 'sys-uname'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'minitest'
spec.add_development_dependency "minitest-autotest"
end