Skip to content

Commit

Permalink
Update rubocop requirement from ~> 0.92.0 to ~> 0.93.0
Browse files Browse the repository at this point in the history
Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v0.92.0...v0.93.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
  • Loading branch information
dependabot-preview[bot] authored and tagliala committed Oct 9, 2020
1 parent 4e4d534 commit b879d35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client_side_validations.gemspec
Expand Up @@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'minitest', '~> 5.14'
spec.add_development_dependency 'mocha', '~> 1.11'
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rubocop', '~> 0.92.0'
spec.add_development_dependency 'rubocop', '~> 0.93.0'
spec.add_development_dependency 'rubocop-performance', '~> 1.8'
spec.add_development_dependency 'rubocop-rails', '~> 2.8'
spec.add_development_dependency 'simplecov', '>= 0.18.5', '< 0.20'
Expand Down
Expand Up @@ -4,7 +4,7 @@ module ClientSideValidations
module Generators
class CopyAssetsGenerator < Rails::Generators::Base
def copy_javascript_asset
return unless self.class == CopyAssetsGenerator || copy_assets?
return unless instance_of?(CopyAssetsGenerator) || copy_assets?

assets.each do |asset|
source_paths << asset[:path]
Expand Down

0 comments on commit b879d35

Please sign in to comment.