Archived
1
0
Fork 0

Merge pull request #1 from braiden-vasco/initialize_gem

Initialize gem
This commit is contained in:
Braiden Vasco 2015-07-25 07:23:16 +00:00
commit ae8a8f7a09
8 changed files with 65 additions and 3 deletions

6
.gitignore vendored
View file

@ -27,9 +27,9 @@ build/
# for a library or gem, you might want to ignore these files since the code is # for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in: # intended to run in multiple environments; otherwise, check them in:
# Gemfile.lock /Gemfile.lock
# .ruby-version /.ruby-version
# .ruby-gemset /.ruby-gemset
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this: # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc .rvmrc

4
Gemfile Normal file
View file

@ -0,0 +1,4 @@
source 'https://rubygems.org'
# Specify your gem's dependencies in lita-tox.gemspec
gemspec

1
Rakefile Normal file
View file

@ -0,0 +1 @@
require "bundler/gem_tasks"

14
bin/console Executable file
View file

@ -0,0 +1,14 @@
#!/usr/bin/env ruby
require "bundler/setup"
require "lita/tox"
# You can add fixtures and/or initialization code here to make experimenting
# with your gem easier. You can also use a different console, if you like.
# (If you use this, don't forget to add pry to your Gemfile!)
# require "pry"
# Pry.start
require "irb"
IRB.start

7
bin/setup Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
bundle install
# Do any other automated setup that you need to do here

7
lib/lita/tox.rb Normal file
View file

@ -0,0 +1,7 @@
require "lita/tox/version"
module Lita
module Tox
# Your code goes here...
end
end

5
lib/lita/tox/version.rb Normal file
View file

@ -0,0 +1,5 @@
module Lita
module Tox
VERSION = "0.0.0"
end
end

24
lita-tox.gemspec Normal file
View file

@ -0,0 +1,24 @@
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'lita/tox/version'
Gem::Specification.new do |spec|
spec.name = "lita-tox"
spec.version = Lita::Tox::VERSION
spec.authors = ["Braiden Vasco"]
spec.email = ["braiden-vasco@mailtor.net"]
spec.summary = %q{Tox adapter for the Lita chat bot}
spec.description = %q{Tox adapter for the Lita chat bot.}
spec.homepage = "https://github.com/braiden-vasco/lita-tox"
spec.license = "MIT"
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler", "~> 1.10"
spec.add_development_dependency "rake", "~> 10.0"
end