---
title: "This week's Ruby news, issue 242"
publication: "Ruby Weekly"
issue: 242
published_at: "2015-04-16"
canonical_url: "https://rubyweekly.com/issues/242"
---

This week's Ruby news, issue 242

Ruby 2.2.2, why is RubyGems slow, new methods in 2.2, Minitest 5.6.0, and more.[Read this e-mail on the Web](http://rubyweekly.com/issues/242)

Ruby WeeklyIssue 242 — April 16, 2015

SitePoint[Why is Rubygems Slow?](http://www.sitepoint.com/rubygems-slow/)Richard Schneeman tackles a commonly asked question in the Ruby world, concluding with a look at a recent discovery by Aaron Patterson.


ruby-lang[Ruby 2.2.2, 2.1.6 and 2.0.0-p645 Released Due to Vuln](https://www.ruby-lang.org/en/news/2015/04/13/ruby-2-2-2-released/)As covered in [CVE-2015-1855](https://www.ruby-lang.org/en/news/2015/04/13/ruby-openssl-hostname-matching-vulnerability/), Ruby’s OpenSSL extension suffers a vulnerability due to overly permissive hostname matching. That’s all these releases resolve though.


Ilija Eftimov[Exploring New Methods in Ruby 2.2](http://rubylogs.com/exploring-new-methods-in-ruby-two-point-two/)Covers Enumerable#slice_after, Enumerable#slice_when, Float#next_float, File#birthtime, Method#super_method and a few others.


MailgunSponsored[Forget net/smtp, try sending email with the Mailgun API](http://www.mailgun.com/?utm_source=rubyweeklyjan22&utm_medium=email&utm_campaign=forgetsmtp)RESTful API abstracts away the messy details of sending transactional or bulk email. No gem installation required. The first 10,000 emails are free each month. [Try Mailgun now.](http://www.mailgun.com/#rubysample)

[![Mailgun\](https://copm.s3.amazonaws.com/1bf92eed.png)](http://www.mailgun.com/?utm_source=rubyweeklyjan22&utm_medium=email&utm_campaign=forgetsmtp)


The Pragmatic Studio[How To Write 'Macros' in Ruby [video\]](https://pragmaticstudio.com/blog/2015/4/14/ruby-macros)Mike Clark is back with yet another slickly produced 15 minute video covering interesting Ruby stuff. This time, he looks at the metaprogramming behind creating something a la ActiveRecord’s `has_many`.


Chris Kottom[Unexpected: The New Minitest::Spec Syntax](http://chriskottom.com/blog/2015/04/unexpected-the-new-minitest-spec-syntax/)[Minitest 5.6.0 came out this week](http://blog.zenspider.com/blog/2015/04/great-expectations.html) and while your existing tests will keep working (for now), some key changes have been introduced that will affect the way you write new tests.


Matt Brictson[Setting up Sublime Text 3 for Rails Development](https://mattbrictson.com/sublime-text-3-recommendations)A variety of suggestions on packages, settings, mappings, and more.


Jobs

- [Want to be seen by founders hiring managers at over 100 of the best startups in NYC? Join Underdog.io.](https://underdog.io/?utm_source=rubyweekly&utm_medium=4_16_2015_rubyweeklysponser&utm_campaign=handpickbeststartups)We handpick the top NYC startups to join our network. No surprise, many ask to be connected to great Ruby developers. Apply in 60 seconds. Don’t be a hired gun. Manage your own search and find a new job you’ll love. Underdog.io
- [Software Engineer / Entwickler (m/w) eShop – Scala, Scrum, TDD](http://kaufhof-jobs.dvinci.de/cgi-bin/appl/selfservice.pl?action=jobdetail;job_pub_nr=32731CDF-442A-46F0-9C93-75A6C4101B76;p=homepage;preview=1)Wir bauen einen der größten eShops Deutschlands mit Scala/Play2 und suchen erfahrene, ambitionierte Technologie-Enthusiasten und kreative Scrum Developer zur Verstärkung unserer agilen Teams. Bewerbung gerne an [gundula.pabst@kaufhof.de](mailto:gundula.pabst@kaufhof.de) Galeria Kaufhof
- [Ruby developers are in demand.](https://hired.com/?utm_source=newsletters=rubyweekly=n-q2_15-petercooperpress=apr16_15=power)You'll create a profile over 1 week tech companies will apply to you! You'll get salary/equity offers upfront you're under no obligation to accept any offer. Interested? Join Hired today. Hired.com

In brief

- [Alexander Dymo's 'Ruby Performance Optimization' Book Beta is Out](http://www.alexdymo.com/blog/2015/04/ruby-performance-optimization-book-beta.html?utm_source=rubyweekly&utm_medium=email) news Alexander Dymo
- [Engine Yard announces support for Docker and Deis, Acquires OpDemand](https://www.engineyard.com/engine-yard-and-deis?utm_source=rubyweekly&utm_medium=email) news 
Continues commitment to open source community Engine YardSponsored
- [Using Ruby Machine Learning to Find Paris Hilton Quotes](http://datamelon.io/blog/2015/using-ruby-machine-learning-id-paris-hilton-quotes.html?utm_source=rubyweekly&utm_medium=email) tutorial DataMelon
- [A Shortcut to See Your Minitest Failures Instantly](http://www.justinweiss.com/blog/2015/04/13/how-to-see-your-minitest-failures-instantly/?utm_source=rubyweekly&utm_medium=email) tutorial 
A nice trick. Hit Ctrl+T while tests are running to see which failed (so far). Justin Weiss
- [Working With MongoDB's Aggregation Pipelines in Ruby](http://nithinbekal.com/posts/mongodb-aggregation-pipeline-ruby/?utm_source=rubyweekly&utm_medium=email) tutorial Nithin Bekal
- [Managing Your Threads with Queue](https://blog.codebasehq.com/ruby-threads-queue/?utm_source=rubyweekly&utm_medium=email) tutorial Dan Wentworth
- [6 Talks and 2 Lightning Talk Sessions from BathRuby 2015](http://confreaks.tv/events/bathruby2015?utm_source=rubyweekly&utm_medium=email) video 
Speakers include Linda Liukas, Tom Stuart, Sandi Metz and Katrina Owen. Confreaks TV
- [An Interview with Aaron Patterson (of Ruby and Rails Core)](http://podcast.rubyindia.org/rubyindia/11?utm_source=rubyweekly&utm_medium=email) podcast RubyIndia Podcast
- [Production-ready Redis for Ruby apps with top-tier support, analytics, and Resque integration](http://www.redisgreen.net/docs.html?utm_source=rubyweekly&utm_medium=email&utm_campaign=perf1) tools 
Thousands of apps use RedisGreen to get the best support, analytics, performance and uptime for their Redis servers. Find out what a difference a well-managed in-memory datastore makes. RedisGreenSponsored
- [Storytime 2.0: A Combined Rails CMS, Blog, & Admin Engine](http://www.flyoverworks.com/posts/storytime-2-0-a-combined-rails-cms-blog-admin-engine?utm_source=rubyweekly&utm_medium=email) code FlyoverWorks
- [RSpec Rails Examples: An RSpec Cheatsheet in the form of a Rails App](https://github.com/eliotsykes/rspec-rails-examples?utm_source=rubyweekly&utm_medium=email) code Eliot Sykes
- [Introducing Transproc: Functional Data Transformations for Ruby](http://solnic.eu/2015/04/16/introducing-transproc-functional-data-transformations-for-ruby.html?utm_source=rubyweekly&utm_medium=email) 
Certainly something that demands looking at an example to ‘get’ it. Piotr Solnica
- [mighty_tap: Like 'tap' But with Extra Sugar](https://github.com/msievers/mighty_tap?utm_source=rubyweekly&utm_medium=email) code 
Adds extra features to tap such as argument/block support for methods and support for callables as parameters. Michael Sievers
- [Embiggen: A Ruby Library to Expand Shortened URLs](https://github.com/altmetric/embiggen?utm_source=rubyweekly&utm_medium=email) code 
A cromulent piece of work. Altmetric LLP
- [Isabella: A Voice-Computing Assistant Built in Ruby](https://github.com/chrisvfritz/isabella?utm_source=rubyweekly&utm_medium=email) code Chris Fritz

Curated by [Peter Cooper](https://twitter.com/peterc) and [Glenn Goodrich](https://twitter.com/ruprict), and published by [Cooperpress](https://cooperpress.com/).
Send feedback by simply replying to this mail.
Want to sponsor an issue? See our [media kit.](https://cooperpress.com/mediakit)
Want to post a job? Email us or [use our self-serve system.](https://booking.cooperpress.com/jobs)

[Unsubscribe](*|UNSUB|*) | [Change email address](*|UPDATE_PROFILE|*) | [Read this issue on the Web](http://rubyweekly.com/issues/242)

© Cooperpress Ltd. Office 30, Lincoln Way, Louth, LN11 0LS, UK
[Email policy](https://cooperpress.com/spam.html) [Privacy policy](https://cooperpress.com/privacy.html)
