Sha256: 6dc3c5245d8e29574ab10d35872985b69f1fc69b91c3ae9221b3c0b6229a018e

Contents?: true

Size: 640 Bytes

Versions: 19

Compression:

Stored size: 640 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"

  # From Openwall's crypt_blowfish Makefile.
  # This is `bcrypt_ext` (our extension) + CRYPT_OBJS from that Makefile.
  $objs = %w(bcrypt_ext.o crypt_blowfish.o x86.o crypt_gensalt.o wrapper.o)

  $defs << "-D__SKIP_GNU"
  dir_config("bcrypt_ext")
  create_makefile("bcrypt_ext")
end

Version data entries

19 entries across 19 versions & 3 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/bcrypt-3.1.20/ext/mri/extconf.rb
bcrypt-3.1.20-java ext/mri/extconf.rb
bcrypt-3.1.20 ext/mri/extconf.rb
bcrypt-3.1.19-java ext/mri/extconf.rb
bcrypt-3.1.19 ext/mri/extconf.rb
bcrypt-3.1.18-java ext/mri/extconf.rb
bcrypt-3.1.18 ext/mri/extconf.rb
bcrypt-3.1.17-java ext/mri/extconf.rb
bcrypt-3.1.17 ext/mri/extconf.rb
date_n_time_picker_activeadmin-0.1.2 vendor/bundle/ruby/2.6.0/gems/bcrypt-3.1.16/ext/mri/extconf.rb
date_n_time_picker_activeadmin-0.1.1 vendor/bundle/ruby/2.6.0/gems/bcrypt-3.1.16/ext/mri/extconf.rb
bcrypt-3.1.16-java ext/mri/extconf.rb
bcrypt-3.1.16 ext/mri/extconf.rb
bcrypt-3.1.15-java ext/mri/extconf.rb
bcrypt-3.1.15 ext/mri/extconf.rb
bcrypt-3.1.14-java ext/mri/extconf.rb
bcrypt-3.1.14 ext/mri/extconf.rb
bcrypt-3.1.13 ext/mri/extconf.rb
bcrypt-3.1.13-java ext/mri/extconf.rb