cinch-timebomb 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/cinch/plugins/timebomb.rb +3 -3
- metadata +15 -14
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f840f3b0f60d588688919669d265ff8719932bc7
|
4
|
+
data.tar.gz: 9c118a3c0bee4806d032d11acfd8a6e8af0a55ee
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 7c42259f8b3fd9b2b84bae72cd83a2dd1f37f653199074630a22dd148720d813df80bbbcccbac478a7c4f9701740d7d0b8d1e2a5a365735c7feb56df2cef7962
|
7
|
+
data.tar.gz: 920ff46e7b3c21633fafd9fdc7c2956d966d2b3d4b0f3780d1d4c53cb3fff826af3e8d5f6f9b13996f852388343e4d05c1ee95df80a8d051a49e7e4ba2eebb93
|
@@ -18,8 +18,8 @@ module Cinch
|
|
18
18
|
navi olive plum silver tan teal turquoise}
|
19
19
|
|
20
20
|
|
21
|
-
match /timebomb (
|
22
|
-
match /cutwire (
|
21
|
+
match /timebomb ([^ ]+)/, method: :plant_bomb
|
22
|
+
match /cutwire ([^ ]+)/, method: :cut_wire
|
23
23
|
self.react_on = :channel
|
24
24
|
self.required_options = [:channels]
|
25
25
|
|
@@ -50,7 +50,7 @@ module Cinch
|
|
50
50
|
|
51
51
|
|
52
52
|
timer = Timer(duration, shots: 1) do
|
53
|
-
m.channel.kick(
|
53
|
+
m.channel.kick(whom, "*BOOM!*")
|
54
54
|
@bombs[m.channel] = nil
|
55
55
|
end
|
56
56
|
|
metadata
CHANGED
@@ -1,32 +1,34 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cinch-timebomb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Dominik Honnef
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2016-02-22 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: cinch
|
16
|
-
requirement:
|
17
|
-
none: false
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
18
16
|
requirements:
|
19
|
-
- - ~>
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '2.0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
|
-
version_requirements:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.0'
|
25
27
|
description: Timebomb is a game where one person asks the Eggdrop bot to plant a timebomb
|
26
28
|
in another user's pants. The target user then needs to diffuse the bomb by cutting
|
27
29
|
the correct wire, or be kicked from the channel
|
28
30
|
email:
|
29
|
-
-
|
31
|
+
- dominik@honnef.co
|
30
32
|
executables: []
|
31
33
|
extensions: []
|
32
34
|
extra_rdoc_files: []
|
@@ -37,27 +39,26 @@ files:
|
|
37
39
|
homepage: http://rubydoc.info/github/cinchrb/cinch-timebomb
|
38
40
|
licenses:
|
39
41
|
- MIT
|
42
|
+
metadata: {}
|
40
43
|
post_install_message:
|
41
44
|
rdoc_options: []
|
42
45
|
require_paths:
|
43
46
|
- lib
|
44
47
|
required_ruby_version: !ruby/object:Gem::Requirement
|
45
|
-
none: false
|
46
48
|
requirements:
|
47
|
-
- -
|
49
|
+
- - ">="
|
48
50
|
- !ruby/object:Gem::Version
|
49
51
|
version: 1.9.1
|
50
52
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
51
|
-
none: false
|
52
53
|
requirements:
|
53
|
-
- -
|
54
|
+
- - ">="
|
54
55
|
- !ruby/object:Gem::Version
|
55
56
|
version: '0'
|
56
57
|
requirements: []
|
57
58
|
rubyforge_project:
|
58
|
-
rubygems_version:
|
59
|
+
rubygems_version: 2.4.5.1
|
59
60
|
signing_key:
|
60
|
-
specification_version:
|
61
|
+
specification_version: 4
|
61
62
|
summary: Plant a timebomb in someone's pants and see if he can defuse it.
|
62
63
|
test_files: []
|
63
64
|
has_rdoc:
|