summon 1.1.0 → 1.1.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.
- data/History.txt +5 -0
- data/lib/summon.rb +1 -1
- data/lib/summon/schema/document.rb +5 -0
- data/lib/summon/schema/error.rb +1 -0
- data/lib/summon/transport/canned.json +902 -1716
- data/spec/summon/schema/document_spec.rb +7 -0
- data/spec/summon/schema/query_spec.rb +2 -2
- data/spec/summon/schema/range_spec.rb +2 -2
- data/summon.gemspec +9 -4
- metadata +2 -2
@@ -74,6 +74,10 @@ describe Summon::Document do
|
|
74
74
|
"M1630.18 .H95 2000",
|
75
75
|
"M1630.20 .H95 2000"
|
76
76
|
],
|
77
|
+
"GovDocClassNum": [
|
78
|
+
"A 57.38/42:M 45",
|
79
|
+
"A 57.38/42:M 45"
|
80
|
+
],
|
77
81
|
"Language": [
|
78
82
|
"English"
|
79
83
|
],
|
@@ -211,6 +215,9 @@ fulltext: false
|
|
211
215
|
genres:
|
212
216
|
- Biography
|
213
217
|
- Congress
|
218
|
+
gov_doc_class_nums:
|
219
|
+
- A 57.38/42:M 45
|
220
|
+
- A 57.38/42:M 45
|
214
221
|
id: gvsu_catalog_b16644323
|
215
222
|
isbns:
|
216
223
|
- 0849343763 (v. 1)
|
@@ -15,7 +15,7 @@ describe Summon::Query do
|
|
15
15
|
"rangeFacetFields": [9],
|
16
16
|
"sort": [
|
17
17
|
{
|
18
|
-
"fieldName": "
|
18
|
+
"fieldName": "PublicationDate",
|
19
19
|
"sortOrder": "desc"
|
20
20
|
}
|
21
21
|
],
|
@@ -34,7 +34,7 @@ describe Summon::Query do
|
|
34
34
|
text_filters.should == [7]
|
35
35
|
facet_fields.should == [8]
|
36
36
|
sorts.length.should == 1
|
37
|
-
sort.field_name.should == "
|
37
|
+
sort.field_name.should == "PublicationDate"
|
38
38
|
sort.sort_order.should == "desc"
|
39
39
|
}
|
40
40
|
end
|
@@ -6,7 +6,7 @@ describe Summon::RangeFacet do
|
|
6
6
|
{
|
7
7
|
"displayName": "PublicationDate",
|
8
8
|
"removeCommand": "removeFacetField(PublicationDate)",
|
9
|
-
"fieldName": "
|
9
|
+
"fieldName": "PublicationDate",
|
10
10
|
"counts": [
|
11
11
|
{
|
12
12
|
"count": 119795,
|
@@ -31,7 +31,7 @@ describe Summon::RangeFacet do
|
|
31
31
|
JSON
|
32
32
|
range.display_name.should == "PublicationDate"
|
33
33
|
range.remove_command.should == "removeFacetField(PublicationDate)"
|
34
|
-
range.field_name.should == "
|
34
|
+
range.field_name.should == "PublicationDate"
|
35
35
|
range.counts.should_not be_nil
|
36
36
|
range.counts.length.should be(2)
|
37
37
|
range.counts[0].tap do |c|
|
data/summon.gemspec
CHANGED
@@ -2,18 +2,23 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{summon}
|
5
|
-
s.version = "1.
|
5
|
+
s.version = "1.1.1"
|
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{2009-
|
9
|
+
s.date = %q{2009-12-11}
|
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"]
|
13
13
|
s.extra_rdoc_files = ["History.txt", "Manifest.txt", "PostInstall.txt"]
|
14
|
-
s.files = ["
|
14
|
+
s.files = ["History.txt", "Manifest.txt", "PostInstall.txt", "README.rdoc", "Rakefile", "bin/summon", "bin/summonh", "ispec/integration_spec.rb", "lib/summon.rb", "lib/summon/cli.rb", "lib/summon/log.rb", "lib/summon/schema.rb", "lib/summon/schema/availability.rb", "lib/summon/schema/citation.rb", "lib/summon/schema/date.rb", "lib/summon/schema/document.rb", "lib/summon/schema/error.rb", "lib/summon/schema/facet.rb", "lib/summon/schema/query.rb", "lib/summon/schema/range.rb", "lib/summon/schema/search.rb", "lib/summon/schema/suggestion.rb", "lib/summon/service.rb", "lib/summon/transport.rb", "lib/summon/transport/canned.json", "lib/summon/transport/canned.rb", "lib/summon/transport/errors.rb", "lib/summon/transport/headers.rb", "lib/summon/transport/http.rb", "lib/summon/transport/qstring.rb", "script/console", "script/destroy", "script/generate", "spec/spec.opts", "spec/spec_helper.rb", "spec/summon/log_spec.rb", "spec/summon/schema/availability_spec.rb", "spec/summon/schema/citation_spec.rb", "spec/summon/schema/date_spec.rb", "spec/summon/schema/document_spec.rb", "spec/summon/schema/facet_spec.rb", "spec/summon/schema/query_spec.rb", "spec/summon/schema/range_spec.rb", "spec/summon/schema/search_spec.rb", "spec/summon/schema_spec.rb", "spec/summon/service_spec.rb", "spec/summon/transport/headers_spec.rb", "spec/summon/transport/http_spec.rb", "spec/summon/transport/qstring_spec.rb", "spec/summon_spec.rb", "summon.gemspec"]
|
15
15
|
s.homepage = %q{http://summon.rubyforge.org}
|
16
|
-
s.post_install_message = %q{
|
16
|
+
s.post_install_message = %q{
|
17
|
+
For comprehensive documentation on Summon API options and usage visit:
|
18
|
+
|
19
|
+
http://api.summon.serialssolutions.com
|
20
|
+
|
21
|
+
}
|
17
22
|
s.rdoc_options = ["--main", "README.rdoc"]
|
18
23
|
s.require_paths = ["lib"]
|
19
24
|
s.rubyforge_project = %q{summon}
|
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.1
|
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: 2009-11
|
12
|
+
date: 2009-12-11 00:00:00 +02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|