card-mod-date 0.17.0 → 0.18.1

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 +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea0ea703f350b91039befbde8266549924f61e29ec87a3761f156383227e09be
4
- data.tar.gz: e7d9d908115782ecc457ed33c30ea51a754ff2670917ff0e27933f67447cc2e4
3
+ metadata.gz: dbdafd69d264fa3b368cef7353c76c943eadee5be5d061b14236ae695dfc72ee
4
+ data.tar.gz: f015f8f24b60e34d970946b5d2a63c43429c21921775aaf7d8cd4b28b8715ab3
5
5
  SHA512:
6
- metadata.gz: 39eae715beabbbc90af6b3585d5074e33a6b9e65eee1f2573c8e2b77ce686502a911de298c54774a44743c14fb6381baa3151571b5a831ac18642f64199bcb58
7
- data.tar.gz: 5cd2e41e6a375c6653f7c1f97e0047a29dddb081b44c9c564641d6cf2577396448d7f181bbe8a453aebbb21e72679baf7eb0cccb13becd5d629e10fdca3f369a
6
+ metadata.gz: d99621ac7e06cc2bc2f4b8be84e4f65eb5d24e48e48beab0d94ff4f0df5fa968dab17463525b56be7ea8f0c72f94ac674cb1efbeddfde00e9e6fcf2a7ae2951f
7
+ data.tar.gz: e0600773b1709616bd916e61bbbd893b5090e4b80950d93566e12ba4c41a2c4d2e805933e12e54a341bf9792c9c6822e7353fd42001099781dd57605a98db511
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.1
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-11-22 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.1
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.1
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