bento_search 0.9.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +47 -14
- data/app/item_decorators/bento_search/standard_decorator.rb +30 -12
- data/app/models/bento_search/link.rb +4 -0
- data/app/models/bento_search/multi_searcher.rb +3 -1
- data/app/models/bento_search/registrar.rb +31 -2
- data/app/models/bento_search/result_item.rb +52 -14
- data/app/models/bento_search/search_engine.rb +18 -12
- data/app/search_engines/bento_search/google_books_engine.rb +9 -2
- data/app/search_engines/bento_search/google_site_search_engine.rb +1 -1
- data/app/search_engines/bento_search/summon_engine.rb +13 -5
- data/app/search_engines/bento_search/worldcat_sru_dc_engine.rb +1 -1
- data/app/views/bento_search/_atom_item.atom.builder +135 -0
- data/app/views/bento_search/atom_results.atom.builder +61 -0
- data/lib/bento_search.rb +4 -2
- data/lib/bento_search/version.rb +1 -1
- data/test/dummy/config/routes.rb +3 -1
- data/test/dummy/log/test.log +45768 -0
- data/test/support/atom.xsd.xml +240 -0
- data/test/unit/openurl_creator_test.rb +2 -4
- data/test/unit/register_engine_test.rb +59 -0
- data/test/unit/summon_engine_test.rb +1 -5
- data/test/view/atom_results_test.rb +281 -0
- metadata +11 -5
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bento_search
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-02-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -230,9 +230,11 @@ files:
|
|
230
230
|
- app/models/bento_search/search_engine.rb
|
231
231
|
- app/views/bento_search/_no_results.html.erb
|
232
232
|
- app/views/bento_search/_wrap_with_count.html.erb
|
233
|
+
- app/views/bento_search/_atom_item.atom.builder
|
233
234
|
- app/views/bento_search/_search_error.html.erb
|
234
235
|
- app/views/bento_search/search/search.html.erb
|
235
236
|
- app/views/bento_search/_item_title.html.erb
|
237
|
+
- app/views/bento_search/atom_results.atom.builder
|
236
238
|
- app/views/bento_search/_std_item.html.erb
|
237
239
|
- app/views/bento_search/_link.html.erb
|
238
240
|
- app/helpers/bento_search_helper.rb
|
@@ -267,7 +269,9 @@ files:
|
|
267
269
|
- Rakefile
|
268
270
|
- README.md
|
269
271
|
- test/view/link_test.rb
|
272
|
+
- test/view/atom_results_test.rb
|
270
273
|
- test/view/std_item_test.rb
|
274
|
+
- test/support/atom.xsd.xml
|
271
275
|
- test/support/test_with_cassette.rb
|
272
276
|
- test/integration/navigation_test.rb
|
273
277
|
- test/dummy/app/controllers/application_controller.rb
|
@@ -390,7 +394,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
390
394
|
version: '0'
|
391
395
|
segments:
|
392
396
|
- 0
|
393
|
-
hash:
|
397
|
+
hash: 53908979262275360
|
394
398
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
395
399
|
none: false
|
396
400
|
requirements:
|
@@ -399,17 +403,19 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
399
403
|
version: '0'
|
400
404
|
segments:
|
401
405
|
- 0
|
402
|
-
hash:
|
406
|
+
hash: 53908979262275360
|
403
407
|
requirements: []
|
404
408
|
rubyforge_project:
|
405
|
-
rubygems_version: 1.8.
|
409
|
+
rubygems_version: 1.8.25
|
406
410
|
signing_key:
|
407
411
|
specification_version: 3
|
408
412
|
summary: An abstraction/normalization layer for querying and displaying results for
|
409
413
|
external search engines, in Ruby on Rails.
|
410
414
|
test_files:
|
411
415
|
- test/view/link_test.rb
|
416
|
+
- test/view/atom_results_test.rb
|
412
417
|
- test/view/std_item_test.rb
|
418
|
+
- test/support/atom.xsd.xml
|
413
419
|
- test/support/test_with_cassette.rb
|
414
420
|
- test/integration/navigation_test.rb
|
415
421
|
- test/dummy/app/controllers/application_controller.rb
|