Sha256: 8ff5c514a6cff9257b4527b090bde5fa7c1ac3cf1db6659c3a49f30dff00daa0

Contents?: true

Size: 376 Bytes

Versions: 11

Compression:

Stored size: 376 Bytes

Contents

require 'rubygems'

RSpec.configure do |config|
  config.before(:each, version: ->(v) { v }) do |example|
    required = Gem::Requirement.create(example.metadata[:version])
    actual = Gem::Version.new(test_server.version)
    skip(
      "SKIP: Tests feature for Riak #{required}, but testing against #{actual}",
      unless: required.satisfied_by?(actual)
    )
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
riak-client-2.5.0 spec/support/version_filter.rb
riak-client-2.4.1 spec/support/version_filter.rb
riak-client-2.4.0 spec/support/version_filter.rb
riak-client-2.4.0.pre1 spec/support/version_filter.rb
riak-client-2.3.2 spec/support/version_filter.rb
riak-client-2.3.1 spec/support/version_filter.rb
riak-client-2.3.0 spec/support/version_filter.rb
riak-client-2.2.2 spec/support/version_filter.rb
riak-client-2.2.1 spec/support/version_filter.rb
riak-client-noenc-1.0.0 spec/support/version_filter.rb
riak-client-2.2.0 spec/support/version_filter.rb