blacklight 4.7.0 → 4.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.travis.yml +13 -12
  4. data/Gemfile +37 -2
  5. data/VERSION +1 -1
  6. data/app/assets/stylesheets/blacklight/{_blacklight_base.css.scss → _blacklight_base.scss} +0 -0
  7. data/app/assets/stylesheets/blacklight/{_bookmark.css.scss → _bookmark.scss} +0 -0
  8. data/app/assets/stylesheets/blacklight/{_catalog.css.scss → _catalog.scss} +0 -0
  9. data/app/assets/stylesheets/blacklight/{_dropdown.css.scss → _dropdown.scss} +0 -0
  10. data/app/assets/stylesheets/blacklight/{_facets.css.scss → _facets.scss} +0 -0
  11. data/app/assets/stylesheets/blacklight/{_footer.css.scss → _footer.scss} +0 -0
  12. data/app/assets/stylesheets/blacklight/{_group.css.scss → _group.scss} +0 -0
  13. data/app/assets/stylesheets/blacklight/{_header.css.scss → _header.scss} +0 -0
  14. data/app/assets/stylesheets/blacklight/{_layout.css.scss → _layout.scss} +0 -0
  15. data/app/assets/stylesheets/blacklight/{_mixins.css.scss → _mixins.scss} +0 -0
  16. data/app/assets/stylesheets/blacklight/{_modal.css.scss → _modal.scss} +0 -0
  17. data/app/assets/stylesheets/blacklight/{_print.css.scss → _print.scss} +0 -0
  18. data/app/assets/stylesheets/blacklight/{_responsive.css.scss → _responsive.scss} +0 -0
  19. data/app/assets/stylesheets/blacklight/{_search_history.css.scss → _search_history.scss} +0 -0
  20. data/app/assets/stylesheets/blacklight/{blacklight.css.scss → blacklight.scss} +0 -0
  21. data/app/assets/stylesheets/blacklight/{blacklight_defaults.css.scss → blacklight_defaults.scss} +0 -0
  22. data/app/assets/stylesheets/blacklight/responsive_partials/{_catalog.css.scss → _catalog.scss} +0 -0
  23. data/app/assets/stylesheets/blacklight/responsive_partials/{_facets.css.scss → _facets.scss} +0 -0
  24. data/app/assets/stylesheets/blacklight/responsive_partials/{_header.css.scss → _header.scss} +0 -0
  25. data/app/helpers/blacklight/blacklight_helper_behavior.rb +2 -2
  26. data/app/helpers/blacklight/catalog_helper_behavior.rb +1 -1
  27. data/app/helpers/blacklight/facets_helper_behavior.rb +1 -0
  28. data/app/helpers/blacklight/search_history_constraints_helper_behavior.rb +2 -2
  29. data/blacklight.gemspec +5 -6
  30. data/lib/blacklight/catalog.rb +1 -1
  31. data/lib/blacklight/catalog/search_context.rb +6 -6
  32. data/lib/blacklight/solr/document.rb +29 -21
  33. data/lib/blacklight/solr_helper.rb +6 -4
  34. data/lib/generators/blacklight/templates/{blacklight.css.scss → blacklight.scss} +0 -0
  35. data/spec/controllers/application_controller_spec.rb +3 -3
  36. data/spec/controllers/bookmarks_controller_spec.rb +11 -11
  37. data/spec/controllers/catalog_controller_spec.rb +117 -117
  38. data/spec/controllers/search_history_controller_spec.rb +8 -8
  39. data/spec/features/alternate_controller_spec.rb +7 -5
  40. data/spec/features/record_view_spec.rb +4 -1
  41. data/spec/features/search_filters_spec.rb +37 -24
  42. data/spec/features/search_pagination_spec.rb +11 -7
  43. data/spec/features/search_results_spec.rb +22 -14
  44. data/spec/features/search_sort_spec.rb +3 -1
  45. data/spec/features/search_spec.rb +6 -0
  46. data/spec/helpers/blacklight_helper_spec.rb +175 -166
  47. data/spec/helpers/catalog_helper_spec.rb +59 -59
  48. data/spec/helpers/facets_helper_spec.rb +118 -118
  49. data/spec/helpers/hash_as_hidden_fields_spec.rb +14 -8
  50. data/spec/helpers/html_head_helper_spec.rb +51 -45
  51. data/spec/helpers/render_constraints_helper_spec.rb +5 -6
  52. data/spec/helpers/search_history_constraints_helper_spec.rb +21 -21
  53. data/spec/lib/blacklight/solr_response/group_response_spec.rb +2 -2
  54. data/spec/lib/blacklight_configurable_spec.rb +16 -16
  55. data/spec/lib/blacklight_configuration_spec.rb +132 -132
  56. data/spec/lib/blacklight_email_spec.rb +4 -4
  57. data/spec/lib/blacklight_sms_spec.rb +4 -4
  58. data/spec/lib/blacklight_solr_document_dublin_core_spec.rb +6 -6
  59. data/spec/lib/blacklight_solr_document_marc_spec.rb +3 -3
  60. data/spec/lib/blacklight_solr_document_more_like_this_spec.rb +4 -4
  61. data/spec/lib/blacklight_solr_document_spec.rb +36 -36
  62. data/spec/lib/blacklight_solr_response_spec.rb +42 -42
  63. data/spec/lib/blacklight_spec.rb +5 -5
  64. data/spec/lib/blacklight_user_spec.rb +5 -5
  65. data/spec/lib/facet_paginator_spec.rb +12 -12
  66. data/spec/lib/marc_export_spec.rb +746 -746
  67. data/spec/lib/search_fields_spec.rb +13 -13
  68. data/spec/lib/solr_helper_spec.rb +255 -250
  69. data/spec/lib/tasks/blacklight_task_spec.rb +1 -1
  70. data/spec/lib/tasks/solr_marc_task_spec.rb +6 -6
  71. data/spec/lib/utils_spec.rb +11 -11
  72. data/spec/models/bookmark_spec.rb +7 -6
  73. data/spec/models/record_mailer_spec.rb +16 -16
  74. data/spec/models/search_spec.rb +8 -8
  75. data/spec/models/solr_document_spec.rb +7 -7
  76. data/spec/requests/alternate_controller_spec.rb +3 -3
  77. data/spec/routing/catalog_routing_spec.rb +10 -15
  78. data/spec/spec_helper.rb +6 -4
  79. data/spec/support/assert_difference.rb +2 -2
  80. data/spec/support/features.rb +11 -0
  81. data/spec/support/features/session_helpers.rb +3 -3
  82. data/spec/support/include_text.rb +2 -2
  83. data/spec/test_app_templates/Gemfile.extra +2 -15
  84. data/spec/test_app_templates/lib/generators/test_app_generator.rb +17 -6
  85. data/spec/views/catalog/_constraints.html.erb_spec.rb +7 -7
  86. data/spec/views/catalog/_constraints_element.html.erb_spec.rb +12 -12
  87. data/spec/views/catalog/_document.html.erb_spec.rb +1 -1
  88. data/spec/views/catalog/_facets.html.erb_spec.rb +13 -13
  89. data/spec/views/catalog/_index_default.erb_spec.rb +20 -20
  90. data/spec/views/catalog/_show_default.erb_spec.rb +20 -20
  91. data/spec/views/catalog/_show_sidebar.erb_spec.rb +6 -6
  92. data/spec/views/catalog/_thumbnail_default.erb_spec.rb +3 -3
  93. data/spec/views/catalog/index.atom.builder_spec.rb +28 -28
  94. data/spec/views/catalog/index.html.erb_spec.rb +6 -6
  95. metadata +35 -57
  96. data/gemfiles/rails3.gemfile +0 -25
  97. 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.stub(:blacklight_config).and_return(@config)
34
- view.stub(:search_field_options_for_select).and_return([])
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.should have_selector("link[rel=self]")
45
- rendered.should have_selector("link[rel=next]")
46
- rendered.should have_selector("link[rel=previous]")
47
- rendered.should have_selector("link[rel=first]")
48
- rendered.should have_selector("link[rel=last]")
49
- rendered.should have_selector("link[rel='alternate'][type='text/html']")
50
- rendered.should have_selector("link[rel=search][type='application/opensearchdescription+xml']")
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.should == "30"
56
- @response_xml.elements["/feed/opensearch:startIndex"].text.should == "10"
57
- @response_xml.elements["/feed/opensearch:itemsPerPage"].text.should == "10"
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.should == 1
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.should_not be_nil
65
- query_el.attributes["role"].should == "request"
66
- query_el.attributes["searchTerms"].should == ""
67
- query_el.attributes["startPage"].should == "2"
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.should have_selector("entry", :count => 10)
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.should have_selector("entry > title")
76
+ expect(rendered).to have_selector("entry > title")
77
77
  end
78
78
  it "should have an updated" do
79
- rendered.should have_selector("entry > updated")
79
+ expect(rendered).to have_selector("entry > updated")
80
80
  end
81
81
  it "should have html link" do
82
- rendered.should have_selector("entry > link[rel=alternate][type='text/html']")
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.should have_selector("entry > id")
85
+ expect(rendered).to have_selector("entry > id")
86
86
  end
87
87
  it "should have a summary" do
88
- rendered.should have_selector("entry > summary")
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"].should_not be_nil
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"].should be_nil
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.should have_selector("link[rel=alternate][type='application/marc']")
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.should have_selector("content")
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.should_not have_selector("content[type='application/marc']")
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.stub(:blacklight_config).and_return(Blacklight::Configuration.new)
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.stub(:blacklight_config).and_return(Blacklight::Configuration.new)
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.stub(:blacklight_config).and_return(Blacklight::Configuration.new)
24
- view.stub(:has_search_parameters?).and_return(true)
25
- view.stub(:extra_head_content).and_return([])
26
- view.stub(:render_opensearch_response_metadata).and_return("")
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.7.0
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: 2014-02-05 00:00:00.000000000 Z
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: '5'
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: '5'
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: 0.1.0
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: 0.1.0
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.css.scss
251
- - app/assets/stylesheets/blacklight/_bookmark.css.scss
252
- - app/assets/stylesheets/blacklight/_catalog.css.scss
253
- - app/assets/stylesheets/blacklight/_dropdown.css.scss
254
- - app/assets/stylesheets/blacklight/_facets.css.scss
255
- - app/assets/stylesheets/blacklight/_footer.css.scss
256
- - app/assets/stylesheets/blacklight/_group.css.scss
257
- - app/assets/stylesheets/blacklight/_header.css.scss
258
- - app/assets/stylesheets/blacklight/_layout.css.scss
259
- - app/assets/stylesheets/blacklight/_mixins.css.scss
260
- - app/assets/stylesheets/blacklight/_modal.css.scss
261
- - app/assets/stylesheets/blacklight/_print.css.scss
262
- - app/assets/stylesheets/blacklight/_responsive.css.scss
263
- - app/assets/stylesheets/blacklight/_search_history.css.scss
264
- - app/assets/stylesheets/blacklight/blacklight.css.scss
265
- - app/assets/stylesheets/blacklight/blacklight_defaults.css.scss
266
- - app/assets/stylesheets/blacklight/responsive_partials/_catalog.css.scss
267
- - app/assets/stylesheets/blacklight/responsive_partials/_facets.css.scss
268
- - app/assets/stylesheets/blacklight/responsive_partials/_header.css.scss
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.css.scss
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.0
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)
@@ -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
@@ -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