Skip to content

Commit

Permalink
Adding to beer namespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
onewheelskyward committed May 15, 2016
1 parent 3476796 commit d5ecb52
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# lita-onewheel-baileys
# lita-onewheel-beer-baileys

[![Build Status](https://travis-ci.org/onewheelskyward/lita-onewheel-baileys.png?branch=master)](https://travis-ci.org/onewheelskyward/lita-onewheel-baileys)
[![Coverage Status](https://coveralls.io/repos/onewheelskyward/lita-onewheel-baileys/badge.png)](https://coveralls.io/r/onewheelskyward/lita-onewheel-baileys)
[![Build Status](https://travis-ci.org/onewheelskyward/lita-onewheel-beer-baileys.png?branch=master)](https://travis-ci.org/onewheelskyward/lita-onewheel-beer-baileys)
[![Coverage Status](https://coveralls.io/repos/onewheelskyward/lita-onewheel-beer-baileys/badge.png)](https://coveralls.io/r/onewheelskyward/lita-onewheel-beer-baileys)

Searches Bailey's Taproom draft list for data and displays it in IRC.

http://www.baileystaproom.com/draft-list/

## Installation

Add lita-onewheel-baileys to your Lita instance's Gemfile:
Add lita-onewheel-beer-baileys to your Lita instance's Gemfile:

``` ruby
gem 'lita-onewheel-baileys'
gem 'lita-onewheel-beer-baileys'
```

## Usage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
File.join('..', '..', 'locales', '*.yml'), __FILE__
)]

require 'lita/handlers/onewheel_baileys'
require 'lita/handlers/onewheel_beer_baileys'

Lita::Handlers::OnewheelBaileys.template_root File.expand_path(
Lita::Handlers::OnewheelBeerBaileys.template_root File.expand_path(
File.join('..', '..', 'templates'),
__FILE__
)
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

module Lita
module Handlers
class OnewheelBaileys < OnewheelBeerBase
class OnewheelBeerBaileys < OnewheelBeerBase
route /^taps$/i,
:taps_list,
command: true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Gem::Specification.new do |spec|
spec.name = 'lita-onewheel-baileys'
spec.version = '3.8.4'
spec.name = 'lita-onewheel-beer-baileys'
spec.version = '3.8.5'
spec.authors = ['Andrew Kreps']
spec.email = ['andrew.kreps@gmail.com']
spec.description = %q{Lita interface to Bailey's Taproom listings.}
spec.summary = %q{See above.}
spec.homepage = 'https://github.com/onewheelskyward/lita-onewheel-baileys'
spec.homepage = 'https://github.com/onewheelskyward/lita-onewheel-beer-baileys'
spec.license = 'MIT'
spec.metadata = { 'lita_plugin_type' => 'handler' }

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'spec_helper'

describe Lita::Handlers::OnewheelBaileys, lita_handler: true do
describe Lita::Handlers::OnewheelBeerBaileys, lita_handler: true do
it { is_expected.to route_command('taps') }
it { is_expected.to route_command('taps 4') }
it { is_expected.to route_command('taps nitro') }
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
]
SimpleCov.start { add_filter '/spec/' }

require 'lita-onewheel-baileys'
require 'lita-onewheel-beer-baileys'
require 'lita/rspec'

# A compatibility mode is provided for older plugins upgrading from Lita 3. Since this plugin
Expand Down

0 comments on commit d5ecb52

Please sign in to comment.