Home

Awesome

Real-world RSpec

Real-world open source codebases using RSpec for developers to learn from

Thank you to every developer who has worked on a project this repo links to, your work is helping developers learn RSpec.

Installation

# Clone this git repo:
git clone git@github.com:pirj/real-world-rspec.git

cd real-world-rspec

# This will take some time...
git submodule update --init --remote --checkout --single-branch --depth 1

To speed this process up, you can tell git to fetch several repositories in parallel:

git config [--global] submodule.fetchJobs 4

Updating

The repositories are linked as git submodules.

To check out the latest the revisions, run:

# This will take some time:
git submodule update --remote --checkout --single-branch --depth 1

Other Real World codebase collections

Contribute

Contributions are welcome! Reach out if you'd like some help.

Is your repository the right fit?

Don't hesitate to submit a pull request if you meet the criteria! Also don't hesitate to submit a pull request to remove a repository if it doesn't meet the criteria anymore.

How to include a new repository

For a repo fooser/baretory:

git submodule add --depth 1 -- git@github.com:fooser/baretory.git

How to remove a repository

Some repositories disappear from public, or are renamed improperly (without a redirect). To remove a submodule:

git rm -r path-to-submodule
rm -rf .git/modules/path-to-submodule

Contributors

Phil Pirozhkov https://fili.pp.ru