mongo 1.12.1 → 1.12.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
- checksums.yaml.gz.sig +1 -1
- data.tar.gz.sig +0 -0
- data/VERSION +1 -1
- data/lib/mongo/connection/socket/tcp_socket.rb +1 -0
- data/test/functional/collection_test.rb +5 -1
- metadata +4 -4
- metadata.gz.sig +0 -0
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 63bb2463ace4d76e547f3192d0c729e7a18f0e08
         | 
| 4 | 
            +
              data.tar.gz: 65257012149ec0ceb787abd47e73fa5f0f3fa145
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: e27d7b59882e66c2ea3615b4ace0109b23746e64b1d4ae8bf432ed9651781c04e2748e134c56a3c69575e92edb6ab1e0b25321b3e52e0304a061400c2d749896
         | 
| 7 | 
            +
              data.tar.gz: ac75240dbb070768911fc3d76f56ce5dc4633db488875cb133ca3dfb1bf2f8234c3f839c1456641b97dc380c5e66f0749c8f31004b0d29cf30515cbf94514a91
         | 
    
        checksums.yaml.gz.sig
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            � | 
| 1 | 
            +
            {/E�x5tKEG?�Y���C��zx�lB���l����s]j���cT�,yE[>T�(-�^>�m*YJ&�si{g��Z�O�}1�w���f[!m��.bJ}P�?I}܀�o�Xԟ�K���.�HW+Y����N��̈́��Ƨ�RI����?d��kyA�R�k��1p5�G����>��/��o�w7�ozA����yPd�a�6�C��o��'�B#�e5HtΗ�@��h6���D*=�
         | 
    
        data.tar.gz.sig
    CHANGED
    
    | Binary file | 
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            1.12. | 
| 1 | 
            +
            1.12.2
         | 
| @@ -35,6 +35,7 @@ module Mongo | |
| 35 35 | 
             
                  # Following python's lead (see PYTHON-356)
         | 
| 36 36 | 
             
                  family = host == 'localhost' ? Socket::AF_INET : Socket::AF_UNSPEC
         | 
| 37 37 | 
             
                  addr_info = Socket.getaddrinfo(host, nil, family, Socket::SOCK_STREAM)
         | 
| 38 | 
            +
                  error = nil
         | 
| 38 39 | 
             
                  addr_info.each do |info|
         | 
| 39 40 | 
             
                    begin
         | 
| 40 41 | 
             
                      sock = Socket.new(info[4], Socket::SOCK_STREAM, 0)
         | 
| @@ -1828,7 +1828,11 @@ class CollectionTest < Test::Unit::TestCase | |
| 1828 1828 | 
             
                @test.save({:a => 1})
         | 
| 1829 1829 | 
             
                @test.save({:a => 2})
         | 
| 1830 1830 | 
             
                assert @test.find({:a => 1}, :show_disk_loc => true).show_disk_loc
         | 
| 1831 | 
            -
                 | 
| 1831 | 
            +
                if @version > '3.0.0'
         | 
| 1832 | 
            +
                  assert @test.find({:a => 1}, :show_disk_loc => true).next['$recordId']
         | 
| 1833 | 
            +
                else
         | 
| 1834 | 
            +
                  assert @test.find({:a => 1}, :show_disk_loc => true).next['$diskLoc']
         | 
| 1835 | 
            +
                end
         | 
| 1832 1836 | 
             
                @test.remove
         | 
| 1833 1837 | 
             
              end
         | 
| 1834 1838 |  | 
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: mongo
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1.12. | 
| 4 | 
            +
              version: 1.12.2
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Emily Stolfo
         | 
| @@ -34,7 +34,7 @@ cert_chain: | |
| 34 34 | 
             
              XZOS48LlWh15EG4yZo/gRzqNAW2LUIkYA5eMS2Kp6r+KV8IBUO/LaHdrXbdilpa8
         | 
| 35 35 | 
             
              BRsuCo7UZDbFVRns04HLyjVvkj+K/ywIcdKdS0csz5M=
         | 
| 36 36 | 
             
              -----END CERTIFICATE-----
         | 
| 37 | 
            -
            date: 2015- | 
| 37 | 
            +
            date: 2015-05-19 00:00:00.000000000 Z
         | 
| 38 38 | 
             
            dependencies:
         | 
| 39 39 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 40 40 | 
             
              name: bson
         | 
| @@ -42,14 +42,14 @@ dependencies: | |
| 42 42 | 
             
                requirements:
         | 
| 43 43 | 
             
                - - '='
         | 
| 44 44 | 
             
                  - !ruby/object:Gem::Version
         | 
| 45 | 
            -
                    version: 1.12. | 
| 45 | 
            +
                    version: 1.12.2
         | 
| 46 46 | 
             
              type: :runtime
         | 
| 47 47 | 
             
              prerelease: false
         | 
| 48 48 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 49 49 | 
             
                requirements:
         | 
| 50 50 | 
             
                - - '='
         | 
| 51 51 | 
             
                  - !ruby/object:Gem::Version
         | 
| 52 | 
            -
                    version: 1.12. | 
| 52 | 
            +
                    version: 1.12.2
         | 
| 53 53 | 
             
            description: A Ruby driver for MongoDB. For more information about Mongo, see http://www.mongodb.org.
         | 
| 54 54 | 
             
            email: mongodb-dev@googlegroups.com
         | 
| 55 55 | 
             
            executables:
         | 
    
        metadata.gz.sig
    CHANGED
    
    | Binary file |