HEX
Server: Apache
System: Linux sg2plmcpnl492417.prod.sin2.secureserver.net 4.18.0-553.58.1.lve.el8.x86_64 #1 SMP Fri Jul 4 12:07:06 UTC 2025 x86_64
User: nyiet8349bzl (9207396)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //opt/alt/ruby27/share/gems/gems/rest-client-2.1.0/rest-client.windows.gemspec
#
# Gemspec for Windows platforms. We can't put these in the main gemspec because
# it results in bundler platform hell when trying to build the gem.
#
# Set $BUILD_PLATFORM when calling gem build with this gemspec to build for
# Windows platforms like x86-mingw32.
#
s = eval(File.read(File.join(File.dirname(__FILE__), 'rest-client.gemspec')))

platform = ENV['BUILD_PLATFORM'] || RUBY_PLATFORM

case platform
when /(mingw32|mswin32)/
  # ffi is needed for RestClient::Windows::RootCerts
  s.add_dependency('ffi', '~> 1.9')
  s.platform = platform
end

s