1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot.git synced 2022-11-09 11:43:51 -05:00
Commit graph

22 commits

Author SHA1 Message Date
Daniel Colson
aecc8a87ee
Bump version to v6.0.0 [ci skip] 2020-06-18 20:46:51 -04:00
Daniel Colson
0c75dc27cd Replace Rubocop with standard
Following an [update to the thoughtbot guide][guides PR], this commit
removes Rubocop and replaces it with [standard].

[guides PR]: https://github.com/thoughtbot/guides/pull/606
[standard]: https://github.com/testdouble/standard
2020-06-10 17:11:39 -04:00
Daniel Colson
102d7f7606 Prepare for factory_bot 6
Closes #1336

* removes all the deprecated methods
* removes Ruby 2.3, 2.4 and Rails 4.2 from travis
* bundle updates the test gemfiles
* Removes some pre-5.0 logic from a test helper
* Targets Ruby 2.5 with rubocop and fixes violations

We could also remove support for Rails 5.0 and 5.1, which are now EOL,
but I don't see a strong reason to do that. We don't seem to have to do
anything special to support those versions.
2020-05-01 17:43:10 -04:00
Daniel Colson
f7bceec321
Bump version to 5.2.0 2020-04-24 11:57:03 -04:00
Daniel Colson
3ea27df7a1
Bump version to 5.1.2 [ci skip] 2020-03-25 19:10:05 -04:00
Daniel Colson
4237f08682 Update all dev and test dependencies 2020-01-17 17:46:21 -05:00
Daniel Colson
2e48817bad
Bump version to 5.1.1 [ci skip] 2019-10-02 19:12:25 -04:00
Matijs van Zuijlen
24f6d212f5
Get default strategy registration working on JRuby
fixes #1331

The commit avoids a bug in JRuby, and adds JRuby back to the test matrix
so we can catch regressions in the future.
2019-10-02 18:56:58 -04:00
Oliver Peate
eabb1a35ee Switch from TimeCop to ActiveSupport::Testing::TimeHelpers
Removes a (development) dependency 🎉
2019-08-01 11:21:06 +01:00
Daniel Colson
4815b40729 Bump all dev and test dependencies 2019-06-21 11:36:38 -04:00
Daniel Colson
197947fc73 Test against latest versions of Rails 2019-04-25 00:31:27 -04:00
Daniel Colson
e4a49ce584
Bump version to 5.0.2 [ci skip] 2019-02-22 16:18:39 -05:00
Daniel Colson
72d11f3ffd Use the latest version of bundler 2019-02-11 22:47:18 -05:00
Daniel Colson
806ec9f6fe
Bump to version 5.0.0 [ci skip] 2019-01-31 20:10:29 -05:00
Daniel Colson
515af01ca9
Bump to version 5.0.0.rc2 2019-01-11 14:58:26 -05:00
Daniel Colson
e3c65b197c
Bump version to 5.0.0.rc1 [skip ci] 2019-01-05 22:00:45 -05:00
Daniel Colson
27edb29a96
Bump Ruby and Rails requirements in gemspec
factory\_bot 5 will only support Ruby 2.3 and higher, and Rails 4.2 and
higher. This includes all versions that have not yet reached EOL:

https://www.ruby-lang.org/en/downloads/branches/
https://guides.rubyonrails.org/maintenance_policy.html
2019-01-04 22:19:11 -05:00
Daniel Colson
70bc8e2d20
Update development dependencies
I consolidated all the development dependencies in the gemspec,
then ran `bundle update` and `appraisal install`.

I also got rid of unnecessary version constraints (I would rather just
the latest versions of things in development, and we can always add
constraints later if necessary), and removed the jruby-specific gems
since we aren't testing on jruby anymore.
2019-01-04 20:59:12 -05:00
Daniel Colson
f8a77dec25
Avoid yanked concurrent-ruby version
concurrent-ruby 1.1.0 seems to have been yanked,
causing our test suite to fail,
so I regenerated all the gemfile.locks with a versions that exists.
2018-11-15 08:04:46 -08:00
Daniel Colson
2ee8a2f99d Update Appraisals
Get rid of the deprecated appraisal rake tasks in favor of running
appraisal directly with `bundle exec appraisal rake`.

I also went ahead and updated all the gemfiles.
2018-10-31 15:35:35 -04:00
Daniel Colson
c2d82b2631 Update Appraisal Gemfile locks 2018-09-18 02:18:46 +00:00
Daniel Colson
3256842209
Test with Rails 5.2 (#1146)
* Appraise with Rails 5.2
* Drop specific tiny versions for Ruby

This will reduce churn on this file as we try to keep up to date with
TEENY Ruby releases.

Travis installs Ruby via rvm with the --fuzzy flag. They also keep up to
date with the latest releases, so --fuzzy will likely always give us the
latest TEENY release.
2018-06-17 09:08:17 -04:00