ddr-core 1.4.3 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ddr/core/version.rb +1 -1
- data/lib/ddr/index/connection.rb +0 -2
- data/lib/ddr/index/query_result.rb +4 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2125d4f5a524908cfa90a6412b4356d6f861841ecf73a55c16998d3d8d7707d
|
4
|
+
data.tar.gz: 0b4ba5890036dc79159b5fca1803066008c29159a99f7150bc24e3de527041c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2faaf22d64deac1fc22226a9ff958acd4385b4b2b266262c3a70cb156f65ddd86b85ef931724c17ed0004977ebe6996ac598ade8e487db8672f47cbac20243c
|
7
|
+
data.tar.gz: 7c4dda4cd1efe933faaa2fe75c5780dc85396ca6b456c45f0b1af362909c98e4abfde5f3e7cfb04aa5cbc1eb91b1709a5cf1c3125552bda8e9c8c9784d652bfb
|
data/lib/ddr/core/version.rb
CHANGED
data/lib/ddr/index/connection.rb
CHANGED
@@ -92,9 +92,10 @@ module Ddr::Index
|
|
92
92
|
end
|
93
93
|
|
94
94
|
def page(num)
|
95
|
-
|
96
|
-
page_size =
|
97
|
-
|
95
|
+
data = params.dup
|
96
|
+
page_size = data.delete(:rows) || PAGE_SIZE
|
97
|
+
opts = { method: :post, data: data }
|
98
|
+
response = Connection.page(num, page_size, 'select', opts)
|
98
99
|
response.docs
|
99
100
|
end
|
100
101
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ddr-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Coble
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2021-
|
14
|
+
date: 2021-04-08 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activeresource
|