mongo 1.12.2 → 1.12.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 63bb2463ace4d76e547f3192d0c729e7a18f0e08
4
- data.tar.gz: 65257012149ec0ceb787abd47e73fa5f0f3fa145
3
+ metadata.gz: 30a88f87ff5e1b827c377ea9bfaee0d089463be6
4
+ data.tar.gz: af50ecf2fabeeeb7bf92690e19b58ad6fa021c0d
5
5
  SHA512:
6
- metadata.gz: e27d7b59882e66c2ea3615b4ace0109b23746e64b1d4ae8bf432ed9651781c04e2748e134c56a3c69575e92edb6ab1e0b25321b3e52e0304a061400c2d749896
7
- data.tar.gz: ac75240dbb070768911fc3d76f56ce5dc4633db488875cb133ca3dfb1bf2f8234c3f839c1456641b97dc380c5e66f0749c8f31004b0d29cf30515cbf94514a91
6
+ metadata.gz: 04837e7cc054db97d9dbff8c3e1e0da3cf7e90bef449efbedc1b6ef20a255c7627fb3dd58cb7ae750d2fe5eb96f9abdfc210fd66c4cc478c916c71aaa39f2b06
7
+ data.tar.gz: fe2673d157610550030230c2169ff564089c104d0b23e18e9a9eb2f2a140f65cc6e755656a6bba6583807317b3b3f92f22d4e8e9d9e09402e1882fdc8431b333
@@ -1 +1,2 @@
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*=�
1
+ ����T����]Bp�|��srՐ'hJ���@w 'V�X��"���L�f�L��m�
2
+ ���Y-Y_j���u������$Y
data.tar.gz.sig CHANGED
Binary file
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.12.2
1
+ 1.12.3
@@ -1828,11 +1828,8 @@ 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
- 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
1831
+ doc = @test.find({:a => 1}, :show_disk_loc => true).next
1832
+ assert (doc['$diskLoc'] || doc['$recordId'])
1836
1833
  @test.remove
1837
1834
  end
1838
1835
 
@@ -464,9 +464,10 @@ module Mongo
464
464
  next unless (primary = members.find { |m| m['state'] == 1 })
465
465
 
466
466
  # check replica set member optimes
467
- primary_optime = primary['optime'].seconds
467
+ primary_optime = (primary['optime']['ts'] ? primary['optime']['ts'] : primary['optime']).seconds
468
468
  next unless primary_optime && members.all? do |m|
469
- m['state'] == 7 || primary_optime - m['optime'].seconds < 5
469
+ m_optime = (m['optime']['ts'] ? m['optime']['ts'] : m['optime']).seconds
470
+ m['state'] == 7 || primary_optime - m_optime < 5
470
471
  end
471
472
 
472
473
  # check replica set state
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.2
4
+ version: 1.12.3
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-05-19 00:00:00.000000000 Z
37
+ date: 2015-06-04 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.2
45
+ version: 1.12.3
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.2
52
+ version: 1.12.3
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:
@@ -187,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
187
187
  version: '0'
188
188
  requirements: []
189
189
  rubyforge_project: mongo
190
- rubygems_version: 2.4.5
190
+ rubygems_version: 2.4.7
191
191
  signing_key:
192
192
  specification_version: 4
193
193
  summary: Ruby driver for MongoDB
metadata.gz.sig CHANGED
@@ -1,4 +1,2 @@
1
- R�����4(�
2
- f�����%8��� )��UR9��*"��=`�<'F��û`he KʌjE.:_?�-���(Ld��� �ڙtow
3
- �9ۣ��0Os�����Q��a���?7�O��F}}$
4
- �%��lX�����S���s>�\*��n?��ܰ��"&��~ Ƭ�Վ ef��u?ٔ
1
+ :�){.�� ���!ͪG���� ���.�G��
2
+ z*�^���Q("՛��^����vs�;� ]50����$Ƿ�H�u�2t7;c��UN��v��_��MmZ��?�07��&0�@=lIQj�Y)