card-mod-date 0.16.0 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/config/admin.yml +3 -0
  3. data/set/type/date.rb +4 -0
  4. metadata +8 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 752cf2fe997f170510a5a48de150feedd7a555af409bdbf65dde664968204446
4
- data.tar.gz: 05e92d5d3a84c9a53b0350a5e3df0982d692db90e32e442d50fbfadda6f90177
3
+ metadata.gz: 78abf37f1bcbeb5809efecf28c320828b5d207db8c689dff316e10a480aaa5a0
4
+ data.tar.gz: 04a8c12c8c8e56ec6b2600dff36a28abb159f5f49ea860e87634172169813395
5
5
  SHA512:
6
- metadata.gz: 47d59a7885482001e370da0827bfd93dbe53222e98dba9da54ddaf679b8732fb45cec7708c9cd752382b15f2d32bff88bbbb9aa22a7d907171fb39005f42902c
7
- data.tar.gz: 3b80fe14c20fc30240457d1b52f9659d76527d9a34ac2fd1096fc9f6dab1d7c439ceb162761e0d60c4b5e8a884b0937fad7b580cba1d863656766ac54b00d4f9
6
+ metadata.gz: 3aa8dfdd3f7664971e85157d9d9623e67e632526b04906ddd200404d403ded6054533d51308e2ac490b8e15c1bfac8aaa72c97cd6fbfc6d3e583ac59a5478118
7
+ data.tar.gz: 3fcd1f8751af1296e505800342a6edea0079f192de8ccdefea710b3816e8146ac9ae97db2e4bd3203a8883494c5b09ed8b74a8e77f750220760d6ce0d13927c3
data/config/admin.yml ADDED
@@ -0,0 +1,3 @@
1
+ cardtypes:
2
+ data:
3
+ - date
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.16.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: 2023-11-18 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.106.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.106.0
28
+ version: 1.108.0
29
29
  description: ''
30
30
  email:
31
31
  - info@decko.org
@@ -35,6 +35,7 @@ extra_rdoc_files: []
35
35
  files:
36
36
  - LICENSE
37
37
  - README.md
38
+ - config/admin.yml
38
39
  - data/files/mod_date_script_asset_output/file.js
39
40
  - data/files/mod_date_script_datepicker_machine_output/file.js
40
41
  - data/real.yml
@@ -46,7 +47,7 @@ files:
46
47
  - set/type/date.rb
47
48
  homepage: https://decko.org
48
49
  licenses:
49
- - GPL-3.0
50
+ - GPL-3.0-or-later
50
51
  metadata:
51
52
  source_code_uri: https://github.com/decko-commons/decko
52
53
  homepage_uri: https://decko.org
@@ -63,14 +64,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
63
64
  requirements:
64
65
  - - ">="
65
66
  - !ruby/object:Gem::Version
66
- version: '2.5'
67
+ version: '3.0'
67
68
  required_rubygems_version: !ruby/object:Gem::Requirement
68
69
  requirements:
69
70
  - - ">="
70
71
  - !ruby/object:Gem::Version
71
72
  version: '0'
72
73
  requirements: []
73
- rubygems_version: 3.4.10
74
+ rubygems_version: 3.5.7
74
75
  signing_key:
75
76
  specification_version: 4
76
77
  summary: Calendar editor