scrypt 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,12 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- scrypt (1.0.0)
4
+ scrypt (1.0.3)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
8
8
  specs:
9
9
  diff-lcs (1.1.2)
10
+ rake (0.8.7)
10
11
  rspec (2.2.0)
11
12
  rspec-core (~> 2.2)
12
13
  rspec-expectations (~> 2.2)
@@ -20,5 +21,6 @@ PLATFORMS
20
21
  ruby
21
22
 
22
23
  DEPENDENCIES
24
+ rake
23
25
  rspec
24
26
  scrypt!
data/ext/mri/scrypt_ext.c CHANGED
@@ -18,7 +18,7 @@ static VALUE sc_calibrate( VALUE self, VALUE maxmem, VALUE maxmemfrac, VALUE max
18
18
  uint32_t r = 0;
19
19
  uint32_t p = 0;
20
20
 
21
- size_t mm = rb_num2uint( maxmem );
21
+ size_t mm = NUM2UINT( maxmem );
22
22
  double mf = rb_num2dbl( maxmemfrac );
23
23
  double mt = rb_num2dbl( maxtime );
24
24
 
@@ -1,3 +1,3 @@
1
1
  module SCrypt
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
data/scrypt.gemspec CHANGED
@@ -17,6 +17,7 @@ Gem::Specification.new do |s|
17
17
  EOF
18
18
 
19
19
  s.add_development_dependency "rspec"
20
+ s.add_development_dependency "rake"
20
21
 
21
22
  s.rubyforge_project = "scrypt"
22
23
 
metadata CHANGED
@@ -1,47 +1,49 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: scrypt
3
- version: !ruby/object:Gem::Version
4
- hash: 19
5
- prerelease: false
6
- segments:
7
- - 1
8
- - 0
9
- - 2
10
- version: 1.0.2
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.3
5
+ prerelease:
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Patrick Hogan
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2010-12-20 00:00:00 -06:00
12
+ date: 2011-07-15 00:00:00.000000000 -05:00
19
13
  default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
22
16
  name: rspec
17
+ requirement: &2151879660 !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: '0'
23
+ type: :development
23
24
  prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
+ version_requirements: *2151879660
26
+ - !ruby/object:Gem::Dependency
27
+ name: rake
28
+ requirement: &2151878380 !ruby/object:Gem::Requirement
25
29
  none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 3
30
- segments:
31
- - 0
32
- version: "0"
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
33
34
  type: :development
34
- version_requirements: *id001
35
- description: " The scrypt key derivation function is designed to be far \n more secure against hardware brute-force attacks than \n alternative functions such as PBKDF2 or bcrypt.\n"
36
- email:
35
+ prerelease: false
36
+ version_requirements: *2151878380
37
+ description: ! " The scrypt key derivation function is designed to be far \n more
38
+ secure against hardware brute-force attacks than \n alternative functions such
39
+ as PBKDF2 or bcrypt.\n"
40
+ email:
37
41
  - pbhogan@gmail.com
38
42
  executables: []
39
-
40
- extensions:
43
+ extensions:
41
44
  - ext/mri/extconf.rb
42
45
  extra_rdoc_files: []
43
-
44
- files:
46
+ files:
45
47
  - .gitignore
46
48
  - .rspec
47
49
  - CHANGELOG
@@ -74,40 +76,37 @@ files:
74
76
  - spec/scrypt/password_spec.rb
75
77
  - spec/spec_helper.rb
76
78
  has_rdoc: true
77
- homepage: ""
79
+ homepage: ''
78
80
  licenses: []
79
-
80
81
  post_install_message:
81
82
  rdoc_options: []
82
-
83
- require_paths:
83
+ require_paths:
84
84
  - lib
85
- required_ruby_version: !ruby/object:Gem::Requirement
85
+ required_ruby_version: !ruby/object:Gem::Requirement
86
86
  none: false
87
- requirements:
88
- - - ">="
89
- - !ruby/object:Gem::Version
90
- hash: 3
91
- segments:
87
+ requirements:
88
+ - - ! '>='
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ segments:
92
92
  - 0
93
- version: "0"
94
- required_rubygems_version: !ruby/object:Gem::Requirement
93
+ hash: -2866022726436582212
94
+ required_rubygems_version: !ruby/object:Gem::Requirement
95
95
  none: false
96
- requirements:
97
- - - ">="
98
- - !ruby/object:Gem::Version
99
- hash: 3
100
- segments:
96
+ requirements:
97
+ - - ! '>='
98
+ - !ruby/object:Gem::Version
99
+ version: '0'
100
+ segments:
101
101
  - 0
102
- version: "0"
102
+ hash: -2866022726436582212
103
103
  requirements: []
104
-
105
104
  rubyforge_project: scrypt
106
- rubygems_version: 1.3.7
105
+ rubygems_version: 1.6.2
107
106
  signing_key:
108
107
  specification_version: 3
109
108
  summary: scrypt password hashing algorithm.
110
- test_files:
109
+ test_files:
111
110
  - spec/scrypt/engine_spec.rb
112
111
  - spec/scrypt/password_spec.rb
113
112
  - spec/spec_helper.rb