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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c2dde34fe46a26ca978403ec518b42b60a01a294f67f429cc6501bdb2a977a72
4
- data.tar.gz: 436710baeb6f3a5b02bc855b8a4ac1d205a28e557da2f9a2185fdd5f260d0f8e
3
+ metadata.gz: f2125d4f5a524908cfa90a6412b4356d6f861841ecf73a55c16998d3d8d7707d
4
+ data.tar.gz: 0b4ba5890036dc79159b5fca1803066008c29159a99f7150bc24e3de527041c9
5
5
  SHA512:
6
- metadata.gz: d2e080e41deec4c058a4c77d9082bd0b8de9f70613bb5a0848eb55a3bff6aa86c0fae7ec8f6c5f20213e0540bc3917ec4d15fc58aff0b42500df19577122c2c9
7
- data.tar.gz: d664f13c5fe41acad9252dc7dcf30985a02e9ce77b10343ce5ec62c0959d2ce73924fd93de7c81cd5ec89725cdd3edfb2cc8c72020d326c4fdc7dc133961d8e1
6
+ metadata.gz: c2faaf22d64deac1fc22226a9ff958acd4385b4b2b266262c3a70cb156f65ddd86b85ef931724c17ed0004977ebe6996ac598ade8e487db8672f47cbac20243c
7
+ data.tar.gz: 7c4dda4cd1efe933faaa2fe75c5780dc85396ca6b456c45f0b1af362909c98e4abfde5f3e7cfb04aa5cbc1eb91b1709a5cf1c3125552bda8e9c8c9784d652bfb
@@ -1,5 +1,5 @@
1
1
  module Ddr
2
2
  module Core
3
- VERSION = '1.4.3'
3
+ VERSION = '1.4.4'
4
4
  end
5
5
  end
@@ -13,8 +13,6 @@ module Ddr::Index
13
13
  delegate [:get, :post, :paginate] => :solr
14
14
 
15
15
  def solr
16
- # Changed for Valkyrie
17
- # RSolr.connect(ActiveFedora.solr_config)
18
16
  Blacklight.default_index.connection
19
17
  end
20
18
 
@@ -92,9 +92,10 @@ module Ddr::Index
92
92
  end
93
93
 
94
94
  def page(num)
95
- page_params = params.dup
96
- page_size = page_params.delete(:rows) || PAGE_SIZE
97
- response = Connection.page(num, page_size, "select", params: page_params)
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.3
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-03-02 00:00:00.000000000 Z
14
+ date: 2021-04-08 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activeresource