Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 7ef225c

Browse files
committed
Set branch references to main
1 parent 461d7f6 commit 7ef225c

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ test case. To make this process easier, we have prepared one basic
4141

4242
Maintenance branches are how we manage the different supported point releases
4343
of RSpec. As such, while they might look like good candidates to merge into
44-
master, please do not open pull requests to merge them.
44+
main, please do not open pull requests to merge them.

Changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
### Development
2-
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.9.1...master)
2+
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.9.1...main)
33

44
Enhancements:
55
* Add the ability to set a custom error generator in `MessageExpectation`.

DEVELOPMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The rspec-dev project contains many rake tasks for helping manage
5151
an RSpec development environment, making it easy to do things like:
5252

5353
* Change branches across all repos
54-
* Update all repos with the latest code from `master`
54+
* Update all repos with the latest code from `main`
5555
* Cut a new release across all repos
5656
* Push out updated build scripts to all repos
5757

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RSpec Mocks [![Build Status](https://secure.travis-ci.org/rspec/rspec-mocks.svg?branch=master)](http://travis-ci.org/rspec/rspec-mocks) [![Code Climate](https://codeclimate.com/github/rspec/rspec-mocks.svg)](https://codeclimate.com/github/rspec/rspec-mocks)
1+
# RSpec Mocks [![Build Status](https://secure.travis-ci.org/rspec/rspec-mocks.svg?branch=main)](http://travis-ci.org/rspec/rspec-mocks) [![Code Climate](https://codeclimate.com/github/rspec/rspec-mocks.svg)](https://codeclimate.com/github/rspec/rspec-mocks)
22
rspec-mocks is a test-double framework for rspec with support for method stubs,
33
fakes, and message expectations on generated test-doubles and real objects
44
alike.
@@ -8,12 +8,12 @@ alike.
88
gem install rspec # for rspec-core, rspec-expectations, rspec-mocks
99
gem install rspec-mocks # for rspec-mocks only
1010

11-
Want to run against the `master` branch? You'll need to include the dependent
11+
Want to run against the `main` branch? You'll need to include the dependent
1212
RSpec repos as well. Add the following to your `Gemfile`:
1313

1414
```ruby
1515
%w[rspec-core rspec-expectations rspec-mocks rspec-support].each do |lib|
16-
gem lib, :git => "https://github.com/rspec/#{lib}.git", :branch => 'master'
16+
gem lib, :git => "https://github.com/rspec/#{lib}.git", :branch => 'main'
1717
end
1818
```
1919
## Contributing
@@ -53,7 +53,7 @@ book = instance_double("Book", :pages => 250)
5353
Verifying doubles have some clever tricks to enable you to both test in
5454
isolation without your dependencies loaded while still being able to validate
5555
them against real objects. More detail is available in [their
56-
documentation](https://github.com/rspec/rspec-mocks/blob/master/features/verifying_doubles).
56+
documentation](https://github.com/rspec/rspec-mocks/blob/main/features/verifying_doubles).
5757

5858
Verifying doubles can also accept custom identifiers, just like double(), e.g.:
5959

@@ -403,7 +403,7 @@ your code.
403403
## Stubbing and Hiding Constants
404404

405405
See the [mutating constants
406-
README](https://github.com/rspec/rspec-mocks/blob/master/features/mutating_constants/README.md)
406+
README](https://github.com/rspec/rspec-mocks/blob/main/features/mutating_constants/README.md)
407407
for info on this feature.
408408

409409
## Use `before(:example)`, not `before(:context)`

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ version: "{build}"
88
# and once for the merge commit that github creates for each mergable PR.
99
branches:
1010
only:
11-
- master
11+
- main
1212
- /.*-maintenance$/
1313

1414
# Disable normal Windows builds in favor of our test script.

0 commit comments

Comments
 (0)