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 +4 -4
- data/README.md +1 -1
- data/lib/lita/handlers/eightball.rb +2 -4
- data/lita-eightball.gemspec +1 -1
- data/spec/lita/handlers/eightball_spec.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc89ae5a4767d8e03ba1d2b419e6028d04fbe37d
|
4
|
+
data.tar.gz: 0113302474a51ae25815a2b41372160dd6c2552c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
data/lita-eightball.gemspec
CHANGED
@@ -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 {
|
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.
|
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-
|
11
|
+
date: 2013-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lita
|