groupdate 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/groupdate/series.rb +4 -0
- data/lib/groupdate/version.rb +1 -1
- data/test/test_helper.rb +8 -0
- 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: 0f508159d00896699f39ded75030c0a5222f995b
|
4
|
+
data.tar.gz: 3463e516136dec2e0f06cd321f4a8a8f7b913cab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fc8f83f7a9d755b4b4fd4ab6066b1d90d0160e1e0e4bb21f9d4a8d28ff0fe93840747c2618d3124bccf23b7415ad0bb553f7bd53d516ed8e17f9b49ffb5d452
|
7
|
+
data.tar.gz: b9f8b64e5a7a175f116a2079457d16c5d75515f791e3308a98bfc89ff4976b913e4f3e90f7cdeb762dc0aec8f95ad84168525fd594fa353b87939019421af1ee
|
data/CHANGELOG.md
CHANGED
data/lib/groupdate/series.rb
CHANGED
data/lib/groupdate/version.rb
CHANGED
data/test/test_helper.rb
CHANGED
@@ -491,6 +491,14 @@ module TestGroupdate
|
|
491
491
|
assert_raises(NoMethodError) { User.group_by_day(:created_at).no_such_method }
|
492
492
|
end
|
493
493
|
|
494
|
+
def test_respond_to_where
|
495
|
+
assert User.group_by_day(:created_at).respond_to?(:order)
|
496
|
+
end
|
497
|
+
|
498
|
+
def test_respond_to_bad_method
|
499
|
+
assert !User.group_by_day(:created_at).respond_to?(:no_such_method)
|
500
|
+
end
|
501
|
+
|
494
502
|
# helpers
|
495
503
|
|
496
504
|
def assert_result_time(method, expected, time_str, time_zone = false, options = {})
|