fix: Replace http with https [ci skip]

This commit is contained in:
Kapil Sachdev 2020-08-28 00:49:49 +05:30 committed by Elliot Winkler
parent b737849c86
commit 09bbc409ee
12 changed files with 19 additions and 19 deletions

View File

@ -1241,7 +1241,7 @@ raised exceptions.
* `delegate_method`
For more information about 2.0 changes, see:
<http://robots.thoughtbot.com/post/47031676783/shoulda-matchers-2-0>.
<https://robots.thoughtbot.com/post/47031676783/shoulda-matchers-2-0>.
## 1.5.6 - 2013-03-29

View File

@ -24,7 +24,7 @@ complex, and error-prone.
📖 **[Read the documentation for the latest version][rubydocs].**
📢 **[See what's changed in recent versions][changelog].**
[rubydocs]: http://matchers.shoulda.io/docs
[rubydocs]: https://matchers.shoulda.io/docs
[changelog]: CHANGELOG.md
## Table of contents
@ -480,7 +480,7 @@ For Ruby < 2.4 and Rails < 4.1 compatibility, please use [v3.1.3][v3.1.3].
## Versioning
Shoulda Matchers follows Semantic Versioning 2.0 as defined at
<http://semver.org>.
<https://semver.org>.
## Team

View File

@ -3,7 +3,7 @@
*
* Copyright 2013 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
* https://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
*/

View File

@ -1,5 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<%= charset %>" />

File diff suppressed because one or more lines are too long

View File

@ -2,5 +2,5 @@
Generated on
<%= Time.now.strftime("%B %-d, %Y") %>
by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">YARD</a>.
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">YARD</a>.
</div>

View File

@ -1,6 +1,6 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="https://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<%= erb(:headers) %>
</head>

View File

@ -177,7 +177,7 @@ module Shoulda
def add_port_to_path(path, port)
if port
"http://example.com:#{port}" + path
"https://example.com:#{port}" + path
else
path
end

View File

@ -18,14 +18,14 @@ module Shoulda
#
# # RSpec
# RSpec.describe UserProfile, type: :model do
# it { should allow_value('http://foo.com').for(:website_url) }
# it { should allow_value('http://bar.com').for(:website_url) }
# it { should allow_value('https://foo.com').for(:website_url) }
# it { should allow_value('https://bar.com').for(:website_url) }
# end
#
# # Minitest (Shoulda)
# class UserProfileTest < ActiveSupport::TestCase
# should allow_value('http://foo.com').for(:website_url)
# should allow_value('http://bar.com').for(:website_url)
# should allow_value('https://foo.com').for(:website_url)
# should allow_value('https://bar.com').for(:website_url)
# end
#
# You can also test multiple values in one go, if you like. In the
@ -36,7 +36,7 @@ module Shoulda
# # RSpec
# RSpec.describe UserProfile, type: :model do
# it do
# should allow_values('http://foo.com', 'http://bar.com').
# should allow_values('https://foo.com', 'https://bar.com').
# for(:website_url)
# end
#
@ -48,7 +48,7 @@ module Shoulda
#
# # Minitest (Shoulda)
# class UserProfileTest < ActiveSupport::TestCase
# should allow_values('http://foo.com', 'http://bar.com/baz').
# should allow_values('https://foo.com', 'https://bar.com/baz').
# for(:website_url)
#
# should_not allow_values('foo', 'buz').

View File

@ -31,7 +31,7 @@ need to do something different.
If you need help, feel free to ask a question on the shoulda-matchers
issues list:
http://github.com/thoughtbot/shoulda-matchers/issues
https://github.com/thoughtbot/shoulda-matchers/issues
MESSAGE
end

View File

@ -1109,7 +1109,7 @@ b) If you meant for the validation to be case-insensitive, then you need to
For more information, please see:
http://matchers.shoulda.io/docs/v#{Shoulda::Matchers::VERSION}/file.NonCaseSwappableValueError.html
https://matchers.shoulda.io/docs/v#{Shoulda::Matchers::VERSION}/file.NonCaseSwappableValueError.html
MESSAGE
end
end

View File

@ -116,7 +116,7 @@ module UnitTests
def fix_available_locales_warning
# See here for more on this:
# http://stackoverflow.com/questions/20361428/rails-i18n-validation-deprecation-warning
# https://stackoverflow.com/questions/20361428/rails-i18n-validation-deprecation-warning
fs.transform('config/application.rb') do |lines|
lines.insert(-3, <<-EOT)
if I18n.respond_to?(:enforce_available_locales=)