lita-eightball 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 17d7f816b06c4f34527c320f496328fd167db71f
4
- data.tar.gz: 5651487b4eb14c3117d7755626f974f403e127cb
3
+ metadata.gz: fc89ae5a4767d8e03ba1d2b419e6028d04fbe37d
4
+ data.tar.gz: 0113302474a51ae25815a2b41372160dd6c2552c
5
5
  SHA512:
6
- metadata.gz: a2bae05884fb2481131150308ca227430c9de94de139a4047577c2d3f16b33c249b2b21e039538e6a2f887159693197fa6015797f691dd2d7579420cdeef07f8
7
- data.tar.gz: 02d9d43dc6a77f0f77af2c92be72fe4ddd959dc0a9a63b4a60e78ecfaffe55c068b340cef6e0f37a52d87455b66b7603f2bf7cf5c4444cfc18ed8b8573bc41bc
6
+ metadata.gz: a7747a12b2325625a5828deb0b3f3e9c2f63f41143c10b280fd8ef46b78c6fa3f92f5b68830e995540f5561e9f536f62581e7ac5941e8b62b0663007f691fc08
7
+ data.tar.gz: 97d10655019a159fab7c98bfa212445a346c767b156e4199668f9daf5d1fd199bb4e29f63d420a0bd2f1a757ba55f80d90727dcf40189a7264c28f6588b03bf7
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  [![Code Climate](https://codeclimate.com/github/webdestroya/lita-eightball.png)](https://codeclimate.com/github/webdestroya/lita-eightball)
5
5
  [![Coverage Status](https://coveralls.io/repos/webdestroya/lita-eightball/badge.png)](https://coveralls.io/r/webdestroya/lita-eightball)
6
6
 
7
- **lita-eightball** is a handler for [Lita](https://github.com/jimmycuadra/lita) that allows you to roll an eight-ball
7
+ **lita-eightball** is a handler for [Lita](https://github.com/jimmycuadra/lita) that allows you to roll an eight-ball.
8
8
 
9
9
  ## Installation
10
10
 
@@ -8,7 +8,7 @@ module Lita
8
8
  "It is certain",
9
9
  "It is decidedly so",
10
10
  "Without a doubt",
11
- "Yes definitely",
11
+ "Yes - definitely",
12
12
  "You may rely on it",
13
13
  "As I see it, yes",
14
14
  "Most likely",
@@ -27,10 +27,8 @@ module Lita
27
27
  "Very doubtful"
28
28
  ]
29
29
 
30
- route %r{8ball|eightball}i, :shake, command: true
30
+ route %r{8ball|eightball}i, :shake, command: true, help: { "8ball" => "Shakes the eightball" }
31
31
 
32
- route %r{!8ball}i, :shake
33
-
34
32
  def shake(response)
35
33
  response.reply RESPONSES.shuffle.first
36
34
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-eightball"
3
- spec.version = "1.0.0"
3
+ spec.version = "1.0.1"
4
4
  spec.authors = ["Mitch Dempsey"]
5
5
  spec.email = ["mitch@mitchdempsey.com"]
6
6
  spec.description = %q{A Lita handler for shaking an eightball.}
@@ -3,6 +3,7 @@ require "spec_helper"
3
3
  describe Lita::Handlers::Eightball, lita_handler: true do
4
4
  it { routes_command("8ball").to(:shake) }
5
5
  it { routes_command("eightball").to(:shake) }
6
- it { routes("!8ball").to(:shake) }
6
+ it { routes_command("roll the eightball").to(:shake) }
7
+ it { routes_command("shake the eightball").to(:shake) }
7
8
 
8
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-eightball
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mitch Dempsey
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-23 00:00:00.000000000 Z
11
+ date: 2013-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita