main
 1# frozen_string_literal: true
 2
 3lib = File.expand_path('lib', __dir__)
 4$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
 5require 'examine/version'
 6
 7Gem::Specification.new do |spec|
 8  spec.name          = 'examine'
 9  spec.version       = Examine::VERSION
10  spec.authors       = ['mo']
11  spec.email         = ['mo@mokhan.ca']
12
13  spec.summary       = 'Examine your software.'
14  spec.description   = 'Examine your software.'
15  spec.homepage      = 'https://gitlab.com/xlgmokha/examine/'
16  spec.license       = 'MIT'
17
18  # Specify which files should be added to the gem when it is released.
19  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
20  spec.files         = Dir.chdir(File.expand_path(__dir__)) do
21    `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
22  end
23  spec.bindir        = 'exe'
24  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25  spec.require_paths = ['lib']
26
27  spec.add_dependency 'down', '~> 4.8'
28  spec.add_dependency 'thor', '~> 0.20'
29  spec.add_development_dependency 'bundler', '~> 2.0'
30  spec.add_development_dependency 'bundler-audit', '~> 0.6'
31  spec.add_development_dependency 'rake', '~> 10.0'
32  spec.add_development_dependency 'rspec', '~> 3.0'
33  spec.add_development_dependency 'rubocop', '~> 0.52'
34  spec.add_development_dependency 'rubocop-rspec', '~> 1.22'
35end