legitbot 1.11.0 → 1.11.2
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/legitbot/google.rb +1 -0
- data/lib/legitbot/openai.rb +19 -11
- data/lib/legitbot/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c06ecb8c87510aa1305b7cec2a5d6f9af8c2721a329b84bb451812235e70dbf
|
4
|
+
data.tar.gz: 180c6092712dbcd93c50448496ca15eec5048baac516090ce2d9de437d41eaea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5fad7cab01736c65375c1d3ad8988e437ab239d69388ed063c7e89c71c104b347382944ecfd1dfd573a11b0a9179e7ebd3754665ebe0764e8265261d170aacd
|
7
|
+
data.tar.gz: 5f3708844c6c3c99db8766d4a9e5eaf6e9d46f052fcc9f2656b844ae20d14e5e274d7a7747f1f4a3029498a2bc282a1a2e3453552bfec5d3aa8cd4ee77996e37
|
data/lib/legitbot/google.rb
CHANGED
data/lib/legitbot/openai.rb
CHANGED
@@ -3,10 +3,12 @@
|
|
3
3
|
module Legitbot # :nodoc:
|
4
4
|
# https://platform.openai.com/docs/gptbot
|
5
5
|
class GPTBot < BotMatch
|
6
|
-
#
|
7
|
-
# @
|
6
|
+
# @fetch:url https://openai.com/gptbot.json
|
7
|
+
# @fetch:jsonpath $.prefixes[*].ipv4Prefix
|
8
8
|
ip_ranges %w[
|
9
|
+
4.227.36.0/25
|
9
10
|
20.171.206.0/24
|
11
|
+
20.171.207.0/24
|
10
12
|
52.230.152.0/24
|
11
13
|
52.233.106.0/24
|
12
14
|
]
|
@@ -14,28 +16,34 @@ module Legitbot # :nodoc:
|
|
14
16
|
|
15
17
|
# https://platform.openai.com/docs/bots
|
16
18
|
class OpenAIChat < BotMatch
|
17
|
-
#
|
18
|
-
# @
|
19
|
+
# @fetch:url https://openai.com/chatgpt-user.json
|
20
|
+
# @fetch:jsonpath $.prefixes[*].ipv4Prefix
|
19
21
|
ip_ranges %w[
|
20
|
-
23.98.142.176/28
|
21
|
-
40.84.180.224/28
|
22
22
|
13.65.240.240/28
|
23
23
|
20.97.189.96/28
|
24
24
|
20.161.75.208/28
|
25
|
-
|
26
|
-
|
25
|
+
23.98.142.176/28
|
26
|
+
23.98.179.16/28
|
27
|
+
40.84.180.64/28
|
28
|
+
40.84.180.224/28
|
27
29
|
40.84.221.208/28
|
28
30
|
40.84.221.224/28
|
29
|
-
|
31
|
+
51.8.155.48/28
|
32
|
+
52.156.77.144/28
|
33
|
+
52.225.75.208/28
|
34
|
+
135.237.131.208/28
|
35
|
+
172.178.140.144/28
|
36
|
+
172.178.141.128/28
|
30
37
|
]
|
31
38
|
end
|
32
39
|
|
33
40
|
# https://platform.openai.com/docs/bots
|
34
41
|
class OpenAISearch < BotMatch
|
35
|
-
#
|
36
|
-
# @
|
42
|
+
# @fetch:url https://openai.com/searchbot.json
|
43
|
+
# @fetch:jsonpath $.prefixes[*].ipv4Prefix
|
37
44
|
ip_ranges %w[
|
38
45
|
20.42.10.176/28
|
46
|
+
51.8.102.0/24
|
39
47
|
172.203.190.128/28
|
40
48
|
]
|
41
49
|
end
|
data/lib/legitbot/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: legitbot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.11.
|
4
|
+
version: 1.11.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Azarov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fast_interval_tree
|