Skip to content

Commit

Permalink
all rubocop violations fixed; all specs passing
Browse files Browse the repository at this point in the history
  • Loading branch information
ebenenglish committed May 27, 2020
1 parent 7578aa9 commit d71a96b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .rubocop.yml
Expand Up @@ -66,6 +66,10 @@ RSpec/DescribeClass:
Exclude:
- 'spec/system/*'

RSpec/FilePath:
Exclude:
- 'spec/lib/blacklight/maps/*'

RSpec/MessageSpies:
EnforcedStyle: receive

Expand Down
5 changes: 2 additions & 3 deletions lib/generators/blacklight_maps/install_generator.rb
Expand Up @@ -21,9 +21,8 @@ def assets

marker = '//= require blacklight/blacklight'
insert_into_file 'app/assets/javascripts/application.js', after: marker do
"\n//" \
'// Required by BlacklightMaps' \
'//= require blacklight-maps'
"\n// Required by BlacklightMaps" \
"\n//= require blacklight-maps"
end
append_to_file 'config/initializers/assets.rb',
"\nRails.application.config.assets.paths << Rails.root.join('vendor', 'assets', 'images')\n"
Expand Down

0 comments on commit d71a96b

Please sign in to comment.