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

fix: Replace http with https [ci skip] #1340

Merged
merged 1 commit into from Aug 27, 2020
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
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
Expand Up @@ -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.
*/
Expand Down
@@ -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 %>" />
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion doc_config/yard/templates/default/layout/html/footer.erb
Expand Up @@ -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>
4 changes: 2 additions & 2 deletions doc_config/yard/templates/default/layout/html/layout.erb
@@ -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>
Expand Down
2 changes: 1 addition & 1 deletion lib/shoulda/matchers/action_controller/route_matcher.rb
Expand Up @@ -177,7 +177,7 @@ def normalize_path(path)

def add_port_to_path(path, port)
if port
"http://example.com:#{port}" + path
"https://example.com:#{port}" + path
else
path
end
Expand Down
12 changes: 6 additions & 6 deletions lib/shoulda/matchers/active_model/allow_value_matcher.rb
Expand Up @@ -18,14 +18,14 @@ module ActiveModel
#
# # 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
Expand All @@ -36,7 +36,7 @@ module ActiveModel
# # 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
#
Expand All @@ -48,7 +48,7 @@ module ActiveModel
#
# # 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').
Expand Down
Expand Up @@ -31,7 +31,7 @@ def message
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

Expand Down
Expand Up @@ -1109,7 +1109,7 @@ def message

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
Expand Down
2 changes: 1 addition & 1 deletion spec/support/unit/rails_application.rb
Expand Up @@ -116,7 +116,7 @@ def rails_new_command

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=)
Expand Down