lib/generators/spotlight/install_generator.rb in blacklight-spotlight-2.4.1 vs lib/generators/spotlight/install_generator.rb in blacklight-spotlight-2.5.0
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
require 'rails/generators'
module Spotlight
##
# spotlight:install generator
@@ -22,10 +24,9 @@
Bundler.with_clean_env { run 'bundle install' }
generate 'friendly_id'
end
def riiif
- gem 'riiif', '~> 1.0'
route "mount Riiif::Engine => '/images', as: 'riiif'"
copy_file 'config/initializers/riiif.rb'
end
def paper_trail