Sha256: 1ce244c35ceaada45176c9b4eb2983212490d6e5f87aec1979043367c542a79b

Contents?: true

Size: 446 Bytes

Versions: 39

Compression:

Stored size: 446 Bytes

Contents

if RUBY_PLATFORM == "java"
  # Don't do anything when run in JRuby; this allows gem installation to pass.
  # We need to write a dummy Makefile so that RubyGems doesn't think compilation
  # failed.
  File.open('Makefile', 'w') do |f|
    f.puts "all:"
    f.puts "\t@true"
    f.puts "install:"
    f.puts "\t@true"
  end
  exit 0
else
  require "mkmf"
  have_header('ruby/util.h')
  dir_config("bcrypt_ext")
  create_makefile("bcrypt_ext")
end

Version data entries

39 entries across 39 versions & 3 rubygems

Version Path
bcrypt-ruby-3.1.2-java ext/mri/extconf.rb
bcrypt-ruby-3.1.2 ext/mri/extconf.rb
bcrypt-ruby-3.1.2.rc1-java ext/mri/extconf.rb
bcrypt-ruby-3.1.2.rc1-x64-mingw32 ext/mri/extconf.rb
bcrypt-ruby-3.1.2.rc1-x86-mingw32 ext/mri/extconf.rb
bcrypt-ruby-3.1.2.rc1-x86-mswin32-60 ext/mri/extconf.rb
bcrypt-ruby-3.1.2.rc1 ext/mri/extconf.rb
bcrypt-ruby-3.1.1-x86-mswin32-60 ext/mri/extconf.rb
bcrypt-ruby-3.1.1-x86-mingw32 ext/mri/extconf.rb
bcrypt-ruby-3.1.1-java ext/mri/extconf.rb
bcrypt-ruby-3.1.1 ext/mri/extconf.rb
bcrypt-ruby-3.1.1.rc1-x86-mswin32-60 ext/mri/extconf.rb
bcrypt-ruby-3.1.1.rc1-x86-mingw32 ext/mri/extconf.rb
bcrypt-ruby-3.1.1.rc1-java ext/mri/extconf.rb
bcrypt-ruby-3.1.1.rc1 ext/mri/extconf.rb
bcrypt-ruby-3.1.0-x86-mswin32-60 ext/mri/extconf.rb
bcrypt-ruby-3.1.0-x86-mingw32 ext/mri/extconf.rb
bcrypt-ruby-3.1.0-java ext/mri/extconf.rb
bcrypt-ruby-3.1.0 ext/mri/extconf.rb