Run commands with Cocaine gem by releu

757fb0d5ec7560b6f25f5bd98eadc020?size=52

Here is a #gem cocaine by #thoughtbot.

It helps to run and handle commands (like you enter to terminal).

options = {
  title: "Run commands with Cocaine gem",
  content: "..."
}
line = Cocaine::CommandLine.new("gistflow", "-title :title -content :content", options)
line.command
# => "gistflow -title 'Run commands with Cocaine gem' -content '...'"

#ruby

Sex Machine (gem) by releu

757fb0d5ec7560b6f25f5bd98eadc020?size=52

@bmuller creates a #gem detecting user's gender by name.

d = SexMachine::Detector.new
d.get_gender("Hank")
# => :male
d.get_gender('Jane')
# => :female 
d.get_gender('Hulk')
# => :andy

So, it's very useful for projects caring about content targeting (mailing robot toys for boys and ponies for girls).

https://github.com/bmuller/sexmachine

#ruby

Fivemat makes your spec's output format pretty by releu

757fb0d5ec7560b6f25f5bd98eadc020?size=52

Specs output groups by top describe and shows failure specs immediately.

Authentication ..
User ........................F.
  1) User#all_requests 
     Failure/Error: it { should == [request] }
       expected: [#<Request id: 1>]
            got: [] (using ==)
       Diff:
       @@ -1,2 +1,2 @@
       -[#<Request id: 1">]
       +[]
     # ./spec/models/user_spec.rb:45:in `block (3 levels) in <top (required)>'
Dashboard ....

Setup