primedia-endeca 1.3.4 → 1.3.5
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 +3 -3
- data/lib/endeca.rb +1 -1
- data/lib/endeca/map.rb +1 -2
- data/spec/endeca/document_spec.rb +1 -1
- data/spec/endeca/map_spec.rb +1 -1
- metadata +2 -2
data/endeca.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{endeca}
|
5
|
-
s.version = "1.3.
|
5
|
+
s.version = "1.3.5"
|
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"]
|
9
|
-
s.date = %q{2009-08-
|
9
|
+
s.date = %q{2009-08-31}
|
10
10
|
s.description = %q{An Endeca client library for Ruby.}
|
11
11
|
s.email = %q{}
|
12
12
|
s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.rdoc"]
|
@@ -15,6 +15,6 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.rdoc_options = ["--main", "README.rdoc"]
|
16
16
|
s.require_paths = ["lib"]
|
17
17
|
s.rubyforge_project = %q{endeca}
|
18
|
-
s.rubygems_version = %q{1.3.
|
18
|
+
s.rubygems_version = %q{1.3.5}
|
19
19
|
s.summary = %q{An Endeca client library for Ruby}
|
20
20
|
end
|
data/lib/endeca.rb
CHANGED
data/lib/endeca/map.rb
CHANGED
@@ -112,7 +112,7 @@ module Endeca
|
|
112
112
|
end
|
113
113
|
|
114
114
|
def inspect
|
115
|
-
perform({}).inspect
|
115
|
+
perform({ @old_key => "inspect_data" }).inspect
|
116
116
|
end
|
117
117
|
|
118
118
|
private
|
@@ -149,7 +149,6 @@ module Endeca
|
|
149
149
|
old_key, old_value = Array(@new_query).flatten
|
150
150
|
new_key, new_value = Array(@into).flatten
|
151
151
|
|
152
|
-
#puts "===> old_key: #{old_key} \n old_value: #{old_value} \n new_key: #{new_key} \n new_value: #{new_value}"
|
153
152
|
if new_value
|
154
153
|
if @split_value
|
155
154
|
@new_query = perform_split(old_key, old_value, new_key, new_value)
|
@@ -372,7 +372,7 @@ describe Endeca::Document do
|
|
372
372
|
|
373
373
|
describe "#inspect" do
|
374
374
|
it "should return details of the Document class" do
|
375
|
-
Endeca::Document.inspect.should == "#<Endeca::Document>\nPath: \"http://endeca.example.com\"\nCollection Class: SubDocumentCollection\"\nMappings:\n\tfoo: {:new_foo
|
375
|
+
Endeca::Document.inspect.should == "#<Endeca::Document>\nPath: \"http://endeca.example.com\"\nCollection Class: SubDocumentCollection\"\nMappings:\n\tfoo: {:new_foo=>\"inspect_data\"}\n\t \nDefaultParams:\n\t \n"
|
376
376
|
end
|
377
377
|
end
|
378
378
|
end
|
data/spec/endeca/map_spec.rb
CHANGED
@@ -116,7 +116,7 @@ describe Endeca::Map do
|
|
116
116
|
map = Endeca::Map.new :foo
|
117
117
|
map.into(:Ntk => :Ntt)
|
118
118
|
map.inspect.should include(":Ntk=>\"foo\"")
|
119
|
-
map.inspect.should include(":Ntt=>\"\"")
|
119
|
+
map.inspect.should include(":Ntt=>\"inspect_data\"")
|
120
120
|
end
|
121
121
|
end
|
122
122
|
end
|
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: 1.3.
|
4
|
+
version: 1.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rein Henrichs
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2009-08-
|
13
|
+
date: 2009-08-31 00:00:00 -07:00
|
14
14
|
default_executable:
|
15
15
|
dependencies: []
|
16
16
|
|