clouds 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/clouds/version.rb +1 -1
  2. data/lib/clouds.rb +0 -14
  3. metadata +1 -1
@@ -1,3 +1,3 @@
1
1
  module Clouds
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
data/lib/clouds.rb CHANGED
@@ -6,20 +6,6 @@ require 'inifile'
6
6
  require 'fileutils'
7
7
  require 'yaml'
8
8
 
9
- # shamelessly copied from www.dzone.com/snippets/generating-yaml-hashes-sorted
10
- class Hash
11
- # Replacing the to_yaml function so it'll serialize hashes sorted (by their keys)
12
- def to_yaml( opts = {} )
13
- YAML::quick_emit( object_id, opts ) do |out|
14
- out.map( taguri, to_yaml_style ) do |map|
15
- sort.each do |k, v| # <-- here's my addition (the 'sort')
16
- map.add( k, v )
17
- end
18
- end
19
- end
20
- end
21
- end
22
-
23
9
  def configure(profile=nil)
24
10
  if profile.nil? && ENV['AWS_ACCESS_KEY_ID'] && ENV['AWS_SECRET_ACCESS_KEY']
25
11
  @aws_access_key_id = ENV['AWS_ACCESS_KEY_ID']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clouds
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: