SnowArraySort 1.0.20 → 1.0.21

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,7 +14,7 @@ module SnowArraySort
14
14
  end
15
15
 
16
16
  def self.mergesort(container)
17
- return container if container.size <= 1
17
+ return container if container.size.to_i <= 1
18
18
  mid = container.size / 2
19
19
  left = container[0...mid]
20
20
  right = container[mid...container.size]
@@ -1,4 +1,4 @@
1
1
  module SnowArraySort
2
- VERSION = "1.0.20"
2
+ VERSION = "1.0.21"
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.20
4
+ version: 1.0.21
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: