From 37b4a3c4f01e2a967815895f44bd2a75d2cc0cfd Mon Sep 17 00:00:00 2001 From: Takayuki Nakata Date: Mon, 26 Aug 2019 22:34:33 +0900 Subject: [PATCH] Fix docs to replace http with https in activerecord [ci skip] --- activerecord/lib/active_record/aggregations.rb | 2 +- activerecord/lib/active_record/fixtures.rb | 2 +- activerecord/lib/arel/nodes/join_source.rb | 2 +- activerecord/lib/arel/visitors/mysql.rb | 2 +- activerecord/test/cases/arel/visitors/mysql_test.rb | 2 +- activerecord/test/fixtures/tasks.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/activerecord/lib/active_record/aggregations.rb b/activerecord/lib/active_record/aggregations.rb index aa08124158..d9f64f8868 100644 --- a/activerecord/lib/active_record/aggregations.rb +++ b/activerecord/lib/active_record/aggregations.rb @@ -141,7 +141,7 @@ module ActiveRecord # converted to an instance of value class if necessary. # # For example, the +NetworkResource+ model has +network_address+ and +cidr_range+ attributes that should be - # aggregated using the +NetAddr::CIDR+ value class (http://www.rubydoc.info/gems/netaddr/1.5.0/NetAddr/CIDR). + # aggregated using the +NetAddr::CIDR+ value class (https://www.rubydoc.info/gems/netaddr/1.5.0/NetAddr/CIDR). # The constructor for the value class is called +create+ and it expects a CIDR address string as a parameter. # New values can be assigned to the value object using either another +NetAddr::CIDR+ object, a string # or an array. The :constructor and :converter options can be used to meet diff --git a/activerecord/lib/active_record/fixtures.rb b/activerecord/lib/active_record/fixtures.rb index e4b958f1b9..01d4881419 100644 --- a/activerecord/lib/active_record/fixtures.rb +++ b/activerecord/lib/active_record/fixtures.rb @@ -41,7 +41,7 @@ module ActiveRecord # separated by a blank line for your viewing pleasure. # # Note: Fixtures are unordered. If you want ordered fixtures, use the omap YAML type. - # See http://yaml.org/type/omap.html + # See https://yaml.org/type/omap.html # for the specification. You will need ordered fixtures when you have foreign key constraints # on keys in the same table. This is commonly needed for tree structures. Example: # diff --git a/activerecord/lib/arel/nodes/join_source.rb b/activerecord/lib/arel/nodes/join_source.rb index abf0944623..d65a9e6693 100644 --- a/activerecord/lib/arel/nodes/join_source.rb +++ b/activerecord/lib/arel/nodes/join_source.rb @@ -5,7 +5,7 @@ module Arel # :nodoc: all ### # Class that represents a join source # - # http://www.sqlite.org/syntaxdiagrams.html#join-source + # https://www.sqlite.org/syntaxdiagrams.html#join-source class JoinSource < Arel::Nodes::Binary def initialize(single_source, joinop = []) diff --git a/activerecord/lib/arel/visitors/mysql.rb b/activerecord/lib/arel/visitors/mysql.rb index 6cb866715f..80df6f0380 100644 --- a/activerecord/lib/arel/visitors/mysql.rb +++ b/activerecord/lib/arel/visitors/mysql.rb @@ -15,7 +15,7 @@ module Arel # :nodoc: all ### # :'( - # http://dev.mysql.com/doc/refman/5.0/en/select.html#id3482214 + # https://dev.mysql.com/doc/refman/5.0/en/select.html#id3482214 def visit_Arel_Nodes_SelectStatement(o, collector) if o.offset && !o.limit o.limit = Arel::Nodes::Limit.new(18446744073709551615) diff --git a/activerecord/test/cases/arel/visitors/mysql_test.rb b/activerecord/test/cases/arel/visitors/mysql_test.rb index 05dccd126e..66e94a83d5 100644 --- a/activerecord/test/cases/arel/visitors/mysql_test.rb +++ b/activerecord/test/cases/arel/visitors/mysql_test.rb @@ -15,7 +15,7 @@ module Arel ### # :'( - # http://dev.mysql.com/doc/refman/5.0/en/select.html#id3482214 + # https://dev.mysql.com/doc/refman/5.0/en/select.html#id3482214 it "defaults limit to 18446744073709551615" do stmt = Nodes::SelectStatement.new stmt.offset = Nodes::Offset.new(1) diff --git a/activerecord/test/fixtures/tasks.yml b/activerecord/test/fixtures/tasks.yml index c38b32b0e5..c4e94e1e5a 100644 --- a/activerecord/test/fixtures/tasks.yml +++ b/activerecord/test/fixtures/tasks.yml @@ -1,4 +1,4 @@ -# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html first_task: id: 1 starting: 2005-03-30t06:30:00.00+01:00