lita-livenation 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1bbb8fb2f53546f57fa4bc8a87310d35bcb72945
4
- data.tar.gz: c67f9b36305b59c13e61626c295c5b63412c7be6
3
+ metadata.gz: 8959264c969d66cf2481c60a0e30b56cbf790db3
4
+ data.tar.gz: 20fdfb152877ae9470ea8c3d45e8f6fcfcda6776
5
5
  SHA512:
6
- metadata.gz: b706ef37def13ada5aac9288c4cb11bce87302ba35a8d63f7b513905517e97d006684b74ed55ae250343e5a900a95fc892ba3dd968011054b8adc91380bf3a27
7
- data.tar.gz: b6cb41cd501a04365958c06cb4e5df0961ce1de7185d314bcbee073e89d3d7a26c5e15c967316f80f9c051057220930725646b773485ada95ea7209f955859ba
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)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-livenation"
3
- spec.version = "0.0.1"
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.}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-livenation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Tran