Unify gemspec style
This commit is contained in:
parent
e4bccddaaf
commit
51990ce639
1 changed files with 25 additions and 21 deletions
|
@ -1,38 +1,42 @@
|
||||||
# coding: utf-8
|
# coding: utf-8
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
Gem::Specification.new do |spec|
|
lib = File.expand_path('lib', __dir__).freeze
|
||||||
spec.name = 'lita-tox'
|
$LOAD_PATH.unshift lib unless $LOAD_PATH.include? lib
|
||||||
spec.version = '0.3.0'
|
|
||||||
spec.authors = ['Braiden Vasco']
|
|
||||||
spec.email = ['braiden-vasco@users.noreply.github.com']
|
|
||||||
|
|
||||||
spec.summary = 'Tox adapter for the Lita chat bot'
|
Gem::Specification.new do |spec|
|
||||||
spec.description = 'Tox adapter for the Lita chat bot.'
|
spec.name = 'lita-tox'
|
||||||
spec.homepage = 'https://github.com/toxon/lita-tox'
|
spec.version = '0.3.0'
|
||||||
spec.license = 'GPL-3.0'
|
spec.license = 'GPL-3.0'
|
||||||
|
spec.homepage = 'https://github.com/toxon/lita-tox'
|
||||||
|
spec.summary = 'Tox adapter for the Lita chat bot'
|
||||||
|
spec.platform = Gem::Platform::RUBY
|
||||||
|
|
||||||
|
spec.authors = ['Braiden Vasco']
|
||||||
|
spec.email = %w[braiden-vasco@users.noreply.github.com]
|
||||||
|
|
||||||
spec.required_ruby_version = '~> 2.3'
|
spec.required_ruby_version = '~> 2.3'
|
||||||
|
|
||||||
|
spec.description = 'Tox adapter for the Lita chat bot.'
|
||||||
|
|
||||||
spec.metadata['lita_plugin_type'] = 'adapter'
|
spec.metadata['lita_plugin_type'] = 'adapter'
|
||||||
|
|
||||||
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
||||||
f.match(%r{^(test|spec|features)/})
|
f.match %r{^(test|spec|features)/}
|
||||||
end
|
end
|
||||||
|
|
||||||
spec.bindir = 'exe'
|
spec.bindir = 'exe'
|
||||||
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
spec.executables = spec.files.grep %r{^exe/}, &File.method(:basename)
|
||||||
spec.require_paths = ['lib']
|
|
||||||
|
|
||||||
spec.add_development_dependency 'bundler', '~> 1.7'
|
spec.add_development_dependency 'bundler', '~> 1.7'
|
||||||
spec.add_development_dependency 'rake', '~> 10.0'
|
spec.add_development_dependency 'rake', '~> 10.0'
|
||||||
spec.add_development_dependency 'rubocop', '~> 0.31'
|
spec.add_development_dependency 'rubocop', '~> 0.31'
|
||||||
spec.add_development_dependency 'rspec', '~> 3.3'
|
spec.add_development_dependency 'rspec', '~> 3.3'
|
||||||
spec.add_development_dependency 'simplecov', '~> 0.10'
|
spec.add_development_dependency 'simplecov', '~> 0.10'
|
||||||
spec.add_development_dependency 'yard', '~> 0.8'
|
spec.add_development_dependency 'yard', '~> 0.8'
|
||||||
spec.add_development_dependency 'redcarpet', '~> 3.3'
|
spec.add_development_dependency 'redcarpet', '~> 3.3'
|
||||||
spec.add_development_dependency 'github_changelog_generator', '~> 1.6'
|
spec.add_development_dependency 'github_changelog_generator', '~> 1.6'
|
||||||
spec.add_development_dependency 'pry', '~> 0.10'
|
spec.add_development_dependency 'pry', '~> 0.10'
|
||||||
|
|
||||||
spec.add_runtime_dependency 'lita', '~> 4.7'
|
spec.add_runtime_dependency 'lita', '~> 4.7'
|
||||||
spec.add_runtime_dependency 'tox', '~> 0.0.1'
|
spec.add_runtime_dependency 'tox', '~> 0.0.1'
|
||||||
|
|
Reference in a new issue