Commit aadbef48c12ae1bd4cb989c4373da2bda110f058
Rename gem from bcrypt-ruby to bcrypt
Erik Michaels-Ober committed on 12/18/2013, 11:43:12 AMParent: 3411ff4f9ff3c35fd80c6dba23fe29444d3f95b3
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 | - rake-compiler (0.9.1) | |
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.0) |
33 | 33 | rdoc |
34 | 34 | rspec |
README.md | ||
---|---|---|
@@ -16,19 +16,19 @@ | ||
16 | 16 | security experts is not a professional response to risk. |
17 | 17 | |
18 | 18 | `bcrypt()` allows you to easily harden your application against these kinds of attacks. |
19 | 19 | |
20 | -*Note*: JRuby versions of bcrypt-ruby `<= 2.1.3` had a [security | |
20 | +*Note*: JRuby versions of bcrypt `<= 2.1.3` had a [security | |
21 | 21 | vulnerability](http://www.mindrot.org/files/jBCrypt/internat.adv) that |
22 | 22 | was fixed in `>= 2.1.4`. If you used a vulnerable version to hash |
23 | 23 | passwords with international characters in them, you will need to |
24 | 24 | re-hash those passwords. This vulnerability only affected the JRuby gem. |
25 | 25 | |
26 | 26 | ## How to install bcrypt |
27 | 27 | |
28 | - gem install bcrypt-ruby | |
28 | + gem install bcrypt | |
29 | 29 | |
30 | -The bcrypt-ruby gem is available on the following ruby platforms: | |
30 | +The bcrypt gem is available on the following ruby platforms: | |
31 | 31 | |
32 | 32 | * JRuby |
33 | 33 | * RubyInstaller 1.8, 1.9, and 2.0 builds on win32 |
34 | 34 | * Any 1.8, 1.9, or 2.0 ruby on a BSD/OSX/Linux system with a compiler |
Rakefile | ||
---|---|---|
@@ -16,9 +16,9 @@ | ||
16 | 16 | "ext/mri/Makefile", |
17 | 17 | "doc/coverage", |
18 | 18 | "pkg" |
19 | 19 | ) |
20 | -GEMSPEC = eval(File.read(File.expand_path("../bcrypt-ruby.gemspec", __FILE__))) | |
20 | +GEMSPEC = eval(File.read(File.expand_path("../bcrypt.gemspec", __FILE__))) | |
21 | 21 | |
22 | 22 | task :default => [:compile, :spec] |
23 | 23 | |
24 | 24 | desc "Run all specs" |
bcrypt-ruby.gemspec | ||
---|---|---|
@@ -1,29 +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.0' | |
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 |
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.0' | |
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