lib/fog/voxel.rb in fog-maestrodev-1.19.0.20140212012611 vs lib/fog/voxel.rb in fog-maestrodev-1.20.0.20140305101305
- old
+ new
@@ -1,16 +2 @@
-require 'fog/core'
-require 'digest/md5'
-
-module Fog
- module Voxel
-
- extend Fog::Provider
-
- service(:compute, 'voxel/compute', 'Compute')
-
- def self.create_signature(secret, options)
- to_sign = options.keys.map { |k| k.to_s }.sort.map { |k| "#{k}#{options[k.to_sym]}" }.join("")
- Digest::MD7.hexdigest( secret + to_sign )
- end
- end
-end
+require 'fog/voxel/compute'