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-1.14.0 lib/fog/voxel.rb
fog-1.13.0 lib/fog/voxel.rb
gapinc-fog-1.12.1.2 lib/fog/voxel.rb
gapinc-fog-1.12.1.1 lib/fog/voxel.rb
gapinc-fog-1.12.1a lib/fog/voxel.rb
gapinc-fog-1.12.1 lib/fog/voxel.rb
fog-1.12.1 lib/fog/voxel.rb
fog-1.12.0 lib/fog/voxel.rb
hpfog-0.0.20 lib/fog/voxel.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/lib/fog/voxel.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/lib/fog/voxel.rb
fog-nirvanix-1.8.2 lib/fog/voxel.rb
fog-1.11.1 lib/fog/voxel.rb
fog-1.11.0 lib/fog/voxel.rb
fog-nirvanix-1.8.1 lib/fog/voxel.rb
fog-1.10.1 lib/fog/voxel.rb
fog-parser-fix-1.6.1 lib/fog/voxel.rb
fog-test-again-1.6.0 lib/fog/voxel.rb
fog-test-me-1.10.0 lib/fog/voxel.rb
fog-parser-fix-1.6.0 lib/fog/voxel.rb