solr4r 0.0.7 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +6 -0
- data/README +1 -1
- data/Rakefile +1 -1
- data/lib/solr4r/builder.rb +4 -4
- data/lib/solr4r/version.rb +2 -2
- data/spec/solr4r/builder_spec.rb +4 -0
- metadata +7 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f28814e273ba246fd391ec07c65db23e9b007132
|
4
|
+
data.tar.gz: a7b51ab166ac6ccb67efae683dc54d49329305e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b6f75fe30217425390e41859c3abf72e1c6ffb102353ca8b4420199cd93e5001462690978cab69006fec8ed31e16b6c728f264afc4a41229e91ce14e2da4157
|
7
|
+
data.tar.gz: 3053d524b042767b9beb0ad13133d75f372d1e1c8002288cc7b8a062f0ca430cfe7324ce37d52dd482fa0fcd2c0a3da6ea136df859aee697d42ab828a9004f61
|
data/ChangeLog
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
= Revision history for solr4r
|
4
4
|
|
5
|
+
== 0.1.0 [2015-08-14]
|
6
|
+
|
7
|
+
* Require at least Ruby 2.0.
|
8
|
+
* Fixed Solr4R::Builder#initialize to only pass supported options to
|
9
|
+
Nokogiri::XML::Builder.
|
10
|
+
|
5
11
|
== 0.0.7 [2015-08-14]
|
6
12
|
|
7
13
|
* Fixed Solr4R::Client::Query#json_query for multiple +fq+ parameters.
|
data/README
CHANGED
data/Rakefile
CHANGED
data/lib/solr4r/builder.rb
CHANGED
@@ -49,10 +49,10 @@ module Solr4R
|
|
49
49
|
|
50
50
|
@client = client
|
51
51
|
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
)
|
52
|
+
@solr4r_opt = DEFAULT_OPTIONS.merge(options)
|
53
|
+
@solr4r_doc = Document.new; d = @solr4r_doc.document
|
54
|
+
|
55
|
+
super(@solr4r_opt.delete_if { |k,| !d.respond_to?("#{k}=") }, @solr4r_doc)
|
56
56
|
end
|
57
57
|
|
58
58
|
attr_reader :client
|
data/lib/solr4r/version.rb
CHANGED
data/spec/solr4r/builder_spec.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solr4r
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Wille
|
@@ -161,33 +161,15 @@ licenses:
|
|
161
161
|
metadata: {}
|
162
162
|
post_install_message: |2+
|
163
163
|
|
164
|
-
solr4r-0.0
|
164
|
+
solr4r-0.1.0 [2015-08-14]:
|
165
165
|
|
166
|
-
*
|
167
|
-
*
|
168
|
-
|
169
|
-
Solr4R::Client::Update#delete_id.
|
170
|
-
* Renamed Solr4R::Client::Update#delete_by_query to
|
171
|
-
Solr4R::Client::Update#delete_query.
|
172
|
-
* Renamed Solr4R::Client::Update#delete_all! to
|
173
|
-
Solr4R::Client::Update#delete_all.
|
174
|
-
* Added alias Solr4R::Client::Update#clear for
|
175
|
-
Solr4R::Client::Update#delete_all.
|
176
|
-
* Added Solr4R::Client#escape.
|
177
|
-
* Added Solr4R::Client#query_string.
|
178
|
-
* Added Solr4R::Client#local_params_string.
|
179
|
-
* Updated Solr4R::Client::Query#more_like_this_q for Solr 5.3.0.
|
180
|
-
* Fixes handling of multiple field names
|
181
|
-
(SOLR-7143[https://issues.apache.org/jira/browse/SOLR-7143]).
|
182
|
-
* Adds support for other MoreLikeThisHandler options
|
183
|
-
(SOLR-7639[https://issues.apache.org/jira/browse/SOLR-7639]).
|
184
|
-
* Refactored Solr4R::Endpoints#initialize to accept options hash.
|
185
|
-
* Refactored Solr4R::Builder#delete to use Solr4R::Client#query_string for
|
186
|
-
query hashes.
|
166
|
+
* Require at least Ruby 2.0.
|
167
|
+
* Fixed Solr4R::Builder#initialize to only pass supported options to
|
168
|
+
Nokogiri::XML::Builder.
|
187
169
|
|
188
170
|
rdoc_options:
|
189
171
|
- "--title"
|
190
|
-
- solr4r Application documentation (v0.0
|
172
|
+
- solr4r Application documentation (v0.1.0)
|
191
173
|
- "--charset"
|
192
174
|
- UTF-8
|
193
175
|
- "--line-numbers"
|
@@ -200,7 +182,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
200
182
|
requirements:
|
201
183
|
- - ">="
|
202
184
|
- !ruby/object:Gem::Version
|
203
|
-
version:
|
185
|
+
version: '2.0'
|
204
186
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
205
187
|
requirements:
|
206
188
|
- - ">="
|