legitbot 1.12.2 → 1.12.3
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/duckduckgo.rb +2 -2
 - data/lib/legitbot/openai.rb +20 -0
 - 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: 9c4f8bea5161d5a93791e83e7fe5e2c79726f9d73cb9512dd83ad8ae19333454
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 4ce3d59f639623cf383662cde6e6074f538300bc5618523172963c07c4d29e6c
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 861a4997833845489a143270caf346422197d1fbf875f49f66cc7922519e390762ab6b1d7c388fbfa2fd0f7d53ef25d6bf5c82392e9c6870ffdfc33454123e4d
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: cde7ff9896d5959cdf0a28f8aa92320d9e0d941734ebd767a17e4ae1e3edac0a472255edd54565e47d8addd192dfebd779a33ac5fa95a5529a444a596857710d
         
     | 
    
        data/lib/legitbot/duckduckgo.rb
    CHANGED
    
    | 
         @@ -2,7 +2,7 @@ 
     | 
|
| 
       2 
2 
     | 
    
         | 
| 
       3 
3 
     | 
    
         
             
            module Legitbot # :nodoc:
         
     | 
| 
       4 
4 
     | 
    
         
             
              # https://duckduckgo.com/duckduckgo-help-pages/results/duckduckbot
         
     | 
| 
       5 
     | 
    
         
            -
              # rubocop:disable Metrics/ClassLength
         
     | 
| 
      
 5 
     | 
    
         
            +
              # rubocop:disable Metrics/ClassLength, Metrics/CollectionLiteralLength
         
     | 
| 
       6 
6 
     | 
    
         
             
              class DuckDuckBot < BotMatch
         
     | 
| 
       7 
7 
     | 
    
         
             
                # @fetch:url https://duckduckgo.com/duckduckgo-help-pages/results/duckduckbot
         
     | 
| 
       8 
8 
     | 
    
         
             
                # @fetch:selector main > article ul > li > div
         
     | 
| 
         @@ -511,7 +511,7 @@ module Legitbot # :nodoc: 
     | 
|
| 
       511 
511 
     | 
    
         
             
                  191.235.202.48
         
     | 
| 
       512 
512 
     | 
    
         
             
                ]
         
     | 
| 
       513 
513 
     | 
    
         
             
              end
         
     | 
| 
       514 
     | 
    
         
            -
              # rubocop:enable Metrics/ClassLength
         
     | 
| 
      
 514 
     | 
    
         
            +
              # rubocop:enable Metrics/ClassLength, Metrics/CollectionLiteralLength
         
     | 
| 
       515 
515 
     | 
    
         | 
| 
       516 
516 
     | 
    
         
             
              rule Legitbot::DuckDuckBot, %w[DuckDuckBot]
         
     | 
| 
       517 
517 
     | 
    
         
             
              rule Legitbot::DuckAssistBot, %w[DuckAssistBot]
         
     | 
    
        data/lib/legitbot/openai.rb
    CHANGED
    
    | 
         @@ -33,16 +33,22 @@ module Legitbot # :nodoc: 
     | 
|
| 
       33 
33 
     | 
    
         
             
                  4.151.71.176/28
         
     | 
| 
       34 
34 
     | 
    
         
             
                  4.151.119.48/28
         
     | 
| 
       35 
35 
     | 
    
         
             
                  4.151.241.240/28
         
     | 
| 
      
 36 
     | 
    
         
            +
                  4.185.216.109/32
         
     | 
| 
       36 
37 
     | 
    
         
             
                  4.196.118.112/28
         
     | 
| 
       37 
38 
     | 
    
         
             
                  4.196.198.80/28
         
     | 
| 
       38 
39 
     | 
    
         
             
                  4.197.19.176/28
         
     | 
| 
       39 
40 
     | 
    
         
             
                  4.197.22.112/28
         
     | 
| 
      
 41 
     | 
    
         
            +
                  4.197.64.0/28
         
     | 
| 
      
 42 
     | 
    
         
            +
                  4.197.64.16/28
         
     | 
| 
      
 43 
     | 
    
         
            +
                  4.197.64.48/28
         
     | 
| 
      
 44 
     | 
    
         
            +
                  4.197.64.64/28
         
     | 
| 
       40 
45 
     | 
    
         
             
                  4.197.115.112/28
         
     | 
| 
       41 
46 
     | 
    
         
             
                  4.205.128.176/28
         
     | 
| 
       42 
47 
     | 
    
         
             
                  4.234.83.96/28
         
     | 
| 
       43 
48 
     | 
    
         
             
                  12.129.184.64/26
         
     | 
| 
       44 
49 
     | 
    
         
             
                  13.65.138.96/28
         
     | 
| 
       45 
50 
     | 
    
         
             
                  13.65.138.112/28
         
     | 
| 
      
 51 
     | 
    
         
            +
                  13.67.72.16/28
         
     | 
| 
       46 
52 
     | 
    
         
             
                  13.70.107.160/28
         
     | 
| 
       47 
53 
     | 
    
         
             
                  13.71.2.208/28
         
     | 
| 
       48 
54 
     | 
    
         
             
                  13.76.32.208/28
         
     | 
| 
         @@ -60,6 +66,7 @@ module Legitbot # :nodoc: 
     | 
|
| 
       60 
66 
     | 
    
         
             
                  20.102.212.144/28
         
     | 
| 
       61 
67 
     | 
    
         
             
                  20.117.22.224/28
         
     | 
| 
       62 
68 
     | 
    
         
             
                  20.161.75.208/28
         
     | 
| 
      
 69 
     | 
    
         
            +
                  20.171.137.175/32
         
     | 
| 
       63 
70 
     | 
    
         
             
                  20.193.50.32/28
         
     | 
| 
       64 
71 
     | 
    
         
             
                  20.194.0.208/28
         
     | 
| 
       65 
72 
     | 
    
         
             
                  20.194.1.0/28
         
     | 
| 
         @@ -88,6 +95,7 @@ module Legitbot # :nodoc: 
     | 
|
| 
       88 
95 
     | 
    
         
             
                  40.84.181.32/28
         
     | 
| 
       89 
96 
     | 
    
         
             
                  40.84.221.208/28
         
     | 
| 
       90 
97 
     | 
    
         
             
                  40.84.221.224/28
         
     | 
| 
      
 98 
     | 
    
         
            +
                  40.88.27.77/32
         
     | 
| 
       91 
99 
     | 
    
         
             
                  40.116.73.208/28
         
     | 
| 
       92 
100 
     | 
    
         
             
                  40.122.118.93/32
         
     | 
| 
       93 
101 
     | 
    
         
             
                  40.122.118.119/32
         
     | 
| 
         @@ -122,6 +130,10 @@ module Legitbot # :nodoc: 
     | 
|
| 
       122 
130 
     | 
    
         
             
                  52.225.75.208/28
         
     | 
| 
       123 
131 
     | 
    
         
             
                  52.230.163.32/28
         
     | 
| 
       124 
132 
     | 
    
         
             
                  52.230.164.176/28
         
     | 
| 
      
 133 
     | 
    
         
            +
                  52.231.30.48/28
         
     | 
| 
      
 134 
     | 
    
         
            +
                  52.231.34.176/28
         
     | 
| 
      
 135 
     | 
    
         
            +
                  52.231.39.144/28
         
     | 
| 
      
 136 
     | 
    
         
            +
                  52.231.50.64/28
         
     | 
| 
       125 
137 
     | 
    
         
             
                  52.236.94.144/28
         
     | 
| 
       126 
138 
     | 
    
         
             
                  52.242.132.224/28
         
     | 
| 
       127 
139 
     | 
    
         
             
                  52.242.132.240/28
         
     | 
| 
         @@ -163,6 +175,8 @@ module Legitbot # :nodoc: 
     | 
|
| 
       163 
175 
     | 
    
         
             
                  132.196.82.48/28
         
     | 
| 
       164 
176 
     | 
    
         
             
                  135.119.134.128/28
         
     | 
| 
       165 
177 
     | 
    
         
             
                  135.119.134.192/28
         
     | 
| 
      
 178 
     | 
    
         
            +
                  135.220.208.92/32
         
     | 
| 
      
 179 
     | 
    
         
            +
                  135.234.27.89/32
         
     | 
| 
       166 
180 
     | 
    
         
             
                  135.237.131.208/28
         
     | 
| 
       167 
181 
     | 
    
         
             
                  135.237.133.48/28
         
     | 
| 
       168 
182 
     | 
    
         
             
                  135.237.133.112/28
         
     | 
| 
         @@ -172,11 +186,17 @@ module Legitbot # :nodoc: 
     | 
|
| 
       172 
186 
     | 
    
         
             
                  148.76.185.195/32
         
     | 
| 
       173 
187 
     | 
    
         
             
                  148.76.185.196/32
         
     | 
| 
       174 
188 
     | 
    
         
             
                  148.76.185.197/32
         
     | 
| 
      
 189 
     | 
    
         
            +
                  168.63.252.240/28
         
     | 
| 
      
 190 
     | 
    
         
            +
                  172.167.32.228/32
         
     | 
| 
      
 191 
     | 
    
         
            +
                  172.167.161.96/32
         
     | 
| 
      
 192 
     | 
    
         
            +
                  172.171.234.186/32
         
     | 
| 
       175 
193 
     | 
    
         
             
                  172.178.140.144/28
         
     | 
| 
       176 
194 
     | 
    
         
             
                  172.178.141.112/28
         
     | 
| 
       177 
195 
     | 
    
         
             
                  172.178.141.128/28
         
     | 
| 
       178 
196 
     | 
    
         
             
                  172.183.143.224/28
         
     | 
| 
       179 
197 
     | 
    
         
             
                  172.183.222.128/28
         
     | 
| 
      
 198 
     | 
    
         
            +
                  172.191.70.179/32
         
     | 
| 
      
 199 
     | 
    
         
            +
                  172.191.238.68/32
         
     | 
| 
       180 
200 
     | 
    
         
             
                  172.204.16.64/28
         
     | 
| 
       181 
201 
     | 
    
         
             
                  172.212.159.64/28
         
     | 
| 
       182 
202 
     | 
    
         
             
                  172.213.11.144/28
         
     | 
    
        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.12. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.12.3
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Alexander Azarov
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire:
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2025- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2025-11-01 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: fast_interval_tree
         
     |