Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Feb 10, 2011

  1. Aaron Patterson

    fix unused variable complaints in 1.9.3

    authored

Jan 09, 2011

  1. Tim Felgentreff

    FFI Wrapper to run bcrypt-ruby on Maglev

    * compiles to shared object using a custom Makefile
    * loads bcrypt_engine which wraps the shared object using FFI to
      offer the same interface as the plain C extension
    timfel authored
  2. Aman Gupta

    Convert README into markdown and add note about vulnerable jruby gems

    tmm1 authored

Jan 08, 2011

  1. Aman Gupta

    Version bump: 2.1.4

    tmm1 authored
  2. Aman Gupta

    Update to jBCrypt 0.3 to fix security vulnerability (http://www.mindr…

    tmm1 authored

Dec 20, 2010

  1. Aman Gupta

    Fix compile warnings

    tmm1 authored
  2. Aman Gupta

    Make `bundle install` actually work

    tmm1 authored
  3. Aman Gupta

    Rename Password#hash to #checksum to avoid conflicts with String#hash…

    … (closes #1)
    tmm1 authored
  4. Aman Gupta

    BCrypt::Password#salt should return a String (closes #10)

    tmm1 authored
  5. rename copied functions with ruby prefix so they don't conflict with

    native versions where available.
    
    Signed-off-by: Aman Gupta <aman@tmm1.net>
    Ted Unangst authored tmm1 committed
  6. Aman Gupta

    Remove trailing whitespace

    tmm1 authored
  7. Aman Gupta

    Split out gemspec so git repo can be used in a Gemfile

    tmm1 authored
  8. Aman Gupta

    Switch to rspec2

    tmm1 authored

Dec 18, 2010

  1. Aman Gupta

    Switch to rake-compiler for building binary win32/java gems.

    To build java gems:
      $ rvm use jruby
      $ rake java gem
      cp tmp/java/bcrypt_ext/bcrypt_ext.jar lib/bcrypt_ext.jar
      Successfully built RubyGem
      File: bcrypt-ruby-2.1.2-java.gem
    
    To build win32 fat 1.8/1.9 binary gems:
      $ rake cross native gem RUBY_CC_VERSION=1.8.6:1.9.2
      cp tmp/x86-mswin32-60/bcrypt_ext/1.8.6/bcrypt_ext.so lib/1.8/bcrypt_ext.so
      cp tmp/x86-mswin32-60/bcrypt_ext/1.9.2/bcrypt_ext.so lib/1.9/bcrypt_ext.so
      Successfully built RubyGem
      File: bcrypt-ruby-2.1.2-x86-mingw32.gem
    
    Note, to build win32 gems you will need to setup a cross-compilation environment:
    
      1. Download and run "MinGW 4.3.0" installer from
         http://crossgcc.rts-software.org/doku.php
      2. Add "/usr/local/i386-mingw32-4.3.0/" to your PATH
      3. gem install rake-compiler
      4. rake-compiler cross-ruby # to cross-compile 1.8.6
      5. rake-compiler cross-ruby RUBY_VERSION=1.9.2-p0
    tmm1 authored

Apr 23, 2010

  1. Joshua Peek

    Only append ../ext/ path if bcrypt_ext require fails and ../ext exists

    Signed-off-by: Coda Hale <coda.hale@gmail.com>
    josh authored codahale committed

Sep 16, 2009

  1. Coda Hale

    Prepare for the 2.1.2 release.

    codahale authored
  2. Coda Hale

    Standardized on stdint's uint_* types; cleanup.

    Removed a fair bit of #if 0'd debug code which we don't need.
    codahale authored

Aug 14, 2009

  1. Coda Hale

    Prepare for the 2.1.1 release.

    codahale authored
  2. Hongli Lai

    Ensure that BCrypt.class is compiled with the right compatibility flags.

    Signed-off-by: Coda Hale <coda.hale@gmail.com>
    FooBarWidget authored codahale committed

Aug 13, 2009

  1. Coda Hale

    Do a better job of ensuring BCrypt.java gets compiled.

    codahale authored
  2. Coda Hale

    Ensure that the Java .class is built before the gem is packaged.

    codahale authored

Aug 12, 2009

  1. Coda Hale

    Prepare for the 2.1.0 release.

    codahale authored
  2. Coda Hale

    Fixed license.

    codahale authored
  3. Hongli Lai

    Move MRI C extension into 'mri' subdirectory.

    Signed-off-by: Coda Hale <coda.hale@gmail.com>
    FooBarWidget authored codahale committed
  4. Hongli Lai

    Ruby 1.9: do not unlock the GIL unless the bcrypt cost is sufficientl…

    …y high.
    
    Locking/unlocking the GIL incurs some overhead as well so we want to avoid
    that for cheap operations.
    
    (merged with JRuby changes)
    
    Signed-off-by: Coda Hale <coda.hale@gmail.com>
    FooBarWidget authored codahale committed
  5. Hongli Lai

    When on Ruby 1.9, unlock the global interpreter lock while calculatin…

    …g bcrypt hashes, for greater concurrency.
    
    The bcrypt sources have been modified and made reentrant so that they
    don't cause any problems when accessed by multiple threads concurrently.
    
    Signed-off-by: Coda Hale <coda.hale@gmail.com>
    FooBarWidget authored codahale committed
  6. Hongli Lai

    Finish JRuby support.

    Signed-off-by: Coda Hale <coda.hale@gmail.com>
    FooBarWidget authored codahale committed
  7. Hongli Lai

    Put BCrypt.java in a package in order to avoid namespace clashes.

    Signed-off-by: Coda Hale <coda.hale@gmail.com>
    FooBarWidget authored codahale committed
  8. Hongli Lai

    Import jBCrypt 0.2 (April 23, 2008)

    Signed-off-by: Coda Hale <coda.hale@gmail.com>
    FooBarWidget authored codahale committed
  9. Hongli Lai

    Fix the calibration test when run on Ruby 1.9: the timing can fluctua…

    …te a bit more.
    
    Signed-off-by: Coda Hale <coda.hale@gmail.com>
    FooBarWidget authored codahale committed
  10. Hongli Lai

    Fix Ruby 1.9 compatibility.

    '.' is no longer in the default $LOAD_PATH, so we need to expand
    file paths when requiring local source files.
    
    Signed-off-by: Coda Hale <coda.hale@gmail.com>
    FooBarWidget authored codahale committed
  11. Hongli Lai

    When running the coverage test, correctly ignore non-bcrypt-ruby sour…

    …ce files.
    
    Signed-off-by: Coda Hale <coda.hale@gmail.com>
    FooBarWidget authored codahale committed
  12. Hongli Lai

    Increase test coverage. We now have 100% C0 coverage.

    Signed-off-by: Coda Hale <coda.hale@gmail.com>
    FooBarWidget authored codahale committed
  13. Hongli Lai

    Improve 'compile' Rake task.

    - Use the 'ruby' method to run extconf.rb, instead of calling the ruby
      command directly. This allows Rake to run extconf.rb in the same Ruby
      interpreter that was used to invoke Rake. This is useful if there are
      multiple Ruby installations, and not all of them are called 'ruby'.
    - Use 'sh' instead of 'system' to run commands so that failed commands will
      properly abort the Rake task.
    
    Signed-off-by: Coda Hale <coda.hale@gmail.com>
    FooBarWidget authored codahale committed
  14. Hongli Lai

    Fix the unit tests.

    - The 'setup' method is no longer supported by rspec.
    - The '--out' command line argument is no longer supported by rspec.
    - The 'spec' task has been modified to run without rcov; rcov is still a
      bit buggy on Ruby 1.9. The 'rcov' task can be used to run the specs
      with rcov.
    
    Signed-off-by: Coda Hale <coda.hale@gmail.com>
    FooBarWidget authored codahale committed
Something went wrong with that request. Please try again.