solrsan 0.0.26 → 0.0.27

Sign up to get free protection for your applications and to get access to all the features.
@@ -151,7 +151,7 @@ module Solrsan
151
151
  hl_metadata.drop_while{|k,v| excluded_highlighting_fields.include?(k) }.each do |k,v|
152
152
  new_value = if doc[k].is_a?(Array)
153
153
  matched = v.map{|t| t.gsub(HL_START_TAG,"").gsub(HL_END_TAG,"") }
154
- doc[k].drop_while{|text| matched.include?(text) }.concat(v)
154
+ v.concat(doc[k].drop_while{|text| matched.include?(text) })
155
155
  else
156
156
  v
157
157
  end
@@ -1,3 +1,3 @@
1
1
  module Solrsan
2
- VERSION = "0.0.26"
2
+ VERSION = "0.0.27"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solrsan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.26
4
+ version: 0.0.27
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rsolr
17
- requirement: &2153892440 !ruby/object:Gem::Requirement
17
+ requirement: &2153251880 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 1.0.0
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2153892440
25
+ version_requirements: *2153251880
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: activemodel
28
- requirement: &2153891940 !ruby/object:Gem::Requirement
28
+ requirement: &2153251380 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 3.0.5
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *2153891940
36
+ version_requirements: *2153251380
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: activesupport
39
- requirement: &2153891480 !ruby/object:Gem::Requirement
39
+ requirement: &2153250920 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
@@ -44,7 +44,7 @@ dependencies:
44
44
  version: 3.0.5
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *2153891480
47
+ version_requirements: *2153250920
48
48
  description: solrsan is a lightweight wrapper for using Apache Solr within a Ruby
49
49
  application including Rails and Sinatra.
50
50
  email: