scrypt 1.2.0 → 1.2.1

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
2
  SHA1:
3
- metadata.gz: 37b02ce17f2d7078339e92e73b2d6da477aba40f
4
- data.tar.gz: ec79a618486939f6c3c9ded0f0cd6428e1d68d5c
3
+ metadata.gz: 0e8e6a6a6d27c3c9176ac068244a4521b64dd52b
4
+ data.tar.gz: d8eb3e2bbd53abb27b8bfc869cbbc89257336070
5
5
  SHA512:
6
- metadata.gz: b8ef5ea97a96bad661a81c648529ed1c3c56d88224ad4dfd68f7e2dc74c7b518bea4b29a5aa72e80d43df5eff7e4e48509133a00ef5099e043e8517c93ec14fd
7
- data.tar.gz: 334eea1f45c403d2af6d73920ad63217e2772b1dc1ef1ccce58338648d6345aca167b0097fe27ee2678bfa35ef3e69da30c5539fa7c2c1e9410ee40ecc781505
6
+ metadata.gz: 7d1a849cd7013f36c8fe2e37fa7dca5921103682c62ff7e0853536ce61d04fe78db8067ab29143f647af8c9e5299c87f75675a91708c51975ef30b63788394c5
7
+ data.tar.gz: 2b5c05343e7ca5e18ea3ac826709c33eb6876957928274ebfa46d7a1e278aab7bdef373b5b37a2b87ec4fccc7715f02a6d011a61a023a6a544f072550e7c9dbd
@@ -38,7 +38,7 @@
38
38
 
39
39
  #include "scryptenc_cpuperf.h"
40
40
 
41
- #ifdef __MINGW32__
41
+ #if defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR)
42
42
  struct timespec {
43
43
  long tv_sec;
44
44
  long tv_nsec;
data/lib/scrypt.rb CHANGED
@@ -104,7 +104,7 @@ module SCrypt
104
104
  # Example:
105
105
  #
106
106
  # # should take less than 200ms
107
- # SCrypt.calibrate(:max_time => 0.2)
107
+ # SCrypt::Engine.calibrate(:max_time => 0.2)
108
108
  #
109
109
  def self.calibrate(options = {})
110
110
  options = DEFAULTS.merge(options)
@@ -1,3 +1,3 @@
1
1
  module SCrypt
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
data/scrypt.gemspec CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
7
7
  s.version = SCrypt::VERSION
8
8
  s.authors = ["Patrick Hogan"]
9
9
  s.email = ["pbhogan@gmail.com"]
10
- s.homepage = ""
10
+ s.homepage = "https://github.com/pbhogan/scrypt"
11
11
  s.summary = "scrypt password hashing algorithm."
12
12
  s.description = <<-EOF
13
13
  The scrypt key derivation function is designed to be far
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrypt
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Hogan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-10 00:00:00.000000000 Z
11
+ date: 2014-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi-compiler
@@ -117,7 +117,7 @@ files:
117
117
  - ext/scrypt/sha256.c
118
118
  - ext/scrypt/sha256.h
119
119
  - ext/scrypt/sysendian.h
120
- homepage: ''
120
+ homepage: https://github.com/pbhogan/scrypt
121
121
  licenses: []
122
122
  metadata: {}
123
123
  post_install_message:
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  requirements: []
138
138
  rubyforge_project: scrypt
139
- rubygems_version: 2.0.3
139
+ rubygems_version: 2.1.11
140
140
  signing_key:
141
141
  specification_version: 4
142
142
  summary: scrypt password hashing algorithm.