-
Notifications
You must be signed in to change notification settings - Fork 247
/
listen.gemspec
39 lines (32 loc) · 1.4 KB
/
listen.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
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'listen/version'
Gem::Specification.new do |gem| # rubocop:disable Metrics/BlockLength
gem.name = 'listen'
gem.version = Listen::VERSION
gem.license = 'MIT'
gem.author = 'Thibaud Guillaume-Gentil'
gem.email = 'thibaud@thibaud.gg'
gem.homepage = 'https://github.com/guard/listen'
gem.summary = 'Listen to file modifications'
gem.description = 'The Listen gem listens to file modifications and '\
'notifies you about the changes. Works everywhere!'
gem.metadata = {
'allowed_push_host' => 'https://rubygems.org',
'bug_tracker_uri' => "#{gem.homepage}/issues",
'changelog_uri' => "#{gem.homepage}/releases",
'documentation_uri' => "https://www.rubydoc.info/gems/listen/#{gem.version}",
'homepage_uri' => gem.homepage,
'source_code_uri' => "#{gem.homepage}/tree/v#{gem.version}"
}
gem.files = `git ls-files -z`.split("\x0").select do |f|
%r{^(?:bin|lib)/} =~ f
end + %w[CHANGELOG.md CONTRIBUTING.md LICENSE.txt README.md]
gem.test_files = []
gem.executable = 'listen'
gem.require_path = 'lib'
gem.required_ruby_version = '>= 2.4.0' # rubocop:disable Gemspec/RequiredRubyVersion
gem.add_dependency 'rb-fsevent', '~> 0.10', '>= 0.10.3'
gem.add_dependency 'rb-inotify', '~> 0.9', '>= 0.9.10'
end