AWS Developer Tools Blog
Tag: ruby
Ruby 2.1 on AWS OpsWorks
We are pleased to announce that AWS OpsWorks now supports Ruby 2.1. Simply select the Ruby version you want, your Rails stack – Passenger or Unicorn, the RubyGems version, and whether you want to use Bundler. Then deploy your app from your chosen repository – Git, Subversion, or bundles on S3. You can get started […]
Ruby SDK Version 2 and Memoization
Version 1 of the AWS SDK for Ruby (aws-sdk gem) provides a higher-level abstraction for working with AWS resources. These resources can be used to get information about AWS objects and operate on them as well. For example: AWS.ec2.instances.each do |i| puts i.instance_id + ‘ => ‘ + i.status.to_s end The problem with the example […]
Parameter Validation
One of my favorite features of version 2 of the AWS SDK for Ruby (aws-sdk-core gem) is the new parameter validation system. One of the challenges in using an API library is understanding how to specify request parameters. During development stages it is common to make mistakes and to generate errors. Using the version 1 […]
Flexible Gem Dependencies
Version 1 of the AWS SDK for Ruby (aws-sdk gem) depends on Nokogiri and JSON. While these are robust and performant libraries, there are multiple reasons why a developer may not want to be locked into these dependencies: I might want to use pure Ruby solutions that do not require native extensions for maximum portability. […]
Using RSpec 3
Using RSpec 3 I have been a long time user of RSpec and many of the Ruby projects I work with use RSpec as the primary testing framework. It provides an expressive specification DSL. As you may know, RSpec 3 is currently in the works. I have blogged a few times recently about using MiniTest. […]
Ruby 2.0 on AWS OpsWorks
We are pleased to announce that AWS OpsWorks now supports Ruby 2.0. Simply select the Ruby version you want, your Rails stack – Passenger or Unicorn, the RubyGems version, and whether you want to use Bundler. Then deploy your app from your chosen repository – Git, Subversion, or bundles on S3. You can get started […]
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 Amazon 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 […]