hypostasis 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Vagrantfile +5 -5
- data/lib/hypostasis/column_group/findable.rb +2 -2
- data/lib/hypostasis/document/findable.rb +1 -1
- data/lib/hypostasis/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2759108f29a8bfe2f537ee9893f7276de971bddf
|
4
|
+
data.tar.gz: f41debb7e9a74283d63700f803a1bd864ed4256f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b52739c1a6d68c39081b7993f8dd6150ee75d0054c79c852372d77458cd92541d87528b374866eced3a7b7539fa2e8c2b31ccfaef60606b5d12d3c3c11b0bde
|
7
|
+
data.tar.gz: 6d1db7ff4cd78d563bbefb59cd31fe94524a7e0c05b07413b2da452ec0e6f3ea4f48bcf079ce0be81b030821419445cfc94461ecfdf9096eb59fd6eebda3a451
|
data/.gitignore
CHANGED
data/Vagrantfile
CHANGED
@@ -4,14 +4,14 @@
|
|
4
4
|
Vagrant.configure('2') do |config|
|
5
5
|
config.vm.box = 'precise64'
|
6
6
|
|
7
|
-
config.vm.provider :virtualbox do |vb|
|
8
|
-
|
7
|
+
config.vm.provider :virtualbox do |vb, override|
|
8
|
+
override.vm.box_url = 'http://files.vagrantup.com/precise64.box'
|
9
9
|
vb.memory = 4096
|
10
10
|
end
|
11
11
|
|
12
|
-
config.vm.provider :vmware_fusion do |vw|
|
13
|
-
|
14
|
-
|
12
|
+
config.vm.provider :vmware_fusion do |vw, override|
|
13
|
+
override.vm.box = 'precise64_vmware'
|
14
|
+
override.vm.box_url = 'http://files.vagrantup.com/precise64_vmware.box'
|
15
15
|
vw.memory = 4096
|
16
16
|
end
|
17
17
|
|
@@ -5,7 +5,7 @@ module Hypostasis::ColumnGroup
|
|
5
5
|
module ClassMethods
|
6
6
|
def find(id)
|
7
7
|
document_keys = namespace.transact do |tr|
|
8
|
-
tr.get_range_start_with(namespace.for_column_group(self, id)).to_a
|
8
|
+
tr.get_range_start_with(namespace.for_column_group(self, id), {:streaming_mode => :want_all}).to_a
|
9
9
|
end
|
10
10
|
raise Hypostasis::Errors::ColumnGroupNotFound if document_keys.empty?
|
11
11
|
reconstitute_column_group(document_keys)
|
@@ -15,7 +15,7 @@ module Hypostasis::ColumnGroup
|
|
15
15
|
results = []
|
16
16
|
namespace.transact do |tr|
|
17
17
|
field_value_pairs.each do |field, value|
|
18
|
-
results << tr.get_range_start_with(namespace.for_index(self, field, value)).to_a
|
18
|
+
results << tr.get_range_start_with(namespace.for_index(self, field, value), {:streaming_mode => :want_all}).to_a
|
19
19
|
end
|
20
20
|
end
|
21
21
|
results.flatten!
|
@@ -16,7 +16,7 @@ module Hypostasis::Document
|
|
16
16
|
results = []
|
17
17
|
namespace.transact do |tr|
|
18
18
|
field_value_pairs.each do |field, value|
|
19
|
-
results << tr.get_range_start_with(namespace.for_index(self, field, value)).to_a
|
19
|
+
results << tr.get_range_start_with(namespace.for_index(self, field, value), {:streaming_mode => :want_all}).to_a
|
20
20
|
end
|
21
21
|
end
|
22
22
|
results.flatten!
|
data/lib/hypostasis/version.rb
CHANGED