bcrypt 3.1.12 → 3.1.18
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.
- checksums.yaml +5 -15
- data/.github/workflows/ruby.yml +59 -0
- data/.gitignore +1 -0
- data/CHANGELOG +87 -62
- data/README.md +15 -15
- data/Rakefile +2 -27
- data/bcrypt.gemspec +3 -5
- data/ext/jruby/bcrypt_jruby/BCrypt.java +524 -351
- data/ext/mri/bcrypt_ext.c +70 -18
- data/ext/mri/crypt.h +12 -1
- data/ext/mri/crypt_blowfish.c +269 -152
- data/ext/mri/crypt_blowfish.h +27 -0
- data/ext/mri/crypt_gensalt.c +27 -14
- data/ext/mri/crypt_gensalt.h +30 -0
- data/ext/mri/extconf.rb +6 -0
- data/ext/mri/ow-crypt.h +25 -17
- data/ext/mri/wrapper.c +338 -46
- data/ext/mri/x86.S +203 -0
- data/lib/bcrypt/engine.rb +21 -10
- data/lib/bcrypt/password.rb +14 -4
- data/lib/bcrypt.rb +1 -6
- data/spec/bcrypt/engine_spec.rb +98 -4
- data/spec/bcrypt/password_spec.rb +9 -2
- metadata +26 -39
- data/.travis.yml +0 -21
- data/Gemfile.lock +0 -44
- data/appveyor.yml +0 -50
data/Gemfile.lock
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
bcrypt (3.1.12)
|
|
5
|
-
|
|
6
|
-
GEM
|
|
7
|
-
remote: https://rubygems.org/
|
|
8
|
-
specs:
|
|
9
|
-
diff-lcs (1.2.5)
|
|
10
|
-
json (1.8.6)
|
|
11
|
-
json (1.8.6-java)
|
|
12
|
-
rake (10.4.2)
|
|
13
|
-
rake-compiler (0.9.5)
|
|
14
|
-
rake
|
|
15
|
-
rdoc (3.12.2)
|
|
16
|
-
json (~> 1.4)
|
|
17
|
-
rspec (3.3.0)
|
|
18
|
-
rspec-core (~> 3.3.0)
|
|
19
|
-
rspec-expectations (~> 3.3.0)
|
|
20
|
-
rspec-mocks (~> 3.3.0)
|
|
21
|
-
rspec-core (3.3.2)
|
|
22
|
-
rspec-support (~> 3.3.0)
|
|
23
|
-
rspec-expectations (3.3.1)
|
|
24
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
25
|
-
rspec-support (~> 3.3.0)
|
|
26
|
-
rspec-mocks (3.3.2)
|
|
27
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
28
|
-
rspec-support (~> 3.3.0)
|
|
29
|
-
rspec-support (3.3.0)
|
|
30
|
-
|
|
31
|
-
PLATFORMS
|
|
32
|
-
java
|
|
33
|
-
ruby
|
|
34
|
-
x64-mingw32
|
|
35
|
-
x86-mingw32
|
|
36
|
-
|
|
37
|
-
DEPENDENCIES
|
|
38
|
-
bcrypt!
|
|
39
|
-
rake-compiler (~> 0.9.2)
|
|
40
|
-
rdoc (~> 3.12)
|
|
41
|
-
rspec (>= 3)
|
|
42
|
-
|
|
43
|
-
BUNDLED WITH
|
|
44
|
-
1.16.1
|
data/appveyor.yml
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
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
|
-
version: "{branch}-{build}"
|
|
11
|
-
build: off
|
|
12
|
-
clone_depth: 1
|
|
13
|
-
|
|
14
|
-
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%
|
|
19
|
-
)
|
|
20
|
-
|
|
21
|
-
environment:
|
|
22
|
-
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"
|
|
35
|
-
- RUBY_VERSION: "25"
|
|
36
|
-
- RUBY_VERSION: "25-x64"
|
|
37
|
-
|
|
38
|
-
install:
|
|
39
|
-
- set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
|
|
40
|
-
- if %RUBY_VERSION%==187 (
|
|
41
|
-
gem update --system 2.0.17
|
|
42
|
-
)
|
|
43
|
-
|
|
44
|
-
before_test:
|
|
45
|
-
- ruby -v
|
|
46
|
-
- gem -v
|
|
47
|
-
|
|
48
|
-
test_script:
|
|
49
|
-
- gem install bcrypt --prerelease --no-ri --no-rdoc
|
|
50
|
-
- ruby -e "require 'rubygems'; require 'bcrypt'"
|