The shoulda-matchers gem
is a collection of RSpec matchers for various Rails things. Gabe Berke-Williams
(gabebw) went to town on it this week,
cleaning everything up in an effort to make it more pleasant to hack on (2b98e49, 09544fa, 7b3d6d0, 96df0b1, 36006d8, 4ff1344, 3b3181b, 4574f51, 1c517d2, bd52483, e70e1bf, 41bccc8). Having done that, he added a
:primary option to the
have_db_column matcher (68e65b2). Matthew Daubert
(MDaubs) fixed a JRuby failure and also
added support for Rails 3.0 (d85503f).
Prem Sichanugrist (sikachu) released version 3.0.1, which breaks backward compatibility (d61ddd5, <a href=“http://github.com/thoughtbot/paperclip/commit/51bb0f9fa33aa745bd2a03ca18bc2f123c2acefa” title=“Adding Attachment#geometry to get file’s dimension
Fixes #768”>51bb0f9, 7088f5b, <a
Jon Yurek (jyurek) merged in something he has been working on: adapters for different types of I/O (6c5fe19, e10edcd, f4b6d48, 78cfebd, <a href=“http://github.com/thoughtbot/paperclip/commit/89c8d117e756815333a0e46d387cd64a1f4d37ab” title=“Adds IO adapters to abstract the things that can be assigned.
Needs work for S3 Attachments.">89c8d11</a>). Adding new file-like things
is now easier, including URLs that act like files. Yeah, that’s right.
Jon is so going to write a blog post about this with more explanations, after he updates the README.
A bunch of fun commits to factorygirl this week. Chris Griego (cgriego) used pull requests as a forum to promote his ActiveAttr gem (<a href="http://github.com/thoughtbot/factorygirl/commit/81c9f2c3dd81b2d709cb08d23673eec81b521c94” title=“Make step definitions more ORM agnostic by preferring .attribute_names
Support for .attributenames * ActiveRecord starting in v3.1.0 * ActiveAttr starting in v0.5.0”>81c9f2c and <a href=“http://github.com/thoughtbot/factorygirl/commit/4e2a672b9e4a5f5860e552b5d40b1b0f02ddb45a” title=“Move attributenamesformodel so steps are grouped together”>4e2a672). Joshua Clayton (joshuaclayton) added a `beforecreate` callback (<a href=“http://github.com/thoughtbot/factorygirl/commit/24d417d5754a82a796bc45f0bf765df844c8d206” title=“Add a beforecreate callback
Mike Subelsky (subelsky) fixed a typo
in the docs around the name
FactoryGirl::Syntax::Methods (266b1d6), Dan Croak (croaky) mentioned the supported Ruby
versions in the README (bed50ec), Josh renamed
NEWS because that’s exactly what it is (4f5b775)
and also renamed
*rb files to
*erb to handle yardoc better (a6ccbcb).
I totally dropped the ball on releasing a new version of capybara-webkit this week. Sorry about that! Joe Ferris (jferris), however, refactored some of the C++, which is very welcome (c2a2bd0 and 4531f65).
Some news in our appraisal gem this week: Gabe Berke-Williams (gabebw) added a contribution guideline (fd05fdf), then osheroff fixed appraisal to handle weird filenames (1d4fa93, b21220a, and 75a4970).