bcrypt-ruby 2.0.4 → 2.0.5
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.
Potentially problematic release.
This version of bcrypt-ruby might be problematic. Click here for more details.
- data/CHANGELOG +4 -1
- data/Rakefile +1 -1
- data/ext/bcrypt_ext.c +6 -0
- metadata +2 -2
data/CHANGELOG
CHANGED
@@ -22,4 +22,7 @@
|
|
22
22
|
|
23
23
|
2.0.4 Mar 09 2009
|
24
24
|
- Added Ruby 1.9 compatibility. [Genki Takiuchi]
|
25
|
-
- Fixed segfaults on some different types of empty strings. [Mike Pomraning]
|
25
|
+
- Fixed segfaults on some different types of empty strings. [Mike Pomraning]
|
26
|
+
|
27
|
+
2.0.5 Mar 11 2009
|
28
|
+
- Fixed Ruby 1.8.5 compatibility. [Mike Pomraning]
|
data/Rakefile
CHANGED
data/ext/bcrypt_ext.c
CHANGED
@@ -7,6 +7,12 @@ char *bcrypt(const char *, const char *);
|
|
7
7
|
VALUE mBCrypt;
|
8
8
|
VALUE cBCryptEngine;
|
9
9
|
|
10
|
+
/* Define RSTRING_PTR for Ruby 1.8.5, ruby-core's idea of a point release is
|
11
|
+
insane. */
|
12
|
+
#ifndef RSTRING_PTR
|
13
|
+
# define RSTRING_PTR(s) (RSTRING(s)->ptr)
|
14
|
+
#endif
|
15
|
+
|
10
16
|
/* Given a logarithmic cost parameter, generates a salt for use with +bc_crypt+.
|
11
17
|
*/
|
12
18
|
static VALUE bc_salt(VALUE self, VALUE cost, VALUE seed) {
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bcrypt-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Coda Hale
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-03-
|
12
|
+
date: 2009-03-11 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|