nakiircbot 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c070c5f505213c2ca011f3a87911603f2b327c2787406c5ffe2b9e8fdc60495
4
- data.tar.gz: 145078acb492b0c2afb570be54145eeaca0fa749978b1dcbce59470ac7f84a74
3
+ metadata.gz: 1649304da79382271926c3ffe2013c6d83c0c706b6c957467ea0c5ebf0676e9b
4
+ data.tar.gz: 97250f3ac4e83b0afb60d9a5ad4cb9499f5ee802ceeb197cac349060e5a25df6
5
5
  SHA512:
6
- metadata.gz: 4277a56a3a649aca36bf058cb89bbf6a2ac17de4c9388ae22d341d2de234239d4252d7335c422f41bab6b5fc4e954491900660d4b851eb22040f50de604deed9
7
- data.tar.gz: c62d1a88df3c5b58aa3bfce9f0f0b52a7804ec85ca32c3e9e82ebd5dd0ff8fa61412a23553213872a497df505d4c8f666736b5f4fe2332f9193a74c6e8e79852
6
+ metadata.gz: 88907b83544e66733abf2a36c7468cd5ab89c0dea773497c6fb9097783591503ecf20c204bb9ba37451d6491d7e6517e72010c89c7582a237ebf73566304eeaf
7
+ data.tar.gz: 3e4d5762ec1fd49c6a567e58d7c9490c7da00db007b3578b15103c9ff7ec2cde9fbcf849681010226fcd8ebac529d228ca964739425f655a5bd8bf9700127b41
data/lib/nakiircbot.rb CHANGED
@@ -201,6 +201,8 @@ module NakiIRCBot
201
201
  [
202
202
  DateTime.parse($1).to_time,
203
203
  *case _
204
+ when /\A> PRIVMSG #([a-z\d_]+) :/
205
+ [$1, ">", bot_name, $']
204
206
  when /\A> /,
205
207
  "< :tmi.twitch.tv 002 #{bot_name} :Your host is tmi.twitch.tv",
206
208
  "< :tmi.twitch.tv 003 #{bot_name} :This server is rather new",
data/nakiircbot.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "nakiircbot"
3
- spec.version = "1.1.0"
3
+ spec.version = "1.2.0"
4
4
  spec.summary = "IRC bot framework"
5
5
 
6
6
  spec.author = "Victor Maslov aka Nakilon"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nakiircbot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Maslov aka Nakilon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-18 00:00:00.000000000 Z
11
+ date: 2024-01-04 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: nakilon@gmail.com
@@ -39,7 +39,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  requirements: []
42
- rubygems_version: 3.4.13
42
+ rubygems_version: 3.3.27
43
43
  signing_key:
44
44
  specification_version: 4
45
45
  summary: IRC bot framework