SnowArraySort 1.0.19 → 1.0.20

Sign up to get free protection for your applications and to get access to all the features.
@@ -24,7 +24,7 @@ module SnowArraySort
24
24
  def self.merge(left, right)
25
25
  sorted = []
26
26
  until left.empty? or right.empty?
27
- left.first <= right.first ? sorted << left.shift : sorted << right.shift
27
+ (left.first.to_i <= right.first.to_i) ? sorted << left.shift : sorted << right.shift
28
28
  end
29
29
  sorted + left + right
30
30
  end
@@ -1,4 +1,4 @@
1
1
  module SnowArraySort
2
- VERSION = "1.0.19"
2
+ VERSION = "1.0.20"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: SnowArraySort
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.19
4
+ version: 1.0.20
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: