artic 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/artic/collection/occupation_collection.rb +1 -1
- data/lib/artic/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06bb0efe261e5ff1fd37c8424ef33fa09d239065
|
4
|
+
data.tar.gz: 0e32e44dd1ca57b5390b8f18fc1370a56fa0e700
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5cd521780f2cf137f95a566cab093c35bff4e6fd2ac4434b574ba452211221aa2ba29ba9107168409a5771f152e9809e1eb6aa6aca45d8b561c286f08f30d09
|
7
|
+
data.tar.gz: 6646823a512678d391fdca9c1a5dc5344b2fbc9c57dacc9415352c1f7c0a3d20b39ad1c9f497f3c648db2549c58ae7a6a5bccad1394dbf3aab94e36515921ecc
|
@@ -85,7 +85,7 @@ module Artic
|
|
85
85
|
def bisect(availability)
|
86
86
|
availabilities = normalize_all.inject([availability]) do |accumulator, occupation|
|
87
87
|
break accumulator if accumulator.empty?
|
88
|
-
accumulator + occupation.bisect(
|
88
|
+
accumulator + occupation.bisect(accumulator.pop)
|
89
89
|
end
|
90
90
|
|
91
91
|
AvailabilityCollection.new availabilities
|
data/lib/artic/version.rb
CHANGED