---
title: This week in open source
teaser:
tags: news,open source
author: Mike Burns
published_on: 2012-01-27
---

## bourbon

Over the past week [bourbon](https://github.com/thoughtbot/bourbon) went up to version 1.3.5. A whole bunch of sweet new features are in it now:

Frank ([frankzilla](http://frankhq.io/)) added a `modular-scale` mixin, of which the `golden-ratio` mixin is but one implementation ([126a83b](http://github.com/thoughtbot/bourbon/commit/126a83bf0b32a219be7ab7b92753868db2d3e98d "Fixed modular scale file name. Replaced _ with -") and [96659a2](http://github.com/thoughtbot/bourbon/commit/96659a2f75f6ec8d1f0b1617c32794be1e42c74a "Merge remote branch ")). He also added a parameterized fallback color to `linear-gradient` ([60e2c63](http://github.com/thoughtbot/bourbon/commit/60e2c635c54e59d9d55e54c9414f4437a33779fc "Added argument to change linear-gradient fallback colour")).

Phil LaPier ([plapier](http://github.com/plapier)) worked with Gabe Berke-Williams ([gabebw](http://github.com/gabebw)) on a `bourbon` command-line too for working with Sass outside of a Rails app, such as Jekyll, WordPress, or even a static site ([ad1499b](http://github.com/thoughtbot/bourbon/commit/ad1499b30c8bf01b78f037ec09bf20c49a225152 "Change bourbon generate to bourbon install"), [b55a763](http://github.com/thoughtbot/bourbon/commit/b55a763d0fc82cf06476ea9e5c4ef02eafb474db "Verion bump and readme update"), [0ebf906](http://github.com/thoughtbot/bourbon/commit/0ebf9060da97259c38d1ffd876c3e5fc7d1e44d4 "Generate the proper lib files to make bourbon watch work"), [c2077d8](http://github.com/thoughtbot/bourbon/commit/c2077d845db486b576b63c164e3cb67829ccd591 "Actually add the generator. gitignore is weird."), [13e70d3](http://github.com/thoughtbot/bourbon/commit/13e70d3282193090865802aedb7f6c18c0b653a2 "Better scenario names."), [2fc2c90](http://github.com/thoughtbot/bourbon/commit/2fc2c900c4f66ed2de8dbd003cd2e27ad954fa74 "Update README."), and [bf34e70](http://github.com/thoughtbot/bourbon/commit/bf34e70a257151a0eacba23af0460986229abb69 "Users can update their existing bourbon installation.")). You can run `bourbon install` to install it and `bourbon update` to update an existing installation.

## capybara-webkit

A careful sleuth has updated the documentation for [capybara-webkit](https://github.com/thoughtbot/capybara-webkit) this week. Marc Schwieterman ([marcisme](http://github.com/marcisme)) discovered that a fully passing test suite depends on ImageMagick, and documented as much in the contributions guide ([df39268](http://github.com/thoughtbot/capybara-webkit/commit/df392683957e32f5d9257e2c4a5312a06830dd36)).

## factory_bot[^1]

Version 2.5.0 of [factory_bot](https://github.com/thoughtbot/factory_bot) is out, and there's a badass new feature in it. But first:

Joshua Clayton ([joshuaclayton](http://github.com/joshuaclayton)) fixed a bug where the `:parent`'s factory wasn't being passed along ([4aecfff](http://github.com/thoughtbot/factory_bot/commit/4aecfff1262b6a6bb642b040d87c7f06450f74fe)). Carlos Antonio da Silva ([carlosantoniodasilva](http://github.com/carlosantoniodasilva)) fixed the URLs in the readme to point to correct locations ([aa74edd](http://github.com/thoughtbot/factory_bot_rails/commit/aa74edd7cadbb173428fde05bda40b3d7615a9c6) and [42f5a10](http://github.com/thoughtbot/factory_bot_rails/commit/42f5a10554b1e7ff2ca9b83268f84b12b5ed7f9a "Update github url in generator template to use https")).

Oh, and you may remember from last week that Josh deprecated the `attributes_for` method admist much controversy. Well, he undid that ([2d6adfd](http://github.com/thoughtbot/factory_bot/commit/2d6adfd009f51fa8ed6c57434dca93e8ff5b05ff)).

Josh then implemented a feature that Joe Ferris ([jferris](http://github.com/jferris)), FactoryBot's originator, has wanted for years: you can specify how FactoryBot should construct the class ([5780364](http://github.com/thoughtbot/factory_bot/commit/578036480fd98332259fb42ce11ad4933a0c0f2b)). Joe excitedly documented this ([ea89aad](http://github.com/thoughtbot/factory_bot/commit/ea89aad60a5f5a6131d8177c153719d96bafd766 "Update README with more to_initialize info")). This means that FactoryBot can be used for non-ActiveRecord classes, including immutable classes.

## paperclip

In accordance to [our new gem schedule](https://thoughtbot.com/blog/post/16351438761/every-two-weeks), [paperclip](https://github.com/thoughtbot/paperclip) hit 2.5.1 this week. Mike Burns ([mike-burns](http://github.com/mike-burns)) cut the release, adding a [ChangeLog](https://github.com/thoughtbot/paperclip/blob/b7f9b6f8d305ffba50ad54b9bb588238bac6b8c5/ChangeLog) and updating the [NEWS](https://github.com/thoughtbot/paperclip/blob/b7f9b6f8d305ffba50ad54b9bb588238bac6b8c5/NEWS) file ([b7f9b6f](http://github.com/thoughtbot/paperclip/commit/b7f9b6f8d305ffba50ad54b9bb588238bac6b8c5 "The Gemfile.lock was updated, too.") and [ec4793e](http://github.com/thoughtbot/paperclip/commit/ec4793ef661901735e17b8f2fababc39b21c25e5 "Bump to 2.5.1")). In short: Fog storage is passed the content type, S3 can be encrypted, and ActiveRecord is optional.

[^1]: Looking for FactoryGirl? The library was renamed in 2017.
[Project name history can be found here.](https://github.com/thoughtbot/factory_bot/blob/master/NAME.md)
