Skip to content

Commit 76e415d

Browse files
neilvcarvalhoJonRowe
authored andcommitted
Update GitHub URLs to the RSpec monorepo
The RSpec core gems, previously hosted in multiple repositores, were merged to a monorepo and their repositories were archived on Nov 30, 2024. `rspec-rails` still has a few references to the archived repos. This commit removes them from the README, and updates the existing links to the monorepo.
1 parent 8206936 commit 76e415d

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -365,9 +365,6 @@ you can run the specs and Cucumber features, or submit a pull request.
365365
### RSpec base libraries
366366

367367
* https://github.com/rspec/rspec
368-
* https://github.com/rspec/rspec-core
369-
* https://github.com/rspec/rspec-expectations
370-
* https://github.com/rspec/rspec-mocks
371368

372369
### Recommended third-party extensions
373370

benchmarks/before_block_capture_block_vs_yield.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ def capture_block_and_call_n_times(n, &block)
4242
example context.
4343

4444
rspec-core has already performed [many related benchmarks about
45-
this](https://github.com/rspec/rspec-core/tree/main/benchmarks):
45+
this](https://github.com/rspec/rspec/tree/main/rspec-core/benchmarks):
4646

47-
- [call vs yield](https://github.com/rspec/rspec-core/blob/main/benchmarks/call_v_yield.rb)
48-
- [capture block vs yield](https://github.com/rspec/rspec-core/blob/main/benchmarks/capture_block_vs_yield.rb)
49-
- [flat map vs inject](https://github.com/rspec/rspec-core/blob/main/benchmarks/flat_map_vs_inject.rb)
47+
- [call vs yield](https://github.com/rspec/rspec/blob/main/rspec-core/benchmarks/call_v_yield.rb)
48+
- [capture block vs yield](https://github.com/rspec/rspec/blob/main/rspec-core/benchmarks/capture_block_vs_yield.rb)
49+
- [flat map vs inject](https://github.com/rspec/rspec/blob/main/rspec-core/benchmarks/flat_map_vs_inject.rb)
5050

5151
The results are very interesting:
5252

@@ -64,7 +64,7 @@ def capture_block_and_call_n_times(n, &block)
6464
> See also `flat_map_vs_inject.rb`, which appears to contradict these
6565
> results a little bit.
6666
>
67-
> -- https://github.com/rspec/rspec-core/blob/main/benchmarks/capture_block_vs_yield.rb#L83-L95
67+
> -- https://github.com/rspec/rspec/blob/main/rspec-core/benchmarks/capture_block_vs_yield.rb#L83-L95
6868

6969
and
7070

@@ -75,7 +75,7 @@ def capture_block_and_call_n_times(n, &block)
7575
> version remains faster in my benchmarks here no matter how small
7676
> I shrink the `words` array. I'm not sure why!
7777
>
78-
> -- https://github.com/rspec/rspec-core/blob/main/benchmarks/flat_map_vs_inject.rb#L37-L42
78+
> -- https://github.com/rspec/rspec/blob/main/rspec-core/benchmarks/flat_map_vs_inject.rb#L37-L42
7979

8080
This seems to show that the error margin is enough to negate any benefit from
8181
capturing the block initially. It also shows that not capturing the block is

0 commit comments

Comments
 (0)