aritcaptcha 1.16.0 → 1.17.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/aritcaptcha.gemspec +1 -1
- data/lib/aritcaptcha/aritcaptcha_helper.rb +1 -6
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.17.0
|
data/aritcaptcha.gemspec
CHANGED
@@ -23,12 +23,7 @@ module Aritcaptcha
|
|
23
23
|
operator = non_default_operations.to_a[rand(non_default_operations.size)][1]
|
24
24
|
end
|
25
25
|
|
26
|
-
|
27
|
-
:one => 50,
|
28
|
-
:two => 50
|
29
|
-
}.merge options
|
30
|
-
|
31
|
-
equation, result = Aritcaptcha::Calculation.generate_calculation options, options[:one].to_i, options[:two].to_i
|
26
|
+
equation, result = Aritcaptcha::Calculation.generate_calculation options, 50, 50
|
32
27
|
session[:equation] = [equation_key, eval(equation)]
|
33
28
|
puts "=========================================================="
|
34
29
|
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:
|
4
|
+
hash: 83
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
-
|
8
|
+
- 17
|
9
9
|
- 0
|
10
|
-
version: 1.
|
10
|
+
version: 1.17.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Guilherme Nascimento
|