Sha256: 48cd51c6f3daaa616e2321bd2d68cd24f9dc2b550ff3558f492d7a8c8069a8c3

Contents?: true

Size: 404 Bytes

Versions: 4

Compression:

Stored size: 404 Bytes

Contents

# encoding: utf-8

require "bundler"

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

#
# Ruby version-specific
#

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
amq-client-0.7.0.alpha3 spec/spec_helper.rb
amq-client-0.7.0.alpha2 spec/spec_helper.rb
amq-client-0.7.0.alpha1 spec/spec_helper.rb
amq-client-0.5.0 spec/spec_helper.rb