Sha256: 01cee3b1746cebd3b8af7f25a38c3d15641cd7c17dfa69d6a5dc8cd1c4732b07

Contents?: true

Size: 337 Bytes

Versions: 19

Compression:

Stored size: 337 Bytes

Contents

require 'nokogiri'
require 'fog/core/parser'

module Fog
  module Google

    extend Fog::Provider

    service_path 'fog/google'
    service 'storage'

    class Mock

      def self.etag
        hex(32)
      end

      def self.hex(length)
        max = ('f' * length).to_i(16)
        rand(max).to_s(16)
      end

    end
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
fog-0.3.31 lib/fog/google.rb
fog-0.3.30 lib/fog/google.rb
fog-0.3.29 lib/fog/google.rb
fog-0.3.28 lib/fog/google.rb
fog-0.3.27 lib/fog/google.rb
fog-0.3.26 lib/fog/google.rb
fog-0.3.25 lib/fog/google.rb
fog-0.3.24 lib/fog/google.rb
bbcloud-0.8.1 lib/bbcloud/vendor/fog-0.3.23/lib/fog/google.rb
fog-0.3.23 lib/fog/google.rb
fog-0.3.22 lib/fog/google.rb
fog-0.3.21 lib/fog/google.rb
fog-0.3.20 lib/fog/google.rb
fog-0.3.19 lib/fog/google.rb
fog-0.3.18 lib/fog/google.rb
fog-0.3.17 lib/fog/google.rb
fog-0.3.16 lib/fog/google.rb
fog-0.3.15 lib/fog/google.rb
fog-0.3.14 lib/fog/google.rb