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 +4 -4
- checksums.yaml.gz.sig +2 -1
- data.tar.gz.sig +0 -0
- data/VERSION +1 -1
- data/test/functional/collection_test.rb +2 -5
- data/test/tools/mongo_config.rb +3 -2
- metadata +5 -5
- metadata.gz.sig +2 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30a88f87ff5e1b827c377ea9bfaee0d089463be6
|
4
|
+
data.tar.gz: af50ecf2fabeeeb7bf92690e19b58ad6fa021c0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04837e7cc054db97d9dbff8c3e1e0da3cf7e90bef449efbedc1b6ef20a255c7627fb3dd58cb7ae750d2fe5eb96f9abdfc210fd66c4cc478c916c71aaa39f2b06
|
7
|
+
data.tar.gz: fe2673d157610550030230c2169ff564089c104d0b23e18e9a9eb2f2a140f65cc6e755656a6bba6583807317b3b3f92f22d4e8e9d9e09402e1882fdc8431b333
|
checksums.yaml.gz.sig
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
����T����]B�p�|��srՐ'h�J���@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.
|
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
|
-
|
1832
|
-
|
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
|
|
data/test/tools/mongo_config.rb
CHANGED
@@ -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['
|
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.
|
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-
|
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.
|
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.
|
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.
|
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
|
-
|
2
|
-
�
|
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��?�0�7��&0�@=l�IQj�Y)
|