primedia-endeca 0.9.13 → 0.9.14

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/endeca.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{endeca}
5
- s.version = "0.9.13"
5
+ s.version = "0.9.14"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Rein Henrichs", "Andy Stone"]
@@ -113,7 +113,7 @@ module Endeca
113
113
  new_query_options = get_default_params.merge(query_options)
114
114
  query_options = transform_query_options(new_query_options)
115
115
  else
116
- query_options
116
+ URI.unescape(query_options)
117
117
  end
118
118
  end
119
119
  end
@@ -61,7 +61,7 @@ module Endeca
61
61
  def documents
62
62
  if @raw['Records']
63
63
  @documents ||= @raw['Records'].map(&@document_klass)
64
- elsif @raw['AggrRecords']
64
+ elsif aggregate?
65
65
  @documents ||= @raw['AggrRecords'].map{|aggregate| aggregate['Records'].first}.map(&@document_klass)
66
66
  else
67
67
  []
data/lib/endeca.rb CHANGED
@@ -20,7 +20,7 @@ require 'endeca/document'
20
20
  module Endeca
21
21
 
22
22
  # :stopdoc:
23
- VERSION = '0.9.13'
23
+ VERSION = '0.9.14'
24
24
  # :startdoc:
25
25
 
26
26
  # Returns the version string for the library.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: primedia-endeca
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.13
4
+ version: 0.9.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rein Henrichs