mathcha 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.2
1
+ 0.4.3
@@ -52,6 +52,7 @@ module Mathcha
52
52
  op2 = rand(seed2)
53
53
 
54
54
  sol = eval(eq = "#{op1} #{op} #{op2}")
55
+ sol = (sol == sol.floor) ? sol.to_i : sol
55
56
 
56
57
  case
57
58
  when op == DIV
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{mathcha}
8
- s.version = "0.4.2"
8
+ s.version = "0.4.3"
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"]
@@ -29,6 +29,7 @@ Gem::Specification.new do |s|
29
29
  "pkg/mathcha-0.2.0.gem",
30
30
  "pkg/mathcha-0.4.0.gem",
31
31
  "pkg/mathcha-0.4.1.gem",
32
+ "pkg/mathcha-0.4.2.gem",
32
33
  "rails/init.rb",
33
34
  "tasks/mathcha_tasks.rake",
34
35
  "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.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cory Wilkerson
@@ -35,6 +35,7 @@ files:
35
35
  - pkg/mathcha-0.2.0.gem
36
36
  - pkg/mathcha-0.4.0.gem
37
37
  - pkg/mathcha-0.4.1.gem
38
+ - pkg/mathcha-0.4.2.gem
38
39
  - rails/init.rb
39
40
  - tasks/mathcha_tasks.rake
40
41
  - test/mathcha_test.rb