diff --git a/.codeclimate.yml b/.codeclimate.yml index 924af099..08711550 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -4,16 +4,11 @@ plugins: enabled: true config: languages: - - ruby + - ruby fixme: enabled: true - rubocop: - enabled: true - # Check https://github.com/codeclimate/codeclimate-rubocop/branches/all?query=channel%2Frubocop - channel: rubocop-1-35-1 - exclude_patterns: -- spec/**/* -- certs/**/* + - spec/**/* + - certs/**/* diff --git a/Gemfile b/Gemfile index 741df2a3..e886d722 100644 --- a/Gemfile +++ b/Gemfile @@ -16,9 +16,8 @@ unless ENV["NO_STEEP"] == "1" end group :test do - # Lock rubocop to a specific version we use on CI. If you update this, - # don't forget to switch rubocop channel in the .codeclimate.yml - gem "rubocop", "= 1.35.1" + # Ruby Style Guide, with linter & automatic code fixer + gem "standard" # Cops for rails apps gem "rubocop-rails" # Cops for rake tasks diff --git a/README.md b/README.md index 80d1b9da..d02151e7 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ [![CircleCI](https://circleci.com/gh/kpumuk/meta-tags.svg?style=shield)](https://circleci.com/gh/kpumuk/meta-tags) [![Gem Version](https://badge.fury.io/rb/meta-tags.svg)](https://badge.fury.io/rb/meta-tags) +[![Ruby Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://github.com/testdouble/standard) [![Code Climate](https://codeclimate.com/github/kpumuk/meta-tags/badges/gpa.svg)](https://codeclimate.com/github/kpumuk/meta-tags) [![Test Coverage](https://codeclimate.com/github/kpumuk/meta-tags/badges/coverage.svg)](https://codeclimate.com/github/kpumuk/meta-tags/coverage) [![Gem Downloads](https://img.shields.io/gem/dt/meta-tags.svg)](https://badge.fury.io/rb/meta-tags) diff --git a/meta-tags.gemspec b/meta-tags.gemspec index da773af9..9519946c 100644 --- a/meta-tags.gemspec +++ b/meta-tags.gemspec @@ -28,7 +28,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency "rake", "~> 13.0" spec.add_development_dependency "rspec", "~> 3.11.0" spec.add_development_dependency "rspec-html-matchers", "~> 0.10.0" - spec.add_development_dependency "standard", "~> 1.16.1" + spec.add_development_dependency "standard", "~> 1.18.1" spec.cert_chain = ["certs/kpumuk.pem"] spec.signing_key = File.expand_path("~/.ssh/gem-kpumuk.pem") if $PROGRAM_NAME.end_with?("gem")