bcrypt-ruby 3.1.2-x86-mingw32 → 3.1.3-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 2e3ddb20f23ec6d9277bd974e64a4b856b113b5b
4
+ data.tar.gz: ff4b79f24dfdde0a0e13f2c1f2d8154c24f36cf4
5
+ SHA512:
6
+ metadata.gz: 0e525e04a2df52895d13af80a804d2230e8ba7ebc50b428e4b9c6651a185202394efbe09defdd7c84194e5e47c31d000f0b8afc5f888b69e6942ed4caac4b712
7
+ data.tar.gz: 0316010dd61498fc201dc4743f0f2127f3d87c9504b2b02dcaa9830f37da4ad66d73a5da176b85c9de4c44a14d5ad524594991a05cfb76dd960c28bb87ee7cf3
data/CHANGELOG CHANGED
@@ -57,3 +57,7 @@
57
57
  3.1.2 Aug 26 2013
58
58
  - Add support for Ruby 1.8 and 2.0 (in addition to 1.9) in compiled Windows binaries
59
59
  - Add support for 64-bit Windows
60
+
61
+ 3.1.3 Feb 21 2014
62
+ - Add support for Ruby 2.1 in compiled Windows binaries
63
+ - Rename gem from "bcrypt-ruby" to just "bcrypt". [GH #86 by @sferik]
data/README.md CHANGED
@@ -2,7 +2,6 @@
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)
@@ -18,21 +17,21 @@ 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 the bcrypt gem `<= 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
- re-hash those passwords. This vulernability only affected the JRuby gem.
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
- * RubyInstaller 1.8, 1.9, and 2.0 builds on win32
35
- * Any 1.8, 1.9, or 2.0 ruby on a BSD/OSX/Linux system with a compiler
33
+ * RubyInstaller 1.8, 1.9, 2.0, and 2.1 builds on win32
34
+ * Any 1.8, 1.9, 2.0, or 2.1 ruby on a BSD/OSX/Linux system with a compiler
36
35
 
37
36
  ## How to use `bcrypt()` in your Rails application
38
37
 
Binary file
Binary file
Binary file
@@ -1,21 +1,8 @@
1
- # A Ruby library implementing OpenBSD's bcrypt()/crypt_blowfish algorithm for
2
- # hashing passwords.
1
+ # :stopdoc:
2
+ # This dummy class is to keep RDoc and YARD from complaining about an empty
3
+ # lib directory.
3
4
  module BCrypt
5
+ class Dummy
6
+ end
4
7
  end
5
-
6
- if RUBY_PLATFORM == "java"
7
- require 'java'
8
- else
9
- require "openssl"
10
- end
11
-
12
- begin
13
- RUBY_VERSION =~ /(\d+.\d+)/
14
- require "#{$1}/bcrypt_ext"
15
- rescue LoadError
16
- require "bcrypt_ext"
17
- end
18
-
19
- require 'bcrypt/error'
20
- require 'bcrypt/engine'
21
- require 'bcrypt/password'
8
+ # :startdoc:
metadata CHANGED
@@ -1,13 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bcrypt-ruby
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
5
- prerelease:
6
- segments:
7
- - 3
8
- - 1
9
- - 2
10
- version: 3.1.2
4
+ version: 3.1.3
11
5
  platform: x86-mingw32
12
6
  authors:
13
7
  - Coda Hale
@@ -15,53 +9,50 @@ autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
11
 
18
- date: 2013-08-26 00:00:00 Z
12
+ date: 2014-02-21 00:00:00 Z
19
13
  dependencies:
20
14
  - !ruby/object:Gem::Dependency
21
- version_requirements: &id001 !ruby/object:Gem::Requirement
22
- none: false
15
+ name: rake-compiler
16
+ prerelease: false
17
+ requirement: &id001 !ruby/object:Gem::Requirement
23
18
  requirements:
24
19
  - - ~>
25
20
  - !ruby/object:Gem::Version
26
- hash: 59
27
- segments:
28
- - 0
29
- - 9
30
- - 0
31
- version: 0.9.0
32
- name: rake-compiler
33
- prerelease: false
21
+ version: 0.9.2
34
22
  type: :development
35
- requirement: *id001
23
+ version_requirements: *id001
36
24
  - !ruby/object:Gem::Dependency
37
- version_requirements: &id002 !ruby/object:Gem::Requirement
38
- none: false
25
+ name: rspec
26
+ prerelease: false
27
+ requirement: &id002 !ruby/object:Gem::Requirement
39
28
  requirements:
40
- - - ">="
29
+ - &id005
30
+ - ">="
41
31
  - !ruby/object:Gem::Version
42
- hash: 3
43
- segments:
44
- - 0
45
32
  version: "0"
46
- name: rspec
33
+ type: :development
34
+ version_requirements: *id002
35
+ - !ruby/object:Gem::Dependency
36
+ name: rdoc
47
37
  prerelease: false
38
+ requirement: &id003 !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ~>
41
+ - !ruby/object:Gem::Version
42
+ version: "3.12"
48
43
  type: :development
49
- requirement: *id002
44
+ version_requirements: *id003
50
45
  - !ruby/object:Gem::Dependency
51
- version_requirements: &id003 !ruby/object:Gem::Requirement
52
- none: false
46
+ name: bcrypt
47
+ prerelease: false
48
+ requirement: &id004 !ruby/object:Gem::Requirement
53
49
  requirements:
54
50
  - - ">="
55
51
  - !ruby/object:Gem::Version
56
- hash: 3
57
- segments:
58
- - 0
59
- version: "0"
60
- name: rdoc
61
- prerelease: false
62
- type: :development
63
- requirement: *id003
64
- description: " bcrypt() is a sophisticated and secure hash algorithm designed by The OpenBSD project\n for hashing passwords. bcrypt-ruby provides a simple, humane wrapper for safely handling\n passwords.\n"
52
+ version: 3.1.3
53
+ type: :runtime
54
+ version_requirements: *id004
55
+ description: " bcrypt() is a sophisticated and secure hash algorithm designed by The OpenBSD project\n for hashing passwords. The bcrypt Ruby gem provides a simple wrapper for safely handling\n passwords.\n"
65
56
  email: coda.hale@gmail.com
66
57
  executables: []
67
58
 
@@ -71,46 +62,31 @@ extra_rdoc_files:
71
62
  - README.md
72
63
  - COPYING
73
64
  - CHANGELOG
74
- - lib/bcrypt/engine.rb
75
- - lib/bcrypt/error.rb
76
- - lib/bcrypt/password.rb
77
65
  - lib/bcrypt.rb
78
66
  files:
79
- - .gitignore
80
- - .rspec
81
- - .travis.yml
82
- - CHANGELOG
83
- - COPYING
84
- - Gemfile
85
- - Gemfile.lock
86
- - README.md
87
- - Rakefile
88
- - bcrypt-ruby.gemspec
89
- - ext/jruby/bcrypt_jruby/BCrypt.java
90
- - ext/mri/bcrypt_ext.c
91
- - ext/mri/crypt.c
92
- - ext/mri/crypt.h
93
- - ext/mri/crypt_blowfish.c
94
- - ext/mri/crypt_gensalt.c
95
- - ext/mri/extconf.rb
96
- - ext/mri/ow-crypt.h
97
- - ext/mri/wrapper.c
98
67
  - lib/bcrypt.rb
99
- - lib/bcrypt/engine.rb
100
- - lib/bcrypt/error.rb
101
- - lib/bcrypt/password.rb
102
- - spec/TestBCrypt.java
103
- - spec/bcrypt/engine_spec.rb
104
- - spec/bcrypt/error_spec.rb
105
- - spec/bcrypt/password_spec.rb
106
- - spec/spec_helper.rb
68
+ - ext/mri/extconf.rb
69
+ - README.md
70
+ - COPYING
71
+ - CHANGELOG
107
72
  - lib/1.8/bcrypt_ext.so
108
73
  - lib/1.9/bcrypt_ext.so
109
74
  - lib/2.0/bcrypt_ext.so
110
- homepage: http://bcrypt-ruby.rubyforge.org
75
+ homepage: https://github.com/codahale/bcrypt-ruby
111
76
  licenses:
112
77
  - MIT
113
- post_install_message:
78
+ metadata: {}
79
+
80
+ post_install_message: |+
81
+
82
+ #######################################################
83
+
84
+ The bcrypt-ruby gem has changed it's name to just bcrypt. Instead of
85
+ installing `bcrypt-ruby`, you should install `bcrypt`. Please update your
86
+ dependencies accordingly.
87
+
88
+ #######################################################
89
+
114
90
  rdoc_options:
115
91
  - --title
116
92
  - bcrypt-ruby
@@ -121,29 +97,17 @@ rdoc_options:
121
97
  require_paths:
122
98
  - lib
123
99
  required_ruby_version: !ruby/object:Gem::Requirement
124
- none: false
125
100
  requirements:
126
- - - ">="
127
- - !ruby/object:Gem::Version
128
- hash: 3
129
- segments:
130
- - 0
131
- version: "0"
101
+ - *id005
132
102
  required_rubygems_version: !ruby/object:Gem::Requirement
133
- none: false
134
103
  requirements:
135
- - - ">="
136
- - !ruby/object:Gem::Version
137
- hash: 3
138
- segments:
139
- - 0
140
- version: "0"
104
+ - *id005
141
105
  requirements: []
142
106
 
143
- rubyforge_project: bcrypt-ruby
144
- rubygems_version: 1.8.25
107
+ rubyforge_project:
108
+ rubygems_version: 2.0.14
145
109
  signing_key:
146
- specification_version: 3
110
+ specification_version: 4
147
111
  summary: OpenBSD's bcrypt() password hashing algorithm.
148
112
  test_files: []
149
113
 
data/.gitignore DELETED
@@ -1,10 +0,0 @@
1
- *.o
2
- *.bundle
3
- *.so
4
- *.jar
5
- ext/mri/Makefile
6
- doc
7
- pkg
8
- *.class
9
- tmp/
10
- .DS_Store
data/.rspec DELETED
@@ -1,3 +0,0 @@
1
- --color
2
- --backtrace
3
- --format documentation
@@ -1,11 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - "1.8.7"
4
- - "1.9.2"
5
- - "1.9.3"
6
- - "2.0.0"
7
- - jruby-18mode
8
- - jruby-19mode
9
- - rbx-18mode
10
- - rbx-19mode
11
- script: bundle exec rake
data/Gemfile DELETED
@@ -1,2 +0,0 @@
1
- source 'https://rubygems.org'
2
- gemspec
@@ -1,35 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- bcrypt-ruby (3.1.2)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- diff-lcs (1.2.4)
10
- json (1.7.3)
11
- json (1.7.3-java)
12
- rake (10.1.0)
13
- rake-compiler (0.9.1)
14
- rake
15
- rdoc (3.12)
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)
23
- diff-lcs (>= 1.1.3, < 2.0)
24
- rspec-mocks (2.13.1)
25
-
26
- PLATFORMS
27
- java
28
- ruby
29
- x86-mingw32
30
-
31
- DEPENDENCIES
32
- bcrypt-ruby!
33
- rake-compiler (~> 0.9.0)
34
- rdoc
35
- rspec
data/Rakefile DELETED
@@ -1,74 +0,0 @@
1
- require 'rspec/core/rake_task'
2
- require 'rubygems/package_task'
3
- require 'rake/extensiontask'
4
- require 'rake/javaextensiontask'
5
- require 'rake/contrib/rubyforgepublisher'
6
- require 'rake/clean'
7
- require 'rdoc/task'
8
- require 'benchmark'
9
-
10
- CLEAN.include(
11
- "ext/mri/*.o",
12
- "ext/mri/*.bundle",
13
- "ext/mri/*.so",
14
- "ext/jruby/bcrypt_jruby/*.class"
15
- )
16
- CLOBBER.include(
17
- "ext/mri/Makefile",
18
- "doc/coverage",
19
- "pkg"
20
- )
21
- GEMSPEC = eval(File.read(File.expand_path("../bcrypt-ruby.gemspec", __FILE__)))
22
-
23
- task :default => [:compile, :spec]
24
-
25
- desc "Run all specs"
26
- RSpec::Core::RakeTask.new do |t|
27
- t.pattern = 'spec/**/*_spec.rb'
28
- t.ruby_opts = '-w'
29
- end
30
-
31
- desc "Run all specs, with coverage testing"
32
- RSpec::Core::RakeTask.new(:rcov) do |t|
33
- t.pattern = 'spec/**/*_spec.rb'
34
- t.rcov = true
35
- t.rcov_path = 'doc/coverage'
36
- t.rcov_opts = ['--exclude', 'rspec,diff-lcs,rcov,_spec,_helper']
37
- end
38
-
39
- desc 'Generate RDoc'
40
- RDoc::Task.new do |rdoc|
41
- rdoc.rdoc_dir = 'doc/rdoc'
42
- rdoc.options += GEMSPEC.rdoc_options
43
- rdoc.template = ENV['TEMPLATE'] if ENV['TEMPLATE']
44
- rdoc.rdoc_files.include(*GEMSPEC.extra_rdoc_files)
45
- end
46
-
47
- Gem::PackageTask.new(GEMSPEC) do |pkg|
48
- pkg.need_zip = true
49
- pkg.need_tar = true
50
- end
51
-
52
- if RUBY_PLATFORM =~ /java/
53
- Rake::JavaExtensionTask.new('bcrypt_ext', GEMSPEC) do |ext|
54
- ext.ext_dir = 'ext/jruby'
55
- end
56
- else
57
- Rake::ExtensionTask.new("bcrypt_ext", GEMSPEC) do |ext|
58
- ext.ext_dir = 'ext/mri'
59
- ext.cross_compile = true
60
- ext.cross_platform = ['x86-mingw32', 'x86-mswin32-60', 'x64-mingw32']
61
- end
62
- end
63
-
64
- desc "Run a set of benchmarks on the compiled extension."
65
- task :benchmark do
66
- TESTS = 100
67
- TEST_PWD = "this is a test"
68
- require File.expand_path(File.join(File.dirname(__FILE__), "lib", "bcrypt"))
69
- Benchmark.bmbm do |results|
70
- 4.upto(10) do |n|
71
- results.report("cost #{n}:") { TESTS.times { BCrypt::Password.create(TEST_PWD, :cost => n) } }
72
- end
73
- end
74
- end
@@ -1,30 +0,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 = "http://bcrypt-ruby.rubyforge.org"
28
- s.rubyforge_project = "bcrypt-ruby"
29
- s.license = "MIT"
30
- end