lita-resistance 0.1.0 → 0.2.0
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/resistance.rb +3 -3
- data/lita-resistance.gemspec +3 -3
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56058720df7598135c26c691f0f98b7c37600d17
|
4
|
+
data.tar.gz: 9087749376c680d7ac497d00a22d43c16beb3b55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3261aa80c4928c9ecc9f4bab37d3e47d3937553db26c100840a9a27a0f08be0b3d97ecb660804ba6ec90f96400a2e1f128ed167bdca0f9d11242a793dfa3b73b
|
7
|
+
data.tar.gz: c38e41459be472a673336cd9d4882a87c79555f537cbe7896a255c774aa7524e80e515b76cf692ddc3e5c7752cb2a6e94752848e16da8d95d16bb3254b621a27
|
@@ -45,15 +45,15 @@ module Lita
|
|
45
45
|
|
46
46
|
spies.each do |member|
|
47
47
|
user = Lita::User.find_by_mention_name(member)
|
48
|
-
robot.send_message(Source.new(user: user),"@#{response.user.mention_name} has started game ID##{gameId} of Resistance. You are a member of the spies.")
|
48
|
+
robot.send_message(Source.new(user: user),"@#{response.user.mention_name} has started game ID ##{gameId} of Resistance. You are a member of the spies.")
|
49
49
|
end
|
50
50
|
|
51
51
|
resistance.each do |member|
|
52
52
|
user = Lita::User.find_by_mention_name(member)
|
53
|
-
robot.send_message(Source.new(user: user), "@#{response.user.mention_name} has started game ID##{gameId} of Resistance. You are a member of the resistance.")
|
53
|
+
robot.send_message(Source.new(user: user), "@#{response.user.mention_name} has started game ID ##{gameId} of Resistance. You are a member of the resistance.")
|
54
54
|
end
|
55
55
|
|
56
|
-
response.reply("Roles have been assigned to the selected people! This is game ID##{gameId}")
|
56
|
+
response.reply("Roles have been assigned to the selected people! This is game ID ##{gameId}")
|
57
57
|
end
|
58
58
|
|
59
59
|
Lita.register_handler(self)
|
data/lita-resistance.gemspec
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = "lita-resistance"
|
3
|
-
spec.version = "0.
|
4
|
-
spec.authors = ["Deon Hua"]
|
5
|
-
spec.email = ["deonhbci@gmail.com"]
|
3
|
+
spec.version = "0.2.0"
|
4
|
+
spec.authors = ["Deon Hua", "Yu Chen Hou"]
|
5
|
+
spec.email = ["deonhbci@gmail.com", "me@yuchen.io"]
|
6
6
|
spec.description = "Plays a game of resistance by assigning roles to users you mention in chat."
|
7
7
|
spec.summary = "Plays a game of resistance by assigning roles to users you mention in chat."
|
8
8
|
spec.homepage = "http://github.com/DeonHua/lita-resistance"
|
metadata
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lita-resistance
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Deon Hua
|
8
|
+
- Yu Chen Hou
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
@@ -126,6 +127,7 @@ description: Plays a game of resistance by assigning roles to users you mention
|
|
126
127
|
chat.
|
127
128
|
email:
|
128
129
|
- deonhbci@gmail.com
|
130
|
+
- me@yuchen.io
|
129
131
|
executables: []
|
130
132
|
extensions: []
|
131
133
|
extra_rdoc_files: []
|