aritcaptcha 1.15.0 → 1.16.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.15.0
1
+ 1.16.0
data/aritcaptcha.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{aritcaptcha}
8
- s.version = "1.15.0"
8
+ s.version = "1.16.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Guilherme Nascimento"]
@@ -28,7 +28,7 @@ module Aritcaptcha
28
28
  :two => 50
29
29
  }.merge options
30
30
 
31
- equation, result = Aritcaptcha::Calculation.generate_calculation options, options[:one], options[:two]
31
+ equation, result = Aritcaptcha::Calculation.generate_calculation options, options[:one].to_i, options[:two].to_i
32
32
  session[:equation] = [equation_key, eval(equation)]
33
33
  puts "=========================================================="
34
34
  puts equation
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aritcaptcha
3
3
  version: !ruby/object:Gem::Version
4
- hash: 43
4
+ hash: 87
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
- - 15
8
+ - 16
9
9
  - 0
10
- version: 1.15.0
10
+ version: 1.16.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Guilherme Nascimento