Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update voxpupuli-rubocop requirement from ~> 1.2 to ~> 2.0 #139

Merged
merged 2 commits into from
Sep 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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