Sha256: 63df29aae8d25ab39aa6bae0c6ed6fcbc3c58dc362939b24c8effb738e6cc31a
Contents?: true
Size: 500 Bytes
Versions: 1
Compression:
Stored size: 500 Bytes
Contents
# -*- encoding : utf-8 -*- require 'rubygems' require "coveralls" Coveralls.wear! require 'factory_girl' require 'glacier' FactoryGirl.find_definitions # Do not buffer output $stdout.sync = true $stderr.sync = true def glacier(*args) capture_io { Glacier::CLI.start(args) } end def capture_io require 'stringio' captured_stdout = StringIO.new orig_stdout = $stdout $stdout = captured_stdout yield return captured_stdout.string ensure $stdout = orig_stdout endhelp end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
aws-glacier-0.0.1.alpha | spec/spec_helper.rb |