endeca_on_demand 1.0.0 → 1.0.1

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.
@@ -1,3 +1,3 @@
1
1
  class EndecaOnDemand
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -71,9 +71,10 @@ class EndecaOnDemand
71
71
  end
72
72
 
73
73
  begin
74
- @request, @raw_response = @http.post(@uri.path, @query.target!, 'Content-type' => 'application/xml')
75
-
76
- @response = Nokogiri::XML(@raw_response)
74
+ # ask Domino what this is?
75
+ # @request, @raw_response = @http.post(@uri.path, @query.target!, 'Content-type' => 'application/xml')
76
+
77
+ @response = Nokogiri::XML(fetch_response.body)
77
78
 
78
79
  build_records
79
80
  build_breadcrumbs
@@ -104,6 +105,10 @@ class EndecaOnDemand
104
105
  @base = options
105
106
  end
106
107
 
108
+ def fetch_response
109
+ @http.post(@uri.path, @query.target!, 'Content-type' => 'application/xml')
110
+ end
111
+
107
112
  ## BUILD REQUEST BODY
108
113
 
109
114
  # Adds dimension_value_id_navigation to the request via one or more DimensionValueIds (DVID).
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: endeca_on_demand
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-12 00:00:00.000000000Z
12
+ date: 2011-12-07 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &70252400457400 !ruby/object:Gem::Requirement
16
+ requirement: &70320197059740 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70252400457400
24
+ version_requirements: *70320197059740
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: nokogiri
27
- requirement: &70252400456640 !ruby/object:Gem::Requirement
27
+ requirement: &70320197053000 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70252400456640
35
+ version_requirements: *70320197053000
36
36
  description: EndecaOnDemand will take a query-string and construct an XML query and
37
37
  send it to an hosted Endeca On-Demand Cluster. It will then parse the response and
38
38
  expose an API for using the response data.