de 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -15,4 +15,16 @@ Version 0.0.4 (September 23, 2011)
15
15
  *) De::Expression @name attribute is writable
16
16
  *) Bug fix: De::Expression prevents error-prone trials to add child with name already existent in tree
17
17
  *) De::SunspotSolr::Search#evaluate support for per_page parameter
18
- *) De::SunspotSolr::Search#results method added
18
+ *) De::SunspotSolr::Search#results method added
19
+
20
+ Version 0.0.5 (October 4, 2011)
21
+ ===============================
22
+ Sunspot solr serach union build optimizaton
23
+
24
+ Version 0.0.6 (October 23, 2011)
25
+ ================================
26
+ Bug fix: & and | operations should not influence operands object
27
+
28
+ Version 0.0.7 (Novermber 7, 2011)
29
+ =================================
30
+ Bug fix: Date type was not supported for Interval operands
@@ -186,7 +186,7 @@ module De
186
186
  class IntervalSunspotOperand < SunspotOperand
187
187
 
188
188
  def valid?
189
- super && root.options[:properties][@content.to_sym] && root.options[:properties][@content.to_sym][:type] == :time
189
+ super && root.options[:properties][@content.to_sym] && [:date, :time].include?(root.options[:properties][@content.to_sym][:type])
190
190
  end
191
191
 
192
192
  protected
data/lib/de/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module De
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
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: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
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-10-23 00:00:00 +02:00
18
+ date: 2011-11-07 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency