From 580e1d621a257d79c64ab7f847ac1f244609f949 Mon Sep 17 00:00:00 2001 From: Hartley McGuire Date: Sun, 7 Jan 2024 12:30:51 -0500 Subject: [PATCH] Fix links to master branches renamed to main We recently had [two][1] [PRs][2] to update these types of links, so this commit does all of the rest (remaining links to master branches were checked and still exist). [1]: e76c52a939dd7312fb9fd22b08e13496dc5c961e [2]: a2ed3437e3be1e4dee4d1dac3c51a3b8742044ff --- actionpack/lib/action_dispatch/http/permissions_policy.rb | 2 +- guides/source/4_1_release_notes.md | 2 +- guides/source/active_storage_overview.md | 2 +- guides/source/asset_pipeline.md | 2 +- guides/source/testing.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/actionpack/lib/action_dispatch/http/permissions_policy.rb b/actionpack/lib/action_dispatch/http/permissions_policy.rb index 89ec3141a85..261564fd0af 100644 --- a/actionpack/lib/action_dispatch/http/permissions_policy.rb +++ b/actionpack/lib/action_dispatch/http/permissions_policy.rb @@ -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", diff --git a/guides/source/4_1_release_notes.md b/guides/source/4_1_release_notes.md index cd30d7669de..afd46928dfe 100644 --- a/guides/source/4_1_release_notes.md +++ b/guides/source/4_1_release_notes.md @@ -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) diff --git a/guides/source/active_storage_overview.md b/guides/source/active_storage_overview.md index 70faa851757..a12493027b9 100644 --- a/guides/source/active_storage_overview.md +++ b/guides/source/active_storage_overview.md @@ -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 diff --git a/guides/source/asset_pipeline.md b/guides/source/asset_pipeline.md index 13c499df5ed..46875d29547 100644 --- a/guides/source/asset_pipeline.md +++ b/guides/source/asset_pipeline.md @@ -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. diff --git a/guides/source/testing.md b/guides/source/testing.md index 198861a8df0..009a2d119ab 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -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