Episode #248 - February 21, 2012
| Tweet |
See, what we have here is an Enumerization of the Virtus wherein Pelusa, the Deploy Doorkeeper, gets Kronk. It's on Ruby5... and pudding pops.
Listen to this episode on Ruby5
This episode is sponsored by Top Ruby Jobs
If you're looking for a Ruby job or for top Ruby talent, then you should check out Top Ruby Jobs. Top Ruby Jobs is a website dedicated to the best jobs available in the Ruby community.
Clean your Ruby Lint with Pelusa
Last week, Josep Bach released Pelusa, which is a static analysis, lint-type tool for Ruby. It uses Rubinius to inspect the structure of your code and compares it to best practices, such as method size, demeter violations, conditional complexity, and more.
Compare server responses with Kronk
Jeremie Castagna has been working on a library called Kronk which can be very useful for API developers. With Kronk, you can read server responses in multiple formats (like JSON or XML) and compare both their structure and content. It'll give you early indications if your API is becoming out-of-sync between response formats.
Create enumerated attributes with Enumerize
Sergey Nartimov let us know about Enumerize, a library that twinslash recently released for creating enumerated attributes with i18n support for both ActiveRecord and Mongoid.
Get common recipes with capistrano-deploy
Capistrano-deploy is an abstraction of common deployment recipes that are made available for you to use, such as using bundler, working with Rails assets, RVM, and more. So, if you're using Capistrano, check it out.
Virtus – intelligent attributes for Ruby objects
Piotr Solnica and Dan Kubb are in the process of extracting a bit of DataMappers properties implementation into a stand alone library called Virtus. With it, you can set coerced attributes (properties) on plain old Ruby objects or other ORM-backed Ruby classes. It supports simple, local objects and even collections of other coercible data types.
Create an OAuth2 provider with Doorkeeper
Doorkeeper is a gem created by Applicake which makes it easy for you to turn your Rails application into an OAuth2 provider. This could be useful if you want other developers to build against your API to perform acts on behalf of your users (think Twitter or GitHub).