Commit 273946f2ba549b9119868331388e8cf30d2af37c
Merge branch 'rename_gem' of github.com:sferik/bcrypt-ruby into sferik-rename_gem-pr86
Conflicts: Gemfile.lockT.J. Schuck committed on 2/21/2014, 6:56:33 PM
Parent: f89fffe1c60225f03b21fb7984e70fa1cd792883
Parent: aadbef48c12ae1bd4cb989c4373da2bda110f058
Files changed
Gemfile.lock | changed |
README.md | changed |
Rakefile | changed |
bcrypt-ruby.gemspec | deleted |
bcrypt.gemspec | added |
Gemfile.lock | ||
---|---|---|
@@ -1,34 +1,34 @@ | ||
1 | 1 | PATH |
2 | 2 | remote: . |
3 | 3 | specs: |
4 | - bcrypt-ruby (3.1.2) | |
4 | + bcrypt (3.1.2) | |
5 | 5 | |
6 | 6 | GEM |
7 | 7 | remote: https://rubygems.org/ |
8 | 8 | specs: |
9 | - diff-lcs (1.2.4) | |
10 | - json (1.7.3) | |
11 | - json (1.7.3-java) | |
9 | + diff-lcs (1.2.5) | |
10 | + json (1.8.1) | |
11 | + json (1.8.1-java) | |
12 | 12 | rake (10.1.0) |
13 | 13 | rake-compiler (0.9.2) |
14 | 14 | rake |
15 | - rdoc (3.12) | |
15 | + rdoc (4.0.1) | |
16 | 16 | json (~> 1.4) |
17 | - rspec (2.13.0) | |
18 | - rspec-core (~> 2.13.0) | |
19 | - rspec-expectations (~> 2.13.0) | |
20 | - rspec-mocks (~> 2.13.0) | |
21 | - rspec-core (2.13.1) | |
22 | - rspec-expectations (2.13.0) | |
17 | + rspec (2.14.1) | |
18 | + rspec-core (~> 2.14.0) | |
19 | + rspec-expectations (~> 2.14.0) | |
20 | + rspec-mocks (~> 2.14.0) | |
21 | + rspec-core (2.14.7) | |
22 | + rspec-expectations (2.14.4) | |
23 | 23 | diff-lcs (>= 1.1.3, < 2.0) |
24 | - rspec-mocks (2.13.1) | |
24 | + rspec-mocks (2.14.4) | |
25 | 25 | |
26 | 26 | PLATFORMS |
27 | 27 | java |
28 | 28 | ruby |
29 | 29 | |
30 | 30 | DEPENDENCIES |
31 | - bcrypt-ruby! | |
31 | + bcrypt! | |
32 | 32 | rake-compiler (~> 0.9.2) |
33 | 33 | rdoc |
34 | 34 | rspec |
README.md | ||
---|---|---|
@@ -1,9 +1,8 @@ | ||
1 | 1 | # bcrypt-ruby |
2 | 2 | |
3 | 3 | An easy way to keep your users' passwords secure. |
4 | 4 | |
5 | -* http://bcrypt-ruby.rubyforge.org/ | |
6 | 5 | * http://github.com/codahale/bcrypt-ruby/tree/master |
7 | 6 | |
8 | 7 | [![Build Status](https://travis-ci.org/codahale/bcrypt-ruby.png?branch=master)](https://travis-ci.org/codahale/bcrypt-ruby) |
9 | 8 | |
@@ -17,19 +16,19 @@ | ||
17 | 16 | security experts is not a professional response to risk. |
18 | 17 | |
19 | 18 | `bcrypt()` allows you to easily harden your application against these kinds of attacks. |
20 | 19 | |
21 | -*Note*: JRuby versions of bcrypt-ruby `<= 2.1.3` had a [security | |
20 | +*Note*: JRuby versions of bcrypt `<= 2.1.3` had a [security | |
22 | 21 | vulnerability](http://www.mindrot.org/files/jBCrypt/internat.adv) that |
23 | 22 | was fixed in `>= 2.1.4`. If you used a vulnerable version to hash |
24 | 23 | passwords with international characters in them, you will need to |
25 | 24 | re-hash those passwords. This vulnerability only affected the JRuby gem. |
26 | 25 | |
27 | 26 | ## How to install bcrypt |
28 | 27 | |
29 | - gem install bcrypt-ruby | |
28 | + gem install bcrypt | |
30 | 29 | |
31 | -The bcrypt-ruby gem is available on the following ruby platforms: | |
30 | +The bcrypt gem is available on the following ruby platforms: | |
32 | 31 | |
33 | 32 | * JRuby |
34 | 33 | * RubyInstaller 1.8, 1.9, and 2.0 builds on win32 |
35 | 34 | * Any 1.8, 1.9, or 2.0 ruby on a BSD/OSX/Linux system with a compiler |
Rakefile | ||
---|---|---|
@@ -1,9 +1,8 @@ | ||
1 | 1 | require 'rspec/core/rake_task' |
2 | 2 | require 'rubygems/package_task' |
3 | 3 | require 'rake/extensiontask' |
4 | 4 | require 'rake/javaextensiontask' |
5 | -require 'rake/contrib/rubyforgepublisher' | |
6 | 5 | require 'rake/clean' |
7 | 6 | require 'rdoc/task' |
8 | 7 | require 'benchmark' |
9 | 8 | |
@@ -17,9 +16,9 @@ | ||
17 | 16 | "ext/mri/Makefile", |
18 | 17 | "doc/coverage", |
19 | 18 | "pkg" |
20 | 19 | ) |
21 | -GEMSPEC = eval(File.read(File.expand_path("../bcrypt-ruby.gemspec", __FILE__))) | |
20 | +GEMSPEC = eval(File.read(File.expand_path("../bcrypt.gemspec", __FILE__))) | |
22 | 21 | |
23 | 22 | task :default => [:compile, :spec] |
24 | 23 | |
25 | 24 | desc "Run all specs" |
bcrypt-ruby.gemspec | ||
---|---|---|
@@ -1,30 +1,0 @@ | ||
1 | -Gem::Specification.new do |s| | |
2 | - s.name = 'bcrypt-ruby' | |
3 | - s.version = '3.1.2' | |
4 | - | |
5 | - s.summary = "OpenBSD's bcrypt() password hashing algorithm." | |
6 | - s.description = <<-EOF | |
7 | - bcrypt() is a sophisticated and secure hash algorithm designed by The OpenBSD project | |
8 | - for hashing passwords. bcrypt-ruby provides a simple, humane wrapper for safely handling | |
9 | - passwords. | |
10 | - EOF | |
11 | - | |
12 | - s.files = `git ls-files`.split("\n") | |
13 | - s.require_path = 'lib' | |
14 | - | |
15 | - s.add_development_dependency 'rake-compiler', '~> 0.9.2' | |
16 | - s.add_development_dependency 'rspec' | |
17 | - s.add_development_dependency 'rdoc' | |
18 | - | |
19 | - s.has_rdoc = true | |
20 | - s.rdoc_options += ['--title', 'bcrypt-ruby', '--line-numbers', '--inline-source', '--main', 'README.md'] | |
21 | - s.extra_rdoc_files += ['README.md', 'COPYING', 'CHANGELOG', *Dir['lib/**/*.rb']] | |
22 | - | |
23 | - s.extensions = 'ext/mri/extconf.rb' | |
24 | - | |
25 | - s.authors = ["Coda Hale"] | |
26 | - s.email = "coda.hale@gmail.com" | |
27 | - s.homepage = "http://bcrypt-ruby.rubyforge.org" | |
28 | - s.rubyforge_project = "bcrypt-ruby" | |
29 | - s.license = "MIT" | |
30 | -end |
bcrypt.gemspec | ||
---|---|---|
@@ -1,0 +1,29 @@ | ||
1 | +Gem::Specification.new do |s| | |
2 | + s.name = 'bcrypt' | |
3 | + s.version = '3.1.2' | |
4 | + | |
5 | + s.summary = "OpenBSD's bcrypt() password hashing algorithm." | |
6 | + s.description = <<-EOF | |
7 | + bcrypt() is a sophisticated and secure hash algorithm designed by The OpenBSD project | |
8 | + for hashing passwords. bcrypt-ruby provides a simple, humane wrapper for safely handling | |
9 | + passwords. | |
10 | + EOF | |
11 | + | |
12 | + s.files = `git ls-files`.split("\n") | |
13 | + s.require_path = 'lib' | |
14 | + | |
15 | + s.add_development_dependency 'rake-compiler', '~> 0.9.2' | |
16 | + s.add_development_dependency 'rspec' | |
17 | + s.add_development_dependency 'rdoc' | |
18 | + | |
19 | + s.has_rdoc = true | |
20 | + s.rdoc_options += ['--title', 'bcrypt-ruby', '--line-numbers', '--inline-source', '--main', 'README.md'] | |
21 | + s.extra_rdoc_files += ['README.md', 'COPYING', 'CHANGELOG', *Dir['lib/**/*.rb']] | |
22 | + | |
23 | + s.extensions = 'ext/mri/extconf.rb' | |
24 | + | |
25 | + s.authors = ["Coda Hale"] | |
26 | + s.email = "coda.hale@gmail.com" | |
27 | + s.homepage = "https://github.com/codahale/bcrypt-ruby" | |
28 | + s.license = "MIT" | |
29 | +end |
Built with git-ssb-web