summon 1.1.14 → 1.2.0

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.
Files changed (42) hide show
  1. data/.gitignore +7 -0
  2. data/{History.txt → Changelog.md} +53 -20
  3. data/Gemfile +3 -0
  4. data/Gemfile.lock +28 -0
  5. data/{README.rdoc → README.md} +21 -21
  6. data/Rakefile +5 -22
  7. data/lib/summon.rb +2 -8
  8. data/lib/summon/cli.rb +2 -0
  9. data/lib/summon/schema.rb +0 -9
  10. data/lib/summon/schema/document.rb +15 -15
  11. data/lib/summon/schema/facet.rb +0 -11
  12. data/lib/summon/schema/range.rb +1 -5
  13. data/lib/summon/service.rb +1 -2
  14. data/lib/summon/version.rb +4 -0
  15. data/spec/spec_helper.rb +2 -2
  16. data/spec/summon/schema/document_spec.rb +1 -0
  17. data/spec/summon/schema/facet_spec.rb +1 -21
  18. data/spec/summon/schema/lib_guide_tab_spec.rb +142 -0
  19. data/spec/summon/schema_spec.rb +0 -40
  20. data/spec/summon/service_spec.rb +0 -13
  21. data/spec/summon_spec.rb +1 -4
  22. data/spike.rb +0 -0
  23. data/summon.gemspec +14 -28
  24. metadata +61 -58
  25. data/Manifest.txt +0 -70
  26. data/PostInstall.txt +0 -5
  27. data/lib/summon/locales/dadk.rb +0 -175
  28. data/lib/summon/locales/dede.rb +0 -178
  29. data/lib/summon/locales/en.rb +0 -180
  30. data/lib/summon/locales/eses.rb +0 -175
  31. data/lib/summon/locales/fifi.rb +0 -175
  32. data/lib/summon/locales/fr.rb +0 -9
  33. data/lib/summon/locales/frfr.rb +0 -175
  34. data/lib/summon/locales/isis.rb +0 -175
  35. data/lib/summon/locales/itit.rb +0 -175
  36. data/lib/summon/locales/jp.rb +0 -176
  37. data/lib/summon/locales/nlnl.rb +0 -175
  38. data/lib/summon/locales/nono.rb +0 -175
  39. data/lib/summon/locales/ptpt.rb +0 -175
  40. data/lib/summon/locales/svse.rb +0 -175
  41. data/lib/summon/locales/zacn.rb +0 -175
  42. data/lib/summon/locales/zhcn.rb +0 -175
@@ -2,14 +2,13 @@
2
2
  module Summon
3
3
  class Service
4
4
 
5
- attr_reader :transport, :url, :access_id, :client_key, :locale
5
+ attr_reader :transport, :url, :access_id, :client_key
6
6
 
7
7
  def initialize(options = {})
8
8
  @url = options[:url] || "http://api.summon.serialssolutions.com"
9
9
  @access_id = options[:access_id]
10
10
  @secret_key = options[:secret_key]
11
11
  @client_key = options[:client_key]
12
- @locale = (options[:locale] || Summon::DEFAULT_LOCALE).to_s
13
12
  @log = Log.new(options[:log])
14
13
  @benchmark = options[:benchmark] || Pass.new
15
14
  @transport = options[:transport] || Summon::Transport::Http.new(:url => @url, :access_id => @access_id, :secret_key => @secret_key, :client_key => @client_key, :session_id => options[:session_id], :log => @log, :benchmark => @benchmark)
@@ -0,0 +1,4 @@
1
+
2
+ module Summon
3
+ VERSION = "1.2.0"
4
+ end
data/spec/spec_helper.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/../lib/summon')
2
- gem 'rspec'
3
- require 'spec'
2
+
3
+ require 'rspec'
4
4
  require 'yaml'
5
5
 
6
6
  def pre(text)
@@ -2,6 +2,7 @@ require File.dirname(__FILE__) + '/../../spec_helper'
2
2
 
3
3
  describe Summon::Document do
4
4
  it "should map" do
5
+ pending "This is a really nasty test"
5
6
  doc = Summon::Document.new(@service, JSON.parse(EXAMPLE_DOCUMENT_JSON))
6
7
  doc.remove_src
7
8
  doc.publication_date.remove_src
@@ -13,28 +13,8 @@ describe Summon::Facet do
13
13
  first.remove_command.should == "eatMyShorts()"
14
14
  end
15
15
 
16
- describe "translate display name" do
17
- it "should return the default value" do
18
- mock(:service, :locale => 'en').tap do |service|
19
- @facet = Summon::Facet.new(service, JSON.parse(EXAMPLE_FACET_JSON))
20
- @facet.display_name.should == "ContentType"
21
- @facet.local_name.should == "Content Type"
22
- end
23
- end
24
-
25
- it "should return the Frech locale" do
26
- mock(:service, :locale => 'fr').tap do |service|
27
- @facet = Summon::Facet.new(service, JSON.parse(EXAMPLE_FACET_JSON))
28
-
29
- @facet.display_name.should == "ContentType"
30
- @facet.local_name.should == "Type de la Contente"
31
- end
32
- end
33
- end
34
-
35
-
36
16
  it "should now how to escape values" do
37
- service = mock(:service, :locale => 'en')
17
+ service = mock(:service)
38
18
 
39
19
  count = Summon::FacetCount.new(service, :value => "the quick, brown, fox")
40
20
  count.value.should == "the quick, brown, fox"
@@ -0,0 +1,142 @@
1
+ require File.dirname(__FILE__) + '/../../spec_helper'
2
+
3
+ describe Summon::Document do
4
+ it "should map LibGuideTab" do
5
+ doc = Summon::Document.new(@service, JSON.parse(EXAMPLE_LIBGUIDE_DOCUMENT_JSON))
6
+ doc.lib_guide_tabs.size.should == 10
7
+ doc.lib_guide_tabs[0].tap do |tab|
8
+ tab.name.should == "Find Articles"
9
+ tab.uri.should == "http://libguides.usc.edu/content.php?pid=52179&sid=382704"
10
+ end
11
+ doc.lib_guide_tabs[9].tap do |tab|
12
+ tab.name.should == "Find Books"
13
+ tab.uri.should == "http://libguides.usc.edu/content.php?pid=52179&sid=382703"
14
+ end
15
+ end
16
+
17
+ it "should map an empty LibGuideTab to an empty array" do
18
+ doc = Summon::Document.new(@service, JSON.parse(EXAMPLE_WITHOUT_LIBGUIDE_DOCUMENT_JSON))
19
+ doc.lib_guide_tabs.should be_empty
20
+ end
21
+
22
+ EXAMPLE_LIBGUIDE_DOCUMENT_JSON = <<-LIBGUIDE_JSON
23
+ {
24
+ "hasFullText": false,
25
+ "inHoldings": true,
26
+ "openUrl": "ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info:sid/summon.serialssolutions.com&rft_val_fmt=info:ofi/fmt:kev:mtx:dc&rft.title=LibGuides.+Music+.+Home&rft.creator=Stephanie+Bonjack&rft.date=2010-10-13&rft.pub=University+of+Southern+California+Libraries&rft.externalDBID=5VO&rft.externalDocID=libguides_usc_edu_music",
27
+ "URI": ["http://libguides.usc.edu/music"],
28
+ "Author": ["Stephanie Bonjack"],
29
+ "IsScholarly": ["false"],
30
+ "Copyright": ["Copyright University of Southern California 2010"],
31
+ "DBID": ["5VO"],
32
+ "ID": ["usc_libguide_libguides_usc_edu_music"],
33
+ "PublicationDate": ["2010-10-13"],
34
+ "PublicationDate_xml": [{
35
+ "day": "13",
36
+ "month": "10",
37
+ "text": "2010-10-13",
38
+ "year": "2010"
39
+ }],
40
+ "PublicationCentury": ["2000"],
41
+ "LibGuideTab_xml": [{
42
+ "name": "Find Articles",
43
+ "uri": "http://libguides.usc.edu/content.php?pid=52179&sid=382704"
44
+ },
45
+ {
46
+ "name": "Find Scores",
47
+ "uri": "http://libguides.usc.edu/content.php?pid=52179&sid=382709"
48
+ },
49
+ {
50
+ "name": "Find Historic Materials",
51
+ "uri": "http://libguides.usc.edu/content.php?pid=52179&sid=382708"
52
+ },
53
+ {
54
+ "name": "Getting Started",
55
+ "uri": "http://libguides.usc.edu/content.php?pid=52179&sid=478038"
56
+ },
57
+ {
58
+ "name": "Find Dissertations",
59
+ "uri": "http://libguides.usc.edu/content.php?pid=52179&sid=382706"
60
+ },
61
+ {
62
+ "name": "Check This Out!",
63
+ "uri": "http://libguides.usc.edu/content.php?pid=52179&sid=473799"
64
+ },
65
+ {
66
+ "name": "Home",
67
+ "uri": "http://libguides.usc.edu/content.php?pid=52179&sid=382702"
68
+ },
69
+ {
70
+ "name": "Find Videos",
71
+ "uri": "http://libguides.usc.edu/content.php?pid=52179&sid=385139"
72
+ },
73
+ {
74
+ "name": "Find Sound Recordings",
75
+ "uri": "http://libguides.usc.edu/content.php?pid=52179&sid=382705"
76
+ },
77
+ {
78
+ "name": "Find Books",
79
+ "uri": "http://libguides.usc.edu/content.php?pid=52179&sid=382703"
80
+ }],
81
+ "Copyright_xml": [{
82
+ "notice": "Copyright University of Southern California 2010"
83
+ }],
84
+ "Publisher": ["University of Southern California Libraries"],
85
+ "PublicationDecade": ["2010"],
86
+ "Publisher_xml": [{
87
+ "name": "University of Southern California Libraries"
88
+ }],
89
+ "Snippet": ["Library Resources in the Field of Music"],
90
+ "Abstract": ["Library Resources in the Field of Music"],
91
+ "SubjectTerms": ["core subject guides"],
92
+ "Author_xml": [{
93
+ "fullname": "Stephanie Bonjack"
94
+ }],
95
+ "ContentType": ["Research Guide"],
96
+ "Title": ["LibGuides. Music . Home"],
97
+ "thumbnail_m": ["http://api.test.summon.serialssolutions.com:8093/image/custom?url=http%3A%2F%2Flibguides.usc.edu%2Fdata%2Fprofiles%2F6369%2FDixie.jpg"],
98
+ "url": ["http://libguides.usc.edu/music"]
99
+ }
100
+ LIBGUIDE_JSON
101
+
102
+ EXAMPLE_WITHOUT_LIBGUIDE_DOCUMENT_JSON = <<-WITHOUT_LIBGUIDE_JSON
103
+ {
104
+ "hasFullText": false,
105
+ "inHoldings": true,
106
+ "openUrl": "ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info:sid/summon.serialssolutions.com&rft_val_fmt=info:ofi/fmt:kev:mtx:dc&rft.title=LibGuides.+Music+.+Home&rft.creator=Stephanie+Bonjack&rft.date=2010-10-13&rft.pub=University+of+Southern+California+Libraries&rft.externalDBID=5VO&rft.externalDocID=libguides_usc_edu_music",
107
+ "URI": ["http://libguides.usc.edu/music"],
108
+ "Author": ["Stephanie Bonjack"],
109
+ "IsScholarly": ["false"],
110
+ "Copyright": ["Copyright University of Southern California 2010"],
111
+ "DBID": ["5VO"],
112
+ "ID": ["usc_libguide_libguides_usc_edu_music"],
113
+ "PublicationDate": ["2010-10-13"],
114
+ "PublicationDate_xml": [{
115
+ "day": "13",
116
+ "month": "10",
117
+ "text": "2010-10-13",
118
+ "year": "2010"
119
+ }],
120
+ "PublicationCentury": ["2000"],
121
+ "Copyright_xml": [{
122
+ "notice": "Copyright University of Southern California 2010"
123
+ }],
124
+ "Publisher": ["University of Southern California Libraries"],
125
+ "PublicationDecade": ["2010"],
126
+ "Publisher_xml": [{
127
+ "name": "University of Southern California Libraries"
128
+ }],
129
+ "Snippet": ["Library Resources in the Field of Music"],
130
+ "Abstract": ["Library Resources in the Field of Music"],
131
+ "SubjectTerms": ["core subject guides"],
132
+ "Author_xml": [{
133
+ "fullname": "Stephanie Bonjack"
134
+ }],
135
+ "ContentType": ["Research Guide"],
136
+ "Title": ["LibGuides. Music . Home"],
137
+ "thumbnail_m": ["http://api.test.summon.serialssolutions.com:8093/image/custom?url=http%3A%2F%2Flibguides.usc.edu%2Fdata%2Fprofiles%2F6369%2FDixie.jpg"],
138
+ "url": ["http://libguides.usc.edu/music"]
139
+ }
140
+ WITHOUT_LIBGUIDE_JSON
141
+
142
+ end
@@ -14,46 +14,6 @@ describe Summon::Schema do
14
14
  @class.new(mock(:service, :locale => 'en'), values)
15
15
  end
16
16
 
17
- describe "Locale" do
18
-
19
- it "should have a french local when set to fr" do
20
- Class.new(Summon::Schema).new(mock(:service, :locale => 'fr')).tap do |o|
21
- o.locale.should == 'fr'
22
- end
23
- end
24
-
25
- it "should translate ContentType to french" do
26
- Class.new(Summon::Schema).new(mock(:service, :locale => 'fr')).tap do |o|
27
- o.translate("ContentType").should == 'Type de la Contente'
28
- end
29
- end
30
-
31
- it "should be able to switch translation languages" do
32
- mock(:service, :locale => 'fr').tap do |service|
33
- Class.new(Summon::Schema).new(service).tap do |o|
34
- o.translate("ContentType").should == 'Type de la Contente'
35
- service.stub!(:locale).and_return('en')
36
- o.translate("ContentType").should == 'Content Type'
37
- end
38
- end
39
- end
40
-
41
- it "should go to the default language if the locale is not available" do
42
- Class.new(Summon::Schema).new(mock(:service, :locale => 'fr')).tap do |o|
43
- o.translate("ContentType").should == 'Type de la Contente'
44
- o.translate("Book").should == 'Book'
45
- end
46
- end
47
-
48
- it "should default to english if it does not recognize the locale" do
49
- mock(:service, :locale => 'xx').tap do |service|
50
- Class.new(Summon::Schema).new(service).tap do |o|
51
- o.translate("ContentType").should == 'Content Type'
52
- end
53
- end
54
- end
55
- end
56
-
57
17
  it "pulls its attributes from a hash" do
58
18
  class_eval do
59
19
  attr :foo
@@ -25,17 +25,4 @@ describe Summon::Service do
25
25
  another.instance_variable_get(:@secret_key).should == options[:secret_key]
26
26
  end
27
27
 
28
-
29
- describe "Locale" do
30
-
31
- it "has a default" do
32
- Summon::Service.new.locale.should == 'en'
33
- end
34
-
35
- it "doesn't matter whether you pass it a symbol or not for the locale" do
36
- Summon::Service.new(:locale => :nl).locale.should == 'nl'
37
- end
38
-
39
- end
40
-
41
28
  end
data/spec/summon_spec.rb CHANGED
@@ -46,7 +46,4 @@ describe "Summon Gem Integration Test" do
46
46
  Summon.escape(Summon.unescape(escaped)).should == escaped
47
47
  end
48
48
 
49
- it "should have a default locale" do
50
- Summon::DEFAULT_LOCALE.should == 'en'
51
- end
52
- end
49
+ end
data/spike.rb ADDED
File without changes
data/summon.gemspec CHANGED
@@ -1,46 +1,32 @@
1
1
  # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "summon/version"
2
4
 
3
5
  Gem::Specification.new do |s|
4
6
  s.name = %q{summon}
5
- s.version = "1.1.14"
7
+ s.version = Summon::VERSION
6
8
 
7
9
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
- s.authors = ["Charles Lowell"]
9
- s.date = %q{2010-10-20}
10
+ s.authors = ["Charles Lowell", "Dani\303\253l van de Burgt"]
10
11
  s.description = %q{Ruby language bindings for Serials Solutions Summon Unified Discovery Service}
11
- s.email = ["cowboyd@thefrontside.net"]
12
+ s.email = ["cowboyd@thefrontside.net", "daniel.vandeburgt@serialssolutions.com"]
12
13
  s.executables = ["summon", "summonh"]
13
- s.extra_rdoc_files = ["History.txt", "Manifest.txt", "PostInstall.txt"]
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/benchmark.rb", "lib/summon/cli.rb", "lib/summon/locales/dadk.rb", "lib/summon/locales/dede.rb", "lib/summon/locales/en.rb", "lib/summon/locales/eses.rb", "lib/summon/locales/fifi.rb", "lib/summon/locales/fr.rb", "lib/summon/locales/frfr.rb", "lib/summon/locales/isis.rb", "lib/summon/locales/itit.rb", "lib/summon/locales/jp.rb", "lib/summon/locales/nlnl.rb", "lib/summon/locales/nono.rb", "lib/summon/locales/ptpt.rb", "lib/summon/locales/svse.rb", "lib/summon/locales/zacn.rb", "lib/summon/locales/zhcn.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/recommendation_list.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/recommendation_list_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
- s.homepage = %q{http://summon.rubyforge.org}
14
+ s.homepage = "http://github.com/summon/summon.rb"
16
15
  s.post_install_message = %q{
17
16
  For comprehensive documentation on Summon API options and usage visit:
18
17
 
19
18
  http://api.summon.serialssolutions.com
20
19
 
21
20
  }
22
- s.rdoc_options = ["--main", "README.rdoc"]
23
- s.require_paths = ["lib"]
24
- s.rubyforge_project = %q{summon}
25
- s.rubygems_version = %q{1.3.7}
21
+
26
22
  s.summary = %q{Ruby language bindings for Serials Solutions Summon Unified Discovery Service}
27
23
 
28
- if s.respond_to? :specification_version then
29
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
30
- s.specification_version = 3
24
+ s.files = `git ls-files`.split("\n")
25
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
26
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
27
+ s.require_paths = ["lib"]
31
28
 
32
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
33
- s.add_runtime_dependency(%q<json>, [">= 1.2.0"])
34
- s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
35
- s.add_development_dependency(%q<hoe>, [">= 2.5.0"])
36
- else
37
- s.add_dependency(%q<json>, [">= 1.2.0"])
38
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
39
- s.add_dependency(%q<hoe>, [">= 2.5.0"])
40
- end
41
- else
42
- s.add_dependency(%q<json>, [">= 1.2.0"])
43
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
44
- s.add_dependency(%q<hoe>, [">= 2.5.0"])
45
- end
29
+ s.add_runtime_dependency "json", ">= 1.2.0"
30
+ s.add_development_dependency "rspec", ">= 2.0.0"
31
+ s.add_development_dependency "rake"
46
32
  end
metadata CHANGED
@@ -1,27 +1,26 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: summon
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
5
- prerelease: false
4
+ hash: 31
5
+ prerelease:
6
6
  segments:
7
7
  - 1
8
- - 1
9
- - 14
10
- version: 1.1.14
8
+ - 2
9
+ - 0
10
+ version: 1.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Charles Lowell
14
+ - "Dani\xC3\xABl van de Burgt"
14
15
  autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
17
18
 
18
- date: 2010-11-30 00:00:00 -06:00
19
+ date: 2011-04-11 00:00:00 -05:00
19
20
  default_executable:
20
21
  dependencies:
21
22
  - !ruby/object:Gem::Dependency
22
- name: json
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
23
+ version_requirements: &id001 !ruby/object:Gem::Requirement
25
24
  none: false
26
25
  requirements:
27
26
  - - ">="
@@ -32,57 +31,57 @@ dependencies:
32
31
  - 2
33
32
  - 0
34
33
  version: 1.2.0
34
+ prerelease: false
35
+ requirement: *id001
35
36
  type: :runtime
36
- version_requirements: *id001
37
+ name: json
37
38
  - !ruby/object:Gem::Dependency
38
- name: rspec
39
- prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
39
+ version_requirements: &id002 !ruby/object:Gem::Requirement
41
40
  none: false
42
41
  requirements:
43
42
  - - ">="
44
43
  - !ruby/object:Gem::Version
45
- hash: 13
44
+ hash: 15
46
45
  segments:
47
- - 1
48
46
  - 2
49
- - 9
50
- version: 1.2.9
47
+ - 0
48
+ - 0
49
+ version: 2.0.0
50
+ prerelease: false
51
+ requirement: *id002
51
52
  type: :development
52
- version_requirements: *id002
53
+ name: rspec
53
54
  - !ruby/object:Gem::Dependency
54
- name: hoe
55
- prerelease: false
56
- requirement: &id003 !ruby/object:Gem::Requirement
55
+ version_requirements: &id003 !ruby/object:Gem::Requirement
57
56
  none: false
58
57
  requirements:
59
58
  - - ">="
60
59
  - !ruby/object:Gem::Version
61
- hash: 19
60
+ hash: 3
62
61
  segments:
63
- - 2
64
- - 7
65
62
  - 0
66
- version: 2.7.0
63
+ version: "0"
64
+ prerelease: false
65
+ requirement: *id003
67
66
  type: :development
68
- version_requirements: *id003
67
+ name: rake
69
68
  description: Ruby language bindings for Serials Solutions Summon Unified Discovery Service
70
69
  email:
71
70
  - cowboyd@thefrontside.net
71
+ - daniel.vandeburgt@serialssolutions.com
72
72
  executables:
73
73
  - summon
74
74
  - summonh
75
75
  extensions: []
76
76
 
77
- extra_rdoc_files:
78
- - History.txt
79
- - Manifest.txt
80
- - PostInstall.txt
77
+ extra_rdoc_files: []
78
+
81
79
  files:
82
- - History.txt
83
- - Manifest.txt
84
- - PostInstall.txt
85
- - README.rdoc
80
+ - .gitignore
81
+ - Changelog.md
82
+ - Gemfile
83
+ - Gemfile.lock
84
+ - README.md
86
85
  - Rakefile
87
86
  - bin/summon
88
87
  - bin/summonh
@@ -90,22 +89,6 @@ files:
90
89
  - lib/summon.rb
91
90
  - lib/summon/benchmark.rb
92
91
  - lib/summon/cli.rb
93
- - lib/summon/locales/dadk.rb
94
- - lib/summon/locales/dede.rb
95
- - lib/summon/locales/en.rb
96
- - lib/summon/locales/eses.rb
97
- - lib/summon/locales/fifi.rb
98
- - lib/summon/locales/fr.rb
99
- - lib/summon/locales/frfr.rb
100
- - lib/summon/locales/isis.rb
101
- - lib/summon/locales/itit.rb
102
- - lib/summon/locales/jp.rb
103
- - lib/summon/locales/nlnl.rb
104
- - lib/summon/locales/nono.rb
105
- - lib/summon/locales/ptpt.rb
106
- - lib/summon/locales/svse.rb
107
- - lib/summon/locales/zacn.rb
108
- - lib/summon/locales/zhcn.rb
109
92
  - lib/summon/log.rb
110
93
  - lib/summon/schema.rb
111
94
  - lib/summon/schema/availability.rb
@@ -127,6 +110,7 @@ files:
127
110
  - lib/summon/transport/headers.rb
128
111
  - lib/summon/transport/http.rb
129
112
  - lib/summon/transport/qstring.rb
113
+ - lib/summon/version.rb
130
114
  - script/console
131
115
  - script/destroy
132
116
  - script/generate
@@ -138,6 +122,7 @@ files:
138
122
  - spec/summon/schema/date_spec.rb
139
123
  - spec/summon/schema/document_spec.rb
140
124
  - spec/summon/schema/facet_spec.rb
125
+ - spec/summon/schema/lib_guide_tab_spec.rb
141
126
  - spec/summon/schema/query_spec.rb
142
127
  - spec/summon/schema/range_spec.rb
143
128
  - spec/summon/schema/recommendation_list_spec.rb
@@ -148,9 +133,10 @@ files:
148
133
  - spec/summon/transport/http_spec.rb
149
134
  - spec/summon/transport/qstring_spec.rb
150
135
  - spec/summon_spec.rb
136
+ - spike.rb
151
137
  - summon.gemspec
152
138
  has_rdoc: true
153
- homepage: http://summon.rubyforge.org
139
+ homepage: http://github.com/summon/summon.rb
154
140
  licenses: []
155
141
 
156
142
  post_install_message: |+
@@ -159,9 +145,8 @@ post_install_message: |+
159
145
 
160
146
  http://api.summon.serialssolutions.com
161
147
 
162
- rdoc_options:
163
- - --main
164
- - README.rdoc
148
+ rdoc_options: []
149
+
165
150
  require_paths:
166
151
  - lib
167
152
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -184,10 +169,28 @@ required_rubygems_version: !ruby/object:Gem::Requirement
184
169
  version: "0"
185
170
  requirements: []
186
171
 
187
- rubyforge_project: summon
188
- rubygems_version: 1.3.7
172
+ rubyforge_project:
173
+ rubygems_version: 1.6.0
189
174
  signing_key:
190
175
  specification_version: 3
191
176
  summary: Ruby language bindings for Serials Solutions Summon Unified Discovery Service
192
- test_files: []
193
-
177
+ test_files:
178
+ - spec/spec.opts
179
+ - spec/spec_helper.rb
180
+ - spec/summon/log_spec.rb
181
+ - spec/summon/schema/availability_spec.rb
182
+ - spec/summon/schema/citation_spec.rb
183
+ - spec/summon/schema/date_spec.rb
184
+ - spec/summon/schema/document_spec.rb
185
+ - spec/summon/schema/facet_spec.rb
186
+ - spec/summon/schema/lib_guide_tab_spec.rb
187
+ - spec/summon/schema/query_spec.rb
188
+ - spec/summon/schema/range_spec.rb
189
+ - spec/summon/schema/recommendation_list_spec.rb
190
+ - spec/summon/schema/search_spec.rb
191
+ - spec/summon/schema_spec.rb
192
+ - spec/summon/service_spec.rb
193
+ - spec/summon/transport/headers_spec.rb
194
+ - spec/summon/transport/http_spec.rb
195
+ - spec/summon/transport/qstring_spec.rb
196
+ - spec/summon_spec.rb