blacklight_cql 1.1.0 → 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.
- data/VERSION +1 -1
- data/spec/{app_root → internal}/app/controllers/application_controller.rb +2 -1
- data/spec/internal/app/models/solr_document.rb +3 -0
- data/spec/internal/config/database.yml +3 -0
- data/spec/internal/config/routes.rb +6 -0
- data/spec/internal/config/solr.yml +18 -0
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/db/schema.rb +53 -0
- data/spec/internal/log/test.log +7223 -0
- data/spec/{app_root → internal}/public/favicon.ico +0 -0
- data/spec/lib/blacklight_to_solr_spec.rb +1 -2
- data/spec/spec_helper.rb +11 -6
- data/spec/views/explain.xml.builder_spec.rb +22 -49
- metadata +139 -195
- data/spec/app_root/Rakefile +0 -7
- data/spec/app_root/app/assets/javascripts/application.js +0 -9
- data/spec/app_root/app/assets/stylesheets/application.css +0 -7
- data/spec/app_root/app/helpers/application_helper.rb +0 -2
- data/spec/app_root/app/views/layouts/application.html.erb +0 -14
- data/spec/app_root/config/application.rb +0 -45
- data/spec/app_root/config/boot.rb +0 -10
- data/spec/app_root/config/database.yml +0 -25
- data/spec/app_root/config/environment.rb +0 -5
- data/spec/app_root/config/environments/development.rb +0 -30
- data/spec/app_root/config/environments/production.rb +0 -60
- data/spec/app_root/config/environments/test.rb +0 -39
- data/spec/app_root/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/app_root/config/initializers/inflections.rb +0 -10
- data/spec/app_root/config/initializers/mime_types.rb +0 -5
- data/spec/app_root/config/initializers/secret_token.rb +0 -7
- data/spec/app_root/config/initializers/session_store.rb +0 -8
- data/spec/app_root/config/initializers/wrap_parameters.rb +0 -14
- data/spec/app_root/config/locales/en.yml +0 -5
- data/spec/app_root/config/routes.rb +0 -58
- data/spec/app_root/config.ru +0 -4
- data/spec/app_root/db/test.sqlite3 +0 -0
- data/spec/app_root/log/development.log +0 -0
- data/spec/app_root/log/in_memory.log +0 -0
- data/spec/app_root/log/test.log +0 -42
- data/spec/app_root/public/404.html +0 -26
- data/spec/app_root/public/422.html +0 -26
- data/spec/app_root/public/500.html +0 -26
- data/spec/app_root/script/rails +0 -6
- data/spec/app_root/spec/spec_helper.rb +0 -33
File without changes
|
data/spec/spec_helper.rb
CHANGED
@@ -1,13 +1,19 @@
|
|
1
1
|
#RAILS_ROOT = "#{File.dirname(__FILE__)}/.."
|
2
|
+
require 'rubygems'
|
3
|
+
require 'bundler'
|
4
|
+
|
5
|
+
Bundler.require :default, :development
|
2
6
|
|
3
7
|
# Set the default environment to sqlite3's in_memory database
|
4
8
|
ENV['RAILS_ENV'] ||= 'test'
|
5
9
|
|
6
|
-
|
7
|
-
require
|
10
|
+
|
11
|
+
require 'blacklight/engine'
|
12
|
+
Combustion.initialize!
|
8
13
|
|
9
14
|
require 'rspec/rails'
|
10
|
-
require 'rspec
|
15
|
+
require 'capybara/rspec'
|
16
|
+
require 'capybara/rails'
|
11
17
|
|
12
18
|
|
13
19
|
# Requires supporting ruby files with custom matchers and macros, etc,
|
@@ -34,7 +40,7 @@ RSpec.configure do |config|
|
|
34
40
|
config.mock_with :rspec
|
35
41
|
|
36
42
|
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
37
|
-
config.fixture_path = "#{
|
43
|
+
config.fixture_path = "#{File.expand_path(File.dirname(__FILE__))}/spec/fixtures"
|
38
44
|
|
39
45
|
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
40
46
|
# examples within a transaction, remove the following line or assign false
|
@@ -45,13 +51,12 @@ RSpec.configure do |config|
|
|
45
51
|
# automatically. This will be the default behavior in future versions of
|
46
52
|
# rspec-rails.
|
47
53
|
config.infer_base_class_for_anonymous_controllers = false
|
48
|
-
|
54
|
+
|
49
55
|
|
50
56
|
##
|
51
57
|
# Load CqlRuby and our local patches to it, so available for tests
|
52
58
|
#
|
53
59
|
require 'cql_ruby'
|
54
60
|
require File.expand_path(File.dirname(__FILE__) + '/../lib/blacklight_cql/blacklight_to_solr.rb')
|
55
|
-
|
56
61
|
end
|
57
62
|
|
@@ -1,19 +1,7 @@
|
|
1
|
-
require
|
1
|
+
require 'spec_helper'
|
2
2
|
|
3
3
|
require 'nokogiri'
|
4
4
|
|
5
|
-
# I'm sorry, this isn't working yet, trying to switch up to rspec2/rails3....
|
6
|
-
# got the embedded dummy app working in spec_helper.rb, but
|
7
|
-
# the markup_validity gem we were using to test XML was valid isn't
|
8
|
-
# working anymore, have to do it manually with nokogiri.
|
9
|
-
# Also, testing selectors against xpath isn't supported by rspec2/capybara,
|
10
|
-
# have to do it ourselves with nokogiri, which is a huge pain.
|
11
|
-
#
|
12
|
-
# Spent a bunch of hours on it, got this far, had to give up due to
|
13
|
-
# lack of time sorry. --jrochkind 14 Dec 2011
|
14
|
-
|
15
|
-
#require 'markup_validity' # for validating against XML Schema
|
16
|
-
|
17
5
|
describe "SRU/ZeeRex explain view" do
|
18
6
|
before(:all) do
|
19
7
|
# generic routing, so our view can generate routes without raising.
|
@@ -44,19 +32,19 @@ describe "SRU/ZeeRex explain view" do
|
|
44
32
|
YAML::load( File.open( File.expand_path(File.dirname(__FILE__) + '/../data/luke.yaml') ) )
|
45
33
|
)
|
46
34
|
|
47
|
-
render :template => "blacklight_cql/explain/explain
|
35
|
+
render :template => "blacklight_cql/explain/explain", :formats => [:xml]
|
48
36
|
@rendered_xml = Nokogiri::XML(rendered.to_s)
|
49
37
|
@ns = {"ex" => "http://explain.z3950.org/dtd/2.0/"}
|
50
38
|
|
51
39
|
# Put it in a rexml doc for things that can't be easily tested
|
52
40
|
# with have_tag
|
53
|
-
##@
|
41
|
+
##@rendered_xml = REXML::Document.new(rendered.to_s)
|
54
42
|
end
|
55
43
|
|
56
44
|
it "should render a valid ZeeRex 2.0 xml document" do
|
57
|
-
|
45
|
+
xsd = Nokogiri::XML::Schema(File.read(File.expand_path(File.dirname(__FILE__) + "/../data/zeerex-2.0.xsd")))
|
58
46
|
|
59
|
-
|
47
|
+
assert (xsd.valid? @rendered_xml)
|
60
48
|
end
|
61
49
|
|
62
50
|
it "should start with an explain element" do
|
@@ -82,69 +70,54 @@ describe "SRU/ZeeRex explain view" do
|
|
82
70
|
end
|
83
71
|
|
84
72
|
it "should include an indexInfo with context set prefixes" do
|
73
|
+
|
85
74
|
indexInfo = @rendered_xml.at_xpath("//ex:indexInfo", @ns)
|
86
75
|
|
87
76
|
indexInfo.should_not be_nil
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
response.should have_tag("indexInfo") do
|
92
|
-
with_tag("set[name=#{CqlRuby.to_solr_defaults[:solr_field_prefix]}][identifier='#{
|
77
|
+
|
78
|
+
indexInfo.xpath("ex:set[@name=#{CqlRuby.to_solr_defaults[:solr_field_prefix]}][@identifier='#{
|
93
79
|
url_for(:controller => "/catalog",
|
94
80
|
:action => "index",
|
95
81
|
:anchor => "local_solr_field",
|
96
|
-
:only_path => false)}']")
|
97
|
-
|
82
|
+
:only_path => false)}']", @ns).should_not be_nil
|
83
|
+
indexInfo.xpath("ex:set[@name=#{CqlRuby.to_solr_defaults[:blacklight_field_prefix]}][@identifier='#{
|
98
84
|
url_for(:controller => "/catalog",
|
99
85
|
:action => "index",
|
100
86
|
:anchor => "local_app_field",
|
101
|
-
:only_path => false)}']")
|
102
|
-
|
103
|
-
end
|
87
|
+
:only_path => false)}']", @ns).should_not be_nil
|
88
|
+
indexInfo.xpath("ex:set[name=solr][identifier='http://purl.org/net/cql-context-set/solr']", @ns).should_not be_nil
|
104
89
|
end
|
105
90
|
|
106
91
|
describe "for the config'd dismax field with :key 'title'" do
|
92
|
+
|
107
93
|
before do
|
108
|
-
@title_index_el = @
|
94
|
+
@title_index_el = @rendered_xml.xpath("/ex:explain/ex:indexInfo/ex:index[ex:title/text() = 'Title']", @ns).first
|
109
95
|
end
|
110
96
|
|
111
97
|
it "should have an indexInfo block" do
|
112
98
|
@title_index_el.should_not be_nil
|
113
99
|
end
|
114
100
|
it "should have explain title 'Title'" do
|
115
|
-
@title_index_el.
|
101
|
+
@title_index_el.xpath('ex:title', @ns).first.text.should == "Title"
|
116
102
|
end
|
117
103
|
it "should have a map element with proper context set" do
|
118
|
-
@title_index_el.
|
119
|
-
with_tag("name[set=#{CqlRuby.to_solr_defaults[:blacklight_field_prefix]}]",
|
120
|
-
:text => "title")
|
121
|
-
end
|
104
|
+
@title_index_el.xpath("ex:map/ex:name[@set='#{CqlRuby.to_solr_defaults[:blacklight_field_prefix]}']", @ns).first.text.should == "title"
|
122
105
|
end
|
123
106
|
it "should have configInfo with exactly two relations" do
|
124
|
-
@title_index_el.
|
125
|
-
|
126
|
-
with_tag("supports[type=relation]", :text=> "=")
|
127
|
-
with_tag("supports[type=relation]", :text=> "solr.dismax")
|
128
|
-
end
|
107
|
+
@title_index_el.xpath("ex:configInfo/ex:supports", @ns).length.should == 2
|
108
|
+
@title_index_el.xpath("ex:configInfo/ex:supports[@type='relation']", @ns).map { |x| x.text }.should include('=', 'solr.dismax')
|
129
109
|
end
|
130
110
|
end
|
131
111
|
|
132
112
|
it "should include an indexed solr field from luke response" do
|
133
|
-
solr_index_el = @
|
113
|
+
solr_index_el = @rendered_xml.xpath("/ex:explain/ex:indexInfo/ex:index[ex:title='subject_unstem_search']", @ns).first
|
134
114
|
|
135
|
-
solr_index_el.
|
136
|
-
with_tag("name[set=#{CqlRuby.to_solr_defaults[:solr_field_prefix]}]",
|
137
|
-
:text => "subject_unstem_search")
|
138
|
-
end
|
115
|
+
solr_index_el.xpath("ex:map/ex:name[@set='#{CqlRuby.to_solr_defaults[:solr_field_prefix]}']", @ns).text.should == "subject_unstem_search"
|
139
116
|
|
140
|
-
solr_index_el.should
|
141
|
-
["==", "=", ">=", ">", "<=", "<", "<>", "within", "adj", "all", "any"].each do |relation|
|
142
|
-
with_tag("supports[type=relation]", :text => relation)
|
143
|
-
end
|
144
|
-
end
|
117
|
+
solr_index_el.xpath("ex:configInfo/ex:supports[@type='relation']", @ns).map { |x| x.text }.should include("==", "=", ">=", ">", "<=", "<", "<>", "within", "adj", "all", "any")
|
145
118
|
end
|
146
119
|
|
147
120
|
it "should not include a non-indexed solr field from luke response" do
|
148
|
-
@
|
121
|
+
@rendered_xml.xpath("/explain/indexInfo/index").find {|e| e.elements["title"].text == "url_suppl_display" }.should be_nil
|
149
122
|
end
|
150
123
|
end
|
metadata
CHANGED
@@ -1,256 +1,200 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: blacklight_cql
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.2.0
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 1
|
9
|
-
- 0
|
10
|
-
version: 1.1.0
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Jonathan Rochkind
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
requirement:
|
12
|
+
date: 2012-11-30 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
22
17
|
none: false
|
23
|
-
requirements:
|
18
|
+
requirements:
|
24
19
|
- - ~>
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
|
27
|
-
segments:
|
28
|
-
- 3
|
29
|
-
- 0
|
30
|
-
version: "3.0"
|
31
|
-
version_requirements: *id001
|
32
|
-
prerelease: false
|
33
|
-
name: rails
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '3.0'
|
34
22
|
type: :runtime
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
37
|
-
none: false
|
38
|
-
requirements:
|
39
|
-
- - ">="
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
hash: 1923832045
|
42
|
-
segments:
|
43
|
-
- 3
|
44
|
-
- 2
|
45
|
-
- 0
|
46
|
-
- pre
|
47
|
-
- 2
|
48
|
-
version: 3.2.0pre2
|
49
|
-
- - <
|
50
|
-
- !ruby/object:Gem::Version
|
51
|
-
hash: 63
|
52
|
-
segments:
|
53
|
-
- 4
|
54
|
-
- 0
|
55
|
-
- 0
|
56
|
-
version: 4.0.0
|
57
|
-
version_requirements: *id002
|
58
23
|
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3.0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
59
31
|
name: blacklight
|
60
|
-
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
63
33
|
none: false
|
64
|
-
requirements:
|
65
|
-
- -
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
version: 0.8.1
|
73
|
-
version_requirements: *id003
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 3.2.0
|
38
|
+
- - <
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 5.0.0
|
41
|
+
type: :runtime
|
74
42
|
prerelease: false
|
43
|
+
version_requirements: !ruby/object:Gem::Requirement
|
44
|
+
none: false
|
45
|
+
requirements:
|
46
|
+
- - ! '>='
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: 3.2.0
|
49
|
+
- - <
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
version: 5.0.0
|
52
|
+
- !ruby/object:Gem::Dependency
|
75
53
|
name: cql-ruby
|
76
|
-
|
77
|
-
- !ruby/object:Gem::Dependency
|
78
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
54
|
+
requirement: !ruby/object:Gem::Requirement
|
79
55
|
none: false
|
80
|
-
requirements:
|
81
|
-
- -
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
|
84
|
-
|
85
|
-
- 0
|
86
|
-
version: "0"
|
87
|
-
version_requirements: *id004
|
56
|
+
requirements:
|
57
|
+
- - ! '>='
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: 0.8.1
|
60
|
+
type: :runtime
|
88
61
|
prerelease: false
|
62
|
+
version_requirements: !ruby/object:Gem::Requirement
|
63
|
+
none: false
|
64
|
+
requirements:
|
65
|
+
- - ! '>='
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: 0.8.1
|
68
|
+
- !ruby/object:Gem::Dependency
|
89
69
|
name: sqlite3
|
90
|
-
|
91
|
-
- !ruby/object:Gem::Dependency
|
92
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
93
71
|
none: false
|
94
|
-
requirements:
|
95
|
-
- -
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
|
98
|
-
|
99
|
-
- 2
|
100
|
-
- 6
|
101
|
-
version: "2.6"
|
102
|
-
version_requirements: *id005
|
72
|
+
requirements:
|
73
|
+
- - ! '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
103
77
|
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
none: false
|
80
|
+
requirements:
|
81
|
+
- - ! '>='
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
84
|
+
- !ruby/object:Gem::Dependency
|
104
85
|
name: rspec-rails
|
105
|
-
|
106
|
-
- !ruby/object:Gem::Dependency
|
107
|
-
requirement: &id006 !ruby/object:Gem::Requirement
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
108
87
|
none: false
|
109
|
-
requirements:
|
110
|
-
- -
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
|
113
|
-
|
114
|
-
- 0
|
115
|
-
version: "0"
|
116
|
-
version_requirements: *id006
|
88
|
+
requirements:
|
89
|
+
- - ~>
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '2.6'
|
92
|
+
type: :development
|
117
93
|
prerelease: false
|
94
|
+
version_requirements: !ruby/object:Gem::Requirement
|
95
|
+
none: false
|
96
|
+
requirements:
|
97
|
+
- - ~>
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '2.6'
|
100
|
+
- !ruby/object:Gem::Dependency
|
118
101
|
name: nokogiri
|
102
|
+
requirement: !ruby/object:Gem::Requirement
|
103
|
+
none: false
|
104
|
+
requirements:
|
105
|
+
- - ! '>='
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '0'
|
119
108
|
type: :development
|
109
|
+
prerelease: false
|
110
|
+
version_requirements: !ruby/object:Gem::Requirement
|
111
|
+
none: false
|
112
|
+
requirements:
|
113
|
+
- - ! '>='
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: '0'
|
120
116
|
description:
|
121
|
-
email:
|
117
|
+
email:
|
122
118
|
- blacklight-development@googlegroups.com
|
123
119
|
executables: []
|
124
|
-
|
125
120
|
extensions: []
|
126
|
-
|
127
121
|
extra_rdoc_files: []
|
128
|
-
|
129
|
-
files:
|
122
|
+
files:
|
130
123
|
- lib/blacklight_cql/blacklight_to_solr.rb
|
131
|
-
- lib/blacklight_cql/
|
132
|
-
- lib/blacklight_cql/version.rb
|
124
|
+
- lib/blacklight_cql/engine.rb
|
133
125
|
- lib/blacklight_cql/route_sets.rb
|
134
126
|
- lib/blacklight_cql/solr_helper_extension.rb
|
135
|
-
- lib/blacklight_cql/
|
127
|
+
- lib/blacklight_cql/template_helper_extension.rb
|
128
|
+
- lib/blacklight_cql/version.rb
|
136
129
|
- lib/blacklight_cql.rb
|
137
130
|
- app/controllers/blacklight_cql/explain_controller.rb
|
138
|
-
- app/views/blacklight_cql/explain/explain.xml.builder
|
139
131
|
- app/helpers/blacklight_cql/explain_helper.rb
|
132
|
+
- app/views/blacklight_cql/explain/explain.xml.builder
|
140
133
|
- VERSION
|
141
|
-
- spec/lib/blacklight_to_solr_spec.rb
|
142
|
-
- spec/rcov.opts
|
143
|
-
- spec/data/zeerex-2.0.xsd
|
144
134
|
- spec/data/luke.yaml
|
145
|
-
- spec/
|
135
|
+
- spec/data/zeerex-2.0.xsd
|
136
|
+
- spec/internal/app/controllers/application_controller.rb
|
137
|
+
- spec/internal/app/models/solr_document.rb
|
138
|
+
- spec/internal/config/database.yml
|
139
|
+
- spec/internal/config/routes.rb
|
140
|
+
- spec/internal/config/solr.yml
|
141
|
+
- spec/internal/db/combustion_test.sqlite
|
142
|
+
- spec/internal/db/schema.rb
|
143
|
+
- spec/internal/log/test.log
|
144
|
+
- spec/internal/public/favicon.ico
|
145
|
+
- spec/lib/blacklight_to_solr_spec.rb
|
146
146
|
- spec/marc_data/chomsky.mrc
|
147
147
|
- spec/marc_data/social_journal.mrc
|
148
|
+
- spec/rcov.opts
|
148
149
|
- spec/spec.opts
|
149
|
-
- spec/
|
150
|
-
- spec/app_root/app/assets/javascripts/application.js
|
151
|
-
- spec/app_root/app/assets/stylesheets/application.css
|
152
|
-
- spec/app_root/app/views/layouts/application.html.erb
|
153
|
-
- spec/app_root/app/helpers/application_helper.rb
|
154
|
-
- spec/app_root/spec/spec_helper.rb
|
155
|
-
- spec/app_root/public/404.html
|
156
|
-
- spec/app_root/public/422.html
|
157
|
-
- spec/app_root/public/favicon.ico
|
158
|
-
- spec/app_root/public/500.html
|
159
|
-
- spec/app_root/config/environments/development.rb
|
160
|
-
- spec/app_root/config/environments/production.rb
|
161
|
-
- spec/app_root/config/environments/test.rb
|
162
|
-
- spec/app_root/config/application.rb
|
163
|
-
- spec/app_root/config/environment.rb
|
164
|
-
- spec/app_root/config/database.yml
|
165
|
-
- spec/app_root/config/routes.rb
|
166
|
-
- spec/app_root/config/locales/en.yml
|
167
|
-
- spec/app_root/config/boot.rb
|
168
|
-
- spec/app_root/config/initializers/inflections.rb
|
169
|
-
- spec/app_root/config/initializers/backtrace_silencers.rb
|
170
|
-
- spec/app_root/config/initializers/wrap_parameters.rb
|
171
|
-
- spec/app_root/config/initializers/mime_types.rb
|
172
|
-
- spec/app_root/config/initializers/session_store.rb
|
173
|
-
- spec/app_root/config/initializers/secret_token.rb
|
174
|
-
- spec/app_root/Rakefile
|
175
|
-
- spec/app_root/script/rails
|
176
|
-
- spec/app_root/config.ru
|
177
|
-
- spec/app_root/db/test.sqlite3
|
178
|
-
- spec/app_root/log/test.log
|
179
|
-
- spec/app_root/log/development.log
|
180
|
-
- spec/app_root/log/in_memory.log
|
150
|
+
- spec/spec_helper.rb
|
181
151
|
- spec/views/explain.xml.builder_spec.rb
|
182
152
|
homepage: http://projectblacklight.org/
|
183
153
|
licenses: []
|
184
|
-
|
185
154
|
post_install_message:
|
186
155
|
rdoc_options: []
|
187
|
-
|
188
|
-
require_paths:
|
156
|
+
require_paths:
|
189
157
|
- lib
|
190
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
158
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
191
159
|
none: false
|
192
|
-
requirements:
|
193
|
-
- -
|
194
|
-
- !ruby/object:Gem::Version
|
195
|
-
|
196
|
-
segments:
|
160
|
+
requirements:
|
161
|
+
- - ! '>='
|
162
|
+
- !ruby/object:Gem::Version
|
163
|
+
version: '0'
|
164
|
+
segments:
|
197
165
|
- 0
|
198
|
-
|
199
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
166
|
+
hash: 2921589717200894324
|
167
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
200
168
|
none: false
|
201
|
-
requirements:
|
202
|
-
- -
|
203
|
-
- !ruby/object:Gem::Version
|
204
|
-
|
205
|
-
segments:
|
169
|
+
requirements:
|
170
|
+
- - ! '>='
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '0'
|
173
|
+
segments:
|
206
174
|
- 0
|
207
|
-
|
175
|
+
hash: 2921589717200894324
|
208
176
|
requirements: []
|
209
|
-
|
210
177
|
rubyforge_project: blacklight
|
211
|
-
rubygems_version: 1.8.
|
178
|
+
rubygems_version: 1.8.23
|
212
179
|
signing_key:
|
213
180
|
specification_version: 3
|
214
181
|
summary: Blacklight CQL plugin
|
215
|
-
test_files:
|
216
|
-
- spec/lib/blacklight_to_solr_spec.rb
|
217
|
-
- spec/rcov.opts
|
218
|
-
- spec/data/zeerex-2.0.xsd
|
182
|
+
test_files:
|
219
183
|
- spec/data/luke.yaml
|
220
|
-
- spec/
|
184
|
+
- spec/data/zeerex-2.0.xsd
|
185
|
+
- spec/internal/app/controllers/application_controller.rb
|
186
|
+
- spec/internal/app/models/solr_document.rb
|
187
|
+
- spec/internal/config/database.yml
|
188
|
+
- spec/internal/config/routes.rb
|
189
|
+
- spec/internal/config/solr.yml
|
190
|
+
- spec/internal/db/combustion_test.sqlite
|
191
|
+
- spec/internal/db/schema.rb
|
192
|
+
- spec/internal/log/test.log
|
193
|
+
- spec/internal/public/favicon.ico
|
194
|
+
- spec/lib/blacklight_to_solr_spec.rb
|
221
195
|
- spec/marc_data/chomsky.mrc
|
222
196
|
- spec/marc_data/social_journal.mrc
|
197
|
+
- spec/rcov.opts
|
223
198
|
- spec/spec.opts
|
224
|
-
- spec/
|
225
|
-
- spec/app_root/app/assets/javascripts/application.js
|
226
|
-
- spec/app_root/app/assets/stylesheets/application.css
|
227
|
-
- spec/app_root/app/views/layouts/application.html.erb
|
228
|
-
- spec/app_root/app/helpers/application_helper.rb
|
229
|
-
- spec/app_root/spec/spec_helper.rb
|
230
|
-
- spec/app_root/public/404.html
|
231
|
-
- spec/app_root/public/422.html
|
232
|
-
- spec/app_root/public/favicon.ico
|
233
|
-
- spec/app_root/public/500.html
|
234
|
-
- spec/app_root/config/environments/development.rb
|
235
|
-
- spec/app_root/config/environments/production.rb
|
236
|
-
- spec/app_root/config/environments/test.rb
|
237
|
-
- spec/app_root/config/application.rb
|
238
|
-
- spec/app_root/config/environment.rb
|
239
|
-
- spec/app_root/config/database.yml
|
240
|
-
- spec/app_root/config/routes.rb
|
241
|
-
- spec/app_root/config/locales/en.yml
|
242
|
-
- spec/app_root/config/boot.rb
|
243
|
-
- spec/app_root/config/initializers/inflections.rb
|
244
|
-
- spec/app_root/config/initializers/backtrace_silencers.rb
|
245
|
-
- spec/app_root/config/initializers/wrap_parameters.rb
|
246
|
-
- spec/app_root/config/initializers/mime_types.rb
|
247
|
-
- spec/app_root/config/initializers/session_store.rb
|
248
|
-
- spec/app_root/config/initializers/secret_token.rb
|
249
|
-
- spec/app_root/Rakefile
|
250
|
-
- spec/app_root/script/rails
|
251
|
-
- spec/app_root/config.ru
|
252
|
-
- spec/app_root/db/test.sqlite3
|
253
|
-
- spec/app_root/log/test.log
|
254
|
-
- spec/app_root/log/development.log
|
255
|
-
- spec/app_root/log/in_memory.log
|
199
|
+
- spec/spec_helper.rb
|
256
200
|
- spec/views/explain.xml.builder_spec.rb
|
data/spec/app_root/Rakefile
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
#!/usr/bin/env rake
|
2
|
-
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
3
|
-
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
4
|
-
|
5
|
-
require File.expand_path('../config/application', __FILE__)
|
6
|
-
|
7
|
-
Dummy::Application.load_tasks
|
@@ -1,9 +0,0 @@
|
|
1
|
-
// This is a manifest file that'll be compiled into including all the files listed below.
|
2
|
-
// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
|
3
|
-
// be included in the compiled file accessible from http://example.com/assets/application.js
|
4
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
5
|
-
// the compiled file.
|
6
|
-
//
|
7
|
-
//= require jquery
|
8
|
-
//= require jquery_ujs
|
9
|
-
//= require_tree .
|
@@ -1,7 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* This is a manifest file that'll automatically include all the stylesheets available in this directory
|
3
|
-
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
|
4
|
-
* the top of the compiled file, but it's generally better to create a new file per style scope.
|
5
|
-
*= require_self
|
6
|
-
*= require_tree .
|
7
|
-
*/
|