de 0.0.9 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG CHANGED
@@ -35,4 +35,8 @@ Bug fix: Date interval type evaluation fix
35
35
 
36
36
  Version 0.0.9 (November 20, 2011)
37
37
  =================================
38
- Sorting parameter :order_by added to SunspotSolr::Search
38
+ Sorting parameter :order_by added to SunspotSolr::Search
39
+
40
+ Version 0.0.10 (November 9, 2011)
41
+ ================================
42
+ Bug fix: Invalid evaluation in ruby 1.9
@@ -193,7 +193,7 @@ module De
193
193
  order_by = params && params[:order_by] ? params[:order_by] : {:id => :asc}
194
194
 
195
195
  search_string = %{Sunspot.search(#{Kernel.const_get(@klass)}) do
196
- #{children.map {|child| child.evaluate + "\n" } }
196
+ #{children.map {|child| child.evaluate }.join("\n") }
197
197
 
198
198
  paginate(:page => #{page}, :per_page => #{per_page})
199
199
  order_by(:#{order_by.keys[0].to_s}, :#{order_by.values[0].to_s})
@@ -1,3 +1,3 @@
1
1
  module De
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: de
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 9
10
- version: 0.0.9
9
+ - 10
10
+ version: 0.0.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - Olga Gorun
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-11-20 00:00:00 +02:00
18
+ date: 2011-11-27 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency