blacklight 4.7.0 → 4.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +13 -12
- data/Gemfile +37 -2
- data/VERSION +1 -1
- data/app/assets/stylesheets/blacklight/{_blacklight_base.css.scss → _blacklight_base.scss} +0 -0
- data/app/assets/stylesheets/blacklight/{_bookmark.css.scss → _bookmark.scss} +0 -0
- data/app/assets/stylesheets/blacklight/{_catalog.css.scss → _catalog.scss} +0 -0
- data/app/assets/stylesheets/blacklight/{_dropdown.css.scss → _dropdown.scss} +0 -0
- data/app/assets/stylesheets/blacklight/{_facets.css.scss → _facets.scss} +0 -0
- data/app/assets/stylesheets/blacklight/{_footer.css.scss → _footer.scss} +0 -0
- data/app/assets/stylesheets/blacklight/{_group.css.scss → _group.scss} +0 -0
- data/app/assets/stylesheets/blacklight/{_header.css.scss → _header.scss} +0 -0
- data/app/assets/stylesheets/blacklight/{_layout.css.scss → _layout.scss} +0 -0
- data/app/assets/stylesheets/blacklight/{_mixins.css.scss → _mixins.scss} +0 -0
- data/app/assets/stylesheets/blacklight/{_modal.css.scss → _modal.scss} +0 -0
- data/app/assets/stylesheets/blacklight/{_print.css.scss → _print.scss} +0 -0
- data/app/assets/stylesheets/blacklight/{_responsive.css.scss → _responsive.scss} +0 -0
- data/app/assets/stylesheets/blacklight/{_search_history.css.scss → _search_history.scss} +0 -0
- data/app/assets/stylesheets/blacklight/{blacklight.css.scss → blacklight.scss} +0 -0
- data/app/assets/stylesheets/blacklight/{blacklight_defaults.css.scss → blacklight_defaults.scss} +0 -0
- data/app/assets/stylesheets/blacklight/responsive_partials/{_catalog.css.scss → _catalog.scss} +0 -0
- data/app/assets/stylesheets/blacklight/responsive_partials/{_facets.css.scss → _facets.scss} +0 -0
- data/app/assets/stylesheets/blacklight/responsive_partials/{_header.css.scss → _header.scss} +0 -0
- data/app/helpers/blacklight/blacklight_helper_behavior.rb +2 -2
- data/app/helpers/blacklight/catalog_helper_behavior.rb +1 -1
- data/app/helpers/blacklight/facets_helper_behavior.rb +1 -0
- data/app/helpers/blacklight/search_history_constraints_helper_behavior.rb +2 -2
- data/blacklight.gemspec +5 -6
- data/lib/blacklight/catalog.rb +1 -1
- data/lib/blacklight/catalog/search_context.rb +6 -6
- data/lib/blacklight/solr/document.rb +29 -21
- data/lib/blacklight/solr_helper.rb +6 -4
- data/lib/generators/blacklight/templates/{blacklight.css.scss → blacklight.scss} +0 -0
- data/spec/controllers/application_controller_spec.rb +3 -3
- data/spec/controllers/bookmarks_controller_spec.rb +11 -11
- data/spec/controllers/catalog_controller_spec.rb +117 -117
- data/spec/controllers/search_history_controller_spec.rb +8 -8
- data/spec/features/alternate_controller_spec.rb +7 -5
- data/spec/features/record_view_spec.rb +4 -1
- data/spec/features/search_filters_spec.rb +37 -24
- data/spec/features/search_pagination_spec.rb +11 -7
- data/spec/features/search_results_spec.rb +22 -14
- data/spec/features/search_sort_spec.rb +3 -1
- data/spec/features/search_spec.rb +6 -0
- data/spec/helpers/blacklight_helper_spec.rb +175 -166
- data/spec/helpers/catalog_helper_spec.rb +59 -59
- data/spec/helpers/facets_helper_spec.rb +118 -118
- data/spec/helpers/hash_as_hidden_fields_spec.rb +14 -8
- data/spec/helpers/html_head_helper_spec.rb +51 -45
- data/spec/helpers/render_constraints_helper_spec.rb +5 -6
- data/spec/helpers/search_history_constraints_helper_spec.rb +21 -21
- data/spec/lib/blacklight/solr_response/group_response_spec.rb +2 -2
- data/spec/lib/blacklight_configurable_spec.rb +16 -16
- data/spec/lib/blacklight_configuration_spec.rb +132 -132
- data/spec/lib/blacklight_email_spec.rb +4 -4
- data/spec/lib/blacklight_sms_spec.rb +4 -4
- data/spec/lib/blacklight_solr_document_dublin_core_spec.rb +6 -6
- data/spec/lib/blacklight_solr_document_marc_spec.rb +3 -3
- data/spec/lib/blacklight_solr_document_more_like_this_spec.rb +4 -4
- data/spec/lib/blacklight_solr_document_spec.rb +36 -36
- data/spec/lib/blacklight_solr_response_spec.rb +42 -42
- data/spec/lib/blacklight_spec.rb +5 -5
- data/spec/lib/blacklight_user_spec.rb +5 -5
- data/spec/lib/facet_paginator_spec.rb +12 -12
- data/spec/lib/marc_export_spec.rb +746 -746
- data/spec/lib/search_fields_spec.rb +13 -13
- data/spec/lib/solr_helper_spec.rb +255 -250
- data/spec/lib/tasks/blacklight_task_spec.rb +1 -1
- data/spec/lib/tasks/solr_marc_task_spec.rb +6 -6
- data/spec/lib/utils_spec.rb +11 -11
- data/spec/models/bookmark_spec.rb +7 -6
- data/spec/models/record_mailer_spec.rb +16 -16
- data/spec/models/search_spec.rb +8 -8
- data/spec/models/solr_document_spec.rb +7 -7
- data/spec/requests/alternate_controller_spec.rb +3 -3
- data/spec/routing/catalog_routing_spec.rb +10 -15
- data/spec/spec_helper.rb +6 -4
- data/spec/support/assert_difference.rb +2 -2
- data/spec/support/features.rb +11 -0
- data/spec/support/features/session_helpers.rb +3 -3
- data/spec/support/include_text.rb +2 -2
- data/spec/test_app_templates/Gemfile.extra +2 -15
- data/spec/test_app_templates/lib/generators/test_app_generator.rb +17 -6
- data/spec/views/catalog/_constraints.html.erb_spec.rb +7 -7
- data/spec/views/catalog/_constraints_element.html.erb_spec.rb +12 -12
- data/spec/views/catalog/_document.html.erb_spec.rb +1 -1
- data/spec/views/catalog/_facets.html.erb_spec.rb +13 -13
- data/spec/views/catalog/_index_default.erb_spec.rb +20 -20
- data/spec/views/catalog/_show_default.erb_spec.rb +20 -20
- data/spec/views/catalog/_show_sidebar.erb_spec.rb +6 -6
- data/spec/views/catalog/_thumbnail_default.erb_spec.rb +3 -3
- data/spec/views/catalog/index.atom.builder_spec.rb +28 -28
- data/spec/views/catalog/index.html.erb_spec.rb +6 -6
- metadata +35 -57
- data/gemfiles/rails3.gemfile +0 -25
- data/gemfiles/rails4.gemfile +0 -24
@@ -30,8 +30,8 @@ describe "catalog/index" do
|
|
30
30
|
# but okay.
|
31
31
|
|
32
32
|
params.merge!( @params )
|
33
|
-
view.
|
34
|
-
view.
|
33
|
+
allow(view).to receive(:blacklight_config).and_return(@config)
|
34
|
+
allow(view).to receive(:search_field_options_for_select).and_return([])
|
35
35
|
|
36
36
|
render :template => 'catalog/index', :formats => [:atom]
|
37
37
|
|
@@ -41,51 +41,51 @@ describe "catalog/index" do
|
|
41
41
|
end
|
42
42
|
|
43
43
|
it "should have contextual information" do
|
44
|
-
rendered.
|
45
|
-
rendered.
|
46
|
-
rendered.
|
47
|
-
rendered.
|
48
|
-
rendered.
|
49
|
-
rendered.
|
50
|
-
rendered.
|
44
|
+
expect(rendered).to have_selector("link[rel=self]")
|
45
|
+
expect(rendered).to have_selector("link[rel=next]")
|
46
|
+
expect(rendered).to have_selector("link[rel=previous]")
|
47
|
+
expect(rendered).to have_selector("link[rel=first]")
|
48
|
+
expect(rendered).to have_selector("link[rel=last]")
|
49
|
+
expect(rendered).to have_selector("link[rel='alternate'][type='text/html']")
|
50
|
+
expect(rendered).to have_selector("link[rel=search][type='application/opensearchdescription+xml']")
|
51
51
|
end
|
52
52
|
|
53
53
|
it "should get paging data correctly from response" do
|
54
54
|
# Can't use have_tag for namespaced elements, sorry.
|
55
|
-
@response_xml.elements["/feed/opensearch:totalResults"].text.
|
56
|
-
@response_xml.elements["/feed/opensearch:startIndex"].text.
|
57
|
-
@response_xml.elements["/feed/opensearch:itemsPerPage"].text.
|
55
|
+
expect(@response_xml.elements["/feed/opensearch:totalResults"].text).to eq("30")
|
56
|
+
expect(@response_xml.elements["/feed/opensearch:startIndex"].text).to eq("10")
|
57
|
+
expect(@response_xml.elements["/feed/opensearch:itemsPerPage"].text).to eq("10")
|
58
58
|
end
|
59
59
|
|
60
60
|
it "should include an opensearch Query role=request" do
|
61
61
|
|
62
|
-
@response_xml.elements.to_a("/feed/opensearch:itemsPerPage").length.
|
62
|
+
expect(@response_xml.elements.to_a("/feed/opensearch:itemsPerPage").length).to eq(1)
|
63
63
|
query_el = @response_xml.elements["/feed/opensearch:Query"]
|
64
|
-
query_el.
|
65
|
-
query_el.attributes["role"].
|
66
|
-
query_el.attributes["searchTerms"].
|
67
|
-
query_el.attributes["startPage"].
|
64
|
+
expect(query_el).not_to be_nil
|
65
|
+
expect(query_el.attributes["role"]).to eq("request")
|
66
|
+
expect(query_el.attributes["searchTerms"]).to eq("")
|
67
|
+
expect(query_el.attributes["startPage"]).to eq("2")
|
68
68
|
end
|
69
69
|
|
70
70
|
it "should have ten entries" do
|
71
|
-
rendered.
|
71
|
+
expect(rendered).to have_selector("entry", :count => 10)
|
72
72
|
end
|
73
73
|
|
74
74
|
describe "entries" do
|
75
75
|
it "should have a title" do
|
76
|
-
rendered.
|
76
|
+
expect(rendered).to have_selector("entry > title")
|
77
77
|
end
|
78
78
|
it "should have an updated" do
|
79
|
-
rendered.
|
79
|
+
expect(rendered).to have_selector("entry > updated")
|
80
80
|
end
|
81
81
|
it "should have html link" do
|
82
|
-
rendered.
|
82
|
+
expect(rendered).to have_selector("entry > link[rel=alternate][type='text/html']")
|
83
83
|
end
|
84
84
|
it "should have an id" do
|
85
|
-
rendered.
|
85
|
+
expect(rendered).to have_selector("entry > id")
|
86
86
|
end
|
87
87
|
it "should have a summary" do
|
88
|
-
rendered.
|
88
|
+
expect(rendered).to have_selector("entry > summary")
|
89
89
|
end
|
90
90
|
|
91
91
|
describe "with an author" do
|
@@ -93,7 +93,7 @@ describe "catalog/index" do
|
|
93
93
|
@entry = @response_xml.elements.to_a("/feed/entry")[0]
|
94
94
|
end
|
95
95
|
it "should have author tag" do
|
96
|
-
@entry.elements["author/name"].
|
96
|
+
expect(@entry.elements["author/name"]).not_to be_nil
|
97
97
|
end
|
98
98
|
end
|
99
99
|
|
@@ -102,7 +102,7 @@ describe "catalog/index" do
|
|
102
102
|
@entry = @response_xml.elements.to_a("/feed/entry")[1]
|
103
103
|
end
|
104
104
|
it "should not have an author tag" do
|
105
|
-
@entry.elements["author/name"].
|
105
|
+
expect(@entry.elements["author/name"]).to be_nil
|
106
106
|
end
|
107
107
|
end
|
108
108
|
end
|
@@ -113,10 +113,10 @@ describe "catalog/index" do
|
|
113
113
|
@entry = @response_xml.elements.to_a("/feed/entry")[0]
|
114
114
|
end
|
115
115
|
it "should include a link rel tag" do
|
116
|
-
@entry.to_s.
|
116
|
+
expect(@entry.to_s).to have_selector("link[rel=alternate][type='application/marc']")
|
117
117
|
end
|
118
118
|
it "should have content embedded" do
|
119
|
-
@entry.to_s.
|
119
|
+
expect(@entry.to_s).to have_selector("content")
|
120
120
|
end
|
121
121
|
end
|
122
122
|
describe "for an entry with NO content available" do
|
@@ -124,7 +124,7 @@ describe "catalog/index" do
|
|
124
124
|
@entry = @response_xml.elements.to_a("/feed/entry")[5]
|
125
125
|
end
|
126
126
|
it "should include content" do
|
127
|
-
@entry.to_s.
|
127
|
+
expect(@entry.to_s).not_to have_selector("content[type='application/marc']")
|
128
128
|
end
|
129
129
|
end
|
130
130
|
end
|
@@ -2,7 +2,7 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
describe "catalog/index.html.erb" do
|
4
4
|
it "should render the sidebar and content panes" do
|
5
|
-
view.
|
5
|
+
allow(view).to receive(:blacklight_config).and_return(Blacklight::Configuration.new)
|
6
6
|
render
|
7
7
|
expect(rendered).to match /id="sidebar"/
|
8
8
|
expect(rendered).to match /id="content"/
|
@@ -11,7 +11,7 @@ describe "catalog/index.html.erb" do
|
|
11
11
|
it "should render the search_sidebar partial " do
|
12
12
|
stub_template "catalog/_search_sidebar.html.erb" => "sidebar_content"
|
13
13
|
|
14
|
-
view.
|
14
|
+
allow(view).to receive(:blacklight_config).and_return(Blacklight::Configuration.new)
|
15
15
|
render
|
16
16
|
expect(rendered).to match /sidebar_content/
|
17
17
|
end
|
@@ -20,10 +20,10 @@ describe "catalog/index.html.erb" do
|
|
20
20
|
stub_template "catalog/_results_pagination.html.erb" => ""
|
21
21
|
stub_template "catalog/_search_header.html.erb" => "header_content"
|
22
22
|
|
23
|
-
view.
|
24
|
-
view.
|
25
|
-
view.
|
26
|
-
view.
|
23
|
+
allow(view).to receive(:blacklight_config).and_return(Blacklight::Configuration.new)
|
24
|
+
allow(view).to receive(:has_search_parameters?).and_return(true)
|
25
|
+
allow(view).to receive(:extra_head_content).and_return([])
|
26
|
+
allow(view).to receive(:render_opensearch_response_metadata).and_return("")
|
27
27
|
assign(:response, double(:empty? => true))
|
28
28
|
render
|
29
29
|
expect(rendered).to match /header_content/
|
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.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Rochkind
|
@@ -17,28 +17,22 @@ authors:
|
|
17
17
|
autorequire:
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
|
-
date:
|
20
|
+
date: 2018-06-20 00:00:00.000000000 Z
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
23
|
name: rails
|
24
24
|
requirement: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
|
-
- - "
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
version: 3.2.6
|
29
|
-
- - "<"
|
26
|
+
- - "~>"
|
30
27
|
- !ruby/object:Gem::Version
|
31
|
-
version: '
|
28
|
+
version: '4.0'
|
32
29
|
type: :runtime
|
33
30
|
prerelease: false
|
34
31
|
version_requirements: !ruby/object:Gem::Requirement
|
35
32
|
requirements:
|
36
|
-
- - "
|
37
|
-
- !ruby/object:Gem::Version
|
38
|
-
version: 3.2.6
|
39
|
-
- - "<"
|
33
|
+
- - "~>"
|
40
34
|
- !ruby/object:Gem::Version
|
41
|
-
version: '
|
35
|
+
version: '4.0'
|
42
36
|
- !ruby/object:Gem::Dependency
|
43
37
|
name: nokogiri
|
44
38
|
requirement: !ruby/object:Gem::Requirement
|
@@ -101,20 +95,6 @@ dependencies:
|
|
101
95
|
- - "~>"
|
102
96
|
- !ruby/object:Gem::Version
|
103
97
|
version: '0.13'
|
104
|
-
- !ruby/object:Gem::Dependency
|
105
|
-
name: sass-rails
|
106
|
-
requirement: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
|
-
type: :runtime
|
112
|
-
prerelease: false
|
113
|
-
version_requirements: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ">="
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
98
|
- !ruby/object:Gem::Dependency
|
119
99
|
name: bootstrap-sass
|
120
100
|
requirement: !ruby/object:Gem::Requirement
|
@@ -167,30 +147,30 @@ dependencies:
|
|
167
147
|
name: rspec-rails
|
168
148
|
requirement: !ruby/object:Gem::Requirement
|
169
149
|
requirements:
|
170
|
-
- - "
|
150
|
+
- - "~>"
|
171
151
|
- !ruby/object:Gem::Version
|
172
|
-
version: '0'
|
152
|
+
version: '3.0'
|
173
153
|
type: :development
|
174
154
|
prerelease: false
|
175
155
|
version_requirements: !ruby/object:Gem::Requirement
|
176
156
|
requirements:
|
177
|
-
- - "
|
157
|
+
- - "~>"
|
178
158
|
- !ruby/object:Gem::Version
|
179
|
-
version: '0'
|
159
|
+
version: '3.0'
|
180
160
|
- !ruby/object:Gem::Dependency
|
181
161
|
name: engine_cart
|
182
162
|
requirement: !ruby/object:Gem::Requirement
|
183
163
|
requirements:
|
184
|
-
- - "
|
164
|
+
- - "~>"
|
185
165
|
- !ruby/object:Gem::Version
|
186
|
-
version:
|
166
|
+
version: '2.0'
|
187
167
|
type: :development
|
188
168
|
prerelease: false
|
189
169
|
version_requirements: !ruby/object:Gem::Requirement
|
190
170
|
requirements:
|
191
|
-
- - "
|
171
|
+
- - "~>"
|
192
172
|
- !ruby/object:Gem::Version
|
193
|
-
version:
|
173
|
+
version: '2.0'
|
194
174
|
- !ruby/object:Gem::Dependency
|
195
175
|
name: equivalent-xml
|
196
176
|
requirement: !ruby/object:Gem::Requirement
|
@@ -247,25 +227,25 @@ files:
|
|
247
227
|
- app/assets/javascripts/blacklight/zebra_stripe.js
|
248
228
|
- app/assets/javascripts/improved-modal/bootstrap-modal.js
|
249
229
|
- app/assets/javascripts/improved-modal/bootstrap-modalmanager.js
|
250
|
-
- app/assets/stylesheets/blacklight/_blacklight_base.
|
251
|
-
- app/assets/stylesheets/blacklight/_bookmark.
|
252
|
-
- app/assets/stylesheets/blacklight/_catalog.
|
253
|
-
- app/assets/stylesheets/blacklight/_dropdown.
|
254
|
-
- app/assets/stylesheets/blacklight/_facets.
|
255
|
-
- app/assets/stylesheets/blacklight/_footer.
|
256
|
-
- app/assets/stylesheets/blacklight/_group.
|
257
|
-
- app/assets/stylesheets/blacklight/_header.
|
258
|
-
- app/assets/stylesheets/blacklight/_layout.
|
259
|
-
- app/assets/stylesheets/blacklight/_mixins.
|
260
|
-
- app/assets/stylesheets/blacklight/_modal.
|
261
|
-
- app/assets/stylesheets/blacklight/_print.
|
262
|
-
- app/assets/stylesheets/blacklight/_responsive.
|
263
|
-
- app/assets/stylesheets/blacklight/_search_history.
|
264
|
-
- app/assets/stylesheets/blacklight/blacklight.
|
265
|
-
- app/assets/stylesheets/blacklight/blacklight_defaults.
|
266
|
-
- app/assets/stylesheets/blacklight/responsive_partials/_catalog.
|
267
|
-
- app/assets/stylesheets/blacklight/responsive_partials/_facets.
|
268
|
-
- app/assets/stylesheets/blacklight/responsive_partials/_header.
|
230
|
+
- app/assets/stylesheets/blacklight/_blacklight_base.scss
|
231
|
+
- app/assets/stylesheets/blacklight/_bookmark.scss
|
232
|
+
- app/assets/stylesheets/blacklight/_catalog.scss
|
233
|
+
- app/assets/stylesheets/blacklight/_dropdown.scss
|
234
|
+
- app/assets/stylesheets/blacklight/_facets.scss
|
235
|
+
- app/assets/stylesheets/blacklight/_footer.scss
|
236
|
+
- app/assets/stylesheets/blacklight/_group.scss
|
237
|
+
- app/assets/stylesheets/blacklight/_header.scss
|
238
|
+
- app/assets/stylesheets/blacklight/_layout.scss
|
239
|
+
- app/assets/stylesheets/blacklight/_mixins.scss
|
240
|
+
- app/assets/stylesheets/blacklight/_modal.scss
|
241
|
+
- app/assets/stylesheets/blacklight/_print.scss
|
242
|
+
- app/assets/stylesheets/blacklight/_responsive.scss
|
243
|
+
- app/assets/stylesheets/blacklight/_search_history.scss
|
244
|
+
- app/assets/stylesheets/blacklight/blacklight.scss
|
245
|
+
- app/assets/stylesheets/blacklight/blacklight_defaults.scss
|
246
|
+
- app/assets/stylesheets/blacklight/responsive_partials/_catalog.scss
|
247
|
+
- app/assets/stylesheets/blacklight/responsive_partials/_facets.scss
|
248
|
+
- app/assets/stylesheets/blacklight/responsive_partials/_header.scss
|
269
249
|
- app/assets/stylesheets/improved-modal/bootstrap-modal.css
|
270
250
|
- app/controllers/bookmarks_controller.rb
|
271
251
|
- app/controllers/catalog_controller.rb
|
@@ -414,8 +394,6 @@ files:
|
|
414
394
|
- doc/Theming.md
|
415
395
|
- doc/User-Authentication.md
|
416
396
|
- doc/testing.md
|
417
|
-
- gemfiles/rails3.gemfile
|
418
|
-
- gemfiles/rails4.gemfile
|
419
397
|
- lib/SolrMarc.jar
|
420
398
|
- lib/blacklight.rb
|
421
399
|
- lib/blacklight/base.rb
|
@@ -464,7 +442,7 @@ files:
|
|
464
442
|
- lib/generators/blacklight/marc_generator.rb
|
465
443
|
- lib/generators/blacklight/models_generator.rb
|
466
444
|
- lib/generators/blacklight/templates/alternate_controller.rb
|
467
|
-
- lib/generators/blacklight/templates/blacklight.
|
445
|
+
- lib/generators/blacklight/templates/blacklight.scss
|
468
446
|
- lib/generators/blacklight/templates/catalog_controller.rb
|
469
447
|
- lib/generators/blacklight/templates/config/SolrMarc/config-test.properties
|
470
448
|
- lib/generators/blacklight/templates/config/SolrMarc/config.properties
|
@@ -588,7 +566,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
588
566
|
version: '0'
|
589
567
|
requirements: []
|
590
568
|
rubyforge_project: blacklight
|
591
|
-
rubygems_version: 2.2.
|
569
|
+
rubygems_version: 2.5.2.1
|
592
570
|
signing_key:
|
593
571
|
specification_version: 4
|
594
572
|
summary: Blacklight provides a discovery interface for any Solr (http://lucene.apache.org/solr)
|
data/gemfiles/rails3.gemfile
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
source 'http://rubygems.org'
|
2
|
-
|
3
|
-
# Please see blacklight.gemspec for dependency information.
|
4
|
-
gemspec :path=>"../"
|
5
|
-
|
6
|
-
gem 'simplecov', :platform => :mri
|
7
|
-
gem 'simplecov-rcov', :platform => :mri
|
8
|
-
|
9
|
-
gem 'rails', "~> 3.2"
|
10
|
-
|
11
|
-
gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
|
12
|
-
|
13
|
-
group :test do
|
14
|
-
gem 'devise'
|
15
|
-
gem 'devise-guests'
|
16
|
-
gem "bootstrap-sass"
|
17
|
-
gem 'turbolinks'
|
18
|
-
gem 'uglifier'
|
19
|
-
gem 'poltergeist'
|
20
|
-
end
|
21
|
-
|
22
|
-
f = File.expand_path(File.dirname(__FILE__) + '/../spec/test_app_templates/Gemfile.extra')
|
23
|
-
if File.exists?(f)
|
24
|
-
eval File.read(f), nil, f
|
25
|
-
end
|
data/gemfiles/rails4.gemfile
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
source 'http://rubygems.org'
|
2
|
-
|
3
|
-
# Please see blacklight.gemspec for dependency information.
|
4
|
-
gemspec :path=>"../"
|
5
|
-
|
6
|
-
gem 'simplecov', :platform => :mri
|
7
|
-
gem 'simplecov-rcov', :platform => :mri
|
8
|
-
|
9
|
-
gem 'rails', '~> 4.0.0'
|
10
|
-
|
11
|
-
gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
|
12
|
-
|
13
|
-
group :test do
|
14
|
-
gem 'devise'
|
15
|
-
gem 'devise-guests'
|
16
|
-
gem "bootstrap-sass"
|
17
|
-
gem 'turbolinks'
|
18
|
-
gem 'poltergeist'
|
19
|
-
end
|
20
|
-
|
21
|
-
f = File.expand_path(File.dirname(__FILE__) + '/../spec/test_app_templates/Gemfile.extra')
|
22
|
-
if File.exists?(f)
|
23
|
-
eval File.read(f), nil, f
|
24
|
-
end
|