blacklight-maps 0.2.0 → 0.3.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.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/README.md +120 -42
  4. data/app/assets/javascripts/blacklight-maps.js +1 -2
  5. data/app/assets/javascripts/blacklight-maps/blacklight-maps-browse.js +122 -96
  6. data/app/assets/stylesheets/blacklight_maps/blacklight-maps.css.scss +5 -1
  7. data/app/assets/stylesheets/blacklight_maps/default.css.scss +74 -12
  8. data/app/helpers/blacklight/blacklight_maps_helper_behavior.rb +125 -0
  9. data/app/helpers/blacklight_maps_helper.rb +1 -24
  10. data/app/views/catalog/_document_maps.html.erb +1 -3
  11. data/app/views/catalog/_index_map.html.erb +7 -0
  12. data/app/views/catalog/_map_placename_search.html.erb +8 -0
  13. data/app/views/catalog/_map_spatial_search.html.erb +6 -0
  14. data/app/views/catalog/_show_maplet_default.html.erb +11 -0
  15. data/app/views/catalog/map.html.erb +8 -0
  16. data/blacklight-maps.gemspec +1 -2
  17. data/config/locales/blacklight-maps.en.yml +17 -1
  18. data/config/routes.rb +2 -2
  19. data/docs/blacklight-maps_index-view.png +0 -0
  20. data/docs/blacklight-maps_map-view.png +0 -0
  21. data/docs/blacklight-maps_search-control.png +0 -0
  22. data/docs/blacklight-maps_show-view.png +0 -0
  23. data/lib/blacklight/maps.rb +16 -0
  24. data/lib/blacklight/maps/controller_override.rb +33 -0
  25. data/lib/blacklight/maps/engine.rb +14 -6
  26. data/lib/blacklight/maps/export.rb +102 -61
  27. data/lib/blacklight/maps/render_constraints_override.rb +62 -0
  28. data/lib/blacklight/maps/version.rb +1 -1
  29. data/lib/generators/blacklight_maps/templates/blacklight_maps.css.scss +1 -1
  30. data/solr_conf/conf/schema.xml +4 -1
  31. data/spec/controllers/catalog_controller_spec.rb +22 -0
  32. data/spec/features/maps_spec.rb +194 -61
  33. data/spec/fixtures/sample_solr_documents.yml +73 -72
  34. data/spec/helpers/blacklight_maps_helper_spec.rb +134 -12
  35. data/spec/lib/blacklight/maps/controller_override_spec.rb +34 -0
  36. data/spec/lib/blacklight/maps/export_spec.rb +178 -35
  37. data/spec/lib/blacklight/maps/render_constraints_override_spec.rb +95 -0
  38. data/spec/spec_helper.rb +1 -1
  39. data/spec/test_app_templates/Gemfile.extra +0 -2
  40. metadata +22 -21
  41. data/app/views/catalog/_index_maps.html.erb +0 -9
  42. data/docs/map-sidebar.png +0 -0
  43. data/docs/map-view.png +0 -0
@@ -0,0 +1,34 @@
1
+ require 'spec_helper'
2
+
3
+ describe BlacklightMaps::ControllerOverride do
4
+
5
+ class BlacklightMapsControllerTestClass < CatalogController
6
+ end
7
+
8
+ before(:each) do
9
+ CatalogController.blacklight_config = Blacklight::Configuration.new
10
+ @fake_controller = BlacklightMapsControllerTestClass.new
11
+ @fake_controller.extend(BlacklightMaps::ControllerOverride)
12
+ end
13
+
14
+ let(:solr_params) { Hash.new }
15
+ let(:req_params) { Hash.new }
16
+
17
+ describe "add_spatial_search_to_solr" do
18
+
19
+ it "should return a coordinate point spatial search if coordinates are given" do
20
+ req_params[:coordinates] = "35.86166,104.195397"
21
+ req_params[:spatial_search_type] = "point"
22
+ expect(@fake_controller.add_spatial_search_to_solr(solr_params, req_params)[:fq].first).to include('geofilt')
23
+ expect(@fake_controller.add_spatial_search_to_solr(solr_params, req_params)[:pt]).to eq(req_params[:coordinates])
24
+ end
25
+
26
+ it "should return a bbox spatial search if a bbox is given" do
27
+ req_params[:coordinates] = "[6.7535159,68.162386 TO 35.5044752,97.395555]"
28
+ req_params[:spatial_search_type] = "bbox"
29
+ expect(@fake_controller.add_spatial_search_to_solr(solr_params, req_params)[:fq].first).to include(CatalogController.blacklight_config.view.maps.coordinates_field)
30
+ end
31
+
32
+ end
33
+
34
+ end
@@ -4,66 +4,209 @@ describe "BlacklightMaps::GeojsonExport" do
4
4
 
5
5
  before do
6
6
  CatalogController.blacklight_config = Blacklight::Configuration.new
7
- CatalogController.configure_blacklight do |config|
8
- config.view.maps.type = 'placename_coord'
9
-
10
- # These fields also need to be added for some reason for the tests to pass
11
- # Link in list is not being generated correctly if not passed
12
- config.index.title_field = 'title_display'
13
- end
14
7
  @controller = CatalogController.new
8
+ @action = "index"
15
9
  @request = ActionDispatch::TestRequest.new
16
10
  @controller.request = @request
17
11
  @response = ActionDispatch::TestResponse.new
18
- @response.stub(:docs) {[{ "published_display"=>["Dharamsala, Distt. Kangra, H.P."], "pub_date"=>["2007"], "format"=>"Book", "title_display"=>"Ses yon", "material_type_display"=>["xii, 419 p."], "id"=>"2008308478", "subject_geo_facet"=>["China", "Tibet", "India"], "subject_topic_facet"=>["Education and state", "Tibetans", "Tibetan language", "Teaching"], "language_facet"=>["Tibetan"], "placename_coords"=>["China-|-35.86166-|-104.195397", "Tibet-|-29.646923-|-91.117212", "India-|-20.593684-|-78.96288"], "place_bbox"=>["68.162386 6.7535159 97.395555 35.5044752"], "score"=>0.0026767207 }]}
12
+ @response.stub(:docs) {[{ "published_display"=>["Dharamsala, Distt. Kangra, H.P."], "pub_date"=>["2007"], "format"=>"Book", "title_display"=>"Ses yon", "material_type_display"=>["xii, 419 p."], "id"=>"2008308478", "placename_field"=>["China", "Tibet", "India"], "subject_topic_facet"=>["Education and state", "Tibetans", "Tibetan language", "Teaching"], "language_facet"=>["Tibetan"], "geojson"=>["{\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[104.195397,35.86166]},\"properties\":{\"placename\":\"China\"}}", "{\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[91.117212,29.646923]},\"properties\":{\"placename\":\"Tibet\"}}", "{\"type\":\"Feature\",\"geometry\":{\"type\":\"Point\",\"coordinates\":[78.96288,20.593684]},\"properties\":{\"placename\":\"India\"}}"], "coordinates"=>["68.162386 6.7535159 97.395555 35.5044752", "104.195397 35.86166", "91.117212 29.646923", "20.593684,78.96288"], "score"=>0.0026767207 }]}
19
13
  end
20
14
 
21
- subject {BlacklightMaps::GeojsonExport.new(@controller, @response.docs)}
15
+ # TODO: use @response.facet_by_field_name('geojson').items instead of @response
16
+ # then refactor build_geojson_features and to_geojson specs
17
+ subject {BlacklightMaps::GeojsonExport.new(@controller, @action, @response.docs)}
22
18
 
23
19
  it "should instantiate GeojsonExport" do
24
20
  expect(subject.class).to eq(::BlacklightMaps::GeojsonExport)
25
21
  end
26
22
 
27
- it "should return maps config" do
28
- expect(subject.send(:blacklight_maps_config).class).to eq(::Blacklight::Configuration::ViewConfig)
29
- end
23
+ describe "return config settings" do
30
24
 
31
- it "should return type" do
32
- expect(subject.send(:type)).to eq('placename_coord')
33
- end
25
+ it "should return maps config" do
26
+ expect(subject.send(:blacklight_maps_config).class).to eq(::Blacklight::Configuration::ViewConfig)
27
+ end
34
28
 
35
- it "should return placename field" do
36
- expect(subject.send(:placename_coord_field)).to eq('placename_coords')
37
- end
29
+ it "should return geojson_field" do
30
+ expect(subject.send(:geojson_field)).to eq('geojson')
31
+ end
38
32
 
39
- it "should return placename delimiter" do
40
- expect(subject.send(:placename_coord_delimiter)).to eq('-|-')
41
- end
33
+ it "should return coordinates_field" do
34
+ expect(subject.send(:coordinates_field)).to eq('coordinates')
35
+ end
42
36
 
43
- it "should return bbox field" do
44
- expect(subject.send(:bbox_field)).to eq('place_bbox')
45
- end
37
+ it "should return search_mode" do
38
+ expect(subject.send(:search_mode)).to eq('placename')
39
+ end
40
+
41
+ it "should return facet_mode" do
42
+ expect(subject.send(:facet_mode)).to eq('geojson')
43
+ end
44
+
45
+ it "should return placename_property" do
46
+ expect(subject.send(:placename_property)).to eq('placename')
47
+ end
46
48
 
47
- it "should return point feature with no properties" do
48
- expect(subject.send(:build_point_feature, 100, -50)).to eq({:type=>"Feature", :geometry=>{:type=>"Point", :coordinates=>[100.0, -50.0]}, :properties=>{}})
49
49
  end
50
50
 
51
- it "should return point feature with properties" do
52
- expect(subject.send(:build_point_feature, 100, -50, { name: 'Jane Smith' })[:properties]).to have_key(:name)
51
+ describe "build_feature_from_geojson" do
52
+
53
+ describe "point feature" do
54
+
55
+ before do
56
+ @output = subject.send(:build_feature_from_geojson, '{"type":"Feature","geometry":{"type":"Point","coordinates":[104.195397,35.86166]},"properties":{"placename":"China"}}', 1)
57
+ end
58
+
59
+ it "should have a hits property with the right value" do
60
+ expect(@output[:properties]).to have_key(:hits)
61
+ expect(@output[:properties][:hits]).to eq(1)
62
+ end
63
+
64
+ it "should have a popup property" do
65
+ expect(@output[:properties]).to have_key(:popup)
66
+ end
67
+
68
+ end
69
+
70
+ describe "bbox feature" do
71
+
72
+ describe "catalog#index view" do
73
+
74
+ before do
75
+ @output = subject.send(:build_feature_from_geojson, '{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[68.162386, 6.7535159], [97.395555, 6.7535159], [97.395555, 35.5044752], [68.162386, 35.5044752], [68.162386, 6.7535159]]]},"bbox":[68.162386, 6.7535159, 97.395555, 35.5044752]}', 1)
76
+ end
77
+
78
+ it "should set the center point as the coordinates" do
79
+ expect(@output[:geometry][:coordinates]).to eq([82.7789705, 21.12899555])
80
+ end
81
+
82
+ it "should change the geometry type to 'Point'" do
83
+ expect(@output[:geometry][:type]).to eq("Point")
84
+ expect(@output[:bbox]).to be_nil
85
+ end
86
+
87
+ end
88
+
89
+ end
90
+
53
91
  end
54
92
 
55
- it "should build bbox correct features" do
56
- expect(subject.send(:build_bbox_features).length).to eq(1)
57
- expect(subject.send(:build_bbox_features)[0][:geometry][:type]).to eq('Point')
93
+ describe "build_feature_from_coords" do
94
+
95
+ describe "point feature" do
96
+
97
+ before do
98
+ @output = subject.send(:build_feature_from_coords, '35.86166,104.195397', 1)
99
+ end
100
+
101
+ it "should create a GeoJSON feature hash" do
102
+ expect(@output.class).to eq(Hash)
103
+ expect(@output[:type]).to eq("Feature")
104
+ end
105
+
106
+ it "should have the right coordinates" do
107
+ expect(@output[:geometry][:coordinates]).to eq([104.195397, 35.86166])
108
+ end
109
+
110
+ it "should have a hits property with the right value" do
111
+ expect(@output[:properties]).to have_key(:hits)
112
+ expect(@output[:properties][:hits]).to eq(1)
113
+ end
114
+
115
+ it "should have a popup property" do
116
+ expect(@output[:properties]).to have_key(:popup)
117
+ end
118
+
119
+ end
120
+
121
+ describe "bbox feature" do
122
+
123
+ describe "catalog#index view" do
124
+
125
+ before do
126
+ @output = subject.send(:build_feature_from_coords, '68.162386 6.7535159 97.395555 35.5044752', 1)
127
+ end
128
+
129
+ it "should set the center point as the coordinates" do
130
+ expect(@output[:geometry][:type]).to eq("Point")
131
+ expect(@output[:geometry][:coordinates]).to eq([82.7789705, 21.12899555])
132
+ end
133
+
134
+ end
135
+
136
+ describe "catalog#show view" do
137
+
138
+ before do
139
+ @action = "show"
140
+ @output = subject.send(:build_feature_from_coords, '68.162386 6.7535159 97.395555 35.5044752', 1)
141
+ end
142
+
143
+ it "should convert the bbox string to a polygon coordinate array" do
144
+ expect(@output[:geometry][:type]).to eq("Polygon")
145
+ expect(@output[:geometry][:coordinates]).to eq([[[68.162386, 6.7535159], [97.395555, 6.7535159], [97.395555, 35.5044752], [68.162386, 35.5044752], [68.162386, 6.7535159]]])
146
+ end
147
+
148
+ it "should set the bbox member" do
149
+ expect(@output[:bbox]).to eq([68.162386, 6.7535159, 97.395555, 35.5044752])
150
+ end
151
+
152
+ end
153
+
154
+ end
155
+
58
156
  end
59
157
 
60
- it "should render correct sidebar div" do
61
- expect(subject.send(:render_leaflet_sidebar_partial, @response.docs[0])).to include('href="/catalog/2008308478')
158
+ describe "render_leaflet_popup_content" do
159
+
160
+ describe "placename_facet search_mode" do
161
+
162
+ it "should render the map_placename_search partial if the placename is present" do
163
+ expect(subject.send(:render_leaflet_popup_content, {type:"Feature",geometry:{type:"Point",coordinates:[104.195397,35.86166]},properties:{placename:"China", hits:1}})).to include('href="/catalog?f%5Bplacename_field%5D%5B%5D=China')
164
+ end
165
+
166
+ it "should render the map_spatial_search partial if the placename is not present" do
167
+ expect(subject.send(:render_leaflet_popup_content, {type:"Feature",geometry:{type:"Point",coordinates:[104.195397,35.86166]},properties:{hits:1}})).to include('href="/catalog?coordinates=35.86166%2C104.195397&amp;spatial_search_type=point')
168
+ end
169
+
170
+ end
171
+
172
+ describe "coordinates search_mode" do
173
+
174
+ before do
175
+ CatalogController.configure_blacklight do |config|
176
+ config.view.maps.search_mode = 'coordinates'
177
+ end
178
+ end
179
+
180
+ it "should render the map_spatial_search partial" do
181
+ expect(subject.send(:render_leaflet_popup_content, {type:"Feature",geometry:{type:"Point",coordinates:[104.195397,35.86166]},properties:{hits:1}})).to include('href="/catalog?coordinates=35.86166%2C104.195397&amp;spatial_search_type=point')
182
+ end
183
+
184
+ end
185
+
62
186
  end
63
187
 
64
- it "should render feature collection as json" do
65
- expect(subject.to_geojson).to include('{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"Point"')
188
+ describe "build_geojson_features" do
189
+
190
+ before do
191
+ @action = "show"
192
+ end
193
+
194
+ it "should create an array of features" do
195
+ expect(BlacklightMaps::GeojsonExport.new(@controller, @action, @response.docs[0]).send(:build_geojson_features).blank?).to be false
196
+ end
197
+
66
198
  end
67
199
 
200
+ describe "to_geojson" do
201
+
202
+ before do
203
+ @action = "show"
204
+ end
205
+
206
+ it "should render feature collection as json" do
207
+ expect(BlacklightMaps::GeojsonExport.new(@controller, @action, @response.docs[0]).send(:to_geojson)).to include('{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"Point"')
208
+ end
209
+
210
+ end
68
211
 
69
212
  end
@@ -0,0 +1,95 @@
1
+ require 'spec_helper'
2
+
3
+ describe BlacklightMaps::RenderConstraintsOverride do
4
+
5
+ class BlacklightMapsControllerTestClass < CatalogController
6
+ attr_accessor :params
7
+ end
8
+
9
+ before(:each) do
10
+ @fake_controller = BlacklightMapsControllerTestClass.new
11
+ @fake_controller.extend(BlacklightMaps::RenderConstraintsOverride)
12
+ @fake_controller.params = { coordinates: "35.86166,104.195397", spatial_search_type: "point" }
13
+ end
14
+
15
+ describe "testing for spatial parameters" do
16
+
17
+ describe "has_spatial_parameters?" do
18
+
19
+ it "should be true if coordinate params are present" do
20
+ expect(@fake_controller.has_spatial_parameters?).to be true
21
+ end
22
+
23
+ end
24
+
25
+ describe "has_search_parameters?" do
26
+
27
+ it "should be true if coordinate params are present" do
28
+ expect(@fake_controller.has_search_parameters?).to be true
29
+ end
30
+
31
+ end
32
+
33
+ end
34
+
35
+ describe "render spatial constraints" do
36
+
37
+ before do
38
+ @test_params = @fake_controller.params
39
+ end
40
+
41
+ describe "query_has_constraints?" do
42
+
43
+ it "should be true if there are coordinate params" do
44
+ expect(@fake_controller.query_has_constraints?).to be true
45
+ end
46
+
47
+ end
48
+
49
+ describe "spatial_constraint_label" do
50
+
51
+ it "should return the point label" do
52
+ expect(@fake_controller.spatial_constraint_label(@test_params)).to eq(I18n.t('blacklight.search.filters.coordinates.point'))
53
+ end
54
+
55
+ it "should return the bbox label" do
56
+ @test_params = { spatial_search_type: "bbox" }
57
+ expect(@fake_controller.spatial_constraint_label(@test_params)).to eq(I18n.t('blacklight.search.filters.coordinates.bbox'))
58
+ end
59
+
60
+ end
61
+
62
+ describe "render_spatial_query" do
63
+
64
+ before :each do
65
+ # have to create a request or call to 'url _for' returns an error
66
+ @fake_controller.request = ActionDispatch::Request.new(params:{controller: 'catalog', action: 'index'})
67
+ @fake_controller.request.path_parameters[:controller] = 'catalog'
68
+ end
69
+
70
+ # TODO: can't get these specs to pass, getting error:
71
+ # NoMethodError: undefined method `render_constraint_element'
72
+
73
+ it "should render the coordinates" #do
74
+ #expect(@fake_controller.render_spatial_query(@test_params)).to have_content(@fake_controller.params[:coordinates])
75
+ #end
76
+
77
+ it "should remove spatial params in the 'remove' link" #do
78
+ #expect(@fake_controller.render_spatial_query(@test_params)).to_not have_content("spatial_search_type")
79
+ #end
80
+
81
+ end
82
+
83
+ describe "render_search_to_s_coord" do
84
+
85
+ it "should return render_search_to_s_element when coordinates are present" do
86
+ expect(@fake_controller).to receive(:render_search_to_s_element)
87
+ expect(@fake_controller).to receive(:render_filter_value)
88
+ @fake_controller.render_search_to_s_coord(@test_params)
89
+ end
90
+
91
+ end
92
+
93
+ end
94
+
95
+ end
data/spec/spec_helper.rb CHANGED
@@ -34,5 +34,5 @@ require 'capybara/rspec'
34
34
 
35
35
 
36
36
  RSpec.configure do |config|
37
-
37
+ config.infer_spec_type_from_file_location!
38
38
  end
@@ -3,5 +3,3 @@
3
3
  gem 'leaflet-rails'
4
4
 
5
5
  gem 'leaflet-markercluster-rails'
6
-
7
- gem 'leaflet-sidebar-rails', '0.0.1', git: 'https://github.com/mejackreed/leaflet-sidebar-rails'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight-maps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-02-03 00:00:00.000000000 Z
12
+ date: 2015-02-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -81,20 +81,6 @@ dependencies:
81
81
  - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
- - !ruby/object:Gem::Dependency
85
- name: leaflet-sidebar-rails
86
- requirement: !ruby/object:Gem::Requirement
87
- requirements:
88
- - - "~>"
89
- - !ruby/object:Gem::Version
90
- version: 0.0.2
91
- type: :runtime
92
- prerelease: false
93
- version_requirements: !ruby/object:Gem::Requirement
94
- requirements:
95
- - - "~>"
96
- - !ruby/object:Gem::Version
97
- version: 0.0.2
98
84
  - !ruby/object:Gem::Dependency
99
85
  name: bundler
100
86
  requirement: !ruby/object:Gem::Requirement
@@ -129,14 +115,14 @@ dependencies:
129
115
  requirements:
130
116
  - - "~>"
131
117
  - !ruby/object:Gem::Version
132
- version: '2.9'
118
+ version: '3.0'
133
119
  type: :development
134
120
  prerelease: false
135
121
  version_requirements: !ruby/object:Gem::Requirement
136
122
  requirements:
137
123
  - - "~>"
138
124
  - !ruby/object:Gem::Version
139
- version: '2.9'
125
+ version: '3.0'
140
126
  - !ruby/object:Gem::Dependency
141
127
  name: jettywrapper
142
128
  requirement: !ruby/object:Gem::Requirement
@@ -211,30 +197,42 @@ files:
211
197
  - app/assets/javascripts/blacklight-maps/blacklight-maps-browse.js
212
198
  - app/assets/stylesheets/blacklight_maps/blacklight-maps.css.scss
213
199
  - app/assets/stylesheets/blacklight_maps/default.css.scss
200
+ - app/helpers/blacklight/blacklight_maps_helper_behavior.rb
214
201
  - app/helpers/blacklight_maps_helper.rb
215
202
  - app/views/catalog/_document_maps.html.erb
216
- - app/views/catalog/_index_maps.html.erb
203
+ - app/views/catalog/_index_map.html.erb
204
+ - app/views/catalog/_map_placename_search.html.erb
205
+ - app/views/catalog/_map_spatial_search.html.erb
206
+ - app/views/catalog/_show_maplet_default.html.erb
207
+ - app/views/catalog/map.html.erb
217
208
  - blacklight-maps.gemspec
218
209
  - config/jetty.yml
219
210
  - config/locales/blacklight-maps.en.yml
220
211
  - config/routes.rb
221
- - docs/map-sidebar.png
222
- - docs/map-view.png
212
+ - docs/blacklight-maps_index-view.png
213
+ - docs/blacklight-maps_map-view.png
214
+ - docs/blacklight-maps_search-control.png
215
+ - docs/blacklight-maps_show-view.png
223
216
  - lib/blacklight/maps.rb
217
+ - lib/blacklight/maps/controller_override.rb
224
218
  - lib/blacklight/maps/engine.rb
225
219
  - lib/blacklight/maps/export.rb
226
220
  - lib/blacklight/maps/geometry.rb
221
+ - lib/blacklight/maps/render_constraints_override.rb
227
222
  - lib/blacklight/maps/version.rb
228
223
  - lib/generators/blacklight_maps/install_generator.rb
229
224
  - lib/generators/blacklight_maps/templates/blacklight_maps.css.scss
230
225
  - lib/railties/blacklight_maps.rake
231
226
  - solr_conf/conf/schema.xml
232
227
  - solr_conf/conf/solrconfig.xml
228
+ - spec/controllers/catalog_controller_spec.rb
233
229
  - spec/features/maps_spec.rb
234
230
  - spec/fixtures/sample_solr_documents.yml
235
231
  - spec/helpers/blacklight_maps_helper_spec.rb
232
+ - spec/lib/blacklight/maps/controller_override_spec.rb
236
233
  - spec/lib/blacklight/maps/export_spec.rb
237
234
  - spec/lib/blacklight/maps/geometry_spec.rb
235
+ - spec/lib/blacklight/maps/render_constraints_override_spec.rb
238
236
  - spec/spec_helper.rb
239
237
  - spec/test_app_templates/Gemfile.extra
240
238
  - spec/test_app_templates/lib/generators/test_app_generator.rb
@@ -263,11 +261,14 @@ signing_key:
263
261
  specification_version: 4
264
262
  summary: Maps for Blacklight
265
263
  test_files:
264
+ - spec/controllers/catalog_controller_spec.rb
266
265
  - spec/features/maps_spec.rb
267
266
  - spec/fixtures/sample_solr_documents.yml
268
267
  - spec/helpers/blacklight_maps_helper_spec.rb
268
+ - spec/lib/blacklight/maps/controller_override_spec.rb
269
269
  - spec/lib/blacklight/maps/export_spec.rb
270
270
  - spec/lib/blacklight/maps/geometry_spec.rb
271
+ - spec/lib/blacklight/maps/render_constraints_override_spec.rb
271
272
  - spec/spec_helper.rb
272
273
  - spec/test_app_templates/Gemfile.extra
273
274
  - spec/test_app_templates/lib/generators/test_app_generator.rb