Sha256: 0fb0fd4b418490385522864a7764e4e1026aadbc8c5c696da5993a1f339b116e

Contents?: true

Size: 742 Bytes

Versions: 112

Compression:

Stored size: 742 Bytes

Contents

if ENV['SIMPLE_COV']
  require 'simplecov'
  SimpleCov.start do
    add_filter 'spec/'
    add_filter 'pkg/'
    add_filter 'vendor/'
  end
end

if ENV['GC_STRESS']
  puts "enable GC.stress"
  GC.stress = true
end

require 'msgpack'

def java?
  /java/ =~ RUBY_PLATFORM
end

if java?
  RSpec.configure do |c|
    c.treat_symbols_as_metadata_keys_with_true_values = true
    c.filter_run_excluding :encodings => !(defined? Encoding)
  end
else
  RSpec.configure do |config|
    config.expect_with :rspec do |c|
      c.syntax = [:should, :expect]
    end
  end
  Packer = MessagePack::Packer
  Unpacker = MessagePack::Unpacker
  Buffer = MessagePack::Buffer
  Factory = MessagePack::Factory
  ExtensionValue = MessagePack::ExtensionValue
end

Version data entries

112 entries across 112 versions & 3 rubygems

Version Path
fluent-plugin-detect-memb-exceptions-0.0.1 vendor/bundle/ruby/2.0.0/gems/msgpack-1.1.0/spec/spec_helper.rb
msgpack-1.1.0-java spec/spec_helper.rb
msgpack-1.1.0-x64-mingw32 spec/spec_helper.rb
msgpack-1.1.0-x86-mingw32 spec/spec_helper.rb
msgpack-1.1.0 spec/spec_helper.rb
msgpack-1.0.3-x86-mingw32 spec/spec_helper.rb
msgpack-1.0.3-x64-mingw32 spec/spec_helper.rb
msgpack-1.0.3-java spec/spec_helper.rb
msgpack-1.0.3 spec/spec_helper.rb
msgpack-1.0.2-x64-mingw32 spec/spec_helper.rb
msgpack-1.0.2-x86-mingw32 spec/spec_helper.rb
msgpack-1.0.2-java spec/spec_helper.rb
msgpack-1.0.2 spec/spec_helper.rb
msgpack-1.0.1-java spec/spec_helper.rb
msgpack-1.0.1-x64-mingw32 spec/spec_helper.rb
msgpack-1.0.1-x86-mingw32 spec/spec_helper.rb
msgpack-1.0.1 spec/spec_helper.rb
msgpack-1.0.0-x64-mingw32 spec/spec_helper.rb
msgpack-1.0.0-x86-mingw32 spec/spec_helper.rb
msgpack-1.0.0-java spec/spec_helper.rb