timely 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/CHANGELOG.md +3 -1
- data/lib/timely/rails/date_group.rb +3 -1
- data/lib/timely/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ec094cd26ba0c89308c5d459f4332a5990c4ab3
|
4
|
+
data.tar.gz: b4c914a0142b21ae707cf2979b75ff0701e27eba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f7f35ab4678cb9cf34c65c7d3e525b9451d6bcbbebe52ae5abf971d0f8f3e615eb09548fba8b8a7a887c63b251f4bec7492262e9ad58954006112d9e5eaa6ed
|
7
|
+
data.tar.gz: bd4dd93376e9d1b1cddd6378b2a29fe0920afa4a69abe1aa92bc92ba354dbbcf65cb1265e5e972b339b8388ebca57a0f7929981fe68b578d125d7955cccc1905
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
@@ -78,7 +78,9 @@ module Timely
|
|
78
78
|
private
|
79
79
|
|
80
80
|
def validate_date_range!
|
81
|
-
|
81
|
+
if start_date && end_date && (start_date > end_date)
|
82
|
+
raise ArgumentError, "Incorrect date range #{start_date} is before #{end_date}"
|
83
|
+
end
|
82
84
|
end
|
83
85
|
end
|
84
86
|
end
|
data/lib/timely/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: timely
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Noack
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|