Skip to content
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
4 changes: 3 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ require: rubocop-rspec

AllCops:
NewCops: enable
TargetRubyVersion: 2.5
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rubocop doesn't like it.

Gemspec/RequiredRubyVersion: required_ruby_version should be specified.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solved using this snippet in .rubocop.yml.

Gemspec/RequiredRubyVersion:
  Enabled: false


Gemspec/RequiredRubyVersion:
Enabled: false
1 change: 0 additions & 1 deletion crate_ruby.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ Gem::Specification.new do |spec|
spec.description = 'A Ruby library for the CrateDB HTTP interface with query support, DDL command and schema introspection shortcuts, and support for BLOB tables.'
spec.homepage = 'https://crate.io'
spec.license = 'Apache-2.0'
spec.required_ruby_version = '>= 2.5'

spec.files = Dir['lib/**/*']
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
Expand Down
Loading