Skip to content

Commit

Permalink
Merge pull request #811 from DavyJonesLocker/dependabot/bundler/ruboc…
Browse files Browse the repository at this point in the history
…op-tw-0.93.0

Update rubocop requirement from ~> 0.92.0 to ~> 0.93.0
  • Loading branch information
tagliala authored Oct 9, 2020
2 parents 4e4d534 + b879d35 commit 31e1e4a
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 31e1e4a

Please sign in to comment.