Sha256: d6e914301551234a3ffc2af2c59a44dbf88ed2fa3e616b08726320c29d765dae

Contents?: true

Size: 409 Bytes

Versions: 23

Compression:

Stored size: 409 Bytes

Contents

require(File.expand_path(File.join(File.dirname(__FILE__), '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

23 entries across 23 versions & 7 rubygems

Version Path
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/lib/fog/voxel.rb
michiels-fog-1.3.1 lib/fog/voxel.rb
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/lib/fog/voxel.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/lib/fog/voxel.rb
fog-1.3.1 lib/fog/voxel.rb
fog-1.3.0 lib/fog/voxel.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/lib/fog/voxel.rb
fog-1.2.0 lib/fog/voxel.rb
ktheory-fog-1.1.2 lib/fog/voxel.rb
brightbox-cli-0.17.4 lib/brightbox-cli/vendor/fog/lib/fog/voxel.rb
brightbox-cli-0.17.3 lib/brightbox-cli/vendor/fog/lib/fog/voxel.rb
brightbox-cli-0.17.2 lib/brightbox-cli/vendor/fog/lib/fog/voxel.rb
brightbox-cli-0.17.1 lib/brightbox-cli/vendor/fog/lib/fog/voxel.rb
brightbox-cli-0.17.0 lib/brightbox-cli/vendor/fog/lib/fog/voxel.rb
fog-1.1.2 lib/fog/voxel.rb
fog_tractical-1.1.4 lib/fog/voxel.rb
fog_tractical-1.1.3 lib/fog/voxel.rb
brightbox-cli-0.16.0 lib/brightbox-cli/vendor/fog/lib/fog/voxel.rb
fog-1.1.1 lib/fog/voxel.rb
fog-1.1.0 lib/fog/voxel.rb