Skip to content

Commit

Permalink
Update RuboCop org for core
Browse files Browse the repository at this point in the history
  • Loading branch information
koic committed Feb 25, 2021
1 parent bc0a392 commit f2035ec
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ gemspec
gem 'bump', require: false
gem 'rake'
gem 'rspec'
gem 'rubocop', github: 'rubocop-hq/rubocop'
gem 'rubocop', github: 'rubocop/rubocop'
gem 'rubocop-performance', '~> 1.9.0'
gem 'rubocop-rspec', '~> 1.29.0'
gem 'simplecov'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Gem Version](https://badge.fury.io/rb/rubocop-rails.svg)](https://badge.fury.io/rb/rubocop-rails)
[![CircleCI](https://circleci.com/gh/rubocop-hq/rubocop-rails.svg?style=svg)](https://circleci.com/gh/rubocop-hq/rubocop-rails)

A [RuboCop](https://github.com/rubocop-hq/rubocop) extension focused on enforcing Rails best practices and coding conventions.
A [RuboCop](https://github.com/rubocop/rubocop) extension focused on enforcing Rails best practices and coding conventions.

Note: This repository manages rubocop-rails gem (>= 2.0.0). rubocop-rails gem (<= 1.5.0) has been renamed to [rubocop-rails_config](https://rubygems.org/gems/rubocop-rails_config) gem.

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/index.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
= RuboCop Rails

A https://github.com/rubocop-hq/rubocop[RuboCop] extension focused on enforcing Rails best practices and coding conventions.
A https://github.com/rubocop/rubocop[RuboCop] extension focused on enforcing Rails best practices and coding conventions.

It's based on the community-driven https://rails.rubystyle.guide[Rails style guide].
2 changes: 1 addition & 1 deletion legacy-docs/index.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
A [RuboCop](https://github.com/rubocop-hq/rubocop) extension focused on enforcing Rails best practices and coding conventions.
A [RuboCop](https://github.com/rubocop/rubocop) extension focused on enforcing Rails best practices and coding conventions.
2 changes: 1 addition & 1 deletion lib/rubocop/cop/rails/unknown_env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def message(name)
# DidYouMean::SpellChecker is not available in all versions of Ruby,
# and even on versions where it *is* available (>= 2.3), it is not
# always required correctly. So we do a feature check first. See:
# https://github.com/rubocop-hq/rubocop/issues/7979
# https://github.com/rubocop/rubocop/issues/7979
similar_names = if defined?(DidYouMean::SpellChecker)
spell_checker = DidYouMean::SpellChecker.new(dictionary: environments)
spell_checker.correct(name)
Expand Down
4 changes: 2 additions & 2 deletions spec/rubocop/cop/rails/blank_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
expect_no_offenses('foo.nil? || bar.empty?')
end

# Bug: https://github.com/rubocop-hq/rubocop/issues/4171
# Bug: https://github.com/rubocop/rubocop/issues/4171
it 'does not break when RHS of `or` is a naked falsiness check' do
expect_no_offenses('foo.empty? || bar')
end
Expand All @@ -40,7 +40,7 @@
expect_no_offenses('bar || foo.empty?')
end

# Bug: https://github.com/rubocop-hq/rubocop/issues/4814
# Bug: https://github.com/rubocop/rubocop/issues/4814
it 'does not break when LHS of `or` is a send node with an arugment' do
expect_no_offenses('x(1) || something')
end
Expand Down
2 changes: 1 addition & 1 deletion spec/rubocop/cop/rails/http_positional_arguments_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@
end

context 'when given a kwsplat hash' do
# See https://github.com/rubocop-hq/rubocop-rails/issues/352
# See https://github.com/rubocop/rubocop-rails/issues/352
it 'does not register an offense' do
expect_no_offenses(<<~RUBY)
[{ format: :json }, { format: :html }].each do |args|
Expand Down
2 changes: 1 addition & 1 deletion spec/rubocop/cop/rails/save_bang_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ def foo
RUBY
end

# Bug: https://github.com/rubocop-hq/rubocop/issues/4264
# Bug: https://github.com/rubocop/rubocop/issues/4264
it 'when using the assigned variable as value in a hash' do
if update
expect_no_offenses(<<~RUBY)
Expand Down

0 comments on commit f2035ec

Please sign in to comment.