blacklight 4.1.0 → 4.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.gitignore +2 -3
- data/{test_support/.rspec → .rspec} +0 -0
- data/.travis.yml +4 -4
- data/Rakefile +8 -0
- data/VERSION +1 -1
- data/app/assets/javascripts/blacklight/checkbox_submit.js +1 -1
- data/app/controllers/bookmarks_controller.rb +2 -2
- data/app/helpers/blacklight/facets_helper_behavior.rb +17 -15
- data/app/views/layouts/blacklight.html.erb +0 -1
- data/blacklight.gemspec +2 -1
- data/config/jetty.yml +4 -0
- data/{test_support/features → features}/bookmarks.feature +0 -0
- data/{test_support/features → features}/did_you_mean.feature +0 -0
- data/{test_support/features → features}/librarian_view.feature +0 -0
- data/{test_support/features → features}/record_view.feature +0 -0
- data/{test_support/features → features}/saved_searches.feature +0 -0
- data/{test_support/features → features}/search.feature +0 -0
- data/{test_support/features → features}/search_filters.feature +0 -0
- data/{test_support/features → features}/search_history.feature +0 -0
- data/{test_support/features → features}/search_pagination.feature +0 -0
- data/{test_support/features → features}/search_results.feature +0 -0
- data/{test_support/features → features}/search_sort.feature +0 -0
- data/{test_support/features → features}/step_definitions/bookmarks_steps.rb +0 -0
- data/{test_support/features → features}/step_definitions/error_steps.rb +0 -0
- data/{test_support/features → features}/step_definitions/general_steps.rb +0 -0
- data/{test_support/features → features}/step_definitions/record_view_steps.rb +0 -0
- data/{test_support/features → features}/step_definitions/saved_searches_steps.rb +0 -0
- data/{test_support/features → features}/step_definitions/search_facets_steps.rb +0 -0
- data/{test_support/features → features}/step_definitions/search_history_steps.rb +0 -0
- data/{test_support/features → features}/step_definitions/search_pagination_steps.rb +0 -0
- data/{test_support/features → features}/step_definitions/search_result_steps.rb +0 -0
- data/{test_support/features → features}/step_definitions/search_steps.rb +0 -0
- data/{test_support/features → features}/step_definitions/user_steps.rb +0 -0
- data/{test_support/features → features}/step_definitions/web_steps.rb +0 -0
- data/{test_support/features → features}/support/env.rb +0 -0
- data/{test_support/features → features}/support/paths.rb +0 -0
- data/{test_support/features → features}/support/selectors.rb +0 -0
- data/lib/railties/blacklight_cucumber.rake +1 -1
- data/{test_support/spec → spec}/controllers/application_controller_spec.rb +0 -0
- data/spec/controllers/bookmarks_controller_spec.rb +42 -0
- data/{test_support/spec → spec}/controllers/catalog_controller_spec.rb +0 -0
- data/{test_support/spec → spec}/controllers/search_history_controller_spec.rb +0 -0
- data/{test_support/spec → spec}/data/sample_docs.yml +0 -0
- data/{test_support/spec → spec}/data/test_data.utf8.mrc +0 -0
- data/{test_support/spec → spec}/helpers/blacklight_helper_spec.rb +0 -0
- data/{test_support/spec → spec}/helpers/catalog_helper_spec.rb +0 -0
- data/{test_support/spec → spec}/helpers/facets_helper_spec.rb +31 -4
- data/{test_support/spec → spec}/helpers/hash_as_hidden_fields_spec.rb +0 -0
- data/{test_support/spec → spec}/helpers/html_head_helper_spec.rb +0 -0
- data/{test_support/spec → spec}/helpers/render_constraints_helper_spec.rb +0 -0
- data/{test_support/spec → spec}/helpers/search_history_constraints_helper_spec.rb +0 -0
- data/{test_support/spec → spec}/lib/blacklight_configurable_spec.rb +0 -0
- data/{test_support/spec → spec}/lib/blacklight_configuration_spec.rb +0 -0
- data/{test_support/spec → spec}/lib/blacklight_email_spec.rb +0 -0
- data/{test_support/spec → spec}/lib/blacklight_sms_spec.rb +0 -0
- data/{test_support/spec → spec}/lib/blacklight_solr_document_dublin_core_spec.rb +0 -0
- data/{test_support/spec → spec}/lib/blacklight_solr_document_marc_spec.rb +0 -0
- data/{test_support/spec → spec}/lib/blacklight_solr_document_more_like_this_spec.rb +0 -0
- data/{test_support/spec → spec}/lib/blacklight_solr_document_spec.rb +0 -0
- data/{test_support/spec → spec}/lib/blacklight_solr_response_spec.rb +0 -0
- data/{test_support/spec → spec}/lib/blacklight_spec.rb +1 -1
- data/{test_support/spec → spec}/lib/blacklight_user_spec.rb +0 -0
- data/{test_support/spec → spec}/lib/facet_paginator_spec.rb +0 -0
- data/{test_support/spec → spec}/lib/marc_export_spec.rb +0 -0
- data/{test_support/spec → spec}/lib/search_fields_spec.rb +0 -0
- data/{test_support/spec → spec}/lib/solr_helper_spec.rb +0 -0
- data/{test_support/spec → spec}/lib/tasks/blacklight_task_spec.rb +0 -0
- data/{test_support/spec → spec}/lib/tasks/solr_marc_task_spec.rb +0 -0
- data/{test_support/spec → spec}/lib/utils_spec.rb +0 -0
- data/{test_support/spec → spec}/models/bookmark_spec.rb +0 -0
- data/{test_support/spec → spec}/models/record_mailer_spec.rb +0 -0
- data/{test_support/spec → spec}/models/search_spec.rb +0 -0
- data/{test_support/spec → spec}/models/solr_docment_spec.rb +0 -0
- data/{test_support/spec → spec}/rcov.opts +0 -0
- data/{test_support/spec → spec}/requests/alternate_controller_spec.rb +0 -0
- data/{test_support/spec → spec}/routing/catalog_routing_spec.rb +0 -0
- data/{test_support/spec → spec}/spec.opts +0 -0
- data/{test_support/spec → spec}/spec_helper.rb +2 -3
- data/{test_support/spec → spec}/support/assert_difference.rb +0 -0
- data/{test_support/spec → spec}/support/include_text.rb +0 -0
- data/spec/test_app_templates/Gemfile.extra +38 -0
- data/spec/test_app_templates/lib/generators/test_app_generator.rb +40 -0
- data/spec/test_app_templates/lib/tasks/rspec.rake +8 -0
- data/{test_support/spec → spec}/views/catalog/_constraints_element.html.erb_spec.rb +0 -0
- data/{test_support/spec → spec}/views/catalog/_document_list.html.erb_spec.rb +0 -0
- data/{test_support/spec → spec}/views/catalog/_facets.html.erb_spec.rb +0 -0
- data/{test_support/spec → spec}/views/catalog/_index_default.erb_spec.rb +0 -0
- data/{test_support/spec → spec}/views/catalog/_show_default.erb_spec.rb +0 -0
- data/{test_support/spec → spec}/views/catalog/_show_sidebar.erb_spec.rb +0 -0
- data/{test_support/spec → spec}/views/catalog/index.atom.builder_spec.rb +0 -0
- data/tasks/blacklight.rake +97 -0
- metadata +178 -83
- metadata.gz.sig +0 -0
- data/test_support/bin/run-tests.sh +0 -56
- data/test_support/bin/setup-test-app.sh +0 -119
- data/test_support/bin/test.sh +0 -147
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -16,10 +16,10 @@ if ENV['COVERAGE'] and RUBY_VERSION =~ /^1.9/ and ruby_engine != "jruby"
|
|
16
16
|
end
|
17
17
|
end
|
18
18
|
|
19
|
-
#require File.expand_path("../../config/environment", __FILE__)
|
20
19
|
# version that works with our blacklight:spec stuff that calls specs
|
21
20
|
# in a remote directory.
|
22
|
-
require File.expand_path("config/environment", ENV['RAILS_ROOT'] || File.expand_path("
|
21
|
+
require File.expand_path("config/environment", ENV['RAILS_ROOT'] || File.expand_path("../internal", __FILE__))
|
22
|
+
|
23
23
|
require 'rspec/rails'
|
24
24
|
require 'capybara/rspec'
|
25
25
|
|
@@ -27,7 +27,6 @@ require 'capybara/rspec'
|
|
27
27
|
# in spec/support/ and its subdirectories.
|
28
28
|
# Blacklight, again, make sure we're looking in the right place for em.
|
29
29
|
# Relative to HERE, NOT to Rails.root, which is off somewhere else.
|
30
|
-
#Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
|
31
30
|
Dir[Pathname.new(File.expand_path("../support/**/*.rb", __FILE__))].each {|f| require f}
|
32
31
|
|
33
32
|
|
File without changes
|
File without changes
|
@@ -0,0 +1,38 @@
|
|
1
|
+
platforms :jruby do
|
2
|
+
gem 'jruby-openssl'
|
3
|
+
gem 'activerecord-jdbcsqlite3-adapter'
|
4
|
+
gem 'jdbc-sqlite3'
|
5
|
+
gem 'mediashelf-loggable', '>= 0.4.8'
|
6
|
+
gem 'therubyrhino'
|
7
|
+
end
|
8
|
+
|
9
|
+
platforms :ruby do
|
10
|
+
gem 'sqlite3'
|
11
|
+
gem 'execjs'
|
12
|
+
gem 'therubyracer', '~> 0.10.2'
|
13
|
+
end
|
14
|
+
|
15
|
+
gem 'blacklight', :path => '../../'
|
16
|
+
gem 'jquery-rails'
|
17
|
+
|
18
|
+
# For testing
|
19
|
+
group :development, :test do
|
20
|
+
gem 'rspec-rails', '~> 2.12.0'
|
21
|
+
end
|
22
|
+
|
23
|
+
group :test do
|
24
|
+
gem 'generator_spec'
|
25
|
+
gem 'cucumber-rails', :require => false
|
26
|
+
gem 'database_cleaner', '>= 1.0.0.RC1'
|
27
|
+
if defined? :JRUBY_VERSION
|
28
|
+
gem 'capybara', '~> 1.0'
|
29
|
+
else
|
30
|
+
gem 'capybara'
|
31
|
+
end
|
32
|
+
gem 'rcov', :platform => :mri_18
|
33
|
+
gem 'simplecov', :platform => :mri_19
|
34
|
+
gem 'simplecov-rcov', :platform => :mri_19
|
35
|
+
end
|
36
|
+
|
37
|
+
gem 'jettywrapper', '>= 1.2.0'
|
38
|
+
|
@@ -0,0 +1,40 @@
|
|
1
|
+
require 'rails/generators'
|
2
|
+
|
3
|
+
class TestAppGenerator < Rails::Generators::Base
|
4
|
+
source_root File.expand_path("../../../../test_app_templates", __FILE__)
|
5
|
+
|
6
|
+
def fix_travis_rails_4
|
7
|
+
if ENV['TRAVIS']
|
8
|
+
insert_into_file 'app/assets/stylesheets/application.css', :before =>'/*' do
|
9
|
+
"@charset \"UTF-8\";\n"
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def copy_rspec_rake_task
|
15
|
+
copy_file "lib/tasks/rspec.rake"
|
16
|
+
end
|
17
|
+
|
18
|
+
def remove_index
|
19
|
+
remove_file "public/index.html"
|
20
|
+
remove_file 'app/assets/images/rails.png'
|
21
|
+
end
|
22
|
+
|
23
|
+
def run_blacklight_generator
|
24
|
+
say_status("warning", "GENERATING BL", :yellow)
|
25
|
+
|
26
|
+
generate 'blacklight', '--devise'
|
27
|
+
end
|
28
|
+
|
29
|
+
def run_cucumber_generator
|
30
|
+
say_status("warning", "GENERATING cucumber", :yellow)
|
31
|
+
|
32
|
+
generate 'cucumber:install'
|
33
|
+
end
|
34
|
+
|
35
|
+
def run_test_support_generator
|
36
|
+
say_status("warning", "GENERATING test_support", :yellow)
|
37
|
+
|
38
|
+
generate 'blacklight:test_support'
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
require 'rspec/core/rake_task'
|
2
|
+
desc "run the blacklight gem spec"
|
3
|
+
gem_home = File.expand_path('../../../../..', __FILE__)
|
4
|
+
RSpec::Core::RakeTask.new(:myspec) do |t|
|
5
|
+
t.pattern = gem_home + '/spec/**/*_spec.rb'
|
6
|
+
t.rspec_opts = "--colour"
|
7
|
+
t.ruby_opts = "-I#{gem_home}/spec"
|
8
|
+
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,97 @@
|
|
1
|
+
ZIP_URL = "https://github.com/projectblacklight/blacklight-jetty/archive/v4.0.0.zip"
|
2
|
+
APP_ROOT = File.expand_path("../..", __FILE__)
|
3
|
+
|
4
|
+
TEST_APP_TEMPLATES = 'spec/test_app_templates'
|
5
|
+
TEST_APP = 'spec/internal'
|
6
|
+
|
7
|
+
require 'jettywrapper'
|
8
|
+
require 'rspec/core/rake_task'
|
9
|
+
|
10
|
+
|
11
|
+
task :ci => 'jetty:clean' do
|
12
|
+
ENV['environment'] = "test"
|
13
|
+
jetty_params = Jettywrapper.load_config
|
14
|
+
jetty_params[:startup_wait]= 60
|
15
|
+
error = Jettywrapper.wrap(jetty_params) do
|
16
|
+
Rake::Task["blacklight:fixtures"].invoke
|
17
|
+
Rake::Task['blacklight:coverage'].invoke
|
18
|
+
Rake::Task['blacklight:cucumber'].invoke
|
19
|
+
end
|
20
|
+
raise "test failures: #{error}" if error
|
21
|
+
# Only create documentation if the tests have passed
|
22
|
+
#Rake::Task["active_fedora:doc"].invoke
|
23
|
+
end
|
24
|
+
|
25
|
+
namespace :blacklight do
|
26
|
+
desc "Load fixtures"
|
27
|
+
task :fixtures => [:generate] do
|
28
|
+
within_test_app do
|
29
|
+
system "rake solr:marc:index_test_data RAILS_ENV=test"
|
30
|
+
abort "Error running fixtures" unless $?.success?
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
|
35
|
+
desc "Run tests with coverage"
|
36
|
+
task :coverage do
|
37
|
+
ENV['COVERAGE'] = 'true'
|
38
|
+
Rake::Task["blacklight:spec"].invoke
|
39
|
+
end
|
40
|
+
|
41
|
+
desc "Run specs"
|
42
|
+
task :spec => [:generate] do |t|
|
43
|
+
focused_spec = ENV['SPEC'] ? " SPEC=#{File.join(GEM_ROOT, ENV['SPEC'])}" : ''
|
44
|
+
within_test_app do
|
45
|
+
system "rake myspec#{focused_spec}"
|
46
|
+
abort "Error running spec" unless $?.success?
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
desc "Run cucumber features"
|
51
|
+
task :cucumber => [:generate] do |t|
|
52
|
+
within_test_app do
|
53
|
+
system "rake blacklight:cucumber"
|
54
|
+
abort "Error running cucumber" unless $?.success?
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
|
59
|
+
desc "Clean out the test rails app"
|
60
|
+
task :clean do
|
61
|
+
puts "Removing sample rails app"
|
62
|
+
`rm -rf #{TEST_APP}`
|
63
|
+
end
|
64
|
+
|
65
|
+
desc "Create the test rails app"
|
66
|
+
task :generate do
|
67
|
+
unless File.exists?('spec/internal/Rakefile')
|
68
|
+
puts "Generating rails app"
|
69
|
+
`rails new #{TEST_APP}`
|
70
|
+
puts "Copying gemfile"
|
71
|
+
`cat #{TEST_APP_TEMPLATES}/Gemfile.extra >> #{TEST_APP}/Gemfile`
|
72
|
+
puts "Copying generator"
|
73
|
+
`cp -r #{TEST_APP_TEMPLATES}/lib/generators #{TEST_APP}/lib`
|
74
|
+
within_test_app do
|
75
|
+
puts "Bundle install"
|
76
|
+
`bundle install`
|
77
|
+
puts "running test_app_generator"
|
78
|
+
system "rails generate test_app"
|
79
|
+
|
80
|
+
puts "running migrations"
|
81
|
+
puts `rake db:migrate db:test:prepare`
|
82
|
+
end
|
83
|
+
end
|
84
|
+
puts "Done generating test app"
|
85
|
+
end
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
end
|
90
|
+
|
91
|
+
def within_test_app
|
92
|
+
FileUtils.cd(TEST_APP)
|
93
|
+
Bundler.with_clean_env do
|
94
|
+
yield
|
95
|
+
end
|
96
|
+
FileUtils.cd(APP_ROOT)
|
97
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blacklight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Rochkind
|
@@ -38,7 +38,7 @@ cert_chain:
|
|
38
38
|
W4KPvarE4dgxT4TXIIKkh/K/Z9yaYt73biInVukEI9H2HHWkuAyblxg1jcR/zy+w
|
39
39
|
K27NJ2vhSpx2PPhb
|
40
40
|
-----END CERTIFICATE-----
|
41
|
-
date: 2013-03-
|
41
|
+
date: 2013-03-29 00:00:00.000000000 Z
|
42
42
|
dependencies:
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: rails
|
@@ -150,14 +150,28 @@ dependencies:
|
|
150
150
|
requirements:
|
151
151
|
- - '>='
|
152
152
|
- !ruby/object:Gem::Version
|
153
|
-
version: 1.
|
153
|
+
version: 1.4.1
|
154
154
|
type: :development
|
155
155
|
prerelease: false
|
156
156
|
version_requirements: !ruby/object:Gem::Requirement
|
157
157
|
requirements:
|
158
158
|
- - '>='
|
159
159
|
- !ruby/object:Gem::Version
|
160
|
-
version: 1.
|
160
|
+
version: 1.4.1
|
161
|
+
- !ruby/object:Gem::Dependency
|
162
|
+
name: rspec-rails
|
163
|
+
requirement: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - '>='
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: '0'
|
168
|
+
type: :development
|
169
|
+
prerelease: false
|
170
|
+
version_requirements: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - '>='
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: '0'
|
161
175
|
description: Blacklight is an open source Solr user interface discovery platform.
|
162
176
|
You can use Blacklight to enable searching and browsing of your collections. Blacklight
|
163
177
|
uses the Apache Solr search engine to search full text and/or metadata.
|
@@ -169,6 +183,7 @@ extra_rdoc_files: []
|
|
169
183
|
files:
|
170
184
|
- .gitignore
|
171
185
|
- .gitmodules
|
186
|
+
- .rspec
|
172
187
|
- .travis.yml
|
173
188
|
- .yardopts
|
174
189
|
- Gemfile
|
@@ -312,9 +327,36 @@ files:
|
|
312
327
|
- app/views/shared/_footer.html.erb
|
313
328
|
- app/views/shared/_header_navbar.html.erb
|
314
329
|
- blacklight.gemspec
|
330
|
+
- config/jetty.yml
|
315
331
|
- config/locales/blacklight.en.yml
|
316
332
|
- config/locales/blacklight.fr.yml
|
317
333
|
- config/routes.rb
|
334
|
+
- features/bookmarks.feature
|
335
|
+
- features/did_you_mean.feature
|
336
|
+
- features/librarian_view.feature
|
337
|
+
- features/record_view.feature
|
338
|
+
- features/saved_searches.feature
|
339
|
+
- features/search.feature
|
340
|
+
- features/search_filters.feature
|
341
|
+
- features/search_history.feature
|
342
|
+
- features/search_pagination.feature
|
343
|
+
- features/search_results.feature
|
344
|
+
- features/search_sort.feature
|
345
|
+
- features/step_definitions/bookmarks_steps.rb
|
346
|
+
- features/step_definitions/error_steps.rb
|
347
|
+
- features/step_definitions/general_steps.rb
|
348
|
+
- features/step_definitions/record_view_steps.rb
|
349
|
+
- features/step_definitions/saved_searches_steps.rb
|
350
|
+
- features/step_definitions/search_facets_steps.rb
|
351
|
+
- features/step_definitions/search_history_steps.rb
|
352
|
+
- features/step_definitions/search_pagination_steps.rb
|
353
|
+
- features/step_definitions/search_result_steps.rb
|
354
|
+
- features/step_definitions/search_steps.rb
|
355
|
+
- features/step_definitions/user_steps.rb
|
356
|
+
- features/step_definitions/web_steps.rb
|
357
|
+
- features/support/env.rb
|
358
|
+
- features/support/paths.rb
|
359
|
+
- features/support/selectors.rb
|
318
360
|
- gemfiles/rails3.gemfile
|
319
361
|
- gemfiles/rails4.gemfile
|
320
362
|
- lib/SolrMarc.jar
|
@@ -384,85 +426,60 @@ files:
|
|
384
426
|
- lib/railties/blacklight_cucumber.rake
|
385
427
|
- lib/railties/blacklight_rspec.rake
|
386
428
|
- lib/railties/solr_marc.rake
|
387
|
-
-
|
388
|
-
-
|
389
|
-
-
|
390
|
-
-
|
429
|
+
- spec/controllers/application_controller_spec.rb
|
430
|
+
- spec/controllers/bookmarks_controller_spec.rb
|
431
|
+
- spec/controllers/catalog_controller_spec.rb
|
432
|
+
- spec/controllers/search_history_controller_spec.rb
|
433
|
+
- spec/data/sample_docs.yml
|
434
|
+
- spec/data/test_data.utf8.mrc
|
435
|
+
- spec/helpers/blacklight_helper_spec.rb
|
436
|
+
- spec/helpers/catalog_helper_spec.rb
|
437
|
+
- spec/helpers/facets_helper_spec.rb
|
438
|
+
- spec/helpers/hash_as_hidden_fields_spec.rb
|
439
|
+
- spec/helpers/html_head_helper_spec.rb
|
440
|
+
- spec/helpers/render_constraints_helper_spec.rb
|
441
|
+
- spec/helpers/search_history_constraints_helper_spec.rb
|
442
|
+
- spec/lib/blacklight_configurable_spec.rb
|
443
|
+
- spec/lib/blacklight_configuration_spec.rb
|
444
|
+
- spec/lib/blacklight_email_spec.rb
|
445
|
+
- spec/lib/blacklight_sms_spec.rb
|
446
|
+
- spec/lib/blacklight_solr_document_dublin_core_spec.rb
|
447
|
+
- spec/lib/blacklight_solr_document_marc_spec.rb
|
448
|
+
- spec/lib/blacklight_solr_document_more_like_this_spec.rb
|
449
|
+
- spec/lib/blacklight_solr_document_spec.rb
|
450
|
+
- spec/lib/blacklight_solr_response_spec.rb
|
451
|
+
- spec/lib/blacklight_spec.rb
|
452
|
+
- spec/lib/blacklight_user_spec.rb
|
453
|
+
- spec/lib/facet_paginator_spec.rb
|
454
|
+
- spec/lib/marc_export_spec.rb
|
455
|
+
- spec/lib/search_fields_spec.rb
|
456
|
+
- spec/lib/solr_helper_spec.rb
|
457
|
+
- spec/lib/tasks/blacklight_task_spec.rb
|
458
|
+
- spec/lib/tasks/solr_marc_task_spec.rb
|
459
|
+
- spec/lib/utils_spec.rb
|
460
|
+
- spec/models/bookmark_spec.rb
|
461
|
+
- spec/models/record_mailer_spec.rb
|
462
|
+
- spec/models/search_spec.rb
|
463
|
+
- spec/models/solr_docment_spec.rb
|
464
|
+
- spec/rcov.opts
|
465
|
+
- spec/requests/alternate_controller_spec.rb
|
466
|
+
- spec/routing/catalog_routing_spec.rb
|
467
|
+
- spec/spec.opts
|
468
|
+
- spec/spec_helper.rb
|
469
|
+
- spec/support/assert_difference.rb
|
470
|
+
- spec/support/include_text.rb
|
471
|
+
- spec/test_app_templates/Gemfile.extra
|
472
|
+
- spec/test_app_templates/lib/generators/test_app_generator.rb
|
473
|
+
- spec/test_app_templates/lib/tasks/rspec.rake
|
474
|
+
- spec/views/catalog/_constraints_element.html.erb_spec.rb
|
475
|
+
- spec/views/catalog/_document_list.html.erb_spec.rb
|
476
|
+
- spec/views/catalog/_facets.html.erb_spec.rb
|
477
|
+
- spec/views/catalog/_index_default.erb_spec.rb
|
478
|
+
- spec/views/catalog/_show_default.erb_spec.rb
|
479
|
+
- spec/views/catalog/_show_sidebar.erb_spec.rb
|
480
|
+
- spec/views/catalog/index.atom.builder_spec.rb
|
481
|
+
- tasks/blacklight.rake
|
391
482
|
- test_support/data/test_data.utf8.mrc
|
392
|
-
- test_support/features/bookmarks.feature
|
393
|
-
- test_support/features/did_you_mean.feature
|
394
|
-
- test_support/features/librarian_view.feature
|
395
|
-
- test_support/features/record_view.feature
|
396
|
-
- test_support/features/saved_searches.feature
|
397
|
-
- test_support/features/search.feature
|
398
|
-
- test_support/features/search_filters.feature
|
399
|
-
- test_support/features/search_history.feature
|
400
|
-
- test_support/features/search_pagination.feature
|
401
|
-
- test_support/features/search_results.feature
|
402
|
-
- test_support/features/search_sort.feature
|
403
|
-
- test_support/features/step_definitions/bookmarks_steps.rb
|
404
|
-
- test_support/features/step_definitions/error_steps.rb
|
405
|
-
- test_support/features/step_definitions/general_steps.rb
|
406
|
-
- test_support/features/step_definitions/record_view_steps.rb
|
407
|
-
- test_support/features/step_definitions/saved_searches_steps.rb
|
408
|
-
- test_support/features/step_definitions/search_facets_steps.rb
|
409
|
-
- test_support/features/step_definitions/search_history_steps.rb
|
410
|
-
- test_support/features/step_definitions/search_pagination_steps.rb
|
411
|
-
- test_support/features/step_definitions/search_result_steps.rb
|
412
|
-
- test_support/features/step_definitions/search_steps.rb
|
413
|
-
- test_support/features/step_definitions/user_steps.rb
|
414
|
-
- test_support/features/step_definitions/web_steps.rb
|
415
|
-
- test_support/features/support/env.rb
|
416
|
-
- test_support/features/support/paths.rb
|
417
|
-
- test_support/features/support/selectors.rb
|
418
|
-
- test_support/spec/controllers/application_controller_spec.rb
|
419
|
-
- test_support/spec/controllers/catalog_controller_spec.rb
|
420
|
-
- test_support/spec/controllers/search_history_controller_spec.rb
|
421
|
-
- test_support/spec/data/sample_docs.yml
|
422
|
-
- test_support/spec/data/test_data.utf8.mrc
|
423
|
-
- test_support/spec/helpers/blacklight_helper_spec.rb
|
424
|
-
- test_support/spec/helpers/catalog_helper_spec.rb
|
425
|
-
- test_support/spec/helpers/facets_helper_spec.rb
|
426
|
-
- test_support/spec/helpers/hash_as_hidden_fields_spec.rb
|
427
|
-
- test_support/spec/helpers/html_head_helper_spec.rb
|
428
|
-
- test_support/spec/helpers/render_constraints_helper_spec.rb
|
429
|
-
- test_support/spec/helpers/search_history_constraints_helper_spec.rb
|
430
|
-
- test_support/spec/lib/blacklight_configurable_spec.rb
|
431
|
-
- test_support/spec/lib/blacklight_configuration_spec.rb
|
432
|
-
- test_support/spec/lib/blacklight_email_spec.rb
|
433
|
-
- test_support/spec/lib/blacklight_sms_spec.rb
|
434
|
-
- test_support/spec/lib/blacklight_solr_document_dublin_core_spec.rb
|
435
|
-
- test_support/spec/lib/blacklight_solr_document_marc_spec.rb
|
436
|
-
- test_support/spec/lib/blacklight_solr_document_more_like_this_spec.rb
|
437
|
-
- test_support/spec/lib/blacklight_solr_document_spec.rb
|
438
|
-
- test_support/spec/lib/blacklight_solr_response_spec.rb
|
439
|
-
- test_support/spec/lib/blacklight_spec.rb
|
440
|
-
- test_support/spec/lib/blacklight_user_spec.rb
|
441
|
-
- test_support/spec/lib/facet_paginator_spec.rb
|
442
|
-
- test_support/spec/lib/marc_export_spec.rb
|
443
|
-
- test_support/spec/lib/search_fields_spec.rb
|
444
|
-
- test_support/spec/lib/solr_helper_spec.rb
|
445
|
-
- test_support/spec/lib/tasks/blacklight_task_spec.rb
|
446
|
-
- test_support/spec/lib/tasks/solr_marc_task_spec.rb
|
447
|
-
- test_support/spec/lib/utils_spec.rb
|
448
|
-
- test_support/spec/models/bookmark_spec.rb
|
449
|
-
- test_support/spec/models/record_mailer_spec.rb
|
450
|
-
- test_support/spec/models/search_spec.rb
|
451
|
-
- test_support/spec/models/solr_docment_spec.rb
|
452
|
-
- test_support/spec/rcov.opts
|
453
|
-
- test_support/spec/requests/alternate_controller_spec.rb
|
454
|
-
- test_support/spec/routing/catalog_routing_spec.rb
|
455
|
-
- test_support/spec/spec.opts
|
456
|
-
- test_support/spec/spec_helper.rb
|
457
|
-
- test_support/spec/support/assert_difference.rb
|
458
|
-
- test_support/spec/support/include_text.rb
|
459
|
-
- test_support/spec/views/catalog/_constraints_element.html.erb_spec.rb
|
460
|
-
- test_support/spec/views/catalog/_document_list.html.erb_spec.rb
|
461
|
-
- test_support/spec/views/catalog/_facets.html.erb_spec.rb
|
462
|
-
- test_support/spec/views/catalog/_index_default.erb_spec.rb
|
463
|
-
- test_support/spec/views/catalog/_show_default.erb_spec.rb
|
464
|
-
- test_support/spec/views/catalog/_show_sidebar.erb_spec.rb
|
465
|
-
- test_support/spec/views/catalog/index.atom.builder_spec.rb
|
466
483
|
homepage: http://projectblacklight.org/
|
467
484
|
licenses: []
|
468
485
|
metadata: {}
|
@@ -487,4 +504,82 @@ signing_key:
|
|
487
504
|
specification_version: 4
|
488
505
|
summary: Blacklight provides a discovery interface for any Solr (http://lucene.apache.org/solr)
|
489
506
|
index.
|
490
|
-
test_files:
|
507
|
+
test_files:
|
508
|
+
- features/bookmarks.feature
|
509
|
+
- features/did_you_mean.feature
|
510
|
+
- features/librarian_view.feature
|
511
|
+
- features/record_view.feature
|
512
|
+
- features/saved_searches.feature
|
513
|
+
- features/search.feature
|
514
|
+
- features/search_filters.feature
|
515
|
+
- features/search_history.feature
|
516
|
+
- features/search_pagination.feature
|
517
|
+
- features/search_results.feature
|
518
|
+
- features/search_sort.feature
|
519
|
+
- features/step_definitions/bookmarks_steps.rb
|
520
|
+
- features/step_definitions/error_steps.rb
|
521
|
+
- features/step_definitions/general_steps.rb
|
522
|
+
- features/step_definitions/record_view_steps.rb
|
523
|
+
- features/step_definitions/saved_searches_steps.rb
|
524
|
+
- features/step_definitions/search_facets_steps.rb
|
525
|
+
- features/step_definitions/search_history_steps.rb
|
526
|
+
- features/step_definitions/search_pagination_steps.rb
|
527
|
+
- features/step_definitions/search_result_steps.rb
|
528
|
+
- features/step_definitions/search_steps.rb
|
529
|
+
- features/step_definitions/user_steps.rb
|
530
|
+
- features/step_definitions/web_steps.rb
|
531
|
+
- features/support/env.rb
|
532
|
+
- features/support/paths.rb
|
533
|
+
- features/support/selectors.rb
|
534
|
+
- spec/controllers/application_controller_spec.rb
|
535
|
+
- spec/controllers/bookmarks_controller_spec.rb
|
536
|
+
- spec/controllers/catalog_controller_spec.rb
|
537
|
+
- spec/controllers/search_history_controller_spec.rb
|
538
|
+
- spec/data/sample_docs.yml
|
539
|
+
- spec/data/test_data.utf8.mrc
|
540
|
+
- spec/helpers/blacklight_helper_spec.rb
|
541
|
+
- spec/helpers/catalog_helper_spec.rb
|
542
|
+
- spec/helpers/facets_helper_spec.rb
|
543
|
+
- spec/helpers/hash_as_hidden_fields_spec.rb
|
544
|
+
- spec/helpers/html_head_helper_spec.rb
|
545
|
+
- spec/helpers/render_constraints_helper_spec.rb
|
546
|
+
- spec/helpers/search_history_constraints_helper_spec.rb
|
547
|
+
- spec/lib/blacklight_configurable_spec.rb
|
548
|
+
- spec/lib/blacklight_configuration_spec.rb
|
549
|
+
- spec/lib/blacklight_email_spec.rb
|
550
|
+
- spec/lib/blacklight_sms_spec.rb
|
551
|
+
- spec/lib/blacklight_solr_document_dublin_core_spec.rb
|
552
|
+
- spec/lib/blacklight_solr_document_marc_spec.rb
|
553
|
+
- spec/lib/blacklight_solr_document_more_like_this_spec.rb
|
554
|
+
- spec/lib/blacklight_solr_document_spec.rb
|
555
|
+
- spec/lib/blacklight_solr_response_spec.rb
|
556
|
+
- spec/lib/blacklight_spec.rb
|
557
|
+
- spec/lib/blacklight_user_spec.rb
|
558
|
+
- spec/lib/facet_paginator_spec.rb
|
559
|
+
- spec/lib/marc_export_spec.rb
|
560
|
+
- spec/lib/search_fields_spec.rb
|
561
|
+
- spec/lib/solr_helper_spec.rb
|
562
|
+
- spec/lib/tasks/blacklight_task_spec.rb
|
563
|
+
- spec/lib/tasks/solr_marc_task_spec.rb
|
564
|
+
- spec/lib/utils_spec.rb
|
565
|
+
- spec/models/bookmark_spec.rb
|
566
|
+
- spec/models/record_mailer_spec.rb
|
567
|
+
- spec/models/search_spec.rb
|
568
|
+
- spec/models/solr_docment_spec.rb
|
569
|
+
- spec/rcov.opts
|
570
|
+
- spec/requests/alternate_controller_spec.rb
|
571
|
+
- spec/routing/catalog_routing_spec.rb
|
572
|
+
- spec/spec.opts
|
573
|
+
- spec/spec_helper.rb
|
574
|
+
- spec/support/assert_difference.rb
|
575
|
+
- spec/support/include_text.rb
|
576
|
+
- spec/test_app_templates/Gemfile.extra
|
577
|
+
- spec/test_app_templates/lib/generators/test_app_generator.rb
|
578
|
+
- spec/test_app_templates/lib/tasks/rspec.rake
|
579
|
+
- spec/views/catalog/_constraints_element.html.erb_spec.rb
|
580
|
+
- spec/views/catalog/_document_list.html.erb_spec.rb
|
581
|
+
- spec/views/catalog/_facets.html.erb_spec.rb
|
582
|
+
- spec/views/catalog/_index_default.erb_spec.rb
|
583
|
+
- spec/views/catalog/_show_default.erb_spec.rb
|
584
|
+
- spec/views/catalog/_show_sidebar.erb_spec.rb
|
585
|
+
- spec/views/catalog/index.atom.builder_spec.rb
|