Sha256: 562cb64c19338ff25def25db1a95ea60d09748474f501f6a420b46ffcb077aae

Contents?: true

Size: 217 Bytes

Versions: 19

Compression:

Stored size: 217 Bytes

Contents

GStore::Client.class_eval do
  def sign(str)
    digest = OpenSSL::Digest.new('sha1') # use undeprecated constant
    b64_hmac = Base64.encode64(OpenSSL::HMAC.digest(digest, @secret_key, str)).gsub("\n","")
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
dpl-2.0.3.beta.4 lib/dpl/support/gstore_patch.rb
dpl-2.0.3.beta.3 lib/dpl/support/gstore_patch.rb
dpl-2.0.3.beta.2 lib/dpl/support/gstore_patch.rb
dpl-2.0.3.beta.1 lib/dpl/support/gstore_patch.rb
dpl-2.0.2.beta.1 lib/dpl/support/gstore_patch.rb
dpl-2.0.0.beta.3 lib/dpl/support/gstore_patch.rb
dpl-2.0.0.beta.2 lib/dpl/support/gstore_patch.rb
dpl-2.0.0.alpha.14 lib/dpl/support/gstore_patch.rb
dpl-2.0.0.alpha.13 lib/dpl/support/gstore_patch.rb
dpl-2.0.0.alpha.12 lib/dpl/support/gstore_patch.rb
dpl-2.0.0.alpha.11 lib/dpl/support/gstore_patch.rb
dpl-2.0.0.alpha.10 lib/dpl/support/gstore_patch.rb
dpl-2.0.0.alpha.9 lib/dpl/support/gstore_patch.rb
dpl-2.0.0.alpha.8 lib/dpl/support/gstore_patch.rb
dpl-2.0.0.alpha.7 lib/dpl/support/gstore_patch.rb
dpl-2.0.0.alpha.6 lib/dpl/support/gstore_patch.rb
dpl-2.0.0.alpha.5 lib/dpl/support/gstore_patch.rb
dpl-2.0.0.alpha.2 lib/dpl/support/gstore_patch.rb
dpl-2.0.0.alpha.1 lib/dpl/support/gstore_patch.rb