vbot 0.1.0 → 0.1.1
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.
- checksums.yaml +4 -4
- data/lib/vbot/vbotcontroller.rb +3 -3
- data/lib/vbot/vbotmsglogic.rb +3 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6638d3e56a06aa3491948ea1af4e83d2199f87ff
|
|
4
|
+
data.tar.gz: f68559f25822c839c8a64636fb83904ef6be47c9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: be0e29c412a2f540d28af93035060b8e7a58adf2ebfb5237fb2c81590a52bd2455d1e33a7fa57d46b8c3e26e67bf3e2169cd75ca2b42cb1434c75aa1b6ba1c71
|
|
7
|
+
data.tar.gz: eb4a63f793f7517567763364b409d4b33ffd028616eae979959fc1c195d55977e50c1c191ac660d7449f316a26c0a4c32b414ed45b4eb9ea3b484ce77666d67f
|
data/lib/vbot/vbotcontroller.rb
CHANGED
|
@@ -13,8 +13,7 @@ class VbotController
|
|
|
13
13
|
attr_reader :server, :port, :nick, :ident, :gecos, :chan
|
|
14
14
|
|
|
15
15
|
##
|
|
16
|
-
# Initializes a
|
|
17
|
-
# stored in argument as a hash
|
|
16
|
+
# Initializes a VbotController object
|
|
18
17
|
#
|
|
19
18
|
def initialize config
|
|
20
19
|
@server = config['server']
|
|
@@ -28,11 +27,12 @@ class VbotController
|
|
|
28
27
|
end
|
|
29
28
|
|
|
30
29
|
##
|
|
31
|
-
#
|
|
30
|
+
# Writes to socket output
|
|
32
31
|
#
|
|
33
32
|
def send_msg msg
|
|
34
33
|
@socket.puts msg
|
|
35
34
|
end
|
|
35
|
+
|
|
36
36
|
##
|
|
37
37
|
# Starts the connection to the server and provides identification
|
|
38
38
|
#
|
data/lib/vbot/vbotmsglogic.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vbot
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Richard Davis
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-04-
|
|
11
|
+
date: 2016-04-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: 'vbot is an IRC bot library that aims to be make building and extending
|
|
14
14
|
IRC bots more efficient.
|
|
@@ -49,7 +49,7 @@ rubyforge_project:
|
|
|
49
49
|
rubygems_version: 2.5.1
|
|
50
50
|
signing_key:
|
|
51
51
|
specification_version: 4
|
|
52
|
-
summary:
|
|
52
|
+
summary: Ruby library for building IRC bots
|
|
53
53
|
test_files:
|
|
54
54
|
- test/test_vbot.rb
|
|
55
55
|
has_rdoc:
|