cinch_hangman 0.0.6 → 0.0.7
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/hangman.rb +1 -1
- data/lib/cinch_hangman/version.rb +1 -1
- metadata +22 -24
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c232d312b5ddb2673f43a1b6013f771763106953
|
4
|
+
data.tar.gz: 313b2abddb434779416d5fecb6f24826229c91fe
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: f5bf62f92862deb9c4ccc8aedd97f351771fcff89e6f2afe4a0e6d9dc8d9bb128d536f01021a526f8cd7f891845fdc3d11c124a1741016864eb0b1fe35bc0fec
|
7
|
+
data.tar.gz: 851eb0d1b67ec2fde461920f42fdf933c3d4340a1e822e661e38c2c098c9fa35a1544ff0707d75bf3df7971dd0015dfa7c86c3f1dcdd1ae8e59e9d80bb392b03
|
@@ -2,7 +2,7 @@ module Cinch::Plugins
|
|
2
2
|
class Hangman
|
3
3
|
include Cinch::Plugin
|
4
4
|
match /hang guess (.*)/i, :method => :guess
|
5
|
-
match /hang new (#\S*) ([\sa-zA-Z0-9])/i, :method => :new_game
|
5
|
+
match /hang new (#\S*) ([\sa-zA-Z0-9]*)/i, :method => :new_game
|
6
6
|
def new_game(m, channel, answer)
|
7
7
|
@game = CinchHangman::Game.new(answer)
|
8
8
|
Channel(channel).send(@game.describe)
|
metadata
CHANGED
@@ -1,38 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cinch_hangman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.7
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Shanon McQuay
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-12-11 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: '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: '0'
|
25
27
|
- !ruby/object:Gem::Dependency
|
26
28
|
name: rspec
|
27
|
-
requirement:
|
28
|
-
none: false
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
29
30
|
requirements:
|
30
|
-
- -
|
31
|
+
- - ">="
|
31
32
|
- !ruby/object:Gem::Version
|
32
33
|
version: '0'
|
33
34
|
type: :development
|
34
35
|
prerelease: false
|
35
|
-
version_requirements:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
36
41
|
description:
|
37
42
|
email:
|
38
43
|
- shanonmcquay@gmail.com
|
@@ -40,7 +45,7 @@ executables: []
|
|
40
45
|
extensions: []
|
41
46
|
extra_rdoc_files: []
|
42
47
|
files:
|
43
|
-
- .gitignore
|
48
|
+
- ".gitignore"
|
44
49
|
- Gemfile
|
45
50
|
- Rakefile
|
46
51
|
- Readme.markdown
|
@@ -52,33 +57,26 @@ files:
|
|
52
57
|
- spec/game_spec.rb
|
53
58
|
homepage: https://github.com/compactcode/cinch_hangman
|
54
59
|
licenses: []
|
60
|
+
metadata: {}
|
55
61
|
post_install_message:
|
56
62
|
rdoc_options: []
|
57
63
|
require_paths:
|
58
64
|
- lib
|
59
65
|
required_ruby_version: !ruby/object:Gem::Requirement
|
60
|
-
none: false
|
61
66
|
requirements:
|
62
|
-
- -
|
67
|
+
- - ">="
|
63
68
|
- !ruby/object:Gem::Version
|
64
69
|
version: '0'
|
65
|
-
segments:
|
66
|
-
- 0
|
67
|
-
hash: -4010751664144861075
|
68
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
69
|
-
none: false
|
70
71
|
requirements:
|
71
|
-
- -
|
72
|
+
- - ">="
|
72
73
|
- !ruby/object:Gem::Version
|
73
74
|
version: '0'
|
74
|
-
segments:
|
75
|
-
- 0
|
76
|
-
hash: -4010751664144861075
|
77
75
|
requirements: []
|
78
76
|
rubyforge_project: cinch_hangman
|
79
|
-
rubygems_version:
|
77
|
+
rubygems_version: 2.2.2
|
80
78
|
signing_key:
|
81
|
-
specification_version:
|
79
|
+
specification_version: 4
|
82
80
|
summary: Let your IRC bot conduct a game of hangman.
|
83
81
|
test_files:
|
84
82
|
- spec/game_spec.rb
|