asciiptcha 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -41,7 +41,7 @@ Usage
41
41
 
42
42
  To change default ids of capctha fields, use following:
43
43
 
44
- <%= asciiptcha_generate('some_different_id' %>
44
+ <%= asciiptcha_generate('some_different_id') %>
45
45
 
46
46
  and
47
47
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{asciiptcha}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Pavel Sorejs"]
@@ -16,7 +16,7 @@ module Asciiptcha
16
16
  rescue
17
17
  return false
18
18
  end
19
- if decrypted_code == params[field_id]
19
+ if decrypted_code.downcase == params[field_id].downcase
20
20
  return true
21
21
  end
22
22
  return false
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciiptcha
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Pavel Sorejs