flatware-rspec 2.2.1 → 2.3.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
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: ed684fc96c679f2fa616a18eb64183066f1f686e86fcefbb7cbc7d1ed633f2fa
         | 
| 4 | 
            +
              data.tar.gz: ce541ce14cd85b542b1794f60f46494b1a157292a146121c6dbfe3bfb5342960
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 59eebe27638af1a6c0bfd3c6fcd73a202c5c37060b51944d4074fc09fb8046835a6112ac4966565b3066df38338ca468827d9d42fd5930d37f0c7b38a9d172cb
         | 
| 7 | 
            +
              data.tar.gz: 6bf0e48850665d8342885fd43fab1e76eb2195a83b221eccadb422c6285c622622bc4b5a1205dc372bab33cc0aee68c8b14ac7701a6d23e367364a85bf2507d6
         | 
| @@ -6,7 +6,15 @@ module Flatware | |
| 6 6 | 
             
                module Marshalable
         | 
| 7 7 | 
             
                  class SummaryNotification < ::RSpec::Core::Notifications::SummaryNotification
         | 
| 8 8 | 
             
                    def +(other)
         | 
| 9 | 
            -
                       | 
| 9 | 
            +
                      values = to_h.map do |key, value|
         | 
| 10 | 
            +
                        if %i[duration load_time].include?(key)
         | 
| 11 | 
            +
                          [value, other.public_send(key)].max
         | 
| 12 | 
            +
                        else
         | 
| 13 | 
            +
                          value + other.public_send(key)
         | 
| 14 | 
            +
                        end
         | 
| 15 | 
            +
                      end
         | 
| 16 | 
            +
             | 
| 17 | 
            +
                      self.class.new(*values)
         | 
| 10 18 | 
             
                    end
         | 
| 11 19 |  | 
| 12 20 | 
             
                    def failures?
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: flatware-rspec
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 2. | 
| 4 | 
            +
              version: 2.3.1
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Brian Dunn
         | 
| 8 8 | 
             
            autorequire:
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2024-03- | 
| 11 | 
            +
            date: 2024-03-20 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: flatware
         | 
| @@ -16,14 +16,14 @@ dependencies: | |
| 16 16 | 
             
                requirements:
         | 
| 17 17 | 
             
                - - '='
         | 
| 18 18 | 
             
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            -
                    version: 2. | 
| 19 | 
            +
                    version: 2.3.1
         | 
| 20 20 | 
             
              type: :runtime
         | 
| 21 21 | 
             
              prerelease: false
         | 
| 22 22 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 23 23 | 
             
                requirements:
         | 
| 24 24 | 
             
                - - '='
         | 
| 25 25 | 
             
                  - !ruby/object:Gem::Version
         | 
| 26 | 
            -
                    version: 2. | 
| 26 | 
            +
                    version: 2.3.1
         | 
| 27 27 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 28 28 | 
             
              name: rspec
         | 
| 29 29 | 
             
              requirement: !ruby/object:Gem::Requirement
         |