Archived
1
0
Fork 0

Unify gemspec style

This commit is contained in:
Braiden Vasco 2017-07-20 21:22:37 +00:00
parent e4bccddaaf
commit 51990ce639

View file

@ -1,28 +1,32 @@
# coding: utf-8
# 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|
spec.name = 'lita-tox'
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.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.description = 'Tox adapter for the Lita chat bot.'
spec.metadata['lita_plugin_type'] = 'adapter'
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
f.match %r{^(test|spec|features)/}
end
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.executables = spec.files.grep %r{^exe/}, &File.method(:basename)
spec.add_development_dependency 'bundler', '~> 1.7'
spec.add_development_dependency 'rake', '~> 10.0'