splitclient-rb 7.0.3.pre.rc1-java → 7.0.3.pre.rc2-java
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 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 347d2572a0280e97daeb88567e8f4e92494857a4
         | 
| 4 | 
            +
              data.tar.gz: 8ba27b55ad2c3b85ed2ee52e4ea439cff8ce481c
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 0e4503a20c1ae5780b86c930559d90cf92e936da8a601504721fe69dfc1787580d2deaaa556ea2c960b7256cf8413b8a6f1f0793cb656302faa7cd0497998ab1
         | 
| 7 | 
            +
              data.tar.gz: d072eaca7ee576f4d7eed39234bffb6bcc623c87351b55e846299cb0466bcd9322edd71bd632e431f8cef9c6af56a1c847effe7bd3d10704d153b0eee64b66df
         | 
    
        data/CHANGES.txt
    CHANGED
    
    
| @@ -1,3 +1,5 @@ | |
| 1 | 
            +
            require 'concurrent'
         | 
| 2 | 
            +
             | 
| 1 3 | 
             
            module SplitIoClient
         | 
| 2 4 | 
             
              module Cache
         | 
| 3 5 | 
             
                module Repositories
         | 
| @@ -64,15 +66,15 @@ module SplitIoClient | |
| 64 66 | 
             
                      end
         | 
| 65 67 |  | 
| 66 68 | 
             
                      def clear_counts
         | 
| 67 | 
            -
                        @counts =  | 
| 69 | 
            +
                        @counts = Concurrent::Array.new
         | 
| 68 70 | 
             
                      end
         | 
| 69 71 |  | 
| 70 72 | 
             
                      def clear_latencies
         | 
| 71 | 
            -
                        @latencies =  | 
| 73 | 
            +
                        @latencies = Concurrent::Array.new
         | 
| 72 74 | 
             
                      end
         | 
| 73 75 |  | 
| 74 76 | 
             
                      def clear_gauges
         | 
| 75 | 
            -
                        @gauges =  | 
| 77 | 
            +
                        @gauges = Concurrent::Array.new
         | 
| 76 78 | 
             
                      end
         | 
| 77 79 |  | 
| 78 80 | 
             
                      def clear
         | 
| @@ -152,7 +154,7 @@ module SplitIoClient | |
| 152 154 | 
             
                      end
         | 
| 153 155 |  | 
| 154 156 | 
             
                      def find_operation_latencies(operation)
         | 
| 155 | 
            -
                        @latencies.find { |l| l[:operation] == operation  | 
| 157 | 
            +
                        @latencies.find { |l| l[:operation] == operation }
         | 
| 156 158 | 
             
                      end
         | 
| 157 159 | 
             
                    end
         | 
| 158 160 | 
             
                  end
         |