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 GitHub repo URLs #1142

Merged
merged 1 commit into from Apr 17, 2021
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/CONTRIBUTING.md
@@ -1,6 +1,6 @@
# Contributing

If you encounter problems or have ideas for improvements or new features, please report them to the [issue tracker](https://github.com/rubocop-hq/rubocop-rspec/issues) or submit a pull request. Please, try to follow these guidelines when you do so.
If you encounter problems or have ideas for improvements or new features, please report them to the [issue tracker](https://github.com/rubocop/rubocop-rspec/issues) or submit a pull request. Please, try to follow these guidelines when you do so.

## Issue reporting

Expand All @@ -18,7 +18,7 @@ If you encounter problems or have ideas for improvements or new features, please
2. Create a feature branch.
3. Make sure to add tests.
4. Make sure the test suite passes (run `rake`).
5. Add a [changelog](https://github.com/rubocop-hq/rubocop-rspec/blob/master/CHANGELOG.md) entry.
5. Add a [changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md) entry.
6. Commit your changes.
7. Push to the branch.
8. Create new Pull Request.
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Expand Up @@ -15,7 +15,7 @@ AllCops:
- 'tmp/**/*'
- 'spec/smoke_tests/**/*.rb'

# See https://github.com/rubocop-hq/rubocop/issues/6410
# See https://github.com/rubocop/rubocop/issues/6410
Layout/HashAlignment:
Enabled: false

Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -7,7 +7,7 @@
[![Maintainability](https://api.codeclimate.com/v1/badges/8ffaabf633c968c22bdd/maintainability)](https://codeclimate.com/github/rubocop-hq/rubocop-rspec/maintainability)

RSpec-specific analysis for your projects, as an extension to
[RuboCop](https://github.com/rubocop-hq/rubocop).
[RuboCop](https://github.com/rubocop/rubocop).

## Installation

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/index.adoc
@@ -1,7 +1,7 @@
= RuboCop RSpec

RSpec-specific analysis for your projects, as an extension to
https://github.com/rubocop-hq/rubocop[RuboCop].
https://github.com/rubocop/rubocop[RuboCop].

RuboCop RSpec follows the https://docs.rubocop.org/rubocop/versioning.html[RuboCop versioning guide].
In a nutshell, between major versions new cops are introduced in a special `pending` status.
Expand Down
14 changes: 7 additions & 7 deletions docs/modules/ROOT/pages/upgrade_to_version_2.adoc
Expand Up @@ -66,7 +66,7 @@ RSpec/EmptyExampleGroup:
Enabled: false
----

https://github.com/rubocop-hq/rubocop/pull/8490[Learn more about this change].
https://github.com/rubocop/rubocop/pull/8490[Learn more about this change].


=== Use the RuboCop standard `Include` option to filter inspected files
Expand All @@ -93,7 +93,7 @@ RSpec/FactoryBot:

NOTE: Please keep in mind that `Include`’s merge mode is set to override the default settings, so if you intend to add a path while keeping the default paths, you should include the default `Include` paths in your configuration.

https://github.com/rubocop-hq/rubocop-rspec/pull/1063[Learn more about this change].
https://github.com/rubocop/rubocop-rspec/pull/1063[Learn more about this change].

== Custom Cop Update Guide

Expand Down Expand Up @@ -130,7 +130,7 @@ module RuboCop
class FightPowerty < Base
----

https://github.com/rubocop-hq/rubocop-rspec/pull/962[Example pull request].
https://github.com/rubocop/rubocop-rspec/pull/962[Example pull request].


=== Replace `TopLevelDescribe`
Expand All @@ -143,7 +143,7 @@ There’s no need yet for `on_top_level_shared_group` for RuboCop core cops, but
Additionally, `single_top_level_describe?` is removed with no direct replacement.
You may use `top_level_groups` query method instead, e.g. `top_level_groups.one?`.

Example pull requests to replace `TopLevelDescribe` with `TopLevelGroup` [https://github.com/rubocop-hq/rubocop-rspec/pull/978[1], https://github.com/rubocop-hq/rubocop-rspec/pull/932[2], https://github.com/rubocop-hq/rubocop-rspec/pull/977[3]].
Example pull requests to replace `TopLevelDescribe` with `TopLevelGroup` [https://github.com/rubocop/rubocop-rspec/pull/978[1], https://github.com/rubocop/rubocop-rspec/pull/932[2], https://github.com/rubocop/rubocop-rspec/pull/977[3]].


=== Change the `Language` Module Usages
Expand Down Expand Up @@ -216,7 +216,7 @@ Examples::EXAMPLES
Examples.regular
----

https://github.com/rubocop-hq/rubocop-rspec/pull/956[Pull request with more examples].
https://github.com/rubocop/rubocop-rspec/pull/956[Pull request with more examples].

=== Always call `super` from `on_new_investigation` in your cops

Expand All @@ -240,7 +240,7 @@ module RuboCop
end
----

https://github.com/rubocop-hq/rubocop-rspec/pull/956[Pull request with more examples].
https://github.com/rubocop/rubocop-rspec/pull/956[Pull request with more examples].

=== Use `:config` RSpec metadata in cop specs

Expand All @@ -264,7 +264,7 @@ RSpec.describe 'MyMightyCop', :config do
end
----

https://github.com/rubocop-hq/rubocop/blob/51ff1d7e29c985732fe129082c98d66c531a2611/lib/rubocop/rspec/shared_contexts.rb#L56[RuboCop takes care of defining everything for your cop specs].
https://github.com/rubocop/rubocop/blob/51ff1d7e29c985732fe129082c98d66c531a2611/lib/rubocop/rspec/shared_contexts.rb#L56[RuboCop takes care of defining everything for your cop specs].

=== Conform with RuboCop API Changes

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/usage.adoc
Expand Up @@ -72,7 +72,7 @@ RSpec:

NOTE: the default merge mode is to inherit, so you won't remove any of the default settings.

RuboCop RSpec's https://github.com/rubocop-hq/rubocop-rspec/blob/a43424527c09fae2e6ddb133f4b2988f6c46bb2e/config/default.yml#L6[default configuration] is a good source of information on what can be configured.
RuboCop RSpec's https://github.com/rubocop/rubocop-rspec/blob/a43424527c09fae2e6ddb133f4b2988f6c46bb2e/config/default.yml#L6[default configuration] is a good source of information on what can be configured.

== Command line

Expand Down
2 changes: 1 addition & 1 deletion lib/rubocop/cop/rspec/described_class_module_wrapping.rb
Expand Up @@ -18,7 +18,7 @@ module RSpec
# # ...
# end
#
# @see https://github.com/rubocop-hq/rubocop-rspec/issues/735
# @see https://github.com/rubocop/rubocop-rspec/issues/735
class DescribedClassModuleWrapping < Base
MSG = 'Avoid opening modules and defining specs within them.'

Expand Down
4 changes: 2 additions & 2 deletions rubocop-rspec.gemspec
Expand Up @@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
Code style checking for RSpec files.
A plugin for the RuboCop code style enforcing & linting tool.
DESCRIPTION
spec.homepage = 'https://github.com/rubocop-hq/rubocop-rspec'
spec.homepage = 'https://github.com/rubocop/rubocop-rspec'
spec.authors = ['John Backus', 'Ian MacLeod', 'Nils Gemeinhardt']
spec.email = [
'johncbackus@gmail.com',
Expand All @@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
spec.extra_rdoc_files = ['MIT-LICENSE.md', 'README.md']

spec.metadata = {
'changelog_uri' => 'https://github.com/rubocop-hq/rubocop-rspec/blob/master/CHANGELOG.md',
'changelog_uri' => 'https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md',
'documentation_uri' => 'https://docs.rubocop.org/rubocop-rspec/'
}

Expand Down