zetabot 2.2.0 → 2.2.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/Gemfile.lock +1 -1
- data/lib/Zeta/cinch.rb +6 -0
- data/lib/Zeta/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f8e39c59a8f99836efb2437f8201d1ee3adab62989ef546b30e31a51774ab1ea
|
|
4
|
+
data.tar.gz: 20fc3e2ddb8926fc0f81da0b5d325d88974e1a43cf7ec9b6217cf5fc02a80095
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 89cb309e5b06b123427b3aca1d4e24f3c80414717b87cf1fd5cadd752f19d750aa01799bd948d06bb806db03325746414ad691c7408dcb9c5c0ff9cfb1661143
|
|
7
|
+
data.tar.gz: 994491b4d87d4e16bc9e03209f4b0fdda5d385fccc42ac2dd5174eb4bf2362ee4e17e793c9825a2cd02a80b57eb57a125ba108bd499dcd0ffb34f2b7140b5a47
|
data/Gemfile.lock
CHANGED
data/lib/Zeta/cinch.rb
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
require 'cinch'
|
|
2
|
+
require 'socket'
|
|
3
|
+
|
|
4
|
+
# Ruby 3.4+ connects with Happy Eyeballs v2, which resolves IPv4/IPv6 separately and
|
|
5
|
+
# prefers IPv6, ignoring the system's address ordering (e.g. /etc/gai.conf).
|
|
6
|
+
# Restore the pre-3.4 behaviour so the OS decides which address family to use.
|
|
7
|
+
Socket.tcp_fast_fallback = false if Socket.respond_to?(:tcp_fast_fallback=)
|
|
2
8
|
|
|
3
9
|
Bot = Cinch::Bot.new do
|
|
4
10
|
configure do |c|
|
data/lib/Zeta/version.rb
CHANGED