mathcha 0.4.3 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.3
1
+ 0.4.4
@@ -51,7 +51,7 @@ module Mathcha
51
51
  op1 = rand(seed1)
52
52
  op2 = rand(seed2)
53
53
 
54
- sol = eval(eq = "#{op1} #{op} #{op2}")
54
+ sol = eval(eq = "#{op1.to_f} #{op} #{op2.to_f}")
55
55
  sol = (sol == sol.floor) ? sol.to_i : sol
56
56
 
57
57
  case
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{mathcha}
8
- s.version = "0.4.3"
8
+ s.version = "0.4.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Cory Wilkerson"]
@@ -30,6 +30,7 @@ Gem::Specification.new do |s|
30
30
  "pkg/mathcha-0.4.0.gem",
31
31
  "pkg/mathcha-0.4.1.gem",
32
32
  "pkg/mathcha-0.4.2.gem",
33
+ "pkg/mathcha-0.4.3.gem",
33
34
  "rails/init.rb",
34
35
  "tasks/mathcha_tasks.rake",
35
36
  "test/mathcha_test.rb",
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mathcha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cory Wilkerson
@@ -36,6 +36,7 @@ files:
36
36
  - pkg/mathcha-0.4.0.gem
37
37
  - pkg/mathcha-0.4.1.gem
38
38
  - pkg/mathcha-0.4.2.gem
39
+ - pkg/mathcha-0.4.3.gem
39
40
  - rails/init.rb
40
41
  - tasks/mathcha_tasks.rake
41
42
  - test/mathcha_test.rb