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

14 commits

Author SHA1 Message Date
Daniel Colson
68ccd9c2fd Unlock cucumber version
The version we had locked to doesn't give line numbers for each step in
Ruby 3. Instead we see a message:

`*** THIS RUBY IMPLEMENTATION DOESN'T REPORT FILE AND LINE FOR PROCS ***`

We had originally locked to this version for Ruby 2.2, which we are no
longer testing against.
2021-05-26 20:10:18 -04:00
Daniel Colson
aad77ceeb6 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:13:56 -04:00
Daniel Colson
5c52981fcc
Update rails versions on Travis (#367)
This commit gets the Travis build passing by:

- Removing Rails 4.2 so we don't have to deal with bundler < 2 anymore
- Bumping to latest Rails versions
- Explicitly listing all gems that appear in the default Rails Gemfile
- Avoiding bootsnap and javascript, since they aren't relevant to these tests

Co-authored-by: alex <alexandr1golubenko@gmail.com>
2020-03-29 11:51:41 -04:00
Alex
879b47f70d Address todos generated by rubocop for gemfiles and gemspec files (#295)
This partially addresses #293. Since rubocop generated quite a few todos, the commits addressing them are split up into a few different PRs that cover different files.
2018-09-28 17:32:12 -04:00
Daniel Colson
29249b3751 Add RuboCop configuration
This is similar to the work Christian Bruckmayer is doing over on
factory_bot. I read that Hound doesn't support the
`inherited_from` key, so I put all of the todos
from the auto-generated `.rubocop_todo.yml` straight into the
`.rubocop.yml`.

fixup! Add RuboCop configuration
2018-09-18 23:09:25 -04: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
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
531e68193f Get suite green on Ruby 2.2.0 2015-03-13 22:39:10 -04:00
Dan Croak
311605a825 Ignore gemfiles, don't ignore Gemfile.lock in git
Move dev dependencies out of gemspec and into Gemfile to gain more
control over the private API.
2014-05-27 00:41:28 -07: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
vfrride
b18cc3398e Uses secure RubyGems URL 2013-02-27 21:56:08 -05:00
Joshua Clayton
54daa62958 Use Gemfile correctly 2011-06-29 12:09:19 -04:00
Mike Burns
7cdd05d67f Lock down the Rails version so we're not influenced by the very newest version of Rails when we're trying to fix an unrelated bug. 2011-06-10 09:55:55 -04:00
Joe Ferris
3c691f2717 Use bundler for dependencies (based on patches from Mike Gehard) 2010-11-11 11:44:49 -05:00