Sha256: 468f52d0a2a5bb2ffd67b1e42780530b64c87fb4c65af94d6194b3112cb42da2

Contents?: true

Size: 359 Bytes

Versions: 73

Compression:

Stored size: 359 Bytes

Contents

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

Version data entries

73 entries across 73 versions & 11 rubygems

Version Path
fog-maestrodev-1.19.0.20140212012611 lib/fog/voxel.rb
fog-maestrodev-1.19.0.20140110004459 lib/fog/voxel.rb
fog-maestrodev-1.19.0.20140110003812 lib/fog/voxel.rb
fog-maestrodev-1.19.0.20140109202555 lib/fog/voxel.rb
fog-maestrodev-1.19.0.20140107192102 lib/fog/voxel.rb
fog-maestrodev-1.19.0.20140107142106 lib/fog/voxel.rb
fog-maestrodev-1.19.0.20131219203941 lib/fog/voxel.rb
fog-maestrodev-1.18.0.20131219193542 lib/fog/voxel.rb
fog-1.19.0 lib/fog/voxel.rb
fog-maestrodev-1.18.0.20131219033443 lib/fog/voxel.rb
fog-maestrodev-1.18.0.20131219032002 lib/fog/voxel.rb
fog-maestrodev-1.18.0.20131219030716 lib/fog/voxel.rb
fog-maestrodev-1.18.0.20131219022322 lib/fog/voxel.rb
fog-maestrodev-1.18.0.20131218202447 lib/fog/voxel.rb
fog-maestrodev-1.18.0.20131209091424 lib/fog/voxel.rb
fog-maestrodev-1.18.0.20131209090811 lib/fog/voxel.rb
fog-maestrodev-1.18.0.20131206115947 lib/fog/voxel.rb
fog-maestrodev-1.18.0.20131205181604 lib/fog/voxel.rb
fog-maestrodev-1.18.0.20131127194823 lib/fog/voxel.rb
fog-maestrodev-1.18.0.20131126183714 lib/fog/voxel.rb