One change to bourbon this week as Thibaut (Thibaut) removed the obsolete -moz-inline-block display type from the inline-block mixin (de69a76).
Version 0.10.1 of capybara-webkit is out (8f2cdef). Matthew Mongeau (halogenandtoast) made it such that Swedes can install it on Måndag (1a28da8), Marc Schwieterman (marcisme) improved the generate_command rake task to also handle the CommandFactory.cpp (c15cd3a), and Joe Ferris (jferris) updated the link to our QT docs (a4fcb8e).
On cocaine, which is a hell of a gem, Alban Peignier (albanpeignier) exposed the command’s exit status (bfe0ba6).
Added to factory_girl this week, though written two weeks ago, Joshua Clayton (joshuaclayton) replaced the AssociationRunner with what he calls the FactoryRunner, which can run any strategy (4145a6e).
On the factory_girl_rails side, Joshua Flanagan (joshuaflanagan) added support for namespaced models, e.g. Article::Comment (7df9c9b)
In kumade this week Gabe Berke-Williams (gabebw) fixed a completely broken rake task (43ea8b8), discovered that && reads more nicely than and (50b8102), and removed the Gemfile.lock because everyone hated it (278c8bf). SengMing Tan (tansengming) changed the command-line program to produce false when the deployment fails, which means you can use it in more scripts (7e37d61). Klaus Hartl (carhartl) fixed a bug with cedar, where restarting the app didn’t work (07e30d4).
As usual, a bunch of bugfixes and functionality made it into paperclip this week. Keep those pull requests coming!
Prem Sichanugrist (sikachu) removed deprecated methods, which means you should watch for a major version bump soon. How exciting! (defd425 and 9e38958). He and Gabe Berke-Williams (gabebw) updated the README with stylistic and some content improvements (4e4fa9d and 5dba614). Prem also fixed a bug where an RSpec matcher would run the post processing; that’s wild (0efa384).
Robert Pankowecki (paneq) improved the docs to show how to conditionally skip post processing (49ddd12). Jesse Cantara rewinds files after Paperclip is done with them, before handing them back to the user (7cb7384). Beachbc (beachbc) passed S3 creds as a lambda (b89044f), and Joshua Clayton (joshuaclayton) added a :s3_url_options option, which can be either a hash or a lambda that produces a hash, that allows the user to augment the image URL with params, but only if the image is stored in S3 (f7284b9). Josh, while making the aforementioned change, noticed that we were using shoulda oddly (!), so he moved the method definitions out from the contexts (e64021e).
Speaking of shoulda, version 3.0.1 is out, without any packaging issues (62f5b82); this was discovered and fixed by Prem Sichanugrist (sikachu). Prem also dropped Rubinius 2.0 support for shoulda-matchers 94dbf74). Blake Thomson (thomsbg) added a validates_confirmation_of matcher (1b5fc27c); Raphaël emourgeon (osaris) expanded the have_sent_email matcher to understand reply_to (cabe44c7); and Sylvestre Mergulhao (mergulhao) fixed the allow_mass_assignment_of_matcher documentation to be copy-pasteable (3a75c687).
shoulda is version 3.0.0! Someone needed to cut it, and Joe Ferris (jferris) stepped up to make the release (4f0c363).
A new version of high_voltage is out this week, with contributions from Matthew Horan (mhoran). Matt fixed the content_path hack on PagesController such that you can subclass and override the content path properly (0d84952, 9c7c0ad, 8884f70, and d4ba056, e4b1ce9). He also added Rails 3.1 compatibility (7556fcd). Joe Ferris (jferris) pushed version 1.1.1 out (09c2da4, a60cc5b, and a1f2476).
What’s new in version 1.4.0 of bourbon? Glad I asked myself, in writing. Phil LaPier (plapier) changed buttons from display: inline to display: inline-block, removing text decoration on anchor buttons (8bea3a7). He executed the “extract mixin” Bourbon refactoring pattern on render-gradients (9fd50d1), moving the linear and radial gradients to the root (92ecae3), all so he could support more gradients in the border-image mixin (0f91303). Transparent fallback colors are now allowed (b409982 and 5d86ebd), a new user-select mixin was added (b00d334), and finally Phil bumped the version (f9ee911).
A new version of paperclip is out—version 2.7.0 was pushed by Mike Burns (mike-burns) to Rubygems (760a4e0).
Mike—that’s me—flipped out at a failing test and reverted the :swallow_stderr support that was pull in last week (04c9514). The tests didn’t work and the code was ugly. As a general request: if you’re adding code to an ugly codebase, add beautiful code!
Prem Sichanugrist (sikachu) updated the docs to point out that awk-sdk must be a specific version (22a2a85). He also added support for Rails 3.2 (77c5268).
Tom Hughes (tomhughes) noted that the fingerprint field is not cleared when an attachment is deleted, though all other fields are…and he fixed that (189ee9c). Pat George (pcg79) finally fixed the failure message for validates_attachment_size, which was written very incorrectly, for years (45b7dac).
Nothing new on kumade. Gabe Berke-Williams (gabebw) stopped ignoring the Gemfile.lock, despite what Yehuda suggests (a2a2278); simplified the name of a scenario (ffd1aef); and set up Travis CI to run a full integration test (04d9f6b).
The shoulda-matchers project had a very ancient list of contribution guidelines so I, Mike Burns (mike-burns), updated them to reflect the fact that pull requests do not actually suck (81cd02b).
More tiny commits on bourne from Gabe Berke-Williams (gabebw), where he added Travis CI support (55248d6) and fixed some code formatting (f31aa72). Yup.
The only news for capybara-webkit this week is that Joe Ferris (jferris, a.k.a. JƒF) does not want bug reports about system-specific compilation issues (6b724ef). We simply can’t fix them.
Nothing new on clearance, but Dan Croak (croaky) did get it working under Travis CI (3430e88).
Tiny cleanups on appraisal as Gabe Berke-Williams (gabebw) changed some parens around and removed some of those awful if modifiers (7a5af59), and Brian Cardarella (bcardarella) updated the README to use actual English (1883b80).
Our little copycopter_client library, which talks to the amazing Copycopter app (which, in my opinion, is the best thing since sliced bread), got some infrastructure cleanup from Gabe Berke-Williams (gabebw) around themes like Travis CI (91ac190) and bundler (612fc4e), plus sorting the blurbs (500dac7). Chris Hunt (huntca) swooped in with the ability to export to YAML (7d44323, 77b28bb, cf951f1, 2955575), booyah!
Version 2.6.0 of factory_girl is out (2d19c46), with work by Joshua Clayton (joshuaclayton). The docs got an update, including an example of how to create a has_many association factory easily (9c6c252). The new :method option has been renamed to :strategy, following thoughtbot’s recent obsession with design patterns (791591b).
Marching right along, capybara-webkit version 0.10.0 is out (6d37e48). Marc Schwieterman (marcisme) added a current_url method (caa86b7 and 5eacd08) and reset! method (eaec979). Igor Zubkov (biow0lf) fixed some specs (9eb8e55)! Matthew Mongeau (halogenandtoast) abstracted out the make, qmake, and spec paths into environment variables (4a6b766). Jason Petersen (jasonmp85) fixed a bug where select_option and unselect_option methods were mutating the underlying HTML in ways the W3C were very unhappy with (2fef844 and acd6e47).
Our wonderful little appraisal gem got a documentation patch from Kate Gengler (kategengler) explaining that the Appraisals file must be named Appraisals (adec57d). Ryan Bigg (radar) added the option of loading the Gemfile from an environment variable, BUNDLE_GEMFILE (e41fdfc). Prem Sichanugrist (sikachu) released version 0.4.1 (4da9c66).
Despite the lack of a release this week, Dan Croak (croaky) put clearance on Travis CI (3430e88 and 91674c6).
Neat improvements for bourbon, as always. Gabe Berke-Williams (gabebw) fixed Ruby 1.8 support (45f6806). Frank (frankzilla) added clearfix (df3b82c, ac172bc, 980035c, and a1825ee). Patrick Bougie (pbougie) fixed border-radius for older Mozilla (f734db4). Kyle Fiedler (kylefiedler) added a flexible grid (0db24f5, 2bb0f63). Thibaut (Thibaut) fixed a bug in the box shadows (60292da).
Infrastructural changes to diesel this week, as Prem Sichanugrist (sikachu) made it work with the latest version of Rails, trimmed its dependencies down, and fixed it on Travis CI (6481f8f, 2dc7427, caadb84, 183762d, af52bbb, 5f57595, 4f115e9, bb4e627).
It was bug fix week in paperclip land, as we wage on in the constant battle to keep the Issues count at 0. Prem Sichanugrist (sikachu) made sure we check for class_attribute before calling it, fixing a problem in one specific verion of Rails (4b79530); handled the case where the S3 object does not exist (56012bf); found and fixed a case where the style name was not a symbol (9ad074a); and cleared off an annoying warning from a redefined constant in the test suite (7045e29). Chris Apolzon (apolzon) meanwhile fixed a bug where stderr was leaking out in undesired ways (58671eb).
Over the past week bourbon went up to version 1.3.5. A whole bunch of sweet new features are in it now:
Frank (frankzilla) added a modular-scale mixin, of which the golden-ratio mixin is but one implementation (126a83b and 96659a2). He also added a parameterized fallback color to linear-gradient (60e2c63).
Phil LaPier (plapier) worked with Gabe Berke-Williams (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, b55a763, 0ebf906, c2077d8, 13e70d3, 2fc2c90, and bf34e70). You can run bourbon install to install it and bourbon update to update an existing installation.
A careful sleuth has updated the documentation for capybara-webkit this week. Marc Schwieterman (marcisme) discovered that a fully passing test suite depends on ImageMagick, and documented as much in the contributions guide (df39268).
Version 2.5.0 of factory_girl is out, and there’s a badass new feature in it. But first:
Joshua Clayton (joshuaclayton) fixed a bug where the :parent’s factory wasn’t being passed along (4aecfff). Carlos Antonio da Silva (carlosantoniodasilva) fixed the URLs in the readme to point to correct locations (aa74edd and 42f5a10).
Oh, and you may remember from last week that Josh deprecated the attributes_for method admist much controversy. Well, he undid that (2d6adfd).
Josh then implemented a feature that Joe Ferris (jferris), FactoryGirl’s originator, has wanted for years: you can specify how FactoryGirl should construct the class (5780364). Joe excitedly documented this (ea89aad). This means that FactoryGirl can be used for non-ActiveRecord classes, including immutable classes.
In accordance to our new gem schedule, paperclip hit 2.5.1 this week. Mike Burns (mike-burns) cut the release, adding a ChangeLog and updating the NEWS file (b7f9b6f and ec4793e). In short: Fog storage is passed the content type, S3 can be encrypted, and ActiveRecord is optional.
Hey! shoulda-context has a maintainer! His name is Travis Jeffery (travisjeffery) and he’s got commit rights and everything! Thank you, Travis.
Yeah!
One feature was added to cocaine over the past week: Daniel Mircea (viseztrance) made it such that you can now pass blank argument values (a2d01c4). For example, this now works:
command_line = Cocaine::CommandLine.new(
"curl",
"-X POST -d :data :url",
:data => "", # Hey note this!
:url => "http://localhost:9000",
:swallow_stderr => false)
puts command_line.command
…which will produce:
curl -X POST -d '' 'http://localhost:9000'
The paperclip project saw a few neat commits this week. Jeremy McNevin (jmcnevin) and ralph (ralph) pass the file type to Fog now, always (839b98c and 201f02e). Luke Griffiths (Sporky023), one of our new apprentices, got his first open source contribution in: you can pass an :s3_encrypted option for controlling which encryption type S3 should use (65e0338 and af6d343). And Jon Yurek (jyurek) fixed mixing Paperclip with non-ActiveRecord codebases (bc6ed16).
The fixture replacement gem, factory_girl, is now at version 2.4.2 (845578c). It includes bug fixes, a deprecation, and more Rails support. All commits were by Joshua Clayton (joshuaclayton).
There was an issue where using an inline trait would cause it not to be reset (70a80fd), and an issue with the precedence of inline traits (065c6c1).
Josh also deprecated the attributes_for class method, which once upon a time produced all the attributes that a factory would set (a883315). He provided no reliable workaround.
Today, Rails 3.2 was released, so we made sure to test against that—and it works! (5555f14)
A new release for capybara-webkit, yeay! Joe Ferris (jferris) cut the release (59ba861), first removing a long-standing debugging print statement (0bac05e).
Sweet features, bro: Yuri Gadow (ylg) added support for the fancy text inputs in HTML5 like email, number, search, and so on (7e5e99b).
John Barker (excepttheweasel) updated the README to point out that capybara-webkit does not, in fact, listen on port 8200 (2285621).