mongo 2.5.2 → 2.5.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: 0246e6a64d501929f4951018f1a8d9ca820279c3
4
- data.tar.gz: e417f701dd239a033bff8b40d15e37f8adf2718f
3
+ metadata.gz: 13c197c0761d6af2fd32db77e0f9a91ae09175a4
4
+ data.tar.gz: 8c8c26637cfc0f51acfea88906da79376096d773
5
5
  SHA512:
6
- metadata.gz: '07684a4b81cc5b65e3dff16e1ce48542d165558683c82987a2e21d305434f2b4849688f3f2dad855b7034bfbd9ecb04ff0ce7a5f8572beead07bc0d87db621b8'
7
- data.tar.gz: db337b9d0dae7d8ffc41833a770a0a4edd80d847440b05ff6c5d99c66c677624baaae948187443b0ab43195dc9904772e8f6334940ae7a20786c03ed3b956dbf
6
+ metadata.gz: 28f70edfe9d4c61a513b488f89ccf380f0148fe7f7c655ffb65202d6e0f03844a9e07c13919362656014593a21240398bbe24ed12744732b0cded6d8aa50bdcb
7
+ data.tar.gz: 8a60151b258110900492b62ef55c0f39df7dea2c143a8d437210adb91181f58212ddc1ca4c3c84d08a90cdf4981c12f4de8c2f18be13d1ea2cdf7d03dec029e2
@@ -1,3 +1,2 @@
1
- F��Y �Լ����� ��� ����4
2
- V7��#��#�|��N�~!G��Hw�5�S��Q#k8+��l��!S.̌�z�Ԙ=o5�;Gb���o����Z�y ����;�dy�V�o��mn�"�����
3
- K�;���K�K�i��Y��w�B��m�� !"�IM/i<�!�a_�5�K3UW $�x���_��$��7�e>��W��l w����k���Jk�ʤaB2��Vl
1
+ ��mcE�֍ �ͤp8�2{���n�H�w�~=0�UU��?�R���{��[}��#��_��������8��6.�Ĉ���e ����߱틿�9���v���IZ��,�ᯰr�h�2�\�H�ÿ�4["8d
2
+ �z�����˶����U�o��
data.tar.gz.sig CHANGED
Binary file
@@ -44,6 +44,11 @@ module Mongo
44
44
 
45
45
  private
46
46
 
47
+ def selector(server)
48
+ (spec[SELECTOR] || {}).merge(
49
+ listCollections: 1, filter: { name: { '$not' => /system\.|\$/ }})
50
+ end
51
+
47
52
  def message(server)
48
53
  Protocol::Msg.new(flags, options, command(server))
49
54
  end
@@ -17,5 +17,5 @@ module Mongo
17
17
  # The current version of the driver.
18
18
  #
19
19
  # @since 2.0.0
20
- VERSION = '2.5.2'.freeze
20
+ VERSION = '2.5.3'.freeze
21
21
  end
@@ -200,6 +200,10 @@ describe Mongo::Database do
200
200
  it 'returns collection objects for each name' do
201
201
  expect(database.collections).to include(collection)
202
202
  end
203
+
204
+ it 'does not include the system collections' do
205
+ expect(database.collections.collect(&:name).none? { |name| name =~ /system\.|\$/ }).to be(true)
206
+ end
203
207
  end
204
208
 
205
209
  context 'when the database does not exist' do
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: 2.5.2
4
+ version: 2.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Brock
@@ -32,7 +32,7 @@ cert_chain:
32
32
  3s0DZnO1KxiaSyKOest/k/qf2tqdbmmhZ+Kd8E2vMN9RuNjPzKRPtNsM4mZGKEog
33
33
  p3shId/bDtqoYu1EX+ot1RmsQEYYUO6hhaNOm9WmvIs=
34
34
  -----END CERTIFICATE-----
35
- date: 2018-05-03 00:00:00.000000000 Z
35
+ date: 2018-05-04 00:00:00.000000000 Z
36
36
  dependencies:
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: bson
metadata.gz.sig CHANGED
Binary file