shoryuken 6.2.0 → 6.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/CHANGELOG.md +5 -0
- data/lib/shoryuken/options.rb +6 -2
- data/lib/shoryuken/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: 6168df5d49a143c56908e559afcaddc28f7416176881429069cd12680db867c6
         | 
| 4 | 
            +
              data.tar.gz: 1c3a73c4e269457b29962f0a0ac9ba56093ab58cbfab7b00c9aa79c0eb7cb186
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 3ba49924964a3c98336a3b68e008d831549247574d2f180c72e600bef1dfbcdfa142a863d5e49b100f226d6d5aaf3e0b00fc972968e0ec3502121f10661f9c10
         | 
| 7 | 
            +
              data.tar.gz: 9cc7f3b45550ff308213ceb72f2098a0bd1ae868c4b1401fbe3fe1a0cb8b43467c347ac2b396e0bcb2148f1d9927a46da43951a8550d027c0e9ba28db0739840
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    
    
        data/lib/shoryuken/options.rb
    CHANGED
    
    | @@ -67,10 +67,14 @@ module Shoryuken | |
| 67 67 | 
             
                    Polling::WeightedRoundRobin
         | 
| 68 68 | 
             
                  when 'StrictPriority'
         | 
| 69 69 | 
             
                    Polling::StrictPriority
         | 
| 70 | 
            +
                  when String
         | 
| 71 | 
            +
                    begin
         | 
| 72 | 
            +
                      Object.const_get(strategy)
         | 
| 73 | 
            +
                    rescue NameError
         | 
| 74 | 
            +
                      raise ArgumentError, "#{strategy} is not a valid polling_strategy"
         | 
| 75 | 
            +
                    end
         | 
| 70 76 | 
             
                  when Class
         | 
| 71 77 | 
             
                    strategy
         | 
| 72 | 
            -
                  else
         | 
| 73 | 
            -
                    raise ArgumentError, "#{strategy} is not a valid polling_strategy"
         | 
| 74 78 | 
             
                  end
         | 
| 75 79 | 
             
                end
         | 
| 76 80 |  | 
    
        data/lib/shoryuken/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: shoryuken
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 6.2. | 
| 4 | 
            +
              version: 6.2.1
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Pablo Cantero
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2024-02- | 
| 11 | 
            +
            date: 2024-02-09 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: dotenv
         |