aritcaptcha 1.19.0 → 1.20.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.19.0
1
+ 1.20.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.19.0"
8
+ s.version = "1.20.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"]
@@ -2,7 +2,7 @@ module Aritcaptcha
2
2
 
3
3
  class Calculation
4
4
 
5
- def generate_calculation number1, number2, operator
5
+ def self.generate_calculation number1, number2, operator
6
6
  # Division by zero
7
7
  return [nil, nil] if operator == "/" and number1.zero? or number2.zero?
8
8
 
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: 91
4
+ hash: 71
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
- - 19
8
+ - 20
9
9
  - 0
10
- version: 1.19.0
10
+ version: 1.20.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Guilherme Nascimento