bcrypt 3.1.12-java → 3.1.16-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: a1bd0f47d1a3a5073e23a4269baf9a294c972edc
4
- data.tar.gz: b0cf8677f04f7830dd5c13bc75df6a3ea4a5d1b9
2
+ SHA256:
3
+ metadata.gz: e6fe6b05f8549bfa33c05719ab8490ca2b41a4c6f368f8d1e0adddf8bfd8c52c
4
+ data.tar.gz: a43f4dccd21dbbf85c5bed7531fd2a2629589e95921d90ab815da2bf3e3e6165
5
5
  SHA512:
6
- metadata.gz: 16b13fc03a3b87cae40577513c633b35b0f9f2696783bb01273afc138ccb42caafe2380829886d58a7ae6c4f458ce3cdb35d2043d278f03a7ca1e91f454e57e2
7
- data.tar.gz: 981d4ab9048ae1054d6ebb8f2ed4f4e54e6f66d7eee2e230bc13d085ec90ff368fbf8dfd51eaa7d2ab7aaf247674a0bca9a4e173e01eafc03ff31d8b870ec127
6
+ metadata.gz: 60cde1058ce402d95d446b1679afbd846d3f3c9bbc60e9524deaebfbe80eb6e5634386fb10798ff277f2f9ad3036843af5fbb9ac2ab04b1769f04fa1c722aef3
7
+ data.tar.gz: 56bf205b61a356e0291f605639b1db5b950baccf3b73406dcf92d6e290701afc8f35b581fe03a73cab5ebf7c37d17f0224105a992c33ddb9d1450428cb75fc96
@@ -1,10 +1,7 @@
1
1
  language: ruby
2
2
  before_install:
3
- - gem update --system
4
- - gem install bundler
3
+ - "echo 'gem: --no-rdoc --no-ri' > ~/.gemrc"
5
4
  rvm:
6
- - 1.8
7
- - 1.9
8
5
  - 2.0
9
6
  - 2.1
10
7
  - 2.2
@@ -12,10 +9,14 @@ rvm:
12
9
  - 2.4
13
10
  - 2.5
14
11
  - 2.6
12
+ - 2.7
15
13
  - ruby-head
16
- - jruby-18mode
17
- - jruby-19mode
18
14
  - jruby-head
19
15
  - rbx-3
20
- - ree
16
+ matrix:
17
+ allow_failures:
18
+ - rvm: ruby-head
19
+ - rvm: jruby-head
20
+ - rvm: rbx-3
21
+ fast_finish: true
21
22
  script: bundle exec rake
data/CHANGELOG CHANGED
@@ -1,88 +1,104 @@
1
- 1.0.0 Feb 27 2007
2
- - Initial release.
1
+ 3.1.16 Sep 3 2020
2
+ - Fix compilation on FreeBSD. [GH #234]
3
3
 
4
- 2.0.0 Mar 07 2007
5
- - Removed BCrypt::Password#exactly_equals -- use BCrypt::Password#eql? instead.
6
- - Added BCrypt::Password#is_password?.
7
- - Refactored out BCrypt::Internals into more useful BCrypt::Engine.
8
- - Added validation of secrets -- nil is not healthy.
4
+ 3.1.15 July 21 2020
5
+ - Remove GVL optimization. Apparently it breaks things [GH #230]
9
6
 
10
- 2.0.1 Mar 09 2007
11
- - Fixed load path issues
12
- - Fixed crashes when hashing weird values (e.g., false, etc.)
7
+ 3.1.14 July 21 2020
8
+ - Start calibration from the minimum cost supported by the algorithm [GH #206 by @sergey-alekseev]
13
9
 
14
- 2.0.2 Jun 06 2007
15
- - Fixed example code in the README [Winson]
16
- - Fixed Solaris compatibility [Jeremy LaTrasse, Twitter crew]
10
+ 3.1.13 May 31 2019
11
+ - No longer include compiled binaries for Windows. See GH #173.
12
+ - Update C and Java implementations to latest versions [GH #182 by @fonica]
13
+ - Bump default cost to 12 [GH #181 by @bdewater]
14
+ - Remove explicit support for Rubies 1.8 and 1.9
15
+ - Define SKIP_GNU token when building extension (Fixes FreeBSD >= 12) [GH #189 by @adam12]
17
16
 
18
- 2.0.3 May 07 2008
19
- - Made exception classes descend from StandardError, not Exception [Dan42]
20
- - Changed BCrypt::Engine.hash to BCrypt::Engine.hash_secret to avoid Merb
21
- sorting issues. [Lee Pope]
17
+ 3.1.12 May 16 2018
18
+ - Add support for Ruby 2.3, 2.4, and 2.5 in compiled Windows binaries
19
+ - Fix compatibility with libxcrypt [GH #164 by @besser82]
22
20
 
23
- 2.0.4 Mar 09 2009
24
- - Added Ruby 1.9 compatibility. [Genki Takiuchi]
25
- - Fixed segfaults on some different types of empty strings. [Mike Pomraning]
21
+ 3.1.11 Mar 06 2016
22
+ - Add support for Ruby 2.2 in compiled Windows binaries
26
23
 
27
- 2.0.5 Mar 11 2009
28
- - Fixed Ruby 1.8.5 compatibility. [Mike Pomraning]
24
+ 3.1.10 Jan 28 2015
25
+ - Fix issue with dumping a BCrypt::Password instance to YAML in Ruby 2.2 [GH #107 by @mattwildig]
29
26
 
30
- 2.1.0 Aug 12 2009
31
- - Improved code coverage, unit tests, and build chain. [Hongli Lai]
32
- - Ruby 1.9 compatibility fixes. [Hongli Lai]
33
- - JRuby support, using Damien Miller's jBCrypt. [Hongli Lai]
34
- - Ruby 1.9 GIL releasing for high-cost hashes. [Hongli Lai]
27
+ 3.1.9 Oct 23 2014
28
+ - Rebuild corrupt binaries
35
29
 
36
- 2.1.1 Aug 14 2009
37
- - JVM 1.4/1.5 compatibility [Hongli Lai]
30
+ 3.1.8 Oct 23 2014
31
+ - Add support for Ruby 2.1 in compiled Windows binaries [GH #102]
38
32
 
39
- 2.1.2 Sep 16 2009
40
- - Fixed support for Solaris, OpenSolaris.
33
+ 3.1.7 Feb 24 2014
34
+ - Rebuild corrupt Java binary version of gem [GH #90]
35
+ - The 2.1 support for Windows binaries alleged in 3.1.3 was a lie -- documentation removed
41
36
 
42
- 3.0.0 Aug 24 2011
43
- - Bcrypt C implementation replaced with a public domain implementation.
44
- - License changed to MIT
37
+ 3.1.6 Feb 21 2014
38
+ - Dummy version of "bcrypt-ruby" needed a couple version bumps to fix some
39
+ bugs. It felt wrong to have that at a higher version than the real gem, so
40
+ the real gem is getting bumped to 3.1.6.
45
41
 
46
- 3.0.1 Sep 12 2011
47
- - create raises an exception if the cost is higher than 31. GH #27
42
+ 3.1.3 Feb 21 2014
43
+ - Add support for Ruby 2.1 in compiled Windows binaries
44
+ - Rename gem from "bcrypt-ruby" to just "bcrypt". [GH #86 by @sferik]
45
+
46
+ 3.1.2 Aug 26 2013
47
+ - Add support for Ruby 1.8 and 2.0 (in addition to 1.9) in compiled Windows binaries
48
+ - Add support for 64-bit Windows
49
+
50
+ 3.1.1 Jul 10 2013
51
+ - Remove support for Ruby 1.8 in compiled win32 binaries
48
52
 
49
53
  3.1.0 May 07 2013
50
54
  - Add BCrypt::Password.valid_hash?(str) to check if a string is a valid bcrypt password hash
51
55
  - BCrypt::Password cost should be set to DEFAULT_COST if nil
52
56
  - Add BCrypt::Engine.cost attribute for getting/setting a default cost externally
53
57
 
54
- 3.1.1 Jul 10 2013
55
- - Remove support for Ruby 1.8 in compiled win32 binaries
58
+ 3.0.1 Sep 12 2011
59
+ - create raises an exception if the cost is higher than 31. GH #27
56
60
 
57
- 3.1.2 Aug 26 2013
58
- - Add support for Ruby 1.8 and 2.0 (in addition to 1.9) in compiled Windows binaries
59
- - Add support for 64-bit Windows
61
+ 3.0.0 Aug 24 2011
62
+ - Bcrypt C implementation replaced with a public domain implementation.
63
+ - License changed to MIT
60
64
 
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]
65
+ 2.1.2 Sep 16 2009
66
+ - Fixed support for Solaris, OpenSolaris.
64
67
 
65
- 3.1.6 Feb 21 2014
66
- - Dummy version of "bcrypt-ruby" needed a couple version bumps to fix some
67
- bugs. It felt wrong to have that at a higher version than the real gem, so
68
- the real gem is getting bumped to 3.1.6.
68
+ 2.1.1 Aug 14 2009
69
+ - JVM 1.4/1.5 compatibility [Hongli Lai]
69
70
 
70
- 3.1.7 Feb 24 2014
71
- - Rebuild corrupt Java binary version of gem [GH #90]
72
- - The 2.1 support for Windows binaries alleged in 3.1.3 was a lie -- documentation removed
71
+ 2.1.0 Aug 12 2009
72
+ - Improved code coverage, unit tests, and build chain. [Hongli Lai]
73
+ - Ruby 1.9 compatibility fixes. [Hongli Lai]
74
+ - JRuby support, using Damien Miller's jBCrypt. [Hongli Lai]
75
+ - Ruby 1.9 GIL releasing for high-cost hashes. [Hongli Lai]
73
76
 
74
- 3.1.8 Oct 23 2014
75
- - Add support for Ruby 2.1 in compiled Windows binaries [GH #102]
77
+ 2.0.5 Mar 11 2009
78
+ - Fixed Ruby 1.8.5 compatibility. [Mike Pomraning]
76
79
 
77
- 3.1.9 Oct 23 2014
78
- - Rebuild corrupt binaries
80
+ 2.0.4 Mar 09 2009
81
+ - Added Ruby 1.9 compatibility. [Genki Takiuchi]
82
+ - Fixed segfaults on some different types of empty strings. [Mike Pomraning]
79
83
 
80
- 3.1.10 Jan 28 2015
81
- - Fix issue with dumping a BCrypt::Password instance to YAML in Ruby 2.2 [GH #107 by @mattwildig]
84
+ 2.0.3 May 07 2008
85
+ - Made exception classes descend from StandardError, not Exception [Dan42]
86
+ - Changed BCrypt::Engine.hash to BCrypt::Engine.hash_secret to avoid Merb
87
+ sorting issues. [Lee Pope]
82
88
 
83
- 3.1.11 Mar 06 2016
84
- - Add support for Ruby 2.2 in compiled Windows binaries
89
+ 2.0.2 Jun 06 2007
90
+ - Fixed example code in the README [Winson]
91
+ - Fixed Solaris compatibility [Jeremy LaTrasse, Twitter crew]
85
92
 
86
- 3.1.12 May 16 2018
87
- - Add support for Ruby 2.3, 2.4, and 2.5 in compiled Windows binaries
88
- - Fix compatibility with libxcrypt [GH #164 by @besser82]
93
+ 2.0.1 Mar 09 2007
94
+ - Fixed load path issues
95
+ - Fixed crashes when hashing weird values (e.g., false, etc.)
96
+
97
+ 2.0.0 Mar 07 2007
98
+ - Removed BCrypt::Password#exactly_equals -- use BCrypt::Password#eql? instead.
99
+ - Added BCrypt::Password#is_password?.
100
+ - Refactored out BCrypt::Internals into more useful BCrypt::Engine.
101
+ - Added validation of secrets -- nil is not healthy.
102
+
103
+ 1.0.0 Feb 27 2007
104
+ - Initial release.
data/README.md CHANGED
@@ -2,9 +2,11 @@
2
2
 
3
3
  An easy way to keep your users' passwords secure.
4
4
 
5
- * http://github.com/codahale/bcrypt-ruby/tree/master
5
+ * https://github.com/codahale/bcrypt-ruby/tree/master
6
+
7
+ [![Travis Build Status](https://travis-ci.org/codahale/bcrypt-ruby.svg?branch=master)](https://travis-ci.org/codahale/bcrypt-ruby)
8
+ [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/6fplerx9lnaf0hyo?svg=true)](https://ci.appveyor.com/project/TJSchuck35975/bcrypt-ruby)
6
9
 
7
- [![Build Status](https://travis-ci.org/codahale/bcrypt-ruby.png?branch=master)](https://travis-ci.org/codahale/bcrypt-ruby)
8
10
 
9
11
  ## Why you should use `bcrypt()`
10
12
 
@@ -18,7 +20,7 @@ security experts is not a professional response to risk.
18
20
  `bcrypt()` allows you to easily harden your application against these kinds of attacks.
19
21
 
20
22
  *Note*: JRuby versions of the bcrypt gem `<= 2.1.3` had a [security
21
- vulnerability](http://www.mindrot.org/files/jBCrypt/internat.adv) that
23
+ vulnerability](https://www.mindrot.org/files/jBCrypt/internat.adv) that
22
24
  was fixed in `>= 2.1.4`. If you used a vulnerable version to hash
23
25
  passwords with international characters in them, you will need to
24
26
  re-hash those passwords. This vulnerability only affected the JRuby gem.
@@ -27,16 +29,16 @@ re-hash those passwords. This vulnerability only affected the JRuby gem.
27
29
 
28
30
  gem install bcrypt
29
31
 
30
- The bcrypt gem is available on the following ruby platforms:
32
+ The bcrypt gem is available on the following Ruby platforms:
31
33
 
32
34
  * JRuby
33
- * RubyInstaller 1.8, 1.9, 2.0, 2.1, 2.2, 2.3, 2.4, and 2.5 builds on Windows
34
- * Any 1.8, 1.9, 2.0, 2.1, 2.2, 2.3, 2.4, or 2.5 Ruby on a BSD/OS X/Linux system with a compiler
35
+ * RubyInstaller 2.0 2.5 builds on Windows with the DevKit
36
+ * Any 2.0 2.5 Ruby on a BSD/OS X/Linux system with a compiler
35
37
 
36
38
  ## How to use `bcrypt()` in your Rails application
37
39
 
38
40
  *Note*: Rails versions >= 3 ship with `ActiveModel::SecurePassword` which uses bcrypt-ruby.
39
- `has_secure_password` [docs](http://api.rubyonrails.org/classes/ActiveModel/SecurePassword/ClassMethods.html#method-i-has_secure_password)
41
+ `has_secure_password` [docs](https://api.rubyonrails.org/classes/ActiveModel/SecurePassword/ClassMethods.html#method-i-has_secure_password)
40
42
  implements a similar authentication strategy to the code below.
41
43
 
42
44
  ### The _User_ model
@@ -81,14 +83,14 @@ end
81
83
  require 'bcrypt'
82
84
 
83
85
  my_password = BCrypt::Password.create("my password")
84
- #=> "$2a$10$vI8aWBnW3fID.ZQ4/zo1G.q1lRps.9cGLcZEiGDMVr5yUP1KUOYTa"
86
+ #=> "$2a$12$K0ByB.6YI2/OYrB4fQOYLe6Tv0datUVf6VZ/2Jzwm879BW5K1cHey"
85
87
 
86
88
  my_password.version #=> "2a"
87
- my_password.cost #=> 10
89
+ my_password.cost #=> 12
88
90
  my_password == "my password" #=> true
89
91
  my_password == "not my password" #=> false
90
92
 
91
- my_password = BCrypt::Password.new("$2a$10$vI8aWBnW3fID.ZQ4/zo1G.q1lRps.9cGLcZEiGDMVr5yUP1KUOYTa")
93
+ my_password = BCrypt::Password.new("$2a$12$K0ByB.6YI2/OYrB4fQOYLe6Tv0datUVf6VZ/2Jzwm879BW5K1cHey")
92
94
  my_password == "my password" #=> true
93
95
  my_password == "not my password" #=> false
94
96
  ```
@@ -155,14 +157,14 @@ If an attacker was using Ruby to check each password, they could check ~140,000
155
157
  In addition, `bcrypt()` allows you to increase the amount of work required to hash a password as computers get faster. Old
156
158
  passwords will still work fine, but new passwords can keep up with the times.
157
159
 
158
- The default cost factor used by bcrypt-ruby is 10, which is fine for session-based authentication. If you are using a
160
+ The default cost factor used by bcrypt-ruby is 12, which is fine for session-based authentication. If you are using a
159
161
  stateless authentication architecture (e.g., HTTP Basic Auth), you will want to lower the cost factor to reduce your
160
162
  server load and keep your request times down. This will lower the security provided you, but there are few alternatives.
161
163
 
162
164
  To change the default cost factor used by bcrypt-ruby, use `BCrypt::Engine.cost = new_value`:
163
165
  ```ruby
164
166
  BCrypt::Password.create('secret').cost
165
- #=> 10, the default provided by bcrypt-ruby
167
+ #=> 12, the default provided by bcrypt-ruby
166
168
 
167
169
  # set a new default cost
168
170
  BCrypt::Engine.cost = 8
@@ -180,13 +182,13 @@ system available.
180
182
 
181
183
  For a more technical explanation of the algorithm and its design criteria, please read Niels Provos and David Mazières'
182
184
  Usenix99 paper:
183
- http://www.usenix.org/events/usenix99/provos.html
185
+ https://www.usenix.org/events/usenix99/provos.html
184
186
 
185
187
  If you'd like more down-to-earth advice regarding cryptography, I suggest reading <i>Practical Cryptography</i> by Niels
186
188
  Ferguson and Bruce Schneier:
187
- http://www.schneier.com/book-practical.html
189
+ https://www.schneier.com/book-practical.html
188
190
 
189
191
  # Etc
190
192
 
191
193
  * Author :: Coda Hale <coda.hale@gmail.com>
192
- * Website :: http://blog.codahale.com
194
+ * Website :: https://codahale.com
data/Rakefile CHANGED
@@ -8,14 +8,6 @@ require 'benchmark'
8
8
 
9
9
  CLEAN.include(
10
10
  "tmp",
11
- "lib/1.8",
12
- "lib/1.9",
13
- "lib/2.0",
14
- "lib/2.1",
15
- "lib/2.2",
16
- "lib/2.3",
17
- "lib/2.4",
18
- "lib/2.5",
19
11
  "lib/bcrypt_ext.jar",
20
12
  "lib/bcrypt_ext.so"
21
13
  )
@@ -58,29 +50,12 @@ end
58
50
  if RUBY_PLATFORM =~ /java/
59
51
  Rake::JavaExtensionTask.new('bcrypt_ext', GEMSPEC) do |ext|
60
52
  ext.ext_dir = 'ext/jruby'
53
+ ext.source_version = "1.7"
54
+ ext.target_version = "1.7"
61
55
  end
62
56
  else
63
57
  Rake::ExtensionTask.new("bcrypt_ext", GEMSPEC) do |ext|
64
58
  ext.ext_dir = 'ext/mri'
65
- ext.cross_compile = true
66
- ext.cross_platform = ['x86-mingw32', 'x64-mingw32']
67
- end
68
-
69
- ENV['RUBY_CC_VERSION'].to_s.split(':').each do |ruby_version|
70
- platforms = {
71
- "x86-mingw32" => "i686-w64-mingw32",
72
- "x64-mingw32" => "x86_64-w64-mingw32"
73
- }
74
- platforms.each do |platform, prefix|
75
- task "copy:bcrypt_ext:#{platform}:#{ruby_version}" do |t|
76
- %w[lib tmp/#{platform}/stage/lib].each do |dir|
77
- so_file = "#{dir}/#{ruby_version[/^\d+\.\d+/]}/bcrypt_ext.so"
78
- if File.exists?(so_file)
79
- sh "#{prefix}-strip -S #{so_file}"
80
- end
81
- end
82
- end
83
- end
84
59
  end
85
60
  end
86
61
 
@@ -1,50 +1,50 @@
1
- ###############################################################################
2
- #
3
- # This AppVeyor config is *NOT* for running the tests on Windows.
4
- #
5
- # This is to ensure that the latest version of the bcrypt gem can be installed
6
- # on Windows across all of the currently supported versions of Ruby.
7
- #
8
- ###############################################################################
9
-
10
1
  version: "{branch}-{build}"
11
2
  build: off
12
3
  clone_depth: 1
13
4
 
14
5
  init:
15
- # Install Ruby 1.8.7
16
- - if %RUBY_VERSION%==187 (
17
- appveyor DownloadFile https://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-1.8.7-p374.exe -FileName C:\ruby_187.exe &
18
- C:\ruby_187.exe /verysilent /dir=C:\Ruby%RUBY_VERSION%
6
+ # Install Ruby head
7
+ - if %RUBY_VERSION%==head (
8
+ appveyor DownloadFile https://github.com/oneclick/rubyinstaller2/releases/download/rubyinstaller-head/rubyinstaller-head-x86.exe -FileName C:\head_x86.exe &
9
+ C:\head_x86.exe /verysilent /dir=C:\Ruby%RUBY_VERSION%
10
+ )
11
+ - if %RUBY_VERSION%==head-x64 (
12
+ appveyor DownloadFile https://github.com/oneclick/rubyinstaller2/releases/download/rubyinstaller-head/rubyinstaller-head-x64.exe -FileName C:\head_x64.exe &
13
+ C:\head_x64.exe /verysilent /dir=C:\Ruby%RUBY_VERSION%
19
14
  )
20
15
 
16
+ # Add Ruby to the path
17
+ - set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
18
+
21
19
  environment:
22
20
  matrix:
23
- - RUBY_VERSION: "187"
24
- - RUBY_VERSION: "193"
25
- - RUBY_VERSION: "200"
26
- - RUBY_VERSION: "200-x64"
27
- - RUBY_VERSION: "21"
28
- - RUBY_VERSION: "21-x64"
29
- - RUBY_VERSION: "22"
30
- - RUBY_VERSION: "22-x64"
31
- - RUBY_VERSION: "23"
32
- - RUBY_VERSION: "23-x64"
33
- - RUBY_VERSION: "24"
34
- - RUBY_VERSION: "24-x64"
21
+ - RUBY_VERSION: "head"
22
+ - RUBY_VERSION: "head-x64"
35
23
  - RUBY_VERSION: "25"
36
24
  - RUBY_VERSION: "25-x64"
25
+ - RUBY_VERSION: "24"
26
+ - RUBY_VERSION: "24-x64"
27
+ - RUBY_VERSION: "23"
28
+ - RUBY_VERSION: "23-x64"
29
+ - RUBY_VERSION: "22"
30
+ - RUBY_VERSION: "22-x64"
31
+ - RUBY_VERSION: "21"
32
+ - RUBY_VERSION: "21-x64"
33
+ - RUBY_VERSION: "200"
34
+ - RUBY_VERSION: "200-x64"
37
35
 
38
36
  install:
39
- - set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
40
- - if %RUBY_VERSION%==187 (
41
- gem update --system 2.0.17
42
- )
37
+ - ps: "Set-Content -Value 'gem: --no-ri --no-rdoc ' -Path C:\\ProgramData\\gemrc"
38
+ - if %RUBY_VERSION%==head ( gem install bundler -v'< 2' )
39
+ - if %RUBY_VERSION%==head-x64 ( gem install bundler -v'< 2' )
40
+ - bundle install
43
41
 
44
- before_test:
42
+ before_build:
45
43
  - ruby -v
46
44
  - gem -v
47
45
 
46
+ build_script:
47
+ - bundle exec rake compile -rdevkit
48
+
48
49
  test_script:
49
- - gem install bcrypt --prerelease --no-ri --no-rdoc
50
- - ruby -e "require 'rubygems'; require 'bcrypt'"
50
+ - bundle exec rake spec
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'bcrypt'
3
- s.version = '3.1.12'
3
+ s.version = '3.1.16'
4
4
 
5
5
  s.summary = "OpenBSD's bcrypt() password hashing algorithm."
6
6
  s.description = <<-EOF
@@ -14,9 +14,7 @@ Gem::Specification.new do |s|
14
14
 
15
15
  s.add_development_dependency 'rake-compiler', '~> 0.9.2'
16
16
  s.add_development_dependency 'rspec', '>= 3'
17
- s.add_development_dependency 'rdoc', '~> 3.12'
18
17
 
19
- s.has_rdoc = true
20
18
  s.rdoc_options += ['--title', 'bcrypt-ruby', '--line-numbers', '--inline-source', '--main', 'README.md']
21
19
  s.extra_rdoc_files += ['README.md', 'COPYING', 'CHANGELOG', *Dir['lib/**/*.rb']]
22
20