potato 0.0.7 → 0.0.10
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.
- data/lib/potato/damn/client.rb +1 -1
- data/lib/potato/irc/client.rb +1 -1
- data/lib/potato/irc/server.rb +4 -2
- data/lib/potato/version.rb +1 -1
- metadata +31 -26
data/lib/potato/damn/client.rb
CHANGED
data/lib/potato/irc/client.rb
CHANGED
data/lib/potato/irc/server.rb
CHANGED
@@ -12,8 +12,10 @@ module Potato
|
|
12
12
|
attr_reader :opts
|
13
13
|
|
14
14
|
# Write color-coded debug information if debug is enabled.
|
15
|
-
def debug(*items
|
16
|
-
|
15
|
+
def debug(*items)
|
16
|
+
type = Symbol === items[-1] ? items.pop : :sys
|
17
|
+
items.flatten!
|
18
|
+
color = {:damn => 33, :irc => 35, :damn_out => 32, :irc_out => 34, :sys => 31}[type]
|
17
19
|
colon = (type == :damn_out || type == :irc_out) ? ">>" : "<<"
|
18
20
|
if @opts.debug
|
19
21
|
items.each do |line|
|
data/lib/potato/version.rb
CHANGED
metadata
CHANGED
@@ -1,27 +1,28 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: potato
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.7
|
3
|
+
version: !ruby/object:Gem::Version
|
5
4
|
prerelease:
|
5
|
+
version: 0.0.10
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Joel Taylor
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
12
|
+
|
13
|
+
date: 2011-04-25 00:00:00 Z
|
14
14
|
dependencies: []
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
email:
|
15
|
+
|
16
|
+
description: Potato is an IRC server that communicates with the deviantART Message Network and allows you to treat it like a regular IRC server, with support for user modes, kicks/bans, /whois-ing, etc.
|
17
|
+
email:
|
19
18
|
- holla@joeldt.net
|
20
|
-
executables:
|
19
|
+
executables:
|
21
20
|
- potato
|
22
21
|
extensions: []
|
22
|
+
|
23
23
|
extra_rdoc_files: []
|
24
|
-
|
24
|
+
|
25
|
+
files:
|
25
26
|
- .gitignore
|
26
27
|
- .yardopts
|
27
28
|
- README.md
|
@@ -40,29 +41,33 @@ files:
|
|
40
41
|
- lib/potato/irc/user.rb
|
41
42
|
- lib/potato/version.rb
|
42
43
|
- potato.gemspec
|
43
|
-
|
44
|
-
homepage: ''
|
44
|
+
homepage: ""
|
45
45
|
licenses: []
|
46
|
+
|
46
47
|
post_install_message:
|
47
48
|
rdoc_options: []
|
48
|
-
|
49
|
+
|
50
|
+
require_paths:
|
49
51
|
- lib
|
50
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
52
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
51
53
|
none: false
|
52
|
-
requirements:
|
53
|
-
- -
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version:
|
56
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: "0"
|
58
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
57
59
|
none: false
|
58
|
-
requirements:
|
59
|
-
- -
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version:
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: "0"
|
62
64
|
requirements: []
|
65
|
+
|
63
66
|
rubyforge_project: potato
|
64
|
-
rubygems_version: 1.
|
67
|
+
rubygems_version: 1.7.2
|
65
68
|
signing_key:
|
66
69
|
specification_version: 3
|
67
70
|
summary: A dAmn <=> IRC proxy.
|
68
71
|
test_files: []
|
72
|
+
|
73
|
+
has_rdoc:
|