Skip to content

Commit

Permalink
Update rubocop requirement from ~> 0.86.0 to ~> 0.87.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.86.0...v0.87.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
  • Loading branch information
dependabot-preview[bot] authored and tagliala committed Jul 7, 2020
1 parent eedccaf commit 7d29276
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 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.86.0'
spec.add_development_dependency 'rubocop', '~> 0.87.0'
spec.add_development_dependency 'rubocop-performance', '~> 1.6'
spec.add_development_dependency 'rubocop-rails', '~> 2.6'
spec.add_development_dependency 'simplecov', '~> 0.18.5'
Expand Down
8 changes: 1 addition & 7 deletions test/action_view/models/post.rb
Expand Up @@ -6,7 +6,7 @@ class Post
include ActiveModel::Validations
include ActiveModel::Conversion

attr_accessor :title, :author_name, :body, :secret, :written_on, :cost
attr_accessor :title, :author_name, :body, :secret, :written_on, :cost, :comments, :comment_ids, :category, :category_id, :tags, :tag_ids

validates :cost, :body, presence: true
validates :body, length: { minimum: 200 }
Expand All @@ -25,15 +25,9 @@ def persisted?
false
end

attr_accessor :comments, :comment_ids

def comments_attributes=(attributes); end

attr_accessor :category, :category_id

def category_attributes=(attributes); end

attr_accessor :tags, :tag_ids

def tags_attributes=(attributes); end
end
2 changes: 1 addition & 1 deletion test/javascript/server.rb
Expand Up @@ -25,7 +25,7 @@ def call(env)
end

use AssetPath, urls: ['/vendor/assets/javascripts'], root: File.expand_path('../..', settings.root)
use AssetPath, urls: ['/vendor/assets/javascripts'], root: File.expand_path('../', $LOAD_PATH.find { |p| p =~ /jquery-rails/ })
use AssetPath, urls: ['/vendor/assets/javascripts'], root: File.expand_path('../', $LOAD_PATH.find { |p| p.include?('jquery-rails') })

DEFAULT_JQUERY_VERSION = '3.5.1'
QUNIT_VERSION = '2.9.2'
Expand Down

0 comments on commit 7d29276

Please sign in to comment.