blacklight 3.0.0pre6 → 3.0.0pre7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. data/Rakefile +1 -0
  2. data/VERSION +1 -1
  3. data/app/controllers/bookmarks_controller.rb +1 -0
  4. data/app/controllers/feedback_controller.rb +1 -0
  5. data/app/controllers/folder_controller.rb +11 -10
  6. data/app/controllers/saved_searches_controller.rb +1 -0
  7. data/app/controllers/search_history_controller.rb +1 -0
  8. data/app/helpers/blacklight_helper.rb +1 -0
  9. data/app/helpers/bookmarks_helper.rb +2 -1
  10. data/app/helpers/catalog_helper.rb +23 -10
  11. data/app/helpers/feedback_helper.rb +1 -0
  12. data/app/helpers/hash_as_hidden_fields.rb +1 -0
  13. data/app/helpers/render_constraints_helper.rb +1 -0
  14. data/app/helpers/saved_searches_helper.rb +1 -0
  15. data/app/helpers/search_history_helper.rb +2 -1
  16. data/app/models/bookmark.rb +2 -1
  17. data/app/models/record_mailer.rb +1 -0
  18. data/app/models/search.rb +2 -1
  19. data/app/views/catalog/_opensearch_response_metadata.html.erb +3 -2
  20. data/app/views/catalog/_results_pagination.html.erb +3 -3
  21. data/app/views/kaminari/blacklight/_page.html.erb +1 -1
  22. data/blacklight.gemspec +2 -20
  23. data/config/routes.rb +1 -0
  24. data/db/seeds.rb +1 -0
  25. data/install.rb +1 -0
  26. data/lib/blacklight.rb +1 -0
  27. data/lib/blacklight/catalog.rb +1 -0
  28. data/lib/blacklight/comma_link_renderer.rb +1 -0
  29. data/lib/blacklight/configurable.rb +1 -0
  30. data/lib/blacklight/controller.rb +1 -0
  31. data/lib/blacklight/engine.rb +1 -0
  32. data/lib/blacklight/exceptions.rb +1 -0
  33. data/lib/blacklight/routes.rb +1 -0
  34. data/lib/blacklight/search_fields.rb +1 -0
  35. data/lib/blacklight/solr.rb +1 -0
  36. data/lib/blacklight/solr/document.rb +1 -0
  37. data/lib/blacklight/solr/document/dublin_core.rb +1 -0
  38. data/lib/blacklight/solr/document/email.rb +1 -0
  39. data/lib/blacklight/solr/document/marc.rb +1 -0
  40. data/lib/blacklight/solr/document/marc_export.rb +1 -0
  41. data/lib/blacklight/solr/document/sms.rb +1 -0
  42. data/lib/blacklight/solr/facet_paginator.rb +2 -1
  43. data/lib/blacklight/solr_helper.rb +32 -11
  44. data/lib/blacklight/user.rb +1 -0
  45. data/lib/blacklight/version.rb +1 -0
  46. data/lib/colorize.rb +1 -0
  47. data/lib/generators/blacklight/assets_generator.rb +1 -0
  48. data/lib/generators/blacklight/blacklight_generator.rb +10 -0
  49. data/lib/generators/blacklight/jetty_generator.rb +3 -0
  50. data/lib/generators/blacklight/solr_conf_generator.rb +1 -0
  51. data/lib/generators/blacklight/templates/catalog_controller.rb +1 -0
  52. data/lib/generators/blacklight/templates/config/blacklight_config.rb +1 -0
  53. data/lib/generators/blacklight/templates/migrations/add_user_types_to_bookmarks_searches.rb +7 -0
  54. data/lib/generators/blacklight/templates/migrations/create_bookmarks.rb +2 -1
  55. data/lib/generators/blacklight/templates/migrations/create_searches.rb +1 -0
  56. data/lib/generators/blacklight/templates/migrations/remove_editable_fields_from_bookmarks.rb +1 -0
  57. data/lib/generators/blacklight/templates/public/javascripts/blacklight/blacklight.js +1 -0
  58. data/lib/generators/blacklight/templates/public/stylesheets/blacklight/blacklight.css +1 -1
  59. data/lib/generators/blacklight/templates/solr_document.rb +1 -0
  60. data/lib/railties/blacklight_cucumber.rake +3 -2
  61. data/lib/railties/jetty_solr_server.rb +1 -0
  62. data/test_support/bin/test.sh +121 -0
  63. data/test_support/features/search_results.feature +1 -1
  64. data/test_support/features/step_definitions/bookmarks_steps.rb +1 -0
  65. data/test_support/features/step_definitions/error_steps.rb +1 -0
  66. data/test_support/features/step_definitions/folder_steps.rb +1 -0
  67. data/test_support/features/step_definitions/general_steps.rb +1 -0
  68. data/test_support/features/step_definitions/record_view_steps.rb +1 -0
  69. data/test_support/features/step_definitions/saved_searches_steps.rb +1 -0
  70. data/test_support/features/step_definitions/search_facets_steps.rb +1 -0
  71. data/test_support/features/step_definitions/search_history_steps.rb +1 -0
  72. data/test_support/features/step_definitions/search_result_steps.rb +1 -0
  73. data/test_support/features/step_definitions/search_steps.rb +1 -0
  74. data/test_support/features/step_definitions/user_steps.rb +2 -1
  75. data/test_support/features/step_definitions/web_steps.rb +1 -0
  76. data/test_support/features/support/env.rb +5 -0
  77. data/test_support/features/support/paths.rb +1 -0
  78. data/test_support/features/support/selectors.rb +1 -0
  79. data/test_support/spec/controllers/application_controller_spec.rb +1 -0
  80. data/test_support/spec/controllers/catalog_controller_spec.rb +1 -0
  81. data/test_support/spec/controllers/folder_controller_spec.rb +1 -0
  82. data/test_support/spec/controllers/search_history_controller_spec.rb +1 -0
  83. data/test_support/spec/data/sample_docs.yml +1 -1
  84. data/test_support/spec/helpers/blacklight_helper_spec.rb +1 -0
  85. data/test_support/spec/helpers/catalog_helper_spec.rb +1 -0
  86. data/test_support/spec/helpers/hash_as_hidden_fields_spec.rb +1 -0
  87. data/test_support/spec/helpers/render_constraints_helper_spec.rb +1 -0
  88. data/test_support/spec/helpers/search_history_helper_spec.rb +1 -0
  89. data/test_support/spec/helpers/solr_helper_spec.rb +33 -5
  90. data/test_support/spec/lib/blacklight_email_spec.rb +1 -0
  91. data/test_support/spec/lib/blacklight_sms_spec.rb +1 -0
  92. data/test_support/spec/lib/blacklight_solr_document_dublin_core_spec.rb +1 -0
  93. data/test_support/spec/lib/blacklight_solr_document_marc_spec.rb +1 -0
  94. data/test_support/spec/lib/blacklight_solr_document_spec.rb +1 -0
  95. data/test_support/spec/lib/blacklight_spec.rb +1 -0
  96. data/test_support/spec/lib/blacklight_user_spec.rb +1 -0
  97. data/test_support/spec/lib/configurable_spec.rb +1 -0
  98. data/test_support/spec/lib/facet_paginator_spec.rb +1 -0
  99. data/test_support/spec/lib/marc_export_spec.rb +1 -0
  100. data/test_support/spec/lib/search_fields_spec.rb +1 -0
  101. data/test_support/spec/lib/tasks/blacklight_task_spec.rb +1 -0
  102. data/test_support/spec/lib/tasks/solr_marc_task_spec.rb +1 -0
  103. data/test_support/spec/models/bookmark_spec.rb +1 -0
  104. data/test_support/spec/models/record_mailer_spec.rb +1 -1
  105. data/test_support/spec/models/search_spec.rb +1 -0
  106. data/test_support/spec/models/solr_docment_spec.rb +1 -1
  107. data/test_support/spec/spec_helper.rb +1 -0
  108. data/test_support/spec/support/action_controller.rb +1 -0
  109. data/test_support/spec/support/assert_difference.rb +1 -0
  110. data/test_support/spec/support/include_text.rb +1 -0
  111. data/test_support/spec/views/catalog/_constraints_element.html.erb_spec.rb +1 -0
  112. data/test_support/spec/views/catalog/_document_list.html.erb_spec.rb +1 -0
  113. data/test_support/spec/views/catalog/_facets.html.erb_spec.rb +1 -0
  114. data/test_support/spec/views/catalog/_index_partials/_default.erb_spec.rb +1 -0
  115. data/test_support/spec/views/catalog/_show_partials/_default.html.erb_spec.rb +1 -0
  116. data/test_support/spec/views/catalog/index.atom.builder_spec.rb +3 -5
  117. data/test_support/spec/views/catalog/show.html.erb_spec.rb +1 -0
  118. data/test_support/spec/views/catalog/unapi.xml.builder_spec.rb +1 -0
  119. data/uninstall.rb +1 -0
  120. metadata +29 -44
  121. data/features/default_setup.feature +0 -52
  122. data/features/generators.feature +0 -58
  123. data/features/support/aruba.rb +0 -9
@@ -27,7 +27,7 @@ document_list_mash:
27
27
  published_display:
28
28
  - Yerushalayim
29
29
  subtitle_vern_display: "\xE2\x80\x8F\xD7\xA1\xD7\xA4\xD7\x95\xD7\xA8\xD7\x99\xD7\x9D \xD7\x9E\xD7\xA4\xD7\x9C\xD7\x99\xD7\x90\xD7\x99\xD7\x9D \xD7\x94\xD7\x9E\xD7\x91\xD7\x95\xD7\xA1\xD7\xA1\xD7\x99\xD7\x9D \xD7\xA2\xD7\x9C \xD7\xA2\xD7\x95\xD7\x91\xD7\x93\xD7\x95\xD7\xAA \xD7\x94\xD7\x99\xD7\xA1\xD7\x98\xD7\x95\xD7\xA8\xD7\x99\xD7\x95\xD7\xAA /\xE2\x80\x8F"
30
- marc_display: "01657cam a2200337 a 4500001001300000003000400013005001700017008004100034010001700075035002600092040002800118042001400146043002100160050002000181066001100201100004900212245015200261246010000413246005600513260007400569300005100643504003500694650004700729650004300776650003900819880005300858880014800911880010201059880005901161880009901220 87931798 DLC20090121115059.0060428m19869999ir ah b 000 0 per d a 87931798  a(CStRLIN)DCLN06-B3656 aNjPcNjPdUkLSOAdDLC-R alccopycat aa------af------00aBP44b.M88 1986 c(3c(41 6880-01aMuvaḥḥid Abṭaḥī, Ḥujjat.106880-02aĀshnāʼī bā ḥawzahʹhā-yi ʻilmīyah-ʼi Shīʻah dar ṭūl-i tārīkh /cbih qalam-i Ḥujjat Muvaḥḥid Abṭaḥī.3 6880-03aĀshnāyī bā ḥawzahʹhā-yi ʻilmīyah-ʼi Shīʻah dar ṭūl-i tārīkh306880-04aḤawzahʹhā-yi ʻilmīyah-ʼi Shīʻah 6880-05aIṣfahān :bḤawzah-i ʻIlmīyah,c1365- [1986- ] av. <1> :bill. (some col.), facsims. ;c25 cm. aBibliography: v. 1, p.451-455. 0aReligious institutionszIslamic countries. 0aShiitesxEducationzIslamic countries. 0aIslamic universities and colleges.1 6100-01/(3/r‏a‏موحد ابطحى، خجة.106245-02/(3/r‏a‏اشنائى با حوزه‌هاى علميۀ شيعه در طول تاريخ /‏c‏بقلم حجة موحد ابطحى.3 6246-03/(3/r‏a‏اشنايى با حوزه‌هاى علميۀ شيعه در طول تاريخ306246-04/(3/r‏a‏حوزه هاى علميۀ شيعه 6260-05/(3/r‏a‏اصفهان :‏b‏حوزۀ علميه،‏c‏‪1365- [1986- ]‬."
30
+ marc_display: "01041cam 2200265 a 4500001002000000003000400020005001700024008004100041010002400082020002500106020004400131040001800175050002400193082001800217100003200235245008700267246003600354250001200390260003700402300002900439500004200468520022000510650003300730650001200763^###89048230#/AC/r91^DLC^19911106082810.9^891101s1990####maua###j######000#0#eng##^##$a###89048230#/AC/r91^##$a0316107514\" :$c$12.95^##$a0316107506 (pbk.)\" :$c$5.95 ($6.95 Can.)^##$aDLC$cDLC$dDLC^00$aGV943.25$b.B74 1990^00$a796.334/2$220^10$aBrenner, Richard J.,$d1941-^10$aMake the team.$pSoccer :$ba heads up guide to super soccer! /$cRichard J. Brenner.^30$aHeads up guide to super soccer.^##$a1st ed.^##$aBoston :$bLittle, Brown,$cc1990.^##$a127 p. :$bill. ;$c19 cm.^##$a\"A Sports illustrated for kids book.\"^##$aInstructions for improving soccer skills. Discusses dribbling, heading, playmaking, defense, conditioning, mental attitude, how to handle problems with coaches, parents, and other players, and the history of soccer.^#0$aSoccer$vJuvenile literature.^#1$aSoccer.^\\"
31
31
  - !map:Mash
32
32
  score: 1.0
33
33
  format: Book
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  # -*- coding: UTF-8 -*-
2
3
  require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
3
4
  require 'marc'
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
3
  describe CatalogHelper do
3
4
  include CatalogHelper
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
3
 
3
4
  describe HashAsHiddenFields do
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
3
 
3
4
  # This is NOT currently spec'ing render_constraints_* methods, becuase
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
3
 
3
4
  describe SearchHistoryHelper do
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
3
  require 'marc'
3
4
 
@@ -290,6 +291,33 @@ describe 'Blacklight::SolrHelper' do
290
291
  end
291
292
  end
292
293
 
294
+ describe "sorting" do
295
+ it "should send the default sort parameter to solr" do
296
+ test_sort_field = ['test', 'solr_test_field asc']
297
+ Blacklight.config[:sort_fields].unshift(test_sort_field)
298
+
299
+ produced_params = @solr_helper.solr_search_params
300
+ produced_params[:sort].should == 'solr_test_field asc'
301
+
302
+ Blacklight.config[:sort_fields].delete(test_sort_field)
303
+ end
304
+
305
+ it "should not send a sort parameter to solr if the sort value is blank" do
306
+ test_sort_field = ['test', nil]
307
+ Blacklight.config[:sort_fields].unshift(test_sort_field)
308
+
309
+ produced_params = @solr_helper.solr_search_params
310
+ produced_params.should_not have_key(:sort)
311
+
312
+ Blacklight.config[:sort_fields].delete(test_sort_field)
313
+ end
314
+
315
+ it "should pass through user sort parameters" do
316
+ produced_params = @solr_helper.solr_search_params :sort => 'solr_test_field desc'
317
+ produced_params[:sort].should == 'solr_test_field desc'
318
+ end
319
+ end
320
+
293
321
  describe "for :solr_local_parameters config" do
294
322
  before do
295
323
  # Hack to test with our own custom config specified here
@@ -748,18 +776,18 @@ describe 'Blacklight::SolrHelper' do
748
776
  =end
749
777
 
750
778
  it 'should have a doc id field' do
751
- @doc.id.should_not == nil
779
+ @doc[:id].should_not == nil
752
780
  end
753
781
 
754
782
  it 'should have non-nil values for required fields set in initializer' do
755
- @doc.get(Blacklight.config[:show][:html_title]).should_not == nil
756
- @doc.get(Blacklight.config[:show][:heading]).should_not == nil
757
- @doc.get(Blacklight.config[:show][:display_type]).should_not == nil
783
+ @doc[Blacklight.config[:show][:html_title]].should_not == nil
784
+ @doc[Blacklight.config[:show][:heading]].should_not == nil
785
+ @doc[Blacklight.config[:show][:display_type]].should_not == nil
758
786
  end
759
787
 
760
788
  it "should limit search result by facets when supplied" do
761
789
  doc2 = @solr_helper.get_single_doc_via_search(@doc_row , :q => @all_docs_query, :f => @multi_facets)
762
- doc2.id.should_not == nil
790
+ doc2[:id].should_not == nil
763
791
  end
764
792
 
765
793
  end
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
3
 
3
4
  describe "Blacklight::Solr::Document::Email" do
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
3
 
3
4
  describe "Blacklight::Solr::Document::Email" do
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
3
 
3
4
  describe "Blacklight::Solr::Document::DublinCore" do
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
3
 
3
4
 
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
3
  require 'rubygems'
3
4
 
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
3
 
3
4
  describe Blacklight do
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
3
 
3
4
  describe "Blacklight::User" do
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
3
 
3
4
  describe Blacklight::Configurable do
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  # Spec tests for Paginator class found in lib/blacklight/solr/facet_paginator.rb
2
3
 
3
4
  require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  # -*- coding: utf-8 -*-
2
3
  require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
3
4
  require 'rubygems'
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
3
 
3
4
  describe Blacklight::SearchFields do
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
2
3
 
3
4
  require "rake"
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
2
3
 
3
4
  require "rake"
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
3
 
3
4
  module BookmarkSpecHelper
@@ -1,4 +1,4 @@
1
- # encoding: UTF-8
1
+ # -*- encoding : utf-8 -*-
2
2
 
3
3
  require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
4
4
 
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
3
 
3
4
  describe Search do
@@ -1,4 +1,4 @@
1
- # encoding: UTF-8
1
+ # -*- encoding : utf-8 -*-
2
2
 
3
3
  require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
4
4
  require 'rubygems'
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  # This file is copied to spec/ when you run 'rails generate rspec:install'
2
3
  # Has been customized by Blacklight to work when application is in one place,
3
4
  # and actual spec/ stuff is in another (the blacklight gem checkout).
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  # Added based on http://www.arctickiwi.com/blog/upgrading-to-rspec-2-with-ruby-on-rails-3
2
3
  # God bless you Jonathon Horsman
3
4
  module ActionController
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  # Added based on http://www.arctickiwi.com/blog/upgrading-to-rspec-2-with-ruby-on-rails-3
2
3
  # God bless you Jonathon Horsman
3
4
  def assert_difference(executable, how_many = 1, &block)
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  # Added from http://www.arctickiwi.com/blog/upgrading-to-rspec-2-with-ruby-on-rails-3
2
3
  module RSpec::Rails
3
4
  module Matchers
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
2
3
 
3
4
  describe "catalog/_constraints_element.html.erb" do
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
2
3
 
3
4
  describe "/catalog/_document_list.html.erb" do
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
2
3
 
3
4
  describe "/catalog/_facets.html.erb" do
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.expand_path(File.dirname(__FILE__) + '/../../../spec_helper')
2
3
 
3
4
  # spec for default partial to display solr document fields
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.expand_path(File.dirname(__FILE__) + '/../../../spec_helper')
2
3
 
3
4
  # spec for default partial to display solr document fields
@@ -1,6 +1,7 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
2
3
 
3
- describe "Atom feed view" do
4
+ describe "catalog/index.atom.builder" do
4
5
 
5
6
 
6
7
  before(:all) do
@@ -38,10 +39,7 @@ describe "Atom feed view" do
38
39
  params.merge!( @params )
39
40
  @response = @rsolr_response
40
41
 
41
- # render "catalog/index.atom.builder"
42
- # Default behavior in rails 3 is to assume you are rendering a partial,
43
- # so you need to be a little more explicit with reder calls outside current scope.
44
- render :file => "catalog/index.atom.builder", :content_type => "application/atom+xml", :object => @response
42
+ render
45
43
 
46
44
  # We need to use rexml to test certain things that have_tag wont' test
47
45
  # note that response is depricated rails 3, use "redered" instead.
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
2
3
 
3
4
  describe "/catalog/show.html.erb" do
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
2
3
 
3
4
  describe "unAPI formats list" do
data/uninstall.rb CHANGED
@@ -1 +1,2 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  # Uninstall hook code here
metadata CHANGED
@@ -1,15 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1923832005
5
- prerelease: 5
4
+ prerelease: true
6
5
  segments:
7
6
  - 3
8
7
  - 0
9
- - 0
10
- - pre
11
- - 6
12
- version: 3.0.0pre6
8
+ - 0pre7
9
+ version: 3.0.0pre7
13
10
  platform: ruby
14
11
  authors:
15
12
  - Jonathan Rochkind
@@ -24,115 +21,108 @@ autorequire:
24
21
  bindir: bin
25
22
  cert_chain: []
26
23
 
27
- date: 2011-06-16 00:00:00 -04:00
24
+ date: 2011-06-30 00:00:00 -04:00
28
25
  default_executable:
29
26
  dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
- name: unicode
32
- prerelease: false
28
+ name: rails
33
29
  requirement: &id001 !ruby/object:Gem::Requirement
34
30
  none: false
35
31
  requirements:
36
- - - ">="
32
+ - - ~>
37
33
  - !ruby/object:Gem::Version
38
- hash: 3
39
34
  segments:
35
+ - 3
40
36
  - 0
41
- version: "0"
37
+ version: "3.0"
42
38
  type: :runtime
39
+ prerelease: false
43
40
  version_requirements: *id001
44
41
  - !ruby/object:Gem::Dependency
45
- name: rails
46
- prerelease: false
42
+ name: nokogiri
47
43
  requirement: &id002 !ruby/object:Gem::Requirement
48
44
  none: false
49
45
  requirements:
50
46
  - - ~>
51
47
  - !ruby/object:Gem::Version
52
- hash: 7
53
48
  segments:
54
- - 3
49
+ - 1
50
+ - 5
55
51
  - 0
56
- version: "3.0"
52
+ - beta
53
+ - 3
54
+ version: 1.5.0.beta.3
57
55
  type: :runtime
56
+ prerelease: false
58
57
  version_requirements: *id002
59
58
  - !ruby/object:Gem::Dependency
60
- name: nokogiri
61
- prerelease: false
59
+ name: unicode
62
60
  requirement: &id003 !ruby/object:Gem::Requirement
63
61
  none: false
64
62
  requirements:
65
- - - ~>
63
+ - - ">="
66
64
  - !ruby/object:Gem::Version
67
- hash: 62196437
68
65
  segments:
69
- - 1
70
- - 5
71
66
  - 0
72
- - beta
73
- - 3
74
- version: 1.5.0.beta.3
67
+ version: "0"
75
68
  type: :runtime
69
+ prerelease: false
76
70
  version_requirements: *id003
77
71
  - !ruby/object:Gem::Dependency
78
72
  name: marc
79
- prerelease: false
80
73
  requirement: &id004 !ruby/object:Gem::Requirement
81
74
  none: false
82
75
  requirements:
83
76
  - - ~>
84
77
  - !ruby/object:Gem::Version
85
- hash: 9
86
78
  segments:
87
79
  - 0
88
80
  - 4
89
81
  - 3
90
82
  version: 0.4.3
91
83
  type: :runtime
84
+ prerelease: false
92
85
  version_requirements: *id004
93
86
  - !ruby/object:Gem::Dependency
94
87
  name: rsolr
95
- prerelease: false
96
88
  requirement: &id005 !ruby/object:Gem::Requirement
97
89
  none: false
98
90
  requirements:
99
91
  - - ~>
100
92
  - !ruby/object:Gem::Version
101
- hash: 15
102
93
  segments:
103
94
  - 1
104
95
  - 0
105
96
  version: "1.0"
106
97
  type: :runtime
98
+ prerelease: false
107
99
  version_requirements: *id005
108
100
  - !ruby/object:Gem::Dependency
109
101
  name: rsolr-ext
110
- prerelease: false
111
102
  requirement: &id006 !ruby/object:Gem::Requirement
112
103
  none: false
113
104
  requirements:
114
105
  - - ~>
115
106
  - !ruby/object:Gem::Version
116
- hash: 15
117
107
  segments:
118
108
  - 1
119
109
  - 0
120
110
  version: "1.0"
121
111
  type: :runtime
112
+ prerelease: false
122
113
  version_requirements: *id006
123
114
  - !ruby/object:Gem::Dependency
124
115
  name: kaminari
125
- prerelease: false
126
116
  requirement: &id007 !ruby/object:Gem::Requirement
127
117
  none: false
128
118
  requirements:
129
119
  - - ">="
130
120
  - !ruby/object:Gem::Version
131
- hash: 3
132
121
  segments:
133
122
  - 0
134
123
  version: "0"
135
124
  type: :runtime
125
+ prerelease: false
136
126
  version_requirements: *id007
137
127
  description: "Blacklight is a free and open source ruby-on-rails based discovery interface (a.k.a. \xE2\x80\x9Cnext-generation catalog\xE2\x80\x9D) especially optimized for heterogeneous collections. You can use it as a library catalog, as a front end for a digital repository, or as a single-search interface to aggregate digital content that would otherwise be siloed."
138
128
  email:
@@ -236,9 +226,6 @@ files:
236
226
  - config/locales/kaminari.yml
237
227
  - config/routes.rb
238
228
  - db/seeds.rb
239
- - features/default_setup.feature
240
- - features/generators.feature
241
- - features/support/aruba.rb
242
229
  - install.rb
243
230
  - install/solr.yml
244
231
  - lib/.DS_Store
@@ -328,6 +315,7 @@ files:
328
315
  - lib/railties/solr_marc.rake
329
316
  - tasks/blacklight_tasks.rake
330
317
  - test_support/.rspec
318
+ - test_support/bin/test.sh
331
319
  - test_support/data/test_data.utf8.mrc
332
320
  - test_support/features/bookmarks.feature
333
321
  - test_support/features/did_you_mean.feature
@@ -414,7 +402,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
414
402
  requirements:
415
403
  - - ">="
416
404
  - !ruby/object:Gem::Version
417
- hash: 3
405
+ hash: 1025619995026452913
418
406
  segments:
419
407
  - 0
420
408
  version: "0"
@@ -423,7 +411,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
423
411
  requirements:
424
412
  - - ">"
425
413
  - !ruby/object:Gem::Version
426
- hash: 25
427
414
  segments:
428
415
  - 1
429
416
  - 3
@@ -432,11 +419,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
432
419
  requirements: []
433
420
 
434
421
  rubyforge_project: blacklight
435
- rubygems_version: 1.6.2
422
+ rubygems_version: 1.3.7
436
423
  signing_key:
437
424
  specification_version: 3
438
425
  summary: A next-geration Library Catalag for Universities
439
- test_files:
440
- - features/default_setup.feature
441
- - features/generators.feature
442
- - features/support/aruba.rb
426
+ test_files: []
427
+