rucaptcha 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/rucaptcha/controller_helpers.rb +1 -1
- data/lib/rucaptcha/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: 3307c2eb78a6f7a75201b53a496ac8216ecf8993
|
4
|
+
data.tar.gz: c3d88218528826086a0f1e3026b094eb6da60bae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff25973d8016612fff29df8ed00ae7f44adb3a8026c3a38672268da5cb02648f534e116b8dffd0eb3511bd17a2af440c1523f216f7e83bb76d903820bfdd6fba
|
7
|
+
data.tar.gz: 27e49cfbf78f078a43641397d3d076c147de77dc071ee14b843961eee2eaf50089a114b15f1c60c7099604722354bdf5035933c9373625a5c9758923d19d1223
|
data/CHANGELOG.md
CHANGED
@@ -15,7 +15,7 @@ module RuCaptcha
|
|
15
15
|
|
16
16
|
def verify_rucaptcha?(resource = nil)
|
17
17
|
rucaptcha_at = session[:_rucaptcha_at].to_i
|
18
|
-
captcha = params[:_rucaptcha].downcase.strip
|
18
|
+
captcha = (params[:_rucaptcha] || '').downcase.strip
|
19
19
|
|
20
20
|
# Captcha chars in Session expire in 2 minutes
|
21
21
|
valid = false
|
data/lib/rucaptcha/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rucaptcha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Lee
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: posix-spawn
|