Skip to content

Commit

Permalink
remove Blacklight Range Limit as a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mejackreed committed Dec 23, 2015
1 parent 882e69a commit 0628301
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion geoblacklight.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ Gem::Specification.new do |spec|

spec.add_dependency 'blacklight', '~> 5.12', '< 5.16'
spec.add_dependency 'leaflet-rails', '~> 0.7.3'
spec.add_dependency 'blacklight_range_limit', '~> 5.0.3'
spec.add_dependency 'font-awesome-rails', '~> 4.1.0.0'
spec.add_dependency 'rails_config', '~> 0.4.2'
spec.add_dependency 'faraday'
Expand Down
6 changes: 1 addition & 5 deletions lib/generators/geoblacklight/templates/catalog_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,7 @@ class CatalogController < ApplicationController
config.add_facet_field 'dct_spatial_sm', :label => 'Place', :limit => 8
config.add_facet_field 'dct_isPartOf_sm', :label => 'Collection', :limit => 8

config.add_facet_field 'solr_year_i', :label => 'Year', :limit => 10, :range => {
# :num_segments => 6,
:assumed_boundaries => [1100, 2015]
# :segments => true
}
config.add_facet_field 'solr_year_i', :label => 'Year', :limit => 10

config.add_facet_field 'dc_rights_s', label: 'Access', limit: 8, partial: "icon_facet"
config.add_facet_field 'layer_geom_type_s', label: 'Data type', limit: 8, partial: "icon_facet"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/*
*= require geoblacklight/application
*= require blacklight_range_limit
*/
1 change: 0 additions & 1 deletion lib/generators/geoblacklight/templates/geoblacklight.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
//= require geoblacklight/viewers
//= require geoblacklight/modules
//= require geoblacklight/downloaders
//= require blacklight_range_limit
//= require leaflet-iiif
//= require readmore.min
1 change: 0 additions & 1 deletion lib/geoblacklight/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
require 'font-awesome-rails'
require 'rails_config'
require 'faraday'
require 'blacklight_range_limit'
require 'nokogiri'
require 'coderay'
require 'geoblacklight-icons'
Expand Down

0 comments on commit 0628301

Please sign in to comment.