11 Feb '14, 9pm

@iljawascoding It’s called “twiddle-wakka” - - or more serious “pessimistic operator” -

Dan Croak December 29, 2010 ruby open source Do you know Ruby's pessimistic operator? It looks like this: ~> You've seen it in some Gemfile s. Here's an example gem 'rails', '~> 3.0.3' gem 'thin', '~> 1.1' ~> 3.0.3 means that when you bundle install , you'll get the highest-released gem version of rails between the range >= 3.0.3 and < 3.1 . ~> 1.1 means that when you bundle install , you'll get the highest-released gem version of thin between the range >= 1.1 and < 2.0 . Using the pessimistic operator in combination with consistent Semantic versioning by gem authors, we can theoretically achieve better stability in our dependencies. Read more on the tradeoffs or read our current guidelines on Bundler .

Full article: http://robots.thoughtbot.com/rubys-pessimistic-operator

Tweets

On Ruby:

on-ruby.blogspot.com 11 Feb '14, 11pm

As I studied Ruby over the past 2 years while working on the book, I’ve been surprised and intrigued by how much of Ruby’s...

Descargando ruby 3,2,1....

ruby-lang.org 12 Feb '14, 1am

Algunos miembros de la comunidad de Ruby creen firmemente que no debes usar nunca el sistema de gestión de paquetes para i...

Ruby on Rails Guides:

guides.rubyonrails.org 13 Feb '14, 10pm

Ruby on Rails Guides (v3.2.14) These are the new guides for Rails 3.2 based on v3.2.14 . These guides are designed to make...

Ruby 1.9.3-p545 is released

ruby-lang.org 24 Feb '14, 6am

This is the last ordinal release of Ruby 1.9.3. It means that Ruby 1.9.3 goes into the state of the security maintenance p...

Ruby 2.0.0-p451 is released

ruby-lang.org 24 Feb '14, 1pm

Today, Feb. 24th is the 21th anniversary of Ruby, so we happily announce a new patch release Ruby 2.0.0-p451. This release...

New blog post : Even if you're not in Italy, ju...

rinaz.net 07 Feb '14, 8am

Depending on some places, sometimes it’s hard to get a good reception, but most of the times it’s been satisfactory. The a...

2014 Ruby Hero Award Nominations

ruby-lang.org 12 Feb '14, 3pm

2014 Ruby Hero Award Nominations Has anyone helped you greatly in the Ruby community this year? Maybe they taught you some...

Ruby in German

rubyflow.com 16 Feb '14, 1pm

Ruby in German Posted by janlelis on February 16, 2014 — 0 comments I have just released Deutsch.rb , which lets you refer...