Commit Graph

19 Commits

Author SHA1 Message Date
Neilson Carvalho 4eb5bb0b35
Update the contributing guide about GitHub Actions (#1477)
- Change links from Travis CI to GitHub Actions
- Add an explanation about first-time contributors needing approval
2022-01-19 10:25:02 -07:00
Neilson Carvalho 2410164308
Update references from master to main (#1476)
* Update references to `master` on documentation

The master branch has been renamed to main, but the docs
still reference it as master.

* Update the changelog URI

The changelog URI should be pointed to the main branch, where it is
updated. The master branch is archived and has not been updated since
version 5.0.0.

* Update the main branch on Github Actions config

Since shoulda-matchers 5.1.0, the main branch of the repository
is `main`.
2022-01-18 21:13:52 -03:00
Elliot Winkler be890a94a0 Update references to changelog in other docs
[ci skip]
2020-06-13 21:38:57 -06:00
Pedro Paiva b902a533df Fix appraisal command in CONTRIBUTING.md file (#1253) 2019-11-18 18:37:51 -08:00
Elliot Winkler 147ec58fa7 Update CONTRIBUTING and MAINTAINING
[ci skip]
2019-02-16 11:23:07 -07:00
Elliot Winkler f951455f0f Make some tweaks to CONTRIBUTING
[ci skip]
2018-11-01 00:50:00 -03:00
Elliot Winkler 94c1f6b75f Add a section on CI to CONTRIBUTING
[ci skip]
2018-11-01 00:50:00 -03:00
Julius Putra Tanu Setiaji 3ea200a039 Add instruction to run all tests in CONTRIBUTING (#1150)
This instruction existed before the last update to the document.
2018-10-20 16:01:41 -06:00
Elliot Winkler ff14d6ffc4 Update contributor docs, add maintainer docs
* Move section on documentation from README to CONTRIBUTING
* Add a setup script that contributors and maintainers can use to set up
  a dev environment

[skip ci]
2018-10-02 10:17:20 -03:00
Elliot Winkler 020c01a696 Update CONTRIBUTING
[ci skip]
2018-01-24 00:30:10 -06:00
Elliot Winkler 3ee734bb7e Speed up running unit tests with Zeus
This is an effort to vastly decrease the time it takes to run a single
unit test file and therefore increase productivity and happiness for
people working on this project.

If you want to run a unit test file, now you can use `zeus rspec`
instead of `rspec` -- assuming you run `zeus start` first -- and it will
run a LOT faster.

Because test files tend to have long file paths, you can even use a
shorter version of those paths. So instead of saying:

    zeus rspec spec/unit/shoulda/matchers/active_record/validate_uniqueness_of_matcher_spec.rb

you can say:

    zeus rspec active_record/validate_uniqueness_of_matcher_spec.rb
2015-12-13 20:22:21 -07:00
Elliot Winkler 15091726fe Improve contributing workflow
* Add missing steps to CONTRIBUTING and reorganize it a bit.
* `bundle exec rake` no longer runs all tests in all appraisals, only
  the tests in the latest appraisal.
* Add a `.ruby-version` file so people don't have to figure out which
  version of Ruby to install.

[ci skip]
2015-10-30 11:24:15 -06:00
Elliot Winkler a7c750ff33 Add Code of Conduct to CONTRIBUTING
[ci skip]
2015-04-15 11:10:21 -06:00
Elliot Winkler bc761ff193 Update CONTRIBUTING
* Make the headers smaller
* Don't ask people to update the documentation
* Don't install Ruby version globally, just install it locally

[ci skip]
2015-04-02 20:10:32 -06:00
Tristan Havelick 8efe20a0c4 Added dependency installation guide
includes steps for Debian- and RedHat-based systems
2015-04-02 19:59:14 -06:00
Elliot Winkler 19d628893c Update guide on CONTRIBUTING
As a contributor you're no longer required to add NEWS items. We'll do
that ourselves :)
2014-10-16 09:59:07 -06:00
Elliot Winkler 5c3fb37a14 Install appraisals before running the test suite
Currently, `rake` does run the `appraise` task before running tests. If
you run `rake appraise` on its own, it runs `rake appraise:install`
beforehand. However, the way that `rake` runs `appraise` is by
executing, not invoking, it. Hence, `appraisal:install` will actually
not be run (as #execute does not run dependencies for the task being
executed).

This fix is mostly useful when running tests locally -- on Travis this
isn't a problem b/c we are running `rake spec cucumber` instead of just
`rake`.
2014-02-22 14:46:55 -07:00
Melissa Xie 0209b3e48c Include step to update NEWS in contribution guidelines 2013-03-27 11:11:19 -04:00
Gabe Berke-Williams 76127ea45f Update contribution guidelines. 2012-03-18 20:39:15 -04:00