card-mod-date 0.17.0 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/set/type/date.rb +4 -0
  3. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea0ea703f350b91039befbde8266549924f61e29ec87a3761f156383227e09be
4
- data.tar.gz: e7d9d908115782ecc457ed33c30ea51a754ff2670917ff0e27933f67447cc2e4
3
+ metadata.gz: 78abf37f1bcbeb5809efecf28c320828b5d207db8c689dff316e10a480aaa5a0
4
+ data.tar.gz: 04a8c12c8c8e56ec6b2600dff36a28abb159f5f49ea860e87634172169813395
5
5
  SHA512:
6
- metadata.gz: 39eae715beabbbc90af6b3585d5074e33a6b9e65eee1f2573c8e2b77ce686502a911de298c54774a44743c14fb6381baa3151571b5a831ac18642f64199bcb58
7
- data.tar.gz: 5cd2e41e6a375c6653f7c1f97e0047a29dddb081b44c9c564641d6cf2577396448d7f181bbe8a453aebbb21e72679baf7eb0cccb13becd5d629e10fdca3f369a
6
+ metadata.gz: 3aa8dfdd3f7664971e85157d9d9623e67e632526b04906ddd200404d403ded6054533d51308e2ac490b8e15c1bfac8aaa72c97cd6fbfc6d3e583ac59a5478118
7
+ data.tar.gz: 3fcd1f8751af1296e505800342a6edea0079f192de8ccdefea710b3816e8146ac9ae97db2e4bd3203a8883494c5b09ed8b74a8e77f750220760d6ce0d13927c3
data/set/type/date.rb CHANGED
@@ -2,4 +2,8 @@ format :html do
2
2
  def input_type
3
3
  :calendar
4
4
  end
5
+
6
+ view :core do
7
+ ::Date.parse(card.content).strftime "%B %-d, %Y"
8
+ end
5
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: card-mod-date
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ethan McCutchen
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-06-12 00:00:00.000000000 Z
13
+ date: 2024-10-31 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: card
@@ -18,14 +18,14 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 1.107.0
21
+ version: 1.108.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 1.107.0
28
+ version: 1.108.0
29
29
  description: ''
30
30
  email:
31
31
  - info@decko.org
@@ -47,7 +47,7 @@ files:
47
47
  - set/type/date.rb
48
48
  homepage: https://decko.org
49
49
  licenses:
50
- - GPL-3.0
50
+ - GPL-3.0-or-later
51
51
  metadata:
52
52
  source_code_uri: https://github.com/decko-commons/decko
53
53
  homepage_uri: https://decko.org
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  - !ruby/object:Gem::Version
72
72
  version: '0'
73
73
  requirements: []
74
- rubygems_version: 3.5.10
74
+ rubygems_version: 3.5.7
75
75
  signing_key:
76
76
  specification_version: 4
77
77
  summary: Calendar editor