lita-against-humanity 0.1.2 → 0.2.0

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: 6c93d3a4551bd2476264073a20991941aaf90f1e
4
- data.tar.gz: 76e3a57c1c8aa9b95601ee49e02106e182b1e9f4
3
+ metadata.gz: eb27a8a890422231613eeb275c854b415fecc7fe
4
+ data.tar.gz: 16ed5a0df14ee0858bb7d13f33742cdde300cabf
5
5
  SHA512:
6
- metadata.gz: 0ef9e18dbb432a764892fa4beeef708c94b287d56fc007a1789807c4c6818680cd11a95ae27191299b3f157d37d4c831b428643f0a86ef72d92950562942bb4e
7
- data.tar.gz: b74ac6f28b16233813a4fd8bdecbb2fc93f24124b8ba6556432269c483c2d09a1a84e2b63df50f3da00043c62c2256e8719ab1ed95e0962403b9f63b38f99603
6
+ metadata.gz: 669cd093bffeab1c1bb2ed8a0faab4a99e22ad371b69dac9737cac811c1b0b8326c8dfba298a8702f76af6ad71f8ff6ff652bbef415786746f07f3fdd9eaf980
7
+ data.tar.gz: cc24d10c07aa80ad3cb9f0bcf9913ccdd0eba1611f3d92213deb429c86bf97ccdd075ca2417cabf697d5c25e43470838aaa4dfa62e6486f9ca265d62f7bcd78f
@@ -749,13 +749,18 @@ module Lita
749
749
  "Zeus's sexual appetites."
750
750
  ]
751
751
 
752
- route /humanity/, :go, command: true, help: { "lita humanity" => "Lita will play a random pair of cards from Cards Against Humanity" }
752
+ route /humanity choice/, :choice, command: true, help: { "lita humanity choice" => "Lita can only take you some of the way" }
753
+ route "humanity", :go, command: true, help: { "lita humanity" => "Lita will play a random pair of cards from Cards Against Humanity" }
753
754
 
754
755
  def go(response)
755
756
  response.reply(BLACK_CARDS.sample)
756
757
  response.reply(WHITE_CARDS.sample)
757
758
  end
758
759
 
760
+ def choice(response)
761
+ response.reply(BLACK_CARDS.sample)
762
+ response.reply("A) #{WHITE_CARDS.sample}; B) #{WHITE_CARDS.sample}; C) #{WHITE_CARDS.sample}")
763
+ end
759
764
  end
760
765
 
761
766
  Lita.register_handler(AgainstHumanity)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-against-humanity"
3
- spec.version = "0.1.2"
3
+ spec.version = "0.2.0"
4
4
  spec.authors = ["John O'Brien"]
5
5
  spec.email = ["strayjohno@gmail.com"]
6
6
  spec.description = "Plays a random pair of cards from Cards Against Humanity"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-against-humanity
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - John O'Brien
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-03 00:00:00.000000000 Z
11
+ date: 2015-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita