Archived
1
0
Fork 0

Merge pull request #27 from toxon/transfer-repo

Transfer repo
This commit is contained in:
Braiden Vasco 2017-07-20 21:31:32 +00:00 committed by GitHub
commit bc98a4a177
3 changed files with 43 additions and 37 deletions

View file

@ -2,8 +2,8 @@ Lita::Adapters::Tox
=================== ===================
[![Gem Version](https://badge.fury.io/rb/lita-tox.svg)](http://badge.fury.io/rb/lita-tox) [![Gem Version](https://badge.fury.io/rb/lita-tox.svg)](http://badge.fury.io/rb/lita-tox)
[![Build Status](https://travis-ci.org/braiden-vasco/lita-tox.svg)](https://travis-ci.org/braiden-vasco/lita-tox) [![Build Status](https://travis-ci.org/toxon/lita-tox.svg)](https://travis-ci.org/toxon/lita-tox)
[![Coverage Status](https://coveralls.io/repos/github/braiden-vasco/lita-tox/badge.svg)](https://coveralls.io/github/braiden-vasco/lita-tox) [![Coverage Status](https://coveralls.io/repos/github/toxon/lita-tox/badge.svg)](https://coveralls.io/github/toxon/lita-tox)
[Tox](https://tox.chat) adapter for the [Lita](http://lita.io) chat bot. [Tox](https://tox.chat) adapter for the [Lita](http://lita.io) chat bot.

View file

@ -1,28 +1,31 @@
# frozen_string_literal: true # frozen_string_literal: true
require 'rubygems'
gemspec = Gem::Specification.load('lita-tox.gemspec')
github_user, github_project =
gemspec.homepage.scan(%r{^https://github\.com/([^/]+)/([^/]+)/?$})[0]
require 'bundler/gem_tasks' require 'bundler/gem_tasks'
task default: %i[spec lint] GEMSPEC = Gem::Specification.load 'lita-tox.gemspec'
require 'rspec/core/rake_task' github_user, github_project =
RSpec::Core::RakeTask.new GEMSPEC.homepage.scan(%r{^https://github\.com/([^/]+)/([^/]+)/?$})[0]
task default: %i[spec lint]
task lint: :rubocop task lint: :rubocop
task fix: 'rubocop:auto_correct' task fix: 'rubocop:auto_correct'
require 'rubocop/rake_task' begin
RuboCop::RakeTask.new require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new
rescue LoadError
nil
end
require 'yard' begin
YARD::Rake::YardocTask.new require 'rubocop/rake_task'
RuboCop::RakeTask.new
rescue LoadError
nil
end
desc 'Generate changelog' desc 'Generate changelog'
task :changelog, [:token] do |_t, args| task :changelog, [:token] do |_t, args|

View file

@ -1,38 +1,41 @@
# 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@mailtor.net']
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/braiden-vasco/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.49.1'
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 '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'