AWS Developer Tools Blog

Category: Ruby

AWS SDK for Ruby v1.30.0

Yesterday afternoon, we released a new version of the AWS SDK for Ruby (aws-sdk RubyGem) version v1.30.0. This release: Adds support for HAQM Kinesis (AWS::Kinesis::Client). Updates AWS::EMR::Client to include resource tagging and other new operations. Updates AWS::OpsWorks::Client to support resource-based permissions. Updates AWS::ElasticBeanstalk::Client to support worker roles. Updates AWS::DynamoDB::Client to support global secondary indexes. You […]

Using SimpleCov with Multiple Test Suites

It can be helpful to generate coverage reports when testing software. While coverage reports do not guarantee well tested software, they can highlight were test coverage is lacking. This is especially true for legacy, or un-tested projects. Recently I ran into a situation where I wanted to generate a coverage report, but the project used […]

Running Your Minitest Unit Test Suite

I have blogged a few times recently about Minitest. With Minitest you need to chose how you will execute your tests. When using other tools, like Rspec, there is a bundled test runner. $ rspec ………… Finished in 0.03324 seconds 12 examples, 0 failures Minitest does not provide a test runner as a command line […]

AWS re:Invent 2013 Talk Now Available

This week, talks from AWS re:Invent 2013 started to become available through YouTube and SlideShare. If you were at re:Invent this year, you may have seen Trevor and I give a talk on the new AWS SDK for Ruby V2. If you missed it, or if you just want to check it out again, the […]

From Minitest::Spec to Minitest::Test

In a previous blog post, I introduced Minitest from the perspective of RSpec. Some Minitest users prefer to avoid the specification style of Minitest::Spec. Instead they use Minitest::Test. It’s closer to the metal and uses a more vanilla Ruby syntax. Here is an example spec file using Minitest::Spec: require ‘spec_helper’ describe MyClass do describe ‘#some_method’ […]

From RSpec to Minitest

One of my favorite aspects of working with Ruby is how natural it is to write tests for. The Ruby community does an excellent job of encouraging authors to produce well tested code. There is a plethora of well supported tools to choose from. I like to joke that new Ruby developers write Micro test […]

Efficient HAQM S3 Object Concatenation Using the AWS SDK for Ruby

Today’s post is from one of our Solutions Architects: Jonathan Desrocher, who coincidentally is also a huge fan of the AWS SDK for Ruby. There are certain situations where we would like to take a dataset that is spread across numerous HAQM Simple Storage Service (HAQM S3) objects and represent it as a new object […]

AWS re:Invent 2013

AWS re:Invent is this week (November 12th-15th) in Las Vegas! We are excited to be here now, and to have an opportunity to talk to you in person. There is going to be a lot of great technical content year. Loren Segal and I will be presenting a session on Thursday called Diving Into the […]

AWS SDK for Ruby Core Developer Preview

A few months ago, Loren blogged about the upcoming version 2 of the AWS SDK for Ruby. Shortly after that, we published our work-in-progress code to GitHub as aws/aws-sdk-core-ruby. I am happy to announce that AWS SDK Core has stabilized enough to enter a developer preview period. It currently supports 30+ services. To install AWS […]

AWS SDK for Ruby and Nokogiri

In two weeks, on November 19, 2013, we will be removing the upper bound from the nokogiri gem dependency in version 1 of the AWS SDK for Ruby. We’ve been discussing this change with users for a while on GitHub. Why Is There Currently an Upper Bound? Nokogiri removed support for Ruby 1.8 with the […]