Skip to content

Commit 74e6656

Browse files
committed
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 77fdb4b commit 74e6656

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

README.md

-3
Original file line numberDiff line numberDiff line change
@@ -364,9 +364,6 @@ you can run the specs and Cucumber features, or submit a pull request.
364364
### RSpec base libraries
365365

366366
* https://github.com/rspec/rspec
367-
* https://github.com/rspec/rspec-core
368-
* https://github.com/rspec/rspec-expectations
369-
* https://github.com/rspec/rspec-mocks
370367

371368
### Recommended third-party extensions
372369

benchmarks/before_block_capture_block_vs_yield.rb

+6-6
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)