1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot_rails.git synced 2022-11-09 11:49:18 -05:00
Commit graph

33 commits

Author SHA1 Message Date
Daniel Colson
75d1f68d12 Stop testing old Ruby and Rails versions
Ruby 2.1 and 2.2 are no longer maintained, and Rails 3.2 and 4.2 are no
longer maintained, so I don't want to go out of our way to continue
supporting them in FactoryBot 5+. Hooray for faster test runs!
2018-09-08 01:48:42 +00:00
Daniel Colson
c9fc696325
Test against Rails 5.1 and 5.2 (#278)
- Add Rails 5.1 and 5.2 to Appraisal
- Avoid running combinations we know are going to fail by moving to
"exclude" instead of "allow_failures"
- Use updated migration class for Rails 5.1+
2018-06-22 13:33:59 -04:00
Oli Peate
a40e22c36f Bump version to v4.10.0 2018-05-25 15:51:05 +01:00
Avielle Wolfe
c5d11518d7 Rename all girl -> bot
* Rename files and code
* Change factory_girl dependency to factory_bot

This change will bring _rails name in line with factory_bot
c716ce01b4
2017-10-20 18:21:52 -04:00
Joshua Clayton
ec478f1edc
Appraise against Rails 5.0 2016-07-01 09:04:50 -04:00
Joshua Clayton
d4d43e5af9 Bump appraised version of Rails 5 2016-05-17 10:32:41 -04:00
Joshua Clayton
1a694997c0 Appraise against Rails 5.0.0.beta3 2016-04-07 17:53:06 -04:00
Joshua Clayton
8c16ae46e8 Bump versions of Ruby and Rails to test on Travis
* support latest Ruby 2.1
* support latest Ruby 2.2
* support latest Rails 4.2
* drop testing of Ruby 2.0
* drop testing of Rails 4.0
* fix JRuby support
2015-03-14 20:14:50 -04:00
Joshua Clayton
37b1f02b9f Explicitly define gemfiles for Travis
Closes #122
2014-07-25 16:11:58 -04:00
Dan Croak
00cb2eabb1 Test against Rails 3.2, 4.0, 4.1
* Remove gemfiles from version control to match same testing style as
  Clearance and Suspenders.
* MiniTest does not need to be manually included as it is automatically
  included by Rails by default.
* Add spring for Rails 4.1.
* Disable Spring to get specs to pass on Rails 4.1.
* Add therubyrhino for JRuby.
* Remove old references to Rails 3.
* Fix JRuby test where output is "1 runs", not "1 tests".
* Remove Rails 3.0 reference to "turn".
2014-05-27 00:41:24 -07:00
Joshua Clayton
24da5ef283 Bump version to 4.4.1 2014-02-26 10:42:17 -05:00
Joshua Clayton
8dc4d08aa3 Bump version to 4.4.0 2014-02-11 09:24:13 -05:00
Joshua Clayton
016048f637 Update factory_girl requirement to 4.4.0 2014-02-11 08:27:00 -05:00
Joshua Clayton
4a236a29e4 Bump version to 4.3.0 2013-11-03 23:01:59 -05:00
Joshua Clayton
6e1fe8c9f3 Update FG requirement to 4.3.0 2013-11-03 22:55:42 -05:00
Joshua Clayton
aa40389c7b Remove Rails 3 from appraised versions of Rails 2013-11-03 22:46:03 -05:00
Joshua Clayton
f4bd6ace48 Bump version to 4.2.1 2013-02-08 15:16:10 -05:00
Joshua Clayton
9d3df8ce94 Fix bug when configuring FactoryGirl and RSpec fixture dir
Closes #90, #88, #84
2013-02-05 09:19:40 -05:00
Matt Jankowski
7ce3ca02c6 Bump rails gem versions to latest for Appraisal 2013-01-29 16:39:31 -05:00
Joshua Clayton
37afef8b4f Bump version to 4.2.0 2013-01-25 17:24:15 -05:00
Joshua Clayton
f64f4ee724 WIP: Upgrade to 4.2.0
Currently one failure surrounding MiniTest
2013-01-25 17:08:21 -05:00
Matt Jankowski
5b099f6773 Allow Rails 3.1 to select the 'turn' gem it wants to use
Rails 3.1.x has code which checks which version of ruby is being run,
and based on the result, selects a version of turn.

For 1.9.3+, it selects "~> 0.8.3"; for everything else, it selects "0.8.2".

If we remove turn from the Appraisals, but have travis install both versions
that rails might potentially need, the in-generated-app Gemfile building should
work correctly.
2013-01-07 16:42:54 -05:00
Matt Jankowski
a179d7f366 Newer versions of activerecord-jdbcsqlite3-adapter work without a specially named db driver in database.yml 2013-01-07 15:49:11 -05:00
Matt Jankowski
f68f1c234d Allow each Appraisal version gemfile to resolve the exact gem versions needed 2013-01-07 13:03:55 -05:00
Matt Jankowski
2aa0939884 Update rails gem versions in Appraisals to use latest stable releases: 3.2.10, 3.1.9, 3.0.18 2013-01-04 11:13:58 -05:00
Matt Jankowski
95eaa4af9a Improve the way we switch between project Gemfile and appraisal gemfiles
Previously, the railties required by the project gemspec was in conflict with
the rails versions being pulled in by Appraisal.

There were situations where a newer rails app was generated by `rails new...`
even though the Appraisal gemfiles/ value should have been setting it correctly.

We need to be able to use the versions of things specified in the appraisal gemfiles/
specify the version of rails for the initial generation of the applications,
but subsequently allow those applications to point to the `Gemfile` within
the newly generated rails apps, rather than wherever BUNDLE_GEMFILE was previously
set by Appraisal.
2012-12-19 14:46:21 -05:00
Matt Jankowski
742f38dc9e jruby needs a separate sqlite3 adapter 2012-12-13 16:41:16 -05:00
Matt Jankowski
e43f18ddcf Bump the rails 3.2.8 appraisal to 3.2.9 2012-12-13 12:13:38 -05:00
Matt Jankowski
0e417981e0 Regenerate gemfiles using newer Appraisal naming convention, point travis at correct files 2012-12-13 11:42:32 -05:00
Joshua Clayton
9d83c83b0c Add minitest-rails to appraisal 2012-12-10 12:04:39 -05:00
Joshua Clayton
b59a4c51b0 Bump Cucumber and Aruba 2012-12-07 14:43:07 -05:00
Eric Hu
e85aa34ace Add suffix option for Rails config
Closes #78
2012-12-07 10:40:51 -05:00
Joshua Clayton
402e6ed84c Use Appraisal
This allows us to test factory_girl_rails against each minor release of
Rails 3. To run the full suite, run

    $ bundle exec rake

To view all the rake tasks Appraisal provides, run

    $ bundle exec rake -T appraisal
2012-11-02 16:35:09 -04:00