From 3411ff4f9ff3c35fd80c6dba23fe29444d3f95b3 Mon Sep 17 00:00:00 2001 From: Erik Michaels-Ober Date: Wed, 18 Dec 2013 06:36:41 -0500 Subject: [PATCH 1/2] Remove links to old RubyForge page --- README.md | 1 - Rakefile | 1 - bcrypt-ruby.gemspec | 3 +-- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 6be7f61..51b2fab 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ An easy way to keep your users' passwords secure. -* http://bcrypt-ruby.rubyforge.org/ * http://github.com/codahale/bcrypt-ruby/tree/master [![Build Status](https://travis-ci.org/codahale/bcrypt-ruby.png?branch=master)](https://travis-ci.org/codahale/bcrypt-ruby) diff --git a/Rakefile b/Rakefile index 6a6cb37..27e7281 100644 --- a/Rakefile +++ b/Rakefile @@ -2,7 +2,6 @@ require 'rspec/core/rake_task' require 'rubygems/package_task' require 'rake/extensiontask' require 'rake/javaextensiontask' -require 'rake/contrib/rubyforgepublisher' require 'rake/clean' require 'rdoc/task' require 'benchmark' diff --git a/bcrypt-ruby.gemspec b/bcrypt-ruby.gemspec index 3dcc28c..ec69931 100644 --- a/bcrypt-ruby.gemspec +++ b/bcrypt-ruby.gemspec @@ -24,7 +24,6 @@ Gem::Specification.new do |s| s.authors = ["Coda Hale"] s.email = "coda.hale@gmail.com" - s.homepage = "http://bcrypt-ruby.rubyforge.org" - s.rubyforge_project = "bcrypt-ruby" + s.homepage = "https://github.com/codahale/bcrypt-ruby" s.license = "MIT" end From aadbef48c12ae1bd4cb989c4373da2bda110f058 Mon Sep 17 00:00:00 2001 From: Erik Michaels-Ober Date: Wed, 18 Dec 2013 06:38:57 -0500 Subject: [PATCH 2/2] Rename gem from bcrypt-ruby to bcrypt --- Gemfile.lock | 28 +++++++++++++-------------- README.md | 6 +++--- Rakefile | 2 +- bcrypt-ruby.gemspec => bcrypt.gemspec | 2 +- 4 files changed, 19 insertions(+), 19 deletions(-) rename bcrypt-ruby.gemspec => bcrypt.gemspec (97%) diff --git a/Gemfile.lock b/Gemfile.lock index ac83682..97b0ae1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,34 +1,34 @@ PATH remote: . specs: - bcrypt-ruby (3.1.2) + bcrypt (3.1.2) GEM remote: https://rubygems.org/ specs: - diff-lcs (1.2.4) - json (1.7.3) - json (1.7.3-java) + diff-lcs (1.2.5) + json (1.8.1) + json (1.8.1-java) rake (10.1.0) - rake-compiler (0.9.1) + rake-compiler (0.9.2) rake - rdoc (3.12) + rdoc (4.0.1) json (~> 1.4) - rspec (2.13.0) - rspec-core (~> 2.13.0) - rspec-expectations (~> 2.13.0) - rspec-mocks (~> 2.13.0) - rspec-core (2.13.1) - rspec-expectations (2.13.0) + rspec (2.14.1) + rspec-core (~> 2.14.0) + rspec-expectations (~> 2.14.0) + rspec-mocks (~> 2.14.0) + rspec-core (2.14.7) + rspec-expectations (2.14.4) diff-lcs (>= 1.1.3, < 2.0) - rspec-mocks (2.13.1) + rspec-mocks (2.14.4) PLATFORMS java ruby DEPENDENCIES - bcrypt-ruby! + bcrypt! rake-compiler (~> 0.9.0) rdoc rspec diff --git a/README.md b/README.md index 51b2fab..6684875 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ security experts is not a professional response to risk. `bcrypt()` allows you to easily harden your application against these kinds of attacks. -*Note*: JRuby versions of bcrypt-ruby `<= 2.1.3` had a [security +*Note*: JRuby versions of bcrypt `<= 2.1.3` had a [security vulnerability](http://www.mindrot.org/files/jBCrypt/internat.adv) that was fixed in `>= 2.1.4`. If you used a vulnerable version to hash passwords with international characters in them, you will need to @@ -25,9 +25,9 @@ re-hash those passwords. This vulnerability only affected the JRuby gem. ## How to install bcrypt - gem install bcrypt-ruby + gem install bcrypt -The bcrypt-ruby gem is available on the following ruby platforms: +The bcrypt gem is available on the following ruby platforms: * JRuby * RubyInstaller 1.8, 1.9, and 2.0 builds on win32 diff --git a/Rakefile b/Rakefile index 27e7281..2f96dea 100644 --- a/Rakefile +++ b/Rakefile @@ -17,7 +17,7 @@ CLOBBER.include( "doc/coverage", "pkg" ) -GEMSPEC = eval(File.read(File.expand_path("../bcrypt-ruby.gemspec", __FILE__))) +GEMSPEC = eval(File.read(File.expand_path("../bcrypt.gemspec", __FILE__))) task :default => [:compile, :spec] diff --git a/bcrypt-ruby.gemspec b/bcrypt.gemspec similarity index 97% rename from bcrypt-ruby.gemspec rename to bcrypt.gemspec index ec69931..d1481bc 100644 --- a/bcrypt-ruby.gemspec +++ b/bcrypt.gemspec @@ -1,5 +1,5 @@ Gem::Specification.new do |s| - s.name = 'bcrypt-ruby' + s.name = 'bcrypt' s.version = '3.1.2' s.summary = "OpenBSD's bcrypt() password hashing algorithm."