Skip to content

Commit 453507b

Browse files
authored
Merge pull request #827 from nickcampbell18/https-rubydoc
Rubydoc.info links should use HTTPS
2 parents abdb94a + 77b297c commit 453507b

File tree

8 files changed

+157
-157
lines changed

8 files changed

+157
-157
lines changed

config/default.yml

Lines changed: 76 additions & 76 deletions
Large diffs are not rendered by default.

lib/rubocop/cop/rspec/capybara/current_path_expectation.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module RSpec
66
module Capybara
77
# Checks that no expectations are set on Capybara's `current_path`.
88
#
9-
# The `have_current_path` matcher (http://www.rubydoc.info/github/
9+
# The `have_current_path` matcher (https://www.rubydoc.info/github/
1010
# teamcapybara/capybara/master/Capybara/RSpecMatchers#have_current_path-
1111
# instance_method) should be used on `page` to set expectations on
1212
# Capybara's current path, since it uses Capybara's waiting

lib/rubocop/rspec/config_formatter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module RSpec
77
# Builds a YAML config file from two config hashes
88
class ConfigFormatter
99
NAMESPACES = /^(RSpec|Capybara|FactoryBot|Rails)/.freeze
10-
STYLE_GUIDE_BASE_URL = 'http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/'
10+
STYLE_GUIDE_BASE_URL = 'https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/'
1111

1212
def initialize(config, descriptions)
1313
@config = config

manual/cops_capybara.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Enabled | Yes
88

99
Checks that no expectations are set on Capybara's `current_path`.
1010

11-
The `have_current_path` matcher (http://www.rubydoc.info/github/
11+
The `have_current_path` matcher (https://www.rubydoc.info/github/
1212
teamcapybara/capybara/master/Capybara/RSpecMatchers#have_current_path-
1313
instance_method) should be used on `page` to set expectations on
1414
Capybara's current path, since it uses Capybara's waiting
@@ -30,7 +30,7 @@ expect(page).to have_current_path(/widgets/)
3030

3131
### References
3232

33-
* [http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Capybara/CurrentPathExpectation](http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Capybara/CurrentPathExpectation)
33+
* [https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Capybara/CurrentPathExpectation](https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Capybara/CurrentPathExpectation)
3434

3535
## Capybara/FeatureMethods
3636

@@ -86,4 +86,4 @@ EnabledMethods | `[]` | Array
8686

8787
### References
8888

89-
* [http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Capybara/FeatureMethods](http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Capybara/FeatureMethods)
89+
* [https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Capybara/FeatureMethods](https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Capybara/FeatureMethods)

manual/cops_factorybot.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ count { 1 }
3232

3333
### References
3434

35-
* [http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FactoryBot/AttributeDefinedStatically](http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FactoryBot/AttributeDefinedStatically)
35+
* [https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FactoryBot/AttributeDefinedStatically](https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FactoryBot/AttributeDefinedStatically)
3636

3737
## FactoryBot/CreateList
3838

@@ -76,4 +76,4 @@ EnforcedStyle | `create_list` | `create_list`, `n_times`
7676

7777
### References
7878

79-
* [http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FactoryBot/CreateList](http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FactoryBot/CreateList)
79+
* [https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FactoryBot/CreateList](https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FactoryBot/CreateList)

manual/cops_rails.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ EnforcedStyle | `symbolic` | `numeric`, `symbolic`
4545

4646
### References
4747

48-
* [http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Rails/HttpStatus](http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Rails/HttpStatus)
48+
* [https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Rails/HttpStatus](https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Rails/HttpStatus)

0 commit comments

Comments
 (0)