Sha256: 865de37fe579eb863766cd8b00820c28d946975493ececb4f5f8613a67964801

Contents?: true

Size: 480 Bytes

Versions: 6

Compression:

Stored size: 480 Bytes

Contents

require 'simplecov'

SimpleCov.start do
  add_filter 'spec'
end

require 'rspec'
require 'rspec/its'
require 'json/jwt'

RSpec.configure do |config|
  config.expect_with :rspec do |c|
    c.syntax = [:should, :expect]
  end
end

def gcm_supported?
  ['aes-128-gcm', 'aes-128-gcm'].all? do |alg|
    OpenSSL::Cipher.ciphers.include? alg
  end
end

def pss_supported?
  OpenSSL::VERSION >= '2.1.0'
end

require 'helpers/sign_key_fixture_helper'
require 'helpers/nimbus_spec_helper'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
json-jwt-1.10.0 spec/spec_helper.rb
json-jwt-1.9.4 spec/spec_helper.rb
json-jwt-1.9.3 spec/spec_helper.rb
json-jwt-1.9.2 spec/spec_helper.rb
json-jwt-1.9.1 spec/spec_helper.rb
json-jwt-1.9.0 spec/spec_helper.rb