Unify gemspec style
This commit is contained in:
parent
e4bccddaaf
commit
51990ce639
1 changed files with 25 additions and 21 deletions
|
@ -1,28 +1,32 @@
|
||||||
# coding: utf-8
|
# coding: utf-8
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
lib = File.expand_path('lib', __dir__).freeze
|
||||||
|
$LOAD_PATH.unshift lib unless $LOAD_PATH.include? lib
|
||||||
|
|
||||||
Gem::Specification.new do |spec|
|
Gem::Specification.new do |spec|
|
||||||
spec.name = 'lita-tox'
|
spec.name = 'lita-tox'
|
||||||
spec.version = '0.3.0'
|
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'
|
|
||||||
spec.description = 'Tox adapter for the Lita chat bot.'
|
|
||||||
spec.homepage = 'https://github.com/toxon/lita-tox'
|
|
||||||
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'
|
||||||
|
|
Reference in a new issue