Skip to content

Commit

Permalink
Merge pull request #139 from voxpupuli/dependabot/bundler/voxpupuli-r…
Browse files Browse the repository at this point in the history
…ubocop-tw-2.0

Update voxpupuli-rubocop requirement from ~> 1.2 to ~> 2.0
  • Loading branch information
bastelfreak committed Sep 15, 2023
2 parents 3f2907e + 2d0c22a commit 8a3e0f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2023-09-15 11:12:25 UTC using RuboCop version 1.54.2.
# on 2023-09-15 14:22:01 UTC using RuboCop version 1.54.2.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
Expand Down
2 changes: 1 addition & 1 deletion lib/metadata_json_lint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def parse(metadata)
# Validate basic structure against JSON schema
schema_errors = Schema.new.validate(parsed)
schema_errors.each do |err|
error (err[:field] == 'root' ? :required_fields : err[:field]), err[:message]
error ((err[:field] == 'root') ? :required_fields : err[:field]), err[:message]
end

validate_dependencies!(parsed['dependencies']) if parsed['dependencies']
Expand Down
2 changes: 1 addition & 1 deletion metadata-json-lint.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ Gem::Specification.new do |s|
s.add_runtime_dependency 'spdx-licenses', '~> 1.0'
s.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
s.add_development_dependency 'rspec', '~> 3.12'
s.add_development_dependency 'voxpupuli-rubocop', '~> 1.2'
s.add_development_dependency 'voxpupuli-rubocop', '~> 2.0'
end

0 comments on commit 8a3e0f7

Please sign in to comment.