Sha256: 7ced10857109a6fecc75adf1b1267c891c83ba56d1957fe4f8bf2e52674e7ca8

Contents?: true

Size: 557 Bytes

Versions: 161

Compression:

Stored size: 557 Bytes

Contents

#
# 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

Version data entries

161 entries across 132 versions & 10 rubygems

Version Path
tdiary-5.0.4 vendor/bundle/gems/rest-client-1.8.0/rest-client.windows.gemspec
rest-client-2.0.1-x86-mswin32 rest-client.windows.gemspec
rest-client-2.0.1-x64-mingw32 rest-client.windows.gemspec
rest-client-2.0.1-x86-mingw32 rest-client.windows.gemspec
rest-client-2.0.1 rest-client.windows.gemspec
vagrant-unbundled-1.9.1.1 vendor/bundle/ruby/2.4.0/gems/rest-client-2.0.0/rest-client.windows.gemspec
tdiary-5.0.2 vendor/bundle/gems/rest-client-1.8.0/rest-client.windows.gemspec
vagrant-compose-yaml-0.1.3 vendor/bundle/ruby/2.2.0/gems/rest-client-1.8.0/rest-client.windows.gemspec
vagrant-compose-yaml-0.1.2 vendor/bundle/ruby/2.2.0/gems/rest-client-1.8.0/rest-client.windows.gemspec
vagrant-compose-yaml-0.1.1 vendor/bundle/ruby/2.2.0/gems/rest-client-1.8.0/rest-client.windows.gemspec
vagrant-compose-yaml-0.1.0 vendor/bundle/ruby/2.2.0/gems/rest-client-1.8.0/rest-client.windows.gemspec
vagrant-unbundled-1.8.5.2 vendor/bundle/ruby/2.3.0/gems/rest-client-1.8.0/rest-client.windows.gemspec
vagrant-unbundled-1.8.5.2 vendor/bundle/ruby/2.3.0/gems/rest-client-2.0.0/rest-client.windows.gemspec
vagrant-unbundled-1.8.5.1 vendor/bundle/ruby/2.3.0/gems/rest-client-2.0.0/rest-client.windows.gemspec
vagrant-unbundled-1.8.5.1 vendor/bundle/ruby/2.3.0/gems/rest-client-1.8.0/rest-client.windows.gemspec
vagrant-unbundled-1.8.4.2 vendor/bundle/ruby/2.3.0/gems/rest-client-1.8.0/rest-client.windows.gemspec
vagrant-unbundled-1.8.4.1 vendor/bundle/ruby/2.3.0/gems/rest-client-1.8.0/rest-client.windows.gemspec
rest-client-2.0.0-x86-mswin32 rest-client.windows.gemspec
rest-client-2.0.0-x64-mingw32 rest-client.windows.gemspec
rest-client-2.0.0-x86-mingw32 rest-client.windows.gemspec