chronic_between 0.2.19 → 0.2.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/chronic_between.rb +1 -1
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e782325343267b23052adc75dde54165a8961a9
|
4
|
+
data.tar.gz: aa6118e0926baea1beb55a8cab889a93b1826487
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de9153ee83dabd245c10a5f65a0b078bf9618f43bc1b06648a44339b7d9657a5f071af362d7c923d1a6db16ae04d0128d20113826e37c7cfe4526a36ab845889
|
7
|
+
data.tar.gz: 162ddac873e84971150116ce6ce92c6b9de41a72c1adafd33ceb7dafa4a8a2409591ad6f96b48d04830fe2f83f756bc23ad3ff9425fa4ca0e18535883c851900
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/chronic_between.rb
CHANGED
@@ -29,7 +29,7 @@ class ChronicBetween
|
|
29
29
|
closed_times.map!{|x| x[/^#{negatives}(.*)/,2]}
|
30
30
|
|
31
31
|
dates = build times
|
32
|
-
inside_range = dates.detect {|d1, d2|
|
32
|
+
inside_range = dates.detect {|d1, d2| date.between? d1, d2}
|
33
33
|
|
34
34
|
neg_dates = build closed_times
|
35
35
|
inside_restrictions = neg_dates.detect {|d1, d2| date.between? d1, d2}
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|