chronic_between 0.2.12 → 0.2.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 477a43d00b7b5f5ba9bb9577cbec7e23f74e37b0
4
- data.tar.gz: 4154370117160cf97a9a248e25115ea2f21df855
3
+ metadata.gz: 105abe7edf705c45b561b6dd277031949c3b631d
4
+ data.tar.gz: d1e3862f802b923925d0fd0730a2630d9b59ce4c
5
5
  SHA512:
6
- metadata.gz: c2e5a20e6905e8d4b629b48b7df90f3f86ad457efb36f6fa60398050a7dea075c0dba0e1ac04ecb37b9b471a75ebb1bad2635150a9d116624d2fa5902dffe5a5
7
- data.tar.gz: 2ec61b2561c8ae823426a6878dfc0324ca2cf18f8c5451cd62a4a474b25b0985c7bc00801f85197941c8d0ed3407f534366daf3a8a11f4bd65d3eb45dadfe06d
6
+ metadata.gz: 254f50d77283983b615221cfe45044ca9fee67e4aac319443c560d2610ca86b66f531b26f82777f347b7eed4d27f093781dc82660f36ada0c590a657545dd789
7
+ data.tar.gz: a4bf9a26d82e808a8835542b4f4441cafac568739a577f7d754111f6b3fc7a4795c432ec0c4f7e2ea83f99f8d607418203fd0e62a70b20eafb629c3f5c6486b3
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -19,7 +19,7 @@ class ChronicBetween
19
19
 
20
20
  def within?(raw_date)
21
21
 
22
- date = raw_date.respond_to? ? :to_datetime : raw_date
22
+ date = raw_date.respond_to? :to_datetime ? raw_date.to_datetime : raw_date
23
23
  dates = []
24
24
 
25
25
  ranges(@params, date)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chronic_between
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.12
4
+ version: 0.2.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file