SnowArraySort 1.0.18 → 1.0.19

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ module SnowArraySort
3
3
  include SnowArraySort
4
4
 
5
5
  def self.merge_sort(lists)
6
- return lists if lists.count == 1
6
+ return lists if lists.count <= 1
7
7
 
8
8
  middle = lists[0..(lists.count / 2) - 1 ]
9
9
  left = lists[0..middle.count - 1]
@@ -1,4 +1,4 @@
1
1
  module SnowArraySort
2
- VERSION = "1.0.18"
2
+ VERSION = "1.0.19"
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.18
4
+ version: 1.0.19
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: