lita-livenation 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lita/handlers/livenation.rb +6 -0
- data/lita-livenation.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8959264c969d66cf2481c60a0e30b56cbf790db3
|
4
|
+
data.tar.gz: 20fdfb152877ae9470ea8c3d45e8f6fcfcda6776
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0133d091eb7df3564cea9ad526a25e45c7058d4539e354b7751184718954d8c2bdcd69cf92475c4f48b3651494c73a69265ed4ce05421c271b8a0680b666c38d
|
7
|
+
data.tar.gz: cc77c5806837d8cbe41b3ce5ba97c76a5b69391a2de3a3f3d3682bde5f23bc9cfdd6763f7bf4ae2c3e4f1956d5fb9c3a877dd43fe8e402324fc2247f7e1a7a64
|
@@ -4,10 +4,16 @@ module Lita
|
|
4
4
|
module Handlers
|
5
5
|
class Livenation < Handler
|
6
6
|
route /standup/, :standup
|
7
|
+
route /lunch/, :lunch
|
7
8
|
|
8
9
|
def standup(response)
|
9
10
|
response.reply "https://zoom.us/j/136817372"
|
10
11
|
end
|
12
|
+
|
13
|
+
def lunch(response)
|
14
|
+
lunch_spots = ['Shin Ya', "Hoy's Wok", 'Fresh n Easy', 'Baja Fresh', "Zankou's Chicken", 'Mendocino Farms', 'Chipotle']
|
15
|
+
response.reply "You should eat at #{lunch_spots.sample} today."
|
16
|
+
end
|
11
17
|
end
|
12
18
|
|
13
19
|
Lita.register_handler(Livenation)
|
data/lita-livenation.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = "lita-livenation"
|
3
|
-
spec.version = "0.0.
|
3
|
+
spec.version = "0.0.2"
|
4
4
|
spec.authors = ["Peter Tran"]
|
5
5
|
spec.email = ["peter@livenationlabs.com"]
|
6
6
|
spec.description = %q{Plugin for Lita that responds to standup with a zoom link.}
|