Merge pull request #50630 from skipkayhil/hm-doc-branch-renames

Fix links to master branches renamed to main [ci-skip]
This commit is contained in:
Hartley McGuire 2024-01-07 12:45:40 -05:00 committed by GitHub
commit 9e8132621e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -85,7 +85,7 @@ module ActionDispatch # :nodoc:
}.freeze
# List of available permissions can be found at
# https://github.com/w3c/webappsec-permissions-policy/blob/master/features.md#policy-controlled-features
# https://github.com/w3c/webappsec-permissions-policy/blob/main/features.md#policy-controlled-features
DIRECTIVES = {
accelerometer: "accelerometer",
ambient_light_sensor: "ambient-light-sensor",

View File

@ -66,7 +66,7 @@ Spring is running:
```
Have a look at the
[Spring README](https://github.com/rails/spring/blob/master/README.md) to
[Spring README](https://github.com/rails/spring/blob/main/README.md) to
see all available features.
See the [Upgrading Ruby on Rails](upgrading_ruby_on_rails.html#spring)

View File

@ -290,7 +290,7 @@ google:
gsa_email: "foobar@baz.iam.gserviceaccount.com"
```
Add the [`google-cloud-storage`](https://github.com/GoogleCloudPlatform/google-cloud-ruby/tree/master/google-cloud-storage) gem to your `Gemfile`:
Add the [`google-cloud-storage`](https://github.com/GoogleCloudPlatform/google-cloud-ruby/tree/main/google-cloud-storage) gem to your `Gemfile`:
```ruby
gem "google-cloud-storage", "~> 1.11", require: false

View File

@ -1023,7 +1023,7 @@ Making Your Library or Gem a Pre-Processor
Sprockets uses Processors, Transformers, Compressors, and Exporters to extend
Sprockets functionality. Have a look at
[Extending Sprockets](https://github.com/rails/sprockets/blob/master/guides/extending_sprockets.md)
[Extending Sprockets](https://github.com/rails/sprockets/blob/main/guides/extending_sprockets.md)
to learn more. Here we registered a preprocessor to add a comment to the end
of text/css (`.css`) files.

View File

@ -1693,7 +1693,7 @@ assert_select "ol" do
end
```
This assertion is quite powerful. For more advanced usage, refer to its [documentation](https://github.com/rails/rails-dom-testing/blob/master/lib/rails/dom/testing/assertions/selector_assertions.rb).
This assertion is quite powerful. For more advanced usage, refer to its [documentation](https://github.com/rails/rails-dom-testing/blob/main/lib/rails/dom/testing/assertions/selector_assertions.rb).
### Additional View-Based Assertions