cinch 2.2.6 → 2.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cinch/target.rb +2 -2
- data/lib/cinch/version.rb +1 -1
- metadata +123 -98
- checksums.yaml +0 -7
data/lib/cinch/target.rb
CHANGED
@@ -187,12 +187,12 @@ module Cinch
|
|
187
187
|
r = [msg.rindex(/\s/, max_rune) || (max_rune + 1), 1].max
|
188
188
|
|
189
189
|
splitted << (msg[0...r] + split_end)
|
190
|
-
msg = split_start.tr(" ", "\
|
190
|
+
msg = split_start.tr(" ", "\cz") + msg[r..-1].lstrip
|
191
191
|
end
|
192
192
|
splitted << msg
|
193
193
|
|
194
194
|
# clean string from any substitute characters
|
195
|
-
splitted.map {|string| string.tr("\
|
195
|
+
splitted.map {|string| string.tr("\cz", " ")}
|
196
196
|
end
|
197
197
|
end
|
198
198
|
end
|
data/lib/cinch/version.rb
CHANGED
metadata
CHANGED
@@ -1,141 +1,166 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: cinch
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 9
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 2
|
8
|
+
- 2
|
9
|
+
- 7
|
10
|
+
version: 2.2.7
|
5
11
|
platform: ruby
|
6
|
-
authors:
|
12
|
+
authors:
|
7
13
|
- Dominik Honnef
|
8
14
|
autorequire:
|
9
15
|
bindir: bin
|
10
16
|
cert_chain: []
|
11
|
-
|
17
|
+
|
18
|
+
date: 2015-09-28 00:00:00 +02:00
|
19
|
+
default_executable:
|
12
20
|
dependencies: []
|
21
|
+
|
13
22
|
description: A simple, friendly DSL for creating IRC bots
|
14
|
-
email:
|
23
|
+
email:
|
15
24
|
- dominikh@fork-bomb.org
|
16
25
|
executables: []
|
26
|
+
|
17
27
|
extensions: []
|
28
|
+
|
18
29
|
extra_rdoc_files: []
|
19
|
-
|
20
|
-
|
30
|
+
|
31
|
+
files:
|
21
32
|
- LICENSE
|
22
33
|
- README.md
|
23
|
-
-
|
34
|
+
- .yardopts
|
24
35
|
- docs/changes.md
|
36
|
+
- docs/getting_started.md
|
37
|
+
- docs/readme.md
|
38
|
+
- docs/bot_options.md
|
25
39
|
- docs/common_mistakes.md
|
26
|
-
- docs/common_tasks.md
|
27
|
-
- docs/encodings.md
|
28
40
|
- docs/events.md
|
29
|
-
- docs/
|
41
|
+
- docs/plugins.md
|
42
|
+
- docs/encodings.md
|
30
43
|
- docs/logging.md
|
44
|
+
- docs/common_tasks.md
|
31
45
|
- docs/migrating.md
|
32
|
-
-
|
33
|
-
- docs/readme.md
|
34
|
-
- examples/basic/autovoice.rb
|
35
|
-
- examples/basic/google.rb
|
36
|
-
- examples/basic/hello.rb
|
37
|
-
- examples/basic/join_part.rb
|
38
|
-
- examples/basic/memo.rb
|
39
|
-
- examples/basic/msg.rb
|
40
|
-
- examples/basic/seen.rb
|
41
|
-
- examples/basic/urban_dict.rb
|
42
|
-
- examples/basic/url_shorten.rb
|
43
|
-
- examples/plugins/autovoice.rb
|
44
|
-
- examples/plugins/custom_prefix.rb
|
45
|
-
- examples/plugins/dice_roll.rb
|
46
|
-
- examples/plugins/google.rb
|
47
|
-
- examples/plugins/hello.rb
|
48
|
-
- examples/plugins/hooks.rb
|
49
|
-
- examples/plugins/join_part.rb
|
50
|
-
- examples/plugins/lambdas.rb
|
51
|
-
- examples/plugins/last_nick.rb
|
52
|
-
- examples/plugins/msg.rb
|
53
|
-
- examples/plugins/multiple_matches.rb
|
54
|
-
- examples/plugins/own_events.rb
|
55
|
-
- examples/plugins/seen.rb
|
56
|
-
- examples/plugins/timer.rb
|
57
|
-
- examples/plugins/url_shorten.rb
|
58
|
-
- lib/cinch.rb
|
59
|
-
- lib/cinch/#channel.rb#
|
60
|
-
- lib/cinch/ban.rb
|
61
|
-
- lib/cinch/bot.rb
|
62
|
-
- lib/cinch/cached_list.rb
|
63
|
-
- lib/cinch/callback.rb
|
46
|
+
- lib/cinch/formatting.rb
|
64
47
|
- lib/cinch/channel.rb
|
65
|
-
- lib/cinch/
|
66
|
-
- lib/cinch/
|
48
|
+
- lib/cinch/timer.rb
|
49
|
+
- lib/cinch/sasl/diffie_hellman.rb
|
50
|
+
- lib/cinch/sasl/plain.rb
|
51
|
+
- lib/cinch/sasl/dh_blowfish.rb
|
52
|
+
- lib/cinch/sasl/mechanism.rb
|
53
|
+
- lib/cinch/network.rb
|
54
|
+
- lib/cinch/sasl.rb
|
55
|
+
- lib/cinch/cached_list.rb
|
56
|
+
- lib/cinch/bot.rb
|
57
|
+
- lib/cinch/isupport.rb
|
58
|
+
- lib/cinch/#channel.rb#
|
59
|
+
- lib/cinch/helpers.rb
|
60
|
+
- lib/cinch/handler.rb
|
61
|
+
- lib/cinch/handler_list.rb
|
62
|
+
- lib/cinch/rubyext/module.rb
|
63
|
+
- lib/cinch/rubyext/float.rb
|
64
|
+
- lib/cinch/rubyext/string.rb
|
65
|
+
- lib/cinch/syncable.rb
|
66
|
+
- lib/cinch/plugin_list.rb
|
67
|
+
- lib/cinch/message.rb
|
68
|
+
- lib/cinch/target.rb
|
69
|
+
- lib/cinch/mask.rb
|
70
|
+
- lib/cinch/configuration/sasl.rb
|
67
71
|
- lib/cinch/configuration/bot.rb
|
68
|
-
- lib/cinch/configuration/dcc.rb
|
69
72
|
- lib/cinch/configuration/plugins.rb
|
70
|
-
- lib/cinch/configuration/sasl.rb
|
71
73
|
- lib/cinch/configuration/ssl.rb
|
74
|
+
- lib/cinch/configuration/dcc.rb
|
72
75
|
- lib/cinch/configuration/timeouts.rb
|
73
|
-
- lib/cinch/
|
76
|
+
- lib/cinch/pattern.rb
|
77
|
+
- lib/cinch/open_ended_queue.rb
|
78
|
+
- lib/cinch/logger_list.rb
|
79
|
+
- lib/cinch/callback.rb
|
74
80
|
- lib/cinch/dcc.rb
|
75
|
-
- lib/cinch/
|
76
|
-
- lib/cinch/
|
81
|
+
- lib/cinch/version.rb
|
82
|
+
- lib/cinch/utilities/deprecation.rb
|
83
|
+
- lib/cinch/utilities/kernel.rb
|
84
|
+
- lib/cinch/utilities/encoding.rb
|
85
|
+
- lib/cinch/constants.rb
|
86
|
+
- lib/cinch/mode_parser.rb
|
87
|
+
- lib/cinch/user.rb
|
88
|
+
- lib/cinch/logger/formatted_logger.rb
|
89
|
+
- lib/cinch/logger/zcbot_logger.rb
|
90
|
+
- lib/cinch/exceptions.rb
|
91
|
+
- lib/cinch/logger.rb
|
92
|
+
- lib/cinch/plugin.rb
|
93
|
+
- lib/cinch/user_list.rb
|
77
94
|
- lib/cinch/dcc/incoming/send.rb
|
95
|
+
- lib/cinch/dcc/dccable_object.rb
|
78
96
|
- lib/cinch/dcc/outgoing.rb
|
97
|
+
- lib/cinch/dcc/incoming.rb
|
79
98
|
- lib/cinch/dcc/outgoing/send.rb
|
80
|
-
- lib/cinch/exceptions.rb
|
81
|
-
- lib/cinch/formatting.rb
|
82
|
-
- lib/cinch/handler.rb
|
83
|
-
- lib/cinch/handler_list.rb
|
84
|
-
- lib/cinch/helpers.rb
|
85
99
|
- lib/cinch/irc.rb
|
86
|
-
- lib/cinch/
|
87
|
-
- lib/cinch/
|
88
|
-
- lib/cinch/logger/formatted_logger.rb
|
89
|
-
- lib/cinch/logger/zcbot_logger.rb
|
90
|
-
- lib/cinch/logger_list.rb
|
91
|
-
- lib/cinch/mask.rb
|
92
|
-
- lib/cinch/message.rb
|
100
|
+
- lib/cinch/channel_list.rb
|
101
|
+
- lib/cinch/ban.rb
|
93
102
|
- lib/cinch/message_queue.rb
|
94
|
-
- lib/cinch/
|
95
|
-
- lib/cinch
|
96
|
-
-
|
97
|
-
-
|
98
|
-
-
|
99
|
-
-
|
100
|
-
-
|
101
|
-
-
|
102
|
-
-
|
103
|
-
-
|
104
|
-
-
|
105
|
-
-
|
106
|
-
-
|
107
|
-
-
|
108
|
-
-
|
109
|
-
-
|
110
|
-
-
|
111
|
-
-
|
112
|
-
-
|
113
|
-
-
|
114
|
-
-
|
115
|
-
-
|
116
|
-
-
|
103
|
+
- lib/cinch/configuration.rb
|
104
|
+
- lib/cinch.rb
|
105
|
+
- examples/plugins/timer.rb
|
106
|
+
- examples/plugins/msg.rb
|
107
|
+
- examples/plugins/dice_roll.rb
|
108
|
+
- examples/plugins/lambdas.rb
|
109
|
+
- examples/plugins/join_part.rb
|
110
|
+
- examples/plugins/google.rb
|
111
|
+
- examples/plugins/autovoice.rb
|
112
|
+
- examples/plugins/multiple_matches.rb
|
113
|
+
- examples/plugins/url_shorten.rb
|
114
|
+
- examples/plugins/own_events.rb
|
115
|
+
- examples/plugins/seen.rb
|
116
|
+
- examples/plugins/last_nick.rb
|
117
|
+
- examples/plugins/hooks.rb
|
118
|
+
- examples/plugins/hello.rb
|
119
|
+
- examples/plugins/custom_prefix.rb
|
120
|
+
- examples/basic/msg.rb
|
121
|
+
- examples/basic/join_part.rb
|
122
|
+
- examples/basic/google.rb
|
123
|
+
- examples/basic/autovoice.rb
|
124
|
+
- examples/basic/url_shorten.rb
|
125
|
+
- examples/basic/memo.rb
|
126
|
+
- examples/basic/seen.rb
|
127
|
+
- examples/basic/urban_dict.rb
|
128
|
+
- examples/basic/hello.rb
|
129
|
+
has_rdoc: true
|
117
130
|
homepage: http://cinchrb.org
|
118
|
-
licenses:
|
131
|
+
licenses:
|
119
132
|
- MIT
|
120
|
-
metadata: {}
|
121
133
|
post_install_message:
|
122
134
|
rdoc_options: []
|
123
|
-
|
135
|
+
|
136
|
+
require_paths:
|
124
137
|
- lib
|
125
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
126
|
-
|
138
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
139
|
+
none: false
|
140
|
+
requirements:
|
127
141
|
- - ">="
|
128
|
-
- !ruby/object:Gem::Version
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
hash: 49
|
144
|
+
segments:
|
145
|
+
- 1
|
146
|
+
- 9
|
147
|
+
- 1
|
129
148
|
version: 1.9.1
|
130
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
131
|
-
|
149
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
150
|
+
none: false
|
151
|
+
requirements:
|
132
152
|
- - ">="
|
133
|
-
- !ruby/object:Gem::Version
|
134
|
-
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
hash: 3
|
155
|
+
segments:
|
156
|
+
- 0
|
157
|
+
version: "0"
|
135
158
|
requirements: []
|
159
|
+
|
136
160
|
rubyforge_project:
|
137
|
-
rubygems_version:
|
161
|
+
rubygems_version: 1.6.2
|
138
162
|
signing_key:
|
139
|
-
specification_version:
|
163
|
+
specification_version: 3
|
140
164
|
summary: An IRC Bot Building Framework
|
141
165
|
test_files: []
|
166
|
+
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: b1e40f6cd0cfe7e806d4b87bfd591c5320c5a2fc
|
4
|
-
data.tar.gz: d7a173c15ed16769d1703ba3dd7b9d1f7c810cba
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: f687dc8eeffdbb9c455017e679ec0528b09c95aea5e921207f5ccb132d61bfb3ae2d3417db6cdb0500199671d5f5344194d1d021ff8933914254acc78f419b82
|
7
|
-
data.tar.gz: 96e85381ff58dc28d4aa457c4985924e1b32fcc708823330e6eb87c71ef7da4c62f36edd4a3c958a640d63135c64c65bccf9a66c39e8c7ecf0270beae52646f4
|