File: listen.gemspec

package info (click to toggle)
ruby-listen 3.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 544 kB
  • sloc: ruby: 5,033; makefile: 9
file content (36 lines) | stat: -rw-r--r-- 1,332 bytes parent folder | download | duplicates (2)
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
# 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        = Dir.glob('{bin,lib}/**/*') + %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-inotify', '~> 0.9', '>= 0.9.10'
end