card-mod-carrierwave 0.15.0 → 0.15.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a249b3cb9824547e04d317283684d5c36e27824cf9ed6dc8b8a1754ebe00f161
4
- data.tar.gz: 0a6b53cec1fa1132f36b0753c0b7812fbc1beb92ec5c56a9b9f3c54b7a54410a
3
+ metadata.gz: cdb531af40d3f983c7e154434c44cf2101454ba934a4e585aff3c81e14a7ddcd
4
+ data.tar.gz: 80aa34fd3f42e32493dac4158487b8e40d42142d686632289773313db4bb016b
5
5
  SHA512:
6
- metadata.gz: f50f32137fd27d10eebcf066ddb08d2d3f4d9ad7e2502209985ff75986c2d4827e83488432fecba7650cc7594fb1f1bf0a277c7ee5017c1c1419ce7a8b563136
7
- data.tar.gz: '0819efe2f7570fc0a5494e69dd463eb6696351a7435bcb28f7f1998ffa45f4405d5e1cace72ae6056a0b7dabb68e50d171656f735eec4fa3af1fd0f0c798cec1'
6
+ metadata.gz: 6c769c56cab3d7d29ef1865d227d4bf6a0441e6ede5583a1b5f861ab8cf2ee6109a779fc01c7f149c846729aee7992da48c85e978278d70226bbd19d07290451
7
+ data.tar.gz: f6b9a0094706a46515a035f1a16c2d3f8f0321b0aad8a974e43dc926d417035fe5d9b91880ce966f7f372f021e3ef69563381b25cb8009c48c012de79093b92a
@@ -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&amp;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&amp;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" style="min-width:65px;min-height:45px;margin-top:-12px;margin-bottom:-14px" version="1.1" viewBox="0 0 242 218"><title>b&amp;w_logo</title><desc>Created with Sketch.</desc><defs><rect id="path-1" width="157.28" height="190.607" x="35.33" y="10.485" rx="12.491"/><filter id="filter-2" width="125.4%" height="121%" x="-12.1%" y="-10.5%" filterUnits="objectBoundingBox"><feMorphology in="SourceAlpha" operator="dilate" radius="1" result="shadowSpreadOuter1"/><feOffset dx="1" dy="0" in="shadowSpreadOuter1" result="shadowOffsetOuter1"/><feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="5.5"/><feColorMatrix in="shadowBlurOuter1" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/></filter><rect id="path-3" width="123.953" height="171.161" x="51.988" y="19.404" rx="9.689"/><filter id="filter-4" width="132.3%" height="123.4%" x="-15.3%" y="-11.7%" filterUnits="objectBoundingBox"><feMorphology in="SourceAlpha" operator="dilate" radius="1" result="shadowSpreadOuter1"/><feOffset dx="1" dy="0" in="shadowSpreadOuter1" result="shadowOffsetOuter1"/><feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="5.5"/><feColorMatrix in="shadowBlurOuter1" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/></filter><path id="path-5" 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"/><filter id="filter-6" width="137.9%" height="128.7%" x="-18%" y="-14.3%" filterUnits="objectBoundingBox"><feMorphology in="SourceAlpha" operator="dilate" radius="1" result="shadowSpreadOuter1"/><feOffset dx="1" dy="0" in="shadowSpreadOuter1" result="shadowOffsetOuter1"/><feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="5.5"/><feColorMatrix in="shadowBlurOuter1" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/></filter><rect id="path-7" width="92.149" height="107.187" x="70.764" y="49.853" rx="7.866"/><filter id="filter-8" width="143.4%" height="137.3%" x="-20.6%" y="-18.7%" filterUnits="objectBoundingBox"><feMorphology in="SourceAlpha" operator="dilate" radius="1" result="shadowSpreadOuter1"/><feOffset dx="1" dy="0" in="shadowSpreadOuter1" result="shadowOffsetOuter1"/><feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="5.5"/><feColorMatrix in="shadowBlurOuter1" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.102553216 0"/></filter></defs><g id="Page-3" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><g id="b&amp;w_logo" fill-rule="nonzero"><g id="Decko-Logo-" transform="translate(7.000000, 4.000000)"><g id="g5642"><g id="svg-card-1" transform="translate(113.969540, 105.788552) scale(-1, 1) rotate(105.855860) translate(-113.969540, -105.788552)"><use fill="#000" fill-opacity="1" filter="url(#filter-2)" xlink:href="#path-1"/><use fill="#4D4D4D" fill-rule="evenodd" xlink:href="#path-1"/></g><g id="svg-card-2" opacity=".88" transform="translate(113.964538, 104.984820) scale(-1, 1) rotate(117.480003) translate(-113.964538, -104.984820)"><use fill="#000" fill-opacity="1" filter="url(#filter-4)" xlink:href="#path-3"/><use fill="#FFF" fill-rule="evenodd" xlink:href="#path-3"/></g><g id="svg-card-3" transform="translate(114.597474, 105.391304) scale(-1, 1) rotate(133.539993) translate(-114.597474, -105.391304)"><use fill="#000" fill-opacity="1" filter="url(#filter-6)" xlink:href="#path-5"/><use fill="#4C4C4C" fill-rule="evenodd" xlink:href="#path-5"/></g><g id="svg-card-4" opacity=".88" transform="translate(116.838368, 103.446228) scale(-1, 1) rotate(142.690002) translate(-116.838368, -103.446228)"><use fill="#000" fill-opacity="1" filter="url(#filter-8)" xlink:href="#path-7"/><use fill="#FFF" fill-rule="evenodd" xlink:href="#path-7"/></g></g></g></g></g></svg>
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&amp;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&amp;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" style="min-width:65px;min-height:45px;margin-top:-12px;margin-bottom:-14px" version="1.1" viewBox="0 0 242 218"><title>b&amp;w_logo</title><desc>Created with Sketch.</desc><defs><rect id="path-1" width="157.28" height="190.607" x="35.33" y="10.485" rx="12.491"/><filter id="filter-2" width="125.4%" height="121%" x="-12.1%" y="-10.5%" filterUnits="objectBoundingBox"><feMorphology in="SourceAlpha" operator="dilate" radius="1" result="shadowSpreadOuter1"/><feOffset dx="1" dy="0" in="shadowSpreadOuter1" result="shadowOffsetOuter1"/><feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="5.5"/><feColorMatrix in="shadowBlurOuter1" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/></filter><rect id="path-3" width="123.953" height="171.161" x="51.988" y="19.404" rx="9.689"/><filter id="filter-4" width="132.3%" height="123.4%" x="-15.3%" y="-11.7%" filterUnits="objectBoundingBox"><feMorphology in="SourceAlpha" operator="dilate" radius="1" result="shadowSpreadOuter1"/><feOffset dx="1" dy="0" in="shadowSpreadOuter1" result="shadowOffsetOuter1"/><feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="5.5"/><feColorMatrix in="shadowBlurOuter1" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/></filter><path id="path-5" 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"/><filter id="filter-6" width="137.9%" height="128.7%" x="-18%" y="-14.3%" filterUnits="objectBoundingBox"><feMorphology in="SourceAlpha" operator="dilate" radius="1" result="shadowSpreadOuter1"/><feOffset dx="1" dy="0" in="shadowSpreadOuter1" result="shadowOffsetOuter1"/><feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="5.5"/><feColorMatrix in="shadowBlurOuter1" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/></filter><rect id="path-7" width="92.149" height="107.187" x="70.764" y="49.853" rx="7.866"/><filter id="filter-8" width="143.4%" height="137.3%" x="-20.6%" y="-18.7%" filterUnits="objectBoundingBox"><feMorphology in="SourceAlpha" operator="dilate" radius="1" result="shadowSpreadOuter1"/><feOffset dx="1" dy="0" in="shadowSpreadOuter1" result="shadowOffsetOuter1"/><feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="5.5"/><feColorMatrix in="shadowBlurOuter1" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.102553216 0"/></filter></defs><g id="Page-3" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><g id="b&amp;w_logo" fill-rule="nonzero"><g id="Decko-Logo-" transform="translate(7.000000, 4.000000)"><g id="g5642"><g id="svg-card-1" transform="translate(113.969540, 105.788552) scale(-1, 1) rotate(105.855860) translate(-113.969540, -105.788552)"><use fill="#000" fill-opacity="1" filter="url(#filter-2)" xlink:href="#path-1"/><use fill="#4D4D4D" fill-rule="evenodd" xlink:href="#path-1"/></g><g id="svg-card-2" opacity=".88" transform="translate(113.964538, 104.984820) scale(-1, 1) rotate(117.480003) translate(-113.964538, -104.984820)"><use fill="#000" fill-opacity="1" filter="url(#filter-4)" xlink:href="#path-3"/><use fill="#FFF" fill-rule="evenodd" xlink:href="#path-3"/></g><g id="svg-card-3" transform="translate(114.597474, 105.391304) scale(-1, 1) rotate(133.539993) translate(-114.597474, -105.391304)"><use fill="#000" fill-opacity="1" filter="url(#filter-6)" xlink:href="#path-5"/><use fill="#4C4C4C" fill-rule="evenodd" xlink:href="#path-5"/></g><g id="svg-card-4" opacity=".88" transform="translate(116.838368, 103.446228) scale(-1, 1) rotate(142.690002) translate(-116.838368, -103.446228)"><use fill="#000" fill-opacity="1" filter="url(#filter-8)" xlink:href="#path-7"/><use fill="#FFF" fill-rule="evenodd" xlink:href="#path-7"/></g></g></g></g></g></svg>
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&amp;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&amp;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
@@ -0,0 +1,8 @@
1
+ class MoveFavicon < Cardio::Migration::Core
2
+ def up
3
+ card = Card[:favicon]
4
+ if card.db_content == ":favicon/standard.png"
5
+ card.update_column :db_content, ":favicon/carrierwave.png"
6
+ end
7
+ end
8
+ end
@@ -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.match %r{^:[^/]+/([^.]+)})
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
@@ -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
@@ -23,6 +23,10 @@ format do
23
23
  end
24
24
 
25
25
  view :source, unknown: :blank do
26
+ source
27
+ end
28
+
29
+ def source
26
30
  return card.content if card.web?
27
31
 
28
32
  image = selected_version
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.0
4
+ version: 0.15.1.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-01-04 00:00:00.000000000 Z
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.0
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.0
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.0
77
+ version: 0.15.1.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.0
84
+ version: 0.15.1.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.0
91
+ version: 0.15.1.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.0
98
+ version: 0.15.1.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
- - init/early/carrierwave.rb
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