card-mod-carrierwave 0.15.0 → 0.15.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/data/files/decko_logo/image-original.svg +84 -0
- data/data/files/logo/image-original.svg +84 -1
- data/data/files/logo.svg +84 -1
- data/data/real.yml +11 -0
- data/db/migrate_core_cards/20230130141025_move_favicon.rb +8 -0
- data/lib/carrier_wave/file_card_uploader.rb +0 -7
- data/set/abstract/attachment/coded.rb +1 -2
- data/set/abstract/attachment.rb +3 -0
- data/set/type/image.rb +4 -0
- metadata +14 -12
- /data/{init → config}/early/carrierwave.rb +0 -0
- /data/{init → config}/early/mini_magick.rb +0 -0
- /data/{locales → config/locales}/de.yml +0 -0
- /data/{locales → config/locales}/en.yml +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8761dbc4ff22a5e81422bb2d7c3cc61123ebbcfcc9f20876e92279e2a9b6782
|
4
|
+
data.tar.gz: ff2104242790ad86e755c407ae262c6c7816cfa14c3287c511fefb33689be81e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz: '
|
6
|
+
metadata.gz: 1b6203942ef2271d5d6d8b206017d83502a9b3a3f1788249dc2974d0d8d796b78dedde2bef545289be8f9d273fe5429eb4c4d60ca8a1c55746ef315d837448df
|
7
|
+
data.tar.gz: '0295eca5a23bcc40a95a515c60555cf62d157ccc168e4d6ed30b147714063ad9fac55016b9d38eeb71bac20a7309152e512cc877e48e6156073735f1a883817e'
|
@@ -0,0 +1,84 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
2
|
+
version="1.1" viewBox="0 0 242 218">
|
3
|
+
<title>b&w_logo</title>
|
4
|
+
<desc>Created with Sketch.</desc>
|
5
|
+
<defs>
|
6
|
+
<rect id="path-1" width="157.28" height="190.607" x="35.33" y="10.485" rx="12.491"/>
|
7
|
+
<filter id="filter-2" width="125.4%" height="121%" x="-12.1%" y="-10.5%"
|
8
|
+
filterUnits="objectBoundingBox">
|
9
|
+
<feMorphology in="SourceAlpha" operator="dilate" radius="1"
|
10
|
+
result="shadowSpreadOuter1"/>
|
11
|
+
<feOffset dx="1" dy="0" in="shadowSpreadOuter1" result="shadowOffsetOuter1"/>
|
12
|
+
<feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1"
|
13
|
+
stdDeviation="5.5"/>
|
14
|
+
<feColorMatrix in="shadowBlurOuter1" type="matrix"
|
15
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
|
16
|
+
</filter>
|
17
|
+
<rect id="path-3" width="123.953" height="171.161" x="51.988" y="19.404" rx="9.689"/>
|
18
|
+
<filter id="filter-4" width="132.3%" height="123.4%" x="-15.3%" y="-11.7%"
|
19
|
+
filterUnits="objectBoundingBox">
|
20
|
+
<feMorphology in="SourceAlpha" operator="dilate" radius="1"
|
21
|
+
result="shadowSpreadOuter1"/>
|
22
|
+
<feOffset dx="1" dy="0" in="shadowSpreadOuter1" result="shadowOffsetOuter1"/>
|
23
|
+
<feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1"
|
24
|
+
stdDeviation="5.5"/>
|
25
|
+
<feColorMatrix in="shadowBlurOuter1" type="matrix"
|
26
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
|
27
|
+
</filter>
|
28
|
+
<path id="path-5"
|
29
|
+
d="M70.1050368,35.6666109 L159.089911,35.6666109 L159.089911,35.6666109 C163.678051,35.6666109 167.397473,39.386033 167.397473,43.9741728 L167.397473,87.717145 L167.397473,166.808436 L167.397473,166.808436 C167.397473,171.396576 163.678051,175.115998 159.089911,175.115998 L70.1050368,175.115998 L70.1050368,175.115998 C65.516897,175.115998 61.7974749,171.396576 61.7974749,166.808436 L61.7974749,43.9741728 L61.7974749,43.9741728 C61.7974749,39.386033 65.516897,35.6666109 70.1050368,35.6666109 Z"/>
|
30
|
+
<filter id="filter-6" width="137.9%" height="128.7%" x="-18%" y="-14.3%"
|
31
|
+
filterUnits="objectBoundingBox">
|
32
|
+
<feMorphology in="SourceAlpha" operator="dilate" radius="1"
|
33
|
+
result="shadowSpreadOuter1"/>
|
34
|
+
<feOffset dx="1" dy="0" in="shadowSpreadOuter1" result="shadowOffsetOuter1"/>
|
35
|
+
<feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1"
|
36
|
+
stdDeviation="5.5"/>
|
37
|
+
<feColorMatrix in="shadowBlurOuter1" type="matrix"
|
38
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
|
39
|
+
</filter>
|
40
|
+
<rect id="path-7" width="92.149" height="107.187" x="70.764" y="49.853" rx="7.866"/>
|
41
|
+
<filter id="filter-8" width="143.4%" height="137.3%" x="-20.6%" y="-18.7%"
|
42
|
+
filterUnits="objectBoundingBox">
|
43
|
+
<feMorphology in="SourceAlpha" operator="dilate" radius="1"
|
44
|
+
result="shadowSpreadOuter1"/>
|
45
|
+
<feOffset dx="1" dy="0" in="shadowSpreadOuter1" result="shadowOffsetOuter1"/>
|
46
|
+
<feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1"
|
47
|
+
stdDeviation="5.5"/>
|
48
|
+
<feColorMatrix in="shadowBlurOuter1" type="matrix"
|
49
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.102553216 0"/>
|
50
|
+
</filter>
|
51
|
+
</defs>
|
52
|
+
<g id="Page-3" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1">
|
53
|
+
<g id="b&w_logo" fill-rule="nonzero">
|
54
|
+
<g id="Decko-Logo-" transform="translate(7.000000, 4.000000)">
|
55
|
+
<g id="g5642">
|
56
|
+
<g id="svg-card-1"
|
57
|
+
transform="translate(113.969540, 105.788552) scale(-1, 1) rotate(105.855860) translate(-113.969540, -105.788552)">
|
58
|
+
<use fill="#000" fill-opacity="1" filter="url(#filter-2)"
|
59
|
+
xlink:href="#path-1"/>
|
60
|
+
<use fill="#4D4D4D" fill-rule="evenodd" xlink:href="#path-1"/>
|
61
|
+
</g>
|
62
|
+
<g id="svg-card-2" opacity=".88"
|
63
|
+
transform="translate(113.964538, 104.984820) scale(-1, 1) rotate(117.480003) translate(-113.964538, -104.984820)">
|
64
|
+
<use fill="#000" fill-opacity="1" filter="url(#filter-4)"
|
65
|
+
xlink:href="#path-3"/>
|
66
|
+
<use fill="#FFF" fill-rule="evenodd" xlink:href="#path-3"/>
|
67
|
+
</g>
|
68
|
+
<g id="svg-card-3"
|
69
|
+
transform="translate(114.597474, 105.391304) scale(-1, 1) rotate(133.539993) translate(-114.597474, -105.391304)">
|
70
|
+
<use fill="#000" fill-opacity="1" filter="url(#filter-6)"
|
71
|
+
xlink:href="#path-5"/>
|
72
|
+
<use fill="#4C4C4C" fill-rule="evenodd" xlink:href="#path-5"/>
|
73
|
+
</g>
|
74
|
+
<g id="svg-card-4" opacity=".88"
|
75
|
+
transform="translate(116.838368, 103.446228) scale(-1, 1) rotate(142.690002) translate(-116.838368, -103.446228)">
|
76
|
+
<use fill="#000" fill-opacity="1" filter="url(#filter-8)"
|
77
|
+
xlink:href="#path-7"/>
|
78
|
+
<use fill="#FFF" fill-rule="evenodd" xlink:href="#path-7"/>
|
79
|
+
</g>
|
80
|
+
</g>
|
81
|
+
</g>
|
82
|
+
</g>
|
83
|
+
</g>
|
84
|
+
</svg>
|
@@ -1 +1,84 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
2
|
+
version="1.1" viewBox="0 0 242 218">
|
3
|
+
<title>b&w_logo</title>
|
4
|
+
<desc>Created with Sketch.</desc>
|
5
|
+
<defs>
|
6
|
+
<rect id="path-1" width="157.28" height="190.607" x="35.33" y="10.485" rx="12.491"/>
|
7
|
+
<filter id="filter-2" width="125.4%" height="121%" x="-12.1%" y="-10.5%"
|
8
|
+
filterUnits="objectBoundingBox">
|
9
|
+
<feMorphology in="SourceAlpha" operator="dilate" radius="1"
|
10
|
+
result="shadowSpreadOuter1"/>
|
11
|
+
<feOffset dx="1" dy="0" in="shadowSpreadOuter1" result="shadowOffsetOuter1"/>
|
12
|
+
<feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1"
|
13
|
+
stdDeviation="5.5"/>
|
14
|
+
<feColorMatrix in="shadowBlurOuter1" type="matrix"
|
15
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
|
16
|
+
</filter>
|
17
|
+
<rect id="path-3" width="123.953" height="171.161" x="51.988" y="19.404" rx="9.689"/>
|
18
|
+
<filter id="filter-4" width="132.3%" height="123.4%" x="-15.3%" y="-11.7%"
|
19
|
+
filterUnits="objectBoundingBox">
|
20
|
+
<feMorphology in="SourceAlpha" operator="dilate" radius="1"
|
21
|
+
result="shadowSpreadOuter1"/>
|
22
|
+
<feOffset dx="1" dy="0" in="shadowSpreadOuter1" result="shadowOffsetOuter1"/>
|
23
|
+
<feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1"
|
24
|
+
stdDeviation="5.5"/>
|
25
|
+
<feColorMatrix in="shadowBlurOuter1" type="matrix"
|
26
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
|
27
|
+
</filter>
|
28
|
+
<path id="path-5"
|
29
|
+
d="M70.1050368,35.6666109 L159.089911,35.6666109 L159.089911,35.6666109 C163.678051,35.6666109 167.397473,39.386033 167.397473,43.9741728 L167.397473,87.717145 L167.397473,166.808436 L167.397473,166.808436 C167.397473,171.396576 163.678051,175.115998 159.089911,175.115998 L70.1050368,175.115998 L70.1050368,175.115998 C65.516897,175.115998 61.7974749,171.396576 61.7974749,166.808436 L61.7974749,43.9741728 L61.7974749,43.9741728 C61.7974749,39.386033 65.516897,35.6666109 70.1050368,35.6666109 Z"/>
|
30
|
+
<filter id="filter-6" width="137.9%" height="128.7%" x="-18%" y="-14.3%"
|
31
|
+
filterUnits="objectBoundingBox">
|
32
|
+
<feMorphology in="SourceAlpha" operator="dilate" radius="1"
|
33
|
+
result="shadowSpreadOuter1"/>
|
34
|
+
<feOffset dx="1" dy="0" in="shadowSpreadOuter1" result="shadowOffsetOuter1"/>
|
35
|
+
<feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1"
|
36
|
+
stdDeviation="5.5"/>
|
37
|
+
<feColorMatrix in="shadowBlurOuter1" type="matrix"
|
38
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
|
39
|
+
</filter>
|
40
|
+
<rect id="path-7" width="92.149" height="107.187" x="70.764" y="49.853" rx="7.866"/>
|
41
|
+
<filter id="filter-8" width="143.4%" height="137.3%" x="-20.6%" y="-18.7%"
|
42
|
+
filterUnits="objectBoundingBox">
|
43
|
+
<feMorphology in="SourceAlpha" operator="dilate" radius="1"
|
44
|
+
result="shadowSpreadOuter1"/>
|
45
|
+
<feOffset dx="1" dy="0" in="shadowSpreadOuter1" result="shadowOffsetOuter1"/>
|
46
|
+
<feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1"
|
47
|
+
stdDeviation="5.5"/>
|
48
|
+
<feColorMatrix in="shadowBlurOuter1" type="matrix"
|
49
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.102553216 0"/>
|
50
|
+
</filter>
|
51
|
+
</defs>
|
52
|
+
<g id="Page-3" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1">
|
53
|
+
<g id="b&w_logo" fill-rule="nonzero">
|
54
|
+
<g id="Decko-Logo-" transform="translate(7.000000, 4.000000)">
|
55
|
+
<g id="g5642">
|
56
|
+
<g id="svg-card-1"
|
57
|
+
transform="translate(113.969540, 105.788552) scale(-1, 1) rotate(105.855860) translate(-113.969540, -105.788552)">
|
58
|
+
<use fill="#000" fill-opacity="1" filter="url(#filter-2)"
|
59
|
+
xlink:href="#path-1"/>
|
60
|
+
<use fill="#4D4D4D" fill-rule="evenodd" xlink:href="#path-1"/>
|
61
|
+
</g>
|
62
|
+
<g id="svg-card-2" opacity=".88"
|
63
|
+
transform="translate(113.964538, 104.984820) scale(-1, 1) rotate(117.480003) translate(-113.964538, -104.984820)">
|
64
|
+
<use fill="#000" fill-opacity="1" filter="url(#filter-4)"
|
65
|
+
xlink:href="#path-3"/>
|
66
|
+
<use fill="#FFF" fill-rule="evenodd" xlink:href="#path-3"/>
|
67
|
+
</g>
|
68
|
+
<g id="svg-card-3"
|
69
|
+
transform="translate(114.597474, 105.391304) scale(-1, 1) rotate(133.539993) translate(-114.597474, -105.391304)">
|
70
|
+
<use fill="#000" fill-opacity="1" filter="url(#filter-6)"
|
71
|
+
xlink:href="#path-5"/>
|
72
|
+
<use fill="#4C4C4C" fill-rule="evenodd" xlink:href="#path-5"/>
|
73
|
+
</g>
|
74
|
+
<g id="svg-card-4" opacity=".88"
|
75
|
+
transform="translate(116.838368, 103.446228) scale(-1, 1) rotate(142.690002) translate(-116.838368, -103.446228)">
|
76
|
+
<use fill="#000" fill-opacity="1" filter="url(#filter-8)"
|
77
|
+
xlink:href="#path-7"/>
|
78
|
+
<use fill="#FFF" fill-rule="evenodd" xlink:href="#path-7"/>
|
79
|
+
</g>
|
80
|
+
</g>
|
81
|
+
</g>
|
82
|
+
</g>
|
83
|
+
</g>
|
84
|
+
</svg>
|
data/data/files/logo.svg
CHANGED
@@ -1 +1,84 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
2
|
+
version="1.1" viewBox="0 0 242 218">
|
3
|
+
<title>b&w_logo</title>
|
4
|
+
<desc>Created with Sketch.</desc>
|
5
|
+
<defs>
|
6
|
+
<rect id="path-1" width="157.28" height="190.607" x="35.33" y="10.485" rx="12.491"/>
|
7
|
+
<filter id="filter-2" width="125.4%" height="121%" x="-12.1%" y="-10.5%"
|
8
|
+
filterUnits="objectBoundingBox">
|
9
|
+
<feMorphology in="SourceAlpha" operator="dilate" radius="1"
|
10
|
+
result="shadowSpreadOuter1"/>
|
11
|
+
<feOffset dx="1" dy="0" in="shadowSpreadOuter1" result="shadowOffsetOuter1"/>
|
12
|
+
<feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1"
|
13
|
+
stdDeviation="5.5"/>
|
14
|
+
<feColorMatrix in="shadowBlurOuter1" type="matrix"
|
15
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
|
16
|
+
</filter>
|
17
|
+
<rect id="path-3" width="123.953" height="171.161" x="51.988" y="19.404" rx="9.689"/>
|
18
|
+
<filter id="filter-4" width="132.3%" height="123.4%" x="-15.3%" y="-11.7%"
|
19
|
+
filterUnits="objectBoundingBox">
|
20
|
+
<feMorphology in="SourceAlpha" operator="dilate" radius="1"
|
21
|
+
result="shadowSpreadOuter1"/>
|
22
|
+
<feOffset dx="1" dy="0" in="shadowSpreadOuter1" result="shadowOffsetOuter1"/>
|
23
|
+
<feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1"
|
24
|
+
stdDeviation="5.5"/>
|
25
|
+
<feColorMatrix in="shadowBlurOuter1" type="matrix"
|
26
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
|
27
|
+
</filter>
|
28
|
+
<path id="path-5"
|
29
|
+
d="M70.1050368,35.6666109 L159.089911,35.6666109 L159.089911,35.6666109 C163.678051,35.6666109 167.397473,39.386033 167.397473,43.9741728 L167.397473,87.717145 L167.397473,166.808436 L167.397473,166.808436 C167.397473,171.396576 163.678051,175.115998 159.089911,175.115998 L70.1050368,175.115998 L70.1050368,175.115998 C65.516897,175.115998 61.7974749,171.396576 61.7974749,166.808436 L61.7974749,43.9741728 L61.7974749,43.9741728 C61.7974749,39.386033 65.516897,35.6666109 70.1050368,35.6666109 Z"/>
|
30
|
+
<filter id="filter-6" width="137.9%" height="128.7%" x="-18%" y="-14.3%"
|
31
|
+
filterUnits="objectBoundingBox">
|
32
|
+
<feMorphology in="SourceAlpha" operator="dilate" radius="1"
|
33
|
+
result="shadowSpreadOuter1"/>
|
34
|
+
<feOffset dx="1" dy="0" in="shadowSpreadOuter1" result="shadowOffsetOuter1"/>
|
35
|
+
<feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1"
|
36
|
+
stdDeviation="5.5"/>
|
37
|
+
<feColorMatrix in="shadowBlurOuter1" type="matrix"
|
38
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
|
39
|
+
</filter>
|
40
|
+
<rect id="path-7" width="92.149" height="107.187" x="70.764" y="49.853" rx="7.866"/>
|
41
|
+
<filter id="filter-8" width="143.4%" height="137.3%" x="-20.6%" y="-18.7%"
|
42
|
+
filterUnits="objectBoundingBox">
|
43
|
+
<feMorphology in="SourceAlpha" operator="dilate" radius="1"
|
44
|
+
result="shadowSpreadOuter1"/>
|
45
|
+
<feOffset dx="1" dy="0" in="shadowSpreadOuter1" result="shadowOffsetOuter1"/>
|
46
|
+
<feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1"
|
47
|
+
stdDeviation="5.5"/>
|
48
|
+
<feColorMatrix in="shadowBlurOuter1" type="matrix"
|
49
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.102553216 0"/>
|
50
|
+
</filter>
|
51
|
+
</defs>
|
52
|
+
<g id="Page-3" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1">
|
53
|
+
<g id="b&w_logo" fill-rule="nonzero">
|
54
|
+
<g id="Decko-Logo-" transform="translate(7.000000, 4.000000)">
|
55
|
+
<g id="g5642">
|
56
|
+
<g id="svg-card-1"
|
57
|
+
transform="translate(113.969540, 105.788552) scale(-1, 1) rotate(105.855860) translate(-113.969540, -105.788552)">
|
58
|
+
<use fill="#000" fill-opacity="1" filter="url(#filter-2)"
|
59
|
+
xlink:href="#path-1"/>
|
60
|
+
<use fill="#4D4D4D" fill-rule="evenodd" xlink:href="#path-1"/>
|
61
|
+
</g>
|
62
|
+
<g id="svg-card-2" opacity=".88"
|
63
|
+
transform="translate(113.964538, 104.984820) scale(-1, 1) rotate(117.480003) translate(-113.964538, -104.984820)">
|
64
|
+
<use fill="#000" fill-opacity="1" filter="url(#filter-4)"
|
65
|
+
xlink:href="#path-3"/>
|
66
|
+
<use fill="#FFF" fill-rule="evenodd" xlink:href="#path-3"/>
|
67
|
+
</g>
|
68
|
+
<g id="svg-card-3"
|
69
|
+
transform="translate(114.597474, 105.391304) scale(-1, 1) rotate(133.539993) translate(-114.597474, -105.391304)">
|
70
|
+
<use fill="#000" fill-opacity="1" filter="url(#filter-6)"
|
71
|
+
xlink:href="#path-5"/>
|
72
|
+
<use fill="#4C4C4C" fill-rule="evenodd" xlink:href="#path-5"/>
|
73
|
+
</g>
|
74
|
+
<g id="svg-card-4" opacity=".88"
|
75
|
+
transform="translate(116.838368, 103.446228) scale(-1, 1) rotate(142.690002) translate(-116.838368, -103.446228)">
|
76
|
+
<use fill="#000" fill-opacity="1" filter="url(#filter-8)"
|
77
|
+
xlink:href="#path-7"/>
|
78
|
+
<use fill="#FFF" fill-rule="evenodd" xlink:href="#path-7"/>
|
79
|
+
</g>
|
80
|
+
</g>
|
81
|
+
</g>
|
82
|
+
</g>
|
83
|
+
</g>
|
84
|
+
</svg>
|
data/data/real.yml
CHANGED
@@ -33,6 +33,17 @@
|
|
33
33
|
:self:
|
34
34
|
:fields:
|
35
35
|
:read: Anyone
|
36
|
+
|
37
|
+
- :name: "Decko logo"
|
38
|
+
:type: :image
|
39
|
+
:codename: decko_logo
|
40
|
+
:storage_type: :coded
|
41
|
+
:image: logo.svg
|
42
|
+
:fields:
|
43
|
+
:self:
|
44
|
+
:fields:
|
45
|
+
:read: Anyone
|
46
|
+
|
36
47
|
- :name: "*favicon"
|
37
48
|
:type: :image
|
38
49
|
:codename: favicon
|
@@ -160,13 +160,6 @@ module CarrierWave
|
|
160
160
|
end.downcase
|
161
161
|
end
|
162
162
|
|
163
|
-
# generate identifier that gets stored in the card's db_content field
|
164
|
-
# @param opts [Hash] generate an identifier using the given storage options
|
165
|
-
# instead of the storage options derived from the model and
|
166
|
-
# the global configuration
|
167
|
-
# @option opts [Symbol] storage_type
|
168
|
-
# @option opts [String] mod
|
169
|
-
# @option opts [Symbol] bucket
|
170
163
|
def db_content
|
171
164
|
return model.content if model.web?
|
172
165
|
return "" unless file.present?
|
@@ -29,7 +29,7 @@ def storage_type_error error_name
|
|
29
29
|
end
|
30
30
|
|
31
31
|
def mod_from_content
|
32
|
-
if (m = content
|
32
|
+
if (m = content&.match %r{^:[^/]+/([^.]+)})
|
33
33
|
m[1] # current mod_file format
|
34
34
|
else
|
35
35
|
mod_from_deprecated_content
|
@@ -46,7 +46,6 @@ end
|
|
46
46
|
def mod_dir new_mod=nil
|
47
47
|
mod_name = new_mod || mod
|
48
48
|
dir = Cardio::Mod.dirs.path(mod_name) || (mod_name.to_sym == :test && "test")
|
49
|
-
|
50
49
|
raise Error, "can't find mod \"#{mod_name}\"" unless dir
|
51
50
|
|
52
51
|
dir
|
data/set/abstract/attachment.rb
CHANGED
@@ -82,6 +82,7 @@ end
|
|
82
82
|
def assign_set_specific_attributes
|
83
83
|
@attaching = set_specific[attachment_name].present?
|
84
84
|
# reset content if we really have something to upload
|
85
|
+
@mod = set_specific[:mod]
|
85
86
|
self.content = nil if @attaching && !duplicate?
|
86
87
|
super
|
87
88
|
end
|
@@ -95,6 +96,8 @@ def duplicate?
|
|
95
96
|
(old = attachment.file) &&
|
96
97
|
(new = set_specific[attachment_name]) &&
|
97
98
|
old.size == new.size
|
99
|
+
# rescue Card::Error
|
100
|
+
# false
|
98
101
|
end
|
99
102
|
|
100
103
|
def delete_files_for_action action
|
data/set/type/image.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: card-mod-carrierwave
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.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: 2023-
|
13
|
+
date: 2023-03-29 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.105.
|
21
|
+
version: 1.105.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.105.
|
28
|
+
version: 1.105.1
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: carrierwave
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -74,28 +74,28 @@ dependencies:
|
|
74
74
|
requirements:
|
75
75
|
- - '='
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: 0.15.
|
77
|
+
version: 0.15.1
|
78
78
|
type: :runtime
|
79
79
|
prerelease: false
|
80
80
|
version_requirements: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - '='
|
83
83
|
- !ruby/object:Gem::Version
|
84
|
-
version: 0.15.
|
84
|
+
version: 0.15.1
|
85
85
|
- !ruby/object:Gem::Dependency
|
86
86
|
name: card-mod-permissions
|
87
87
|
requirement: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
89
|
- - '='
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
version: 0.15.
|
91
|
+
version: 0.15.1
|
92
92
|
type: :runtime
|
93
93
|
prerelease: false
|
94
94
|
version_requirements: !ruby/object:Gem::Requirement
|
95
95
|
requirements:
|
96
96
|
- - '='
|
97
97
|
- !ruby/object:Gem::Version
|
98
|
-
version: 0.15.
|
98
|
+
version: 0.15.1
|
99
99
|
description: ''
|
100
100
|
email:
|
101
101
|
- info@decko.org
|
@@ -105,6 +105,11 @@ extra_rdoc_files: []
|
|
105
105
|
files:
|
106
106
|
- assets/script/upload.js.coffee
|
107
107
|
- assets/style/file.scss
|
108
|
+
- config/early/carrierwave.rb
|
109
|
+
- config/early/mini_magick.rb
|
110
|
+
- config/locales/de.yml
|
111
|
+
- config/locales/en.yml
|
112
|
+
- data/files/decko_logo/image-original.svg
|
108
113
|
- data/files/favicon.png
|
109
114
|
- data/files/favicon/image-icon.png
|
110
115
|
- data/files/favicon/image-large.png
|
@@ -120,16 +125,13 @@ files:
|
|
120
125
|
- data/files/mod_carrierwave_script_asset_output/file.js
|
121
126
|
- data/files/rails.gif
|
122
127
|
- data/real.yml
|
123
|
-
-
|
124
|
-
- init/early/mini_magick.rb
|
128
|
+
- db/migrate_core_cards/20230130141025_move_favicon.rb
|
125
129
|
- lib/card/mod/carrierwave.rb
|
126
130
|
- lib/carrier_wave/card_mount.rb
|
127
131
|
- lib/carrier_wave/file_card_uploader.rb
|
128
132
|
- lib/carrier_wave/file_card_uploader/path.rb
|
129
133
|
- lib/carrier_wave/image_card_uploader.rb
|
130
134
|
- lib/carrier_wave/test_file.rb
|
131
|
-
- locales/de.yml
|
132
|
-
- locales/en.yml
|
133
135
|
- set/abstract/attachment.rb
|
134
136
|
- set/abstract/attachment/00_upload_cache.rb
|
135
137
|
- set/abstract/attachment/01_storage_type.rb
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|