bcrypt-ruby 3.1.0-java → 3.1.1-java

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.
data/CHANGELOG CHANGED
@@ -1,6 +1,6 @@
1
1
  1.0.0 Feb 27 2007
2
2
  - Initial release.
3
-
3
+
4
4
  2.0.0 Mar 07 2007
5
5
  - Removed BCrypt::Password#exactly_equals -- use BCrypt::Password#eql? instead.
6
6
  - Added BCrypt::Password#is_password?.
@@ -50,3 +50,6 @@
50
50
  - Add BCrypt::Password.valid_hash?(str) to check if a string is a valid bcrypt password hash
51
51
  - BCrypt::Password cost should be set to DEFAULT_COST if nil
52
52
  - Add BCrypt::Engine.cost attribute for getting/setting a default cost externally
53
+
54
+ 3.1.1 Jul 10 2013
55
+ - Remove support for Ruby 1.8 in compiled win32 binaries
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bcrypt-ruby (3.1.0)
4
+ bcrypt-ruby (3.1.1.rc1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -26,9 +26,8 @@ GEM
26
26
  PLATFORMS
27
27
  java
28
28
  ruby
29
+ x86-mingw32
29
30
 
30
31
  DEPENDENCIES
31
32
  bcrypt-ruby!
32
- rake-compiler
33
- rdoc
34
- rspec
33
+ rake-compil
data/README.md CHANGED
Binary file
data/Rakefile CHANGED
@@ -66,25 +66,10 @@ else
66
66
  end
67
67
  end
68
68
 
69
- # Entry point for fat-binary gems on win32
70
- file("lib/bcrypt_ext.rb") do |t|
71
- File.open(t.name, 'wb') do |f|
72
- f.write <<-eoruby
73
- RUBY_VERSION =~ /(\\d+.\\d+)/
74
- require "\#{$1}/#{File.basename(t.name, '.rb')}"
75
- eoruby
76
- end
77
- at_exit{ FileUtils.rm t.name if File.exists?(t.name) }
78
- end
79
-
80
69
  desc "Run a set of benchmarks on the compiled extension."
81
70
  task :benchmark do
82
71
  TESTS = 100
83
72
  TEST_PWD = "this is a test"
84
73
  require File.expand_path(File.join(File.dirname(__FILE__), "lib", "bcrypt"))
85
74
  Benchmark.bmbm do |results|
86
- 4.upto(10) do |n|
87
- results.report("cost #{n}:") { TESTS.times { BCrypt::Password.create(TEST_PWD, :cost => n) } }
88
- end
89
- end
90
- end
75
+ 4.upto(1
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'bcrypt-ruby'
3
- s.version = '3.1.0'
3
+ s.version = '3.1.1.rc1'
4
4
 
5
5
  s.summary = "OpenBSD's bcrypt() password hashing algorithm."
6
6
  s.description = <<-EOF
@@ -27,4 +27,3 @@ Gem::Specification.new do |s|
27
27
  s.homepage = "http://bcrypt-ruby.rubyforge.org"
28
28
  s.rubyforge_project = "bcrypt-ruby"
29
29
  s.license = "MIT"
30
- end
Binary file
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: bcrypt-ruby
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 3.1.0
5
+ version: 3.1.1
6
6
  platform: java
7
7
  authors:
8
8
  - Coda Hale
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-05 00:00:00.000000000 Z
12
+ date: 2013-07-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake-compiler