-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathalfonsox.gemspec
35 lines (29 loc) · 1.26 KB
/
alfonsox.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
# frozen_string_literal: true
require_relative './lib/alfonsox/constants'
require_relative './lib/alfonsox/version'
Gem::Specification.new do |spec|
spec.name = 'alfonsox'
spec.version = AlfonsoX::VERSION
spec.authors = ['Diego J. Romero López']
spec.email = ['[email protected]']
spec.summary = 'Spell checker for code'
spec.description = 'Tool to detect orthography errors your code files'
spec.homepage = AlfonsoX::REPOSITORY_URL
spec.license = 'MIT'
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
end
spec.executables = ['alfonsox']
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.4'
spec.add_dependency 'hunspell', '~> 1.1', '>= 1.1.0'
spec.add_dependency 'nokogiri', '~> 1.8', '>= 1.8.5'
spec.add_development_dependency 'bundler', '~> 1.16'
spec.add_development_dependency 'minitest', '~> 5.0'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'simplecov', '~> 0.16'
end