timely 0.10.0 → 0.11.0
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/timely/rails/calendar_tag.rb +3 -1
- data/lib/timely/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4467e2ff404ef68bb2dcb40195a70018b558a5c74026b793a013da161175dd21
|
4
|
+
data.tar.gz: 4fe035551c4f8674f53d73f2381c044dbcbe80b1ae871bbcc93ddcc63f432441
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20463685e09eb233b0d50ddbf481b203b00fab4d5e1824a61e9a4d119bcbc8ff0f59e8d0a62cf7d32caba758f66ed438792e6c59aa2d76d19210169186f7d424
|
7
|
+
data.tar.gz: 58a1531ed015969171807ee0f20faaabe12a40dbaee521dd4b9f86d8cf7df7f4b289da16f304860856588cb6b96e99a9c2e40bda5c63d6c93e1ad5376bf3de69
|
data/CHANGELOG.md
CHANGED
@@ -11,7 +11,9 @@ module Timely
|
|
11
11
|
def calendar_tag(name, value = Timely.current_date, *args)
|
12
12
|
options = args.extract_options!
|
13
13
|
|
14
|
-
|
14
|
+
if value.respond_to?(:day)
|
15
|
+
value = value.respond_to?(:to_fs) ? value.to_fs(:calendar) : value.to_s(:calendar)
|
16
|
+
end
|
15
17
|
|
16
18
|
name = name.to_s if name.is_a?(Symbol)
|
17
19
|
|
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.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Noack
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|