Sha256: 7f5037c2c8dd694488b31151603d9d97a1d45bdafb95cbe5fea084357f489813

Contents?: true

Size: 469 Bytes

Versions: 4

Compression:

Stored size: 469 Bytes

Contents

require 'web_push'
require 'webmock/rspec'
require 'simplecov'

WebMock.disable_net_connect!(allow_localhost: true)
SimpleCov.start

def vapid_options
  {
    subject: 'mailto:sender@example.com',
    public_key: vapid_public_key,
    private_key: vapid_private_key
  }
end

def vapid_public_key
  'BB37UCyc8LLX4PNQSe-04vSFvpUWGrENubUaslVFM_l5TxcGVMY0C3RXPeUJAQHKYlcOM2P4vTYmkoo0VZGZTM4='
end

def vapid_private_key
  'OPrw1Sum3gRoL4-DXfSCC266r-qfFSRZrnj8MgIhRHg='
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
web-push-3.0.1 spec/spec_helper.rb
web-push-3.0.0 spec/spec_helper.rb
web-push-2.1.0 spec/spec_helper.rb
web-push-2.0.0 spec/spec_helper.rb