summon 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/Manifest.txt +1 -0
- data/lib/summon.rb +2 -1
- data/lib/summon/schema/recommendation_list.rb +15 -0
- data/lib/summon/schema/search.rb +1 -0
- data/summon.gemspec +2 -2
- metadata +3 -2
data/History.txt
CHANGED
data/Manifest.txt
CHANGED
data/lib/summon.rb
CHANGED
@@ -6,7 +6,7 @@ require 'cgi'
|
|
6
6
|
require 'json'
|
7
7
|
|
8
8
|
module Summon
|
9
|
-
VERSION = "1.1.
|
9
|
+
VERSION = "1.1.5"
|
10
10
|
DEFAULT_LOCALE = 'en'
|
11
11
|
require 'summon/locales/en'
|
12
12
|
require 'summon/locales/fr'
|
@@ -26,6 +26,7 @@ module Summon
|
|
26
26
|
require 'summon/schema/availability'
|
27
27
|
require 'summon/schema/citation'
|
28
28
|
require 'summon/schema/error'
|
29
|
+
require 'summon/schema/recommendation_list'
|
29
30
|
|
30
31
|
def self.escape(value)
|
31
32
|
value.gsub(/(,|\(|\)|\{|\}|\$|\:)/, '\\\\\1').gsub("\\", '\\')
|
data/lib/summon/schema/search.rb
CHANGED
@@ -8,6 +8,7 @@ class Summon::Search < Summon::Schema
|
|
8
8
|
attr :total_request_time
|
9
9
|
|
10
10
|
attr :query, :transform => :Query
|
11
|
+
attr :recommendations, :transform => :RecommendationList, :json_name => "recommendationLists"
|
11
12
|
attr :suggestions, :transform => :Suggestion, :json_name => :didYouMeanSuggestions
|
12
13
|
attr :documents, :transform => :Document
|
13
14
|
attr :facets, :transform => :Facet, :json_name => "facetFields"
|
data/summon.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{summon}
|
5
|
-
s.version = "1.1.
|
5
|
+
s.version = "1.1.5"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Charles Lowell"]
|
9
|
-
s.date = %q{2010-01-
|
9
|
+
s.date = %q{2010-01-13}
|
10
10
|
s.description = %q{Ruby language bindings for Serials Solutions Summon Unified Discovery Service}
|
11
11
|
s.email = ["cowboyd@thefrontside.net"]
|
12
12
|
s.executables = ["summon", "summonh"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: summon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charles Lowell
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-01-
|
12
|
+
date: 2010-01-13 00:00:00 +02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -79,6 +79,7 @@ files:
|
|
79
79
|
- lib/summon/schema/facet.rb
|
80
80
|
- lib/summon/schema/query.rb
|
81
81
|
- lib/summon/schema/range.rb
|
82
|
+
- lib/summon/schema/recommendation_list.rb
|
82
83
|
- lib/summon/schema/search.rb
|
83
84
|
- lib/summon/schema/suggestion.rb
|
84
85
|
- lib/summon/service.rb
|