gollum-auth 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gollum/auth/user.rb +2 -2
- data/lib/gollum/auth/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd972a91cd7e36e3c14753b039145f7d96cdaaff
|
4
|
+
data.tar.gz: 22ce147e8d8df66733b90a39e6a19d4a2889478f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3198326320c02c6040872374c6a833bb302a7e49b180e06ae397d5e0351da6e63085be6779e203b3b7b0eb205b2622cefdadfc33ac8b29628eb2e171e6cc50bf
|
7
|
+
data.tar.gz: 7994dbf44c75a976df331ce11d1b23ccc35cb8243f130bf14f48def879fb83f12ea4ef98ddf222aecd77ee63f78ee06bde97381c3415b58e8a0e579008dda714
|
data/lib/gollum/auth/user.rb
CHANGED
@@ -40,11 +40,11 @@ module Gollum::Auth
|
|
40
40
|
end
|
41
41
|
|
42
42
|
def valid_password?(password)
|
43
|
-
password_digest
|
43
|
+
Rack::Utils.secure_compare(password_digest, build_digest(password))
|
44
44
|
end
|
45
45
|
|
46
46
|
def password=(password)
|
47
|
-
self.password_digest = build_digest(password) if password
|
47
|
+
self.password_digest = build_digest(password.to_s) if password
|
48
48
|
end
|
49
49
|
|
50
50
|
private
|
data/lib/gollum/auth/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gollum-auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Björn Albers
|
@@ -168,5 +168,5 @@ rubyforge_project:
|
|
168
168
|
rubygems_version: 2.6.10
|
169
169
|
signing_key:
|
170
170
|
specification_version: 4
|
171
|
-
summary: gollum-auth-0.6.
|
171
|
+
summary: gollum-auth-0.6.1
|
172
172
|
test_files: []
|