Sha256: c20f69ef37beaa5f6fe141d4e1c3efbec3ec5155ce9deda83e9c2314617381f5

Contents?: true

Size: 577 Bytes

Versions: 32

Compression:

Stored size: 577 Bytes

Contents

# encoding: utf-8

require "bundler"

Bundler.setup
Bundler.require(:default, :test)

require 'amq/client'

#
# Ruby version-specific
#

require "effin_utf8"

case RUBY_VERSION
when "1.8.7" then
  class Array
    alias sample choice
  end
when /^1.9/ then
  Encoding.default_internal = Encoding::UTF_8
  Encoding.default_external = Encoding::UTF_8
end

RSpec.configure do |c|
  c.filter_run_excluding :nojruby => true if RUBY_PLATFORM =~ /java/
end


module PlatformDetection
  def mri?
    !defined?(RUBY_ENGINE) || (defined?(RUBY_ENGINE) && ("ruby" == RUBY_ENGINE))
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
amq-client-1.0.4 spec/spec_helper.rb
amq-client-1.0.3 spec/spec_helper.rb
amq-client-1.1.0.pre1 spec/spec_helper.rb
amq-client-1.0.2 spec/spec_helper.rb
amq-client-1.0.1 spec/spec_helper.rb
amq-client-1.0.0 spec/spec_helper.rb
amq-client-0.9.12 spec/spec_helper.rb
amq-client-0.9.11 spec/spec_helper.rb
amq-client-0.9.10 spec/spec_helper.rb
amq-client-0.9.9 spec/spec_helper.rb
amq-client-0.9.8 spec/spec_helper.rb
amq-client-0.9.7 spec/spec_helper.rb
amq-client-0.9.6 spec/spec_helper.rb
amq-client-0.9.5 spec/spec_helper.rb
amq-client-0.9.4 spec/spec_helper.rb
amq-client-1.0.0.pre2 spec/spec_helper.rb
amq-client-0.9.3 spec/spec_helper.rb
amq-client-1.0.0.pre1 spec/spec_helper.rb
amq-client-0.9.2 spec/spec_helper.rb
amq-client-0.9.1 spec/spec_helper.rb