1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00
Commit graph

17 commits

Author SHA1 Message Date
Josh Nichols
0a2bb55279
Update bin/setup to detect chruby installed from homebrew on M1 (#1483)
With Apple moving to M1, homebrew took the opportunity to change the
install location from /usr/local to /opt/homebrew

So check for /opt/homebrew in addition to /usr/local for a chruby.sh
2022-01-25 09:52:02 -07:00
Leo Arnold
05a6c37c06
Use bundler v2 in development (#1463)
Prior to this commit, the `Gemfile.lock` enforced the use of
Bundler v1.17.3 which was released in 2014.

On Ruby 3, this triggers the following deprecation warning:

```
/home/user/.rvm/gems/ruby-3.0.2@shoulda-matchers/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:118: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
```

Since the gem itself in v5.0.0 requires at least Ruby v2.6,
it seems fair to require a recent version of Bundler v2,
which in turn runs of every Ruby v2.3 or later.
2021-10-11 18:08:00 -03:00
Mateusz Swiszcz
0e8c059759 Add RVM (Ruby Version Manager) to setup 2021-03-07 23:06:50 -07:00
Pedro Paiva
3adbbf1317
Fix 'required_ruby_version: unbound variable' (#1373) 2020-12-01 22:35:25 -03:00
Elliot Winkler
74581c4238 Update setup script to install appraisals & fix Bundler 1.x check
[ci skip]
2020-08-23 15:11:34 -06:00
Elliot Winkler
540e7dfee7 Update setup script using latest setup_script_generator
Particularly, the setup script now not only works with asdf but also
prefers it over rbenv for installing Ruby.

[ci skip]
2020-06-13 23:28:20 -06:00
Bill Ruddock
4b7244ac2d Remove heroku from setup
Unused anywhere in this repo
2020-06-13 22:26:09 -06:00
Bill Ruddock
ccd539d726 Fix setup script for RedHat based linux
Use rpm= packages passed to install with yum.

Recognise yum in check-for-build-tools
2020-06-13 22:26:09 -06:00
Craig Buchek
b7b44a5013 Support for folks using chruby 2019-07-06 00:07:22 -06:00
Craig Buchek
892a912c67 Fix installation of Heroku when using Homebrew 2019-07-06 00:06:42 -06:00
Elliot Winkler
99577107bb Fix setup script so it runs all the way through 2019-05-31 00:12:10 -06:00
Elliot Winkler
2ade5e20ae Lock Bundler to 1.x
Bundler 2.0 was released recently, but none of our lockfiles are
associated with this version — they all refer to Bundler 1.x.
Unfortunately, Travis is now attempting to use Bundler 2.0 by default,
so we have to ensure that it is using the correct version as well.
2019-01-28 19:54:22 -07: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
Joe Ferris
6aca71765a Extracted the context framework, switched to rspec 2010-12-14 17:02:03 -05:00
Bob Showalter
abc3aa73a4 convert_to_shoulda_syntax: use Dir::tmpdir instead of hardcoded /tmp 2008-07-30 08:25:25 -04:00
Bob Showalter
630ce17443 convert_to_should_syntax: fix clobbering of test names; leave existing should names untouched; add test case 2008-07-30 08:25:25 -04:00
tsaleh
7a4202f9b8 Moved everthing to trunk
git-svn-id: https://svn.thoughtbot.com/plugins/tb_test_helpers/trunk@38 7bbfaf0e-4d1d-0410-9690-a8bb5f8ef2aa
2007-03-14 18:12:55 +00:00