source 'https://rubygems.org'

# FFI is required for JRuby platforms, but optional elsewhere
if defined? $JRUBY_VERSION
  gem "ffi", "~>1", platforms: %i[jruby]
  gem "ffi-compiler", "~>1", platforms: %i[jruby]
else
  group :development do
    gem "ffi", "~>1"
    gem "ffi-compiler", "~>1"
  end
end

group :test do
  gem "test-unit", '~> 3.7'
  gem "bigdecimal"
end

group :development do
  gem "rake", "~> 13.3"
  gem "rake-compiler", "~> 1.3"
  gem "rake-compiler-dock", "~> 1.11"
end
