spreewald 4.6.2 → 4.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +3 -1
  3. data/CHANGELOG.md +6 -0
  4. data/Gemfile.ruby266.lock +8 -8
  5. data/Gemfile.ruby320.lock +10 -10
  6. data/README.md +27 -1
  7. data/lib/spreewald/web_steps.rb +16 -0
  8. data/lib/spreewald_support/mail_finder.rb +10 -2
  9. data/lib/spreewald_support/version.rb +1 -1
  10. data/media/logo.dark.shapes.svg +137 -0
  11. data/media/logo.dark.text.svg +107 -0
  12. data/media/logo.light.shapes.svg +136 -0
  13. data/media/logo.light.text.svg +106 -0
  14. data/media/makandra-with-bottom-margin.dark.svg +180 -0
  15. data/media/makandra-with-bottom-margin.light.svg +180 -0
  16. data/spec/steps/show_me_the_mails_spec.rb +22 -0
  17. data/tests/rails-7_capybara-3/Gemfile.lock +2 -2
  18. data/tests/rails-8_capybara-3/.ruby-version +1 -0
  19. data/tests/rails-8_capybara-3/Gemfile +27 -0
  20. data/tests/rails-8_capybara-3/Gemfile.lock +326 -0
  21. data/tests/rails-8_capybara-3/README.md +24 -0
  22. data/tests/rails-8_capybara-3/Rakefile +6 -0
  23. data/tests/rails-8_capybara-3/app/controllers +1 -0
  24. data/tests/rails-8_capybara-3/app/mailers/application_mailer.rb +4 -0
  25. data/tests/rails-8_capybara-3/app/mailers/spreewald_mailer.rb +66 -0
  26. data/tests/rails-8_capybara-3/app/models/application_record.rb +3 -0
  27. data/tests/rails-8_capybara-3/app/views +1 -0
  28. data/tests/rails-8_capybara-3/bin/bundle +114 -0
  29. data/tests/rails-8_capybara-3/bin/rails +4 -0
  30. data/tests/rails-8_capybara-3/bin/rake +4 -0
  31. data/tests/rails-8_capybara-3/bin/setup +33 -0
  32. data/tests/rails-8_capybara-3/config/application.rb +35 -0
  33. data/tests/rails-8_capybara-3/config/boot.rb +3 -0
  34. data/tests/rails-8_capybara-3/config/cucumber.yml +9 -0
  35. data/tests/rails-8_capybara-3/config/database.yml +25 -0
  36. data/tests/rails-8_capybara-3/config/environment.rb +5 -0
  37. data/tests/rails-8_capybara-3/config/environments/development.rb +66 -0
  38. data/tests/rails-8_capybara-3/config/environments/test.rb +56 -0
  39. data/tests/rails-8_capybara-3/config/initializers/application_controller_renderer.rb +8 -0
  40. data/tests/rails-8_capybara-3/config/initializers/backtrace_silencers.rb +8 -0
  41. data/tests/rails-8_capybara-3/config/initializers/content_security_policy.rb +28 -0
  42. data/tests/rails-8_capybara-3/config/initializers/cookies_serializer.rb +5 -0
  43. data/tests/rails-8_capybara-3/config/initializers/filter_parameter_logging.rb +6 -0
  44. data/tests/rails-8_capybara-3/config/initializers/inflections.rb +16 -0
  45. data/tests/rails-8_capybara-3/config/initializers/mime_types.rb +4 -0
  46. data/tests/rails-8_capybara-3/config/initializers/new_framework_defaults_6_1.rb +67 -0
  47. data/tests/rails-8_capybara-3/config/initializers/permissions_policy.rb +11 -0
  48. data/tests/rails-8_capybara-3/config/initializers/wrap_parameters.rb +14 -0
  49. data/tests/rails-8_capybara-3/config/locales/en.yml +33 -0
  50. data/tests/rails-8_capybara-3/config/routes.rb +1 -0
  51. data/tests/rails-8_capybara-3/config.ru +6 -0
  52. data/tests/rails-8_capybara-3/db +1 -0
  53. data/tests/rails-8_capybara-3/features/browser_tab_steps.feature +1 -0
  54. data/tests/rails-8_capybara-3/features/development_steps.feature +1 -0
  55. data/tests/rails-8_capybara-3/features/email_steps.feature +1 -0
  56. data/tests/rails-8_capybara-3/features/iframe_steps.feature +1 -0
  57. data/tests/rails-8_capybara-3/features/overriding.feature +1 -0
  58. data/tests/rails-8_capybara-3/features/session_steps.feature +1 -0
  59. data/tests/rails-8_capybara-3/features/step_definitions/.gitkeep +0 -0
  60. data/tests/rails-8_capybara-3/features/step_definitions/field_error_steps.rb +12 -0
  61. data/tests/rails-8_capybara-3/features/step_definitions/overriding_steps.rb +1 -0
  62. data/tests/rails-8_capybara-3/features/step_definitions/test_steps.rb +1 -0
  63. data/tests/rails-8_capybara-3/features/support/env.rb +66 -0
  64. data/tests/rails-8_capybara-3/features/support/paths.rb +1 -0
  65. data/tests/rails-8_capybara-3/features/support/selectors.rb +1 -0
  66. data/tests/rails-8_capybara-3/features/support/selenium.rb +1 -0
  67. data/tests/rails-8_capybara-3/features/table_steps.feature +1 -0
  68. data/tests/rails-8_capybara-3/features/time_steps.feature +1 -0
  69. data/tests/rails-8_capybara-3/features/web_steps.feature +1 -0
  70. data/tests/rails-8_capybara-3/lib/tasks/.keep +0 -0
  71. data/tests/rails-8_capybara-3/lib/tasks/cucumber.rake +76 -0
  72. data/tests/rails-8_capybara-3/log/.keep +0 -0
  73. data/tests/rails-8_capybara-3/public/404.html +67 -0
  74. data/tests/rails-8_capybara-3/public/422.html +67 -0
  75. data/tests/rails-8_capybara-3/public/500.html +66 -0
  76. data/tests/rails-8_capybara-3/public/favicon.ico +0 -0
  77. data/tests/rails-8_capybara-3/public/fixture_files +1 -0
  78. data/tests/rails-8_capybara-3/script/cucumber +11 -0
  79. data/tests/shared/app/controllers/emails_controller.rb +1 -8
  80. data/tests/shared/app/models/mailer.rb +43 -96
  81. data/tests/shared/features/shared/email_steps.feature +18 -0
  82. data/tests/shared/features/support/selenium.rb +2 -2
  83. metadata +134 -6
@@ -0,0 +1,106 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+
4
+ <svg
5
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
6
+ xmlns:cc="http://creativecommons.org/ns#"
7
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
+ xmlns:svg="http://www.w3.org/2000/svg"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ xmlns:xlink="http://www.w3.org/1999/xlink"
11
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
12
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
13
+ width="56.414364mm"
14
+ height="14.056225mm"
15
+ viewBox="0 0 56.414362 14.056225"
16
+ version="1.1"
17
+ id="svg838"
18
+ inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)"
19
+ sodipodi:docname="logo.light.text.svg"
20
+ inkscape:export-filename="/home/henning/Projects/capybara-lockstep/media/capybara-lockstep3.light.png"
21
+ inkscape:export-xdpi="196"
22
+ inkscape:export-ydpi="196">
23
+ <defs
24
+ id="defs832">
25
+ <linearGradient
26
+ inkscape:collect="always"
27
+ id="linearGradient1406">
28
+ <stop
29
+ style="stop-color:#ff0844;stop-opacity:1"
30
+ offset="0"
31
+ id="stop1402" />
32
+ <stop
33
+ style="stop-color:#ffb199;stop-opacity:1"
34
+ offset="1"
35
+ id="stop1404" />
36
+ </linearGradient>
37
+ <linearGradient
38
+ inkscape:collect="always"
39
+ xlink:href="#linearGradient1406"
40
+ id="linearGradient1408"
41
+ x1="22.054907"
42
+ y1="91.071762"
43
+ x2="88.956696"
44
+ y2="91.071762"
45
+ gradientUnits="userSpaceOnUse"
46
+ gradientTransform="matrix(0.84141155,0,0,0.08820435,-18.573959,57.908781)" />
47
+ </defs>
48
+ <sodipodi:namedview
49
+ id="base"
50
+ pagecolor="#ffffff"
51
+ bordercolor="#666666"
52
+ borderopacity="1.0"
53
+ inkscape:pageopacity="0.0"
54
+ inkscape:pageshadow="2"
55
+ inkscape:zoom="1.979899"
56
+ inkscape:cx="-16.812599"
57
+ inkscape:cy="13.565714"
58
+ inkscape:document-units="mm"
59
+ inkscape:current-layer="layer1"
60
+ showgrid="false"
61
+ fit-margin-top="0"
62
+ fit-margin-left="0"
63
+ fit-margin-right="0"
64
+ fit-margin-bottom="0"
65
+ inkscape:window-width="2560"
66
+ inkscape:window-height="1391"
67
+ inkscape:window-x="1920"
68
+ inkscape:window-y="0"
69
+ inkscape:window-maximized="1" />
70
+ <metadata
71
+ id="metadata835">
72
+ <rdf:RDF>
73
+ <cc:Work
74
+ rdf:about="">
75
+ <dc:format>image/svg+xml</dc:format>
76
+ <dc:type
77
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
78
+ <dc:title></dc:title>
79
+ </cc:Work>
80
+ </rdf:RDF>
81
+ </metadata>
82
+ <g
83
+ inkscape:label="Layer 1"
84
+ inkscape:groupmode="layer"
85
+ id="layer1"
86
+ transform="translate(0.127,-52.518951)">
87
+ <text
88
+ xml:space="preserve"
89
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.58333302px;line-height:1.25;font-family:'League Spartan';-inkscape-font-specification:'League Spartan';letter-spacing:0px;word-spacing:0px;fill:#141210;fill-opacity:1;stroke:none;stroke-width:0.26458332"
90
+ x="-0.27516666"
91
+ y="59.630951"
92
+ id="text1385"><tspan
93
+ sodipodi:role="line"
94
+ id="tspan1383"
95
+ x="-0.27516666"
96
+ y="59.630951"
97
+ style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:'League Spartan';-inkscape-font-specification:'League Spartan';fill:#141210;fill-opacity:1;stroke-width:0.26458332">SPREEWALD</tspan></text>
98
+ <rect
99
+ style="fill:url(#linearGradient1408);fill-opacity:1;stroke:none;stroke-width:0.02724264;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
100
+ id="rect1387"
101
+ width="56.291939"
102
+ height="1.2668874"
103
+ x="-0.016704345"
104
+ y="65.308289" />
105
+ </g>
106
+ </svg>
@@ -0,0 +1,180 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Generator: Adobe Illustrator 23.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+
4
+ <svg
5
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
6
+ xmlns:cc="http://creativecommons.org/ns#"
7
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
+ xmlns:svg="http://www.w3.org/2000/svg"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
+ version="1.1"
13
+ id="Ebene_1"
14
+ x="0px"
15
+ y="0px"
16
+ viewBox="0 0 600.00159 198.53798"
17
+ xml:space="preserve"
18
+ sodipodi:docname="makandra.dark.svg"
19
+ width="600.00159"
20
+ height="198.53798"
21
+ inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)"><metadata
22
+ id="metadata45"><rdf:RDF><cc:Work
23
+ rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
24
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
25
+ id="defs43" /><sodipodi:namedview
26
+ pagecolor="#ffffff"
27
+ bordercolor="#666666"
28
+ borderopacity="1"
29
+ objecttolerance="10"
30
+ gridtolerance="10"
31
+ guidetolerance="10"
32
+ inkscape:pageopacity="0"
33
+ inkscape:pageshadow="2"
34
+ inkscape:window-width="1920"
35
+ inkscape:window-height="1151"
36
+ id="namedview41"
37
+ showgrid="false"
38
+ inkscape:pagecheckerboard="true"
39
+ fit-margin-top="0"
40
+ fit-margin-left="0"
41
+ fit-margin-right="0"
42
+ fit-margin-bottom="0"
43
+ inkscape:zoom="1.0966667"
44
+ inkscape:cx="-38.195719"
45
+ inkscape:cy="-91.947799"
46
+ inkscape:window-x="1920"
47
+ inkscape:window-y="0"
48
+ inkscape:window-maximized="1"
49
+ inkscape:current-layer="Ebene_1" />
50
+ <style
51
+ type="text/css"
52
+ id="style2">
53
+ .st0{fill:#E61D47;}
54
+ .st1{fill:#FFFFFF;}
55
+ </style>
56
+ <g
57
+ id="g38"
58
+ transform="translate(0.00160275,-0.76)">
59
+ <polygon
60
+ class="st0"
61
+ points="585.95,14.81 585.95,59.46 600,45.41 600,0.76 555.34,0.76 541.29,14.81 "
62
+ id="polygon4"
63
+ style="fill:#e61d47" />
64
+ <path
65
+ class="st1"
66
+ d="m 161.87,43.92 v -1.44 h -13.07 -0.87 v 6.8 c -4.61,-5.11 -10.84,-8.22 -18.57,-8.22 -17.7,0 -29.41,15.58 -29.41,33.03 0,17.2 11.22,33.15 29.41,33.15 7.86,0 14.11,-3.21 18.57,-8.39 v 6.77 h 1.87 v 0 h 12.09 V 43.92 Z M 130.98,94.9 c -10.59,0 -16.58,-9.72 -16.58,-20.81 0,-11.59 6.48,-20.69 16.58,-20.69 9.97,0 17.82,8.23 17.82,20.57 0,13.21 -8.47,20.93 -17.82,20.93 z"
67
+ id="path6"
68
+ inkscape:connector-curvature="0"
69
+ style="fill:#ffffff" />
70
+ <path
71
+ class="st1"
72
+ d="m 297.85,43.93 v -1.44 h -13.07 -0.87 v 6.8 c -4.61,-5.11 -10.84,-8.22 -18.57,-8.22 -17.7,0 -29.41,15.58 -29.41,33.03 0,17.2 11.22,33.15 29.41,33.15 7.86,0 14.11,-3.21 18.57,-8.39 v 6.77 h 1.87 v 0 h 12.09 v -61.7 z m -30.89,50.98 c -10.59,0 -16.58,-9.72 -16.58,-20.81 0,-11.59 6.48,-20.69 16.58,-20.69 9.97,0 17.82,8.23 17.82,20.57 0.01,13.2 -8.47,20.93 -17.82,20.93 z"
73
+ id="path8"
74
+ inkscape:connector-curvature="0"
75
+ style="fill:#ffffff" />
76
+ <path
77
+ class="st1"
78
+ d="m 558.34,43.87 v -1.44 h -13.07 -0.87 v 6.8 c -4.61,-5.11 -10.84,-8.22 -18.57,-8.22 -17.7,0 -29.41,15.58 -29.41,33.03 0,17.2 11.22,33.15 29.41,33.15 7.86,0 14.11,-3.21 18.57,-8.39 v 6.77 h 1.87 v 0 h 12.09 v -61.7 z m -30.9,50.98 c -10.59,0 -16.58,-9.72 -16.58,-20.81 0,-11.59 6.48,-20.69 16.58,-20.69 9.97,0 17.82,8.23 17.82,20.57 0.01,13.2 -8.47,20.93 -17.82,20.93 z"
79
+ id="path10"
80
+ inkscape:connector-curvature="0"
81
+ style="fill:#ffffff" />
82
+ <path
83
+ class="st1"
84
+ d="M 14.1,86.98 V 75.1 c 0,-14.58 6.11,-21.81 13.34,-21.81 6.85,0 9.6,5.61 9.6,13.46 V 86.97 H 51 v -11 c 0,-15.33 5.98,-22.68 13.34,-22.68 6.86,0 9.6,5.61 9.6,13.46 V 86.97 H 87.9 V 64.88 c 0,-14.83 -7.98,-23.93 -20.57,-23.93 -7.98,0 -14.83,3.37 -19.19,10.84 -3.24,-6.85 -9.47,-10.84 -17.7,-10.84 -6.72,0 -12.38,2.55 -16.57,7.88 V 42.37 H 0 v 44.6 h 14.1 z"
85
+ id="path12"
86
+ inkscape:connector-curvature="0"
87
+ style="fill:#ffffff" />
88
+
89
+ <rect
90
+ x="313.17001"
91
+ y="91.599998"
92
+ transform="rotate(90,320.2078,98.578)"
93
+ class="st1"
94
+ width="14.08"
95
+ height="13.96"
96
+ id="rect14"
97
+ style="fill:#ffffff" />
98
+
99
+ <rect
100
+ x="353.25"
101
+ y="91.599998"
102
+ transform="rotate(90,360.29075,98.57795)"
103
+ class="st1"
104
+ width="14.08"
105
+ height="13.96"
106
+ id="rect16"
107
+ style="fill:#ffffff" />
108
+
109
+ <rect
110
+ x="456.56"
111
+ y="91.599998"
112
+ transform="rotate(90,463.60275,98.57795)"
113
+ class="st1"
114
+ width="14.08"
115
+ height="13.96"
116
+ id="rect18"
117
+ style="fill:#ffffff" />
118
+
119
+ <rect
120
+ x="36.959999"
121
+ y="91.599998"
122
+ transform="rotate(90,43.9944,98.578)"
123
+ class="st1"
124
+ width="14.08"
125
+ height="13.96"
126
+ id="rect20"
127
+ style="fill:#ffffff" />
128
+
129
+ <rect
130
+ x="0"
131
+ y="91.540001"
132
+ transform="rotate(90,7.04045,98.57795)"
133
+ class="st1"
134
+ width="14.08"
135
+ height="14.08"
136
+ id="rect22"
137
+ style="fill:#ffffff" />
138
+
139
+ <rect
140
+ x="73.879997"
141
+ y="91.610001"
142
+ transform="rotate(90,80.91625,98.57795)"
143
+ class="st0"
144
+ width="14.08"
145
+ height="13.94"
146
+ id="rect24"
147
+ style="fill:#e61d47" />
148
+ <g
149
+ id="g30">
150
+ <polygon
151
+ class="st1"
152
+ points="204.35,73.98 235.93,42.41 216.05,42.41 184.48,73.98 216.05,105.56 235.93,105.56 "
153
+ id="polygon26"
154
+ style="fill:#ffffff" />
155
+ <polygon
156
+ class="st1"
157
+ points="177.32,105.64 191.28,105.64 191.28,85.07 191.31,85.04 191.31,66.59 191.28,66.62 191.28,27.56 177.32,27.56 "
158
+ id="polygon28"
159
+ style="fill:#ffffff" />
160
+ </g>
161
+ <path
162
+ class="st1"
163
+ d="M 427.32,27.49 V 49.22 C 422.71,44.11 416.48,41 408.75,41 c -18.07,0 -29.41,15.95 -29.41,33.15 0,17.45 11.59,33.03 29.41,33.03 8.23,0 14.71,-3.49 19.2,-8.97 l 1.25,7.35 h 12.09 V 27.49 Z m -16.95,67.35 c -10.34,0 -16.57,-9.22 -16.57,-20.69 0,-11.22 6.23,-20.81 16.57,-20.81 9.35,0 17.83,7.73 17.83,20.81 -0.01,12.46 -7.86,20.69 -17.83,20.69 z"
164
+ id="path32"
165
+ inkscape:connector-curvature="0"
166
+ style="fill:#ffffff" />
167
+ <path
168
+ class="st1"
169
+ d="m 470.67,86.98 v -9.26 c 0,-14.33 6.98,-24.3 19.69,-24.3 V 41.07 c -9.35,0 -15.57,3.95 -19.69,9.91 v -8.49 h -14.05 v 44.48 h 14.05 z"
170
+ id="path34"
171
+ inkscape:connector-curvature="0"
172
+ style="fill:#ffffff" />
173
+ <path
174
+ class="st1"
175
+ d="M 327.26,86.98 V 76.59 c 0,-14.58 6.23,-23.18 16.33,-23.18 6.86,0 9.72,5.73 9.72,13.58 v 19.98 h 13.96 V 65.13 c 0,-14.83 -8.23,-24.05 -20.82,-24.05 -8.15,0 -14.71,2.95 -19.19,8.77 V 42.7 h -1.99 v -0.01 l -0.06,0.01 h -11.98 v 44.28 z"
176
+ id="path36"
177
+ inkscape:connector-curvature="0"
178
+ style="fill:#ffffff" />
179
+ </g>
180
+ </svg>
@@ -0,0 +1,180 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Generator: Adobe Illustrator 23.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+
4
+ <svg
5
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
6
+ xmlns:cc="http://creativecommons.org/ns#"
7
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
+ xmlns:svg="http://www.w3.org/2000/svg"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
+ version="1.1"
13
+ id="Ebene_1"
14
+ x="0px"
15
+ y="0px"
16
+ viewBox="0 0 600.00159 198.53798"
17
+ xml:space="preserve"
18
+ sodipodi:docname="makandra.light.svg"
19
+ width="600.00159"
20
+ height="198.53798"
21
+ inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)"><metadata
22
+ id="metadata45"><rdf:RDF><cc:Work
23
+ rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
24
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
25
+ id="defs43" /><sodipodi:namedview
26
+ pagecolor="#ffffff"
27
+ bordercolor="#666666"
28
+ borderopacity="1"
29
+ objecttolerance="10"
30
+ gridtolerance="10"
31
+ guidetolerance="10"
32
+ inkscape:pageopacity="0"
33
+ inkscape:pageshadow="2"
34
+ inkscape:window-width="1920"
35
+ inkscape:window-height="1151"
36
+ id="namedview41"
37
+ showgrid="false"
38
+ fit-margin-top="0"
39
+ fit-margin-left="0"
40
+ fit-margin-right="0"
41
+ fit-margin-bottom="0"
42
+ inkscape:pagecheckerboard="true"
43
+ inkscape:zoom="2.1933333"
44
+ inkscape:cx="-93.29719"
45
+ inkscape:cy="-70.469332"
46
+ inkscape:window-x="1920"
47
+ inkscape:window-y="0"
48
+ inkscape:window-maximized="1"
49
+ inkscape:current-layer="Ebene_1" />
50
+ <style
51
+ type="text/css"
52
+ id="style2">
53
+ .st0{fill:#E61D47;}
54
+ .st1{fill:#141210;}
55
+ </style>
56
+ <g
57
+ id="g38"
58
+ transform="translate(0.00160275,-0.76)">
59
+ <polygon
60
+ class="st0"
61
+ points="585.95,14.81 585.95,59.46 600,45.41 600,0.76 555.34,0.76 541.29,14.81 "
62
+ id="polygon4"
63
+ style="fill:#e61d47" />
64
+ <path
65
+ class="st1"
66
+ d="m 161.87,43.92 v -1.44 h -13.07 -0.87 v 6.8 c -4.61,-5.11 -10.84,-8.22 -18.57,-8.22 -17.7,0 -29.41,15.58 -29.41,33.03 0,17.2 11.22,33.15 29.41,33.15 7.86,0 14.11,-3.21 18.57,-8.39 v 6.77 h 1.87 v 0 h 12.09 V 43.92 Z M 130.98,94.9 c -10.59,0 -16.58,-9.72 -16.58,-20.81 0,-11.59 6.48,-20.69 16.58,-20.69 9.97,0 17.82,8.23 17.82,20.57 0,13.21 -8.47,20.93 -17.82,20.93 z"
67
+ id="path6"
68
+ inkscape:connector-curvature="0"
69
+ style="fill:#141210" />
70
+ <path
71
+ class="st1"
72
+ d="m 297.85,43.93 v -1.44 h -13.07 -0.87 v 6.8 c -4.61,-5.11 -10.84,-8.22 -18.57,-8.22 -17.7,0 -29.41,15.58 -29.41,33.03 0,17.2 11.22,33.15 29.41,33.15 7.86,0 14.11,-3.21 18.57,-8.39 v 6.77 h 1.87 v 0 h 12.09 v -61.7 z m -30.89,50.98 c -10.59,0 -16.58,-9.72 -16.58,-20.81 0,-11.59 6.48,-20.69 16.58,-20.69 9.97,0 17.82,8.23 17.82,20.57 0.01,13.2 -8.47,20.93 -17.82,20.93 z"
73
+ id="path8"
74
+ inkscape:connector-curvature="0"
75
+ style="fill:#141210" />
76
+ <path
77
+ class="st1"
78
+ d="m 558.34,43.87 v -1.44 h -13.07 -0.87 v 6.8 c -4.61,-5.11 -10.84,-8.22 -18.57,-8.22 -17.7,0 -29.41,15.58 -29.41,33.03 0,17.2 11.22,33.15 29.41,33.15 7.86,0 14.11,-3.21 18.57,-8.39 v 6.77 h 1.87 v 0 h 12.09 v -61.7 z m -30.9,50.98 c -10.59,0 -16.58,-9.72 -16.58,-20.81 0,-11.59 6.48,-20.69 16.58,-20.69 9.97,0 17.82,8.23 17.82,20.57 0.01,13.2 -8.47,20.93 -17.82,20.93 z"
79
+ id="path10"
80
+ inkscape:connector-curvature="0"
81
+ style="fill:#141210" />
82
+ <path
83
+ class="st1"
84
+ d="M 14.1,86.98 V 75.1 c 0,-14.58 6.11,-21.81 13.34,-21.81 6.85,0 9.6,5.61 9.6,13.46 V 86.97 H 51 v -11 c 0,-15.33 5.98,-22.68 13.34,-22.68 6.86,0 9.6,5.61 9.6,13.46 V 86.97 H 87.9 V 64.88 c 0,-14.83 -7.98,-23.93 -20.57,-23.93 -7.98,0 -14.83,3.37 -19.19,10.84 -3.24,-6.85 -9.47,-10.84 -17.7,-10.84 -6.72,0 -12.38,2.55 -16.57,7.88 V 42.37 H 0 v 44.6 h 14.1 z"
85
+ id="path12"
86
+ inkscape:connector-curvature="0"
87
+ style="fill:#141210" />
88
+
89
+ <rect
90
+ x="313.17001"
91
+ y="91.599998"
92
+ transform="rotate(90,320.2078,98.578)"
93
+ class="st1"
94
+ width="14.08"
95
+ height="13.96"
96
+ id="rect14"
97
+ style="fill:#141210" />
98
+
99
+ <rect
100
+ x="353.25"
101
+ y="91.599998"
102
+ transform="rotate(90,360.29075,98.57795)"
103
+ class="st1"
104
+ width="14.08"
105
+ height="13.96"
106
+ id="rect16"
107
+ style="fill:#141210" />
108
+
109
+ <rect
110
+ x="456.56"
111
+ y="91.599998"
112
+ transform="rotate(90,463.60275,98.57795)"
113
+ class="st1"
114
+ width="14.08"
115
+ height="13.96"
116
+ id="rect18"
117
+ style="fill:#141210" />
118
+
119
+ <rect
120
+ x="36.959999"
121
+ y="91.599998"
122
+ transform="rotate(90,43.9944,98.578)"
123
+ class="st1"
124
+ width="14.08"
125
+ height="13.96"
126
+ id="rect20"
127
+ style="fill:#141210" />
128
+
129
+ <rect
130
+ x="0"
131
+ y="91.540001"
132
+ transform="rotate(90,7.04045,98.57795)"
133
+ class="st1"
134
+ width="14.08"
135
+ height="14.08"
136
+ id="rect22"
137
+ style="fill:#141210" />
138
+
139
+ <rect
140
+ x="73.879997"
141
+ y="91.610001"
142
+ transform="rotate(90,80.91625,98.57795)"
143
+ class="st0"
144
+ width="14.08"
145
+ height="13.94"
146
+ id="rect24"
147
+ style="fill:#e61d47" />
148
+ <g
149
+ id="g30">
150
+ <polygon
151
+ class="st1"
152
+ points="204.35,73.98 235.93,42.41 216.05,42.41 184.48,73.98 216.05,105.56 235.93,105.56 "
153
+ id="polygon26"
154
+ style="fill:#141210" />
155
+ <polygon
156
+ class="st1"
157
+ points="177.32,105.64 191.28,105.64 191.28,85.07 191.31,85.04 191.31,66.59 191.28,66.62 191.28,27.56 177.32,27.56 "
158
+ id="polygon28"
159
+ style="fill:#141210" />
160
+ </g>
161
+ <path
162
+ class="st1"
163
+ d="M 427.32,27.49 V 49.22 C 422.71,44.11 416.48,41 408.75,41 c -18.07,0 -29.41,15.95 -29.41,33.15 0,17.45 11.59,33.03 29.41,33.03 8.23,0 14.71,-3.49 19.2,-8.97 l 1.25,7.35 h 12.09 V 27.49 Z m -16.95,67.35 c -10.34,0 -16.57,-9.22 -16.57,-20.69 0,-11.22 6.23,-20.81 16.57,-20.81 9.35,0 17.83,7.73 17.83,20.81 -0.01,12.46 -7.86,20.69 -17.83,20.69 z"
164
+ id="path32"
165
+ inkscape:connector-curvature="0"
166
+ style="fill:#141210" />
167
+ <path
168
+ class="st1"
169
+ d="m 470.67,86.98 v -9.26 c 0,-14.33 6.98,-24.3 19.69,-24.3 V 41.07 c -9.35,0 -15.57,3.95 -19.69,9.91 v -8.49 h -14.05 v 44.48 h 14.05 z"
170
+ id="path34"
171
+ inkscape:connector-curvature="0"
172
+ style="fill:#141210" />
173
+ <path
174
+ class="st1"
175
+ d="M 327.26,86.98 V 76.59 c 0,-14.58 6.23,-23.18 16.33,-23.18 6.86,0 9.72,5.73 9.72,13.58 v 19.98 h 13.96 V 65.13 c 0,-14.83 -8.23,-24.05 -20.82,-24.05 -8.15,0 -14.71,2.95 -19.19,8.77 V 42.7 h -1.99 v -0.01 l -0.06,0.01 h -11.98 v 44.28 z"
176
+ id="path36"
177
+ inkscape:connector-curvature="0"
178
+ style="fill:#141210" />
179
+ </g>
180
+ </svg>
@@ -93,4 +93,26 @@ describe Spreewald::Steps::ShowMeTheMails do
93
93
  expect { step.run }.to output(expected_output).to_stdout
94
94
  end
95
95
  end
96
+
97
+ context "with attachments" do
98
+ it 'includes the filenames of the attachments' do
99
+ mail = Mail.new do
100
+ attachments['attached_file.pdf'] = File.open("tests/shared/public/fixture_files/attachment.pdf") {}
101
+ attachments['other_attached_file.pdf'] = File.open("tests/shared/public/fixture_files/attachment.pdf") {}
102
+ end
103
+
104
+ expected_output = <<~TXT
105
+ E-Mail #0
106
+ --------------------------------------------------------------------------------
107
+ From:
108
+ Subject:
109
+ Attachments: attached_file.pdf, other_attached_file.pdf
110
+ --------------------------------------------------------------------------------
111
+
112
+ TXT
113
+ step = Spreewald::Steps::ShowMeTheMails.new([mail], true)
114
+ expect { step.run }.to output(expected_output).to_stdout
115
+ end
116
+ end
117
+
96
118
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- spreewald (4.6.2)
4
+ spreewald (4.6.4)
5
5
  capybara
6
6
  cucumber
7
7
  cucumber_priority (>= 0.3.0)
@@ -134,7 +134,7 @@ GEM
134
134
  cucumber-wire (6.2.1)
135
135
  cucumber-core (~> 10.1, >= 10.1.0)
136
136
  cucumber-cucumber-expressions (~> 14.0, >= 14.0.0)
137
- cucumber_priority (0.3.3)
137
+ cucumber_priority (1.0.0)
138
138
  cucumber
139
139
  database_cleaner (2.0.1)
140
140
  database_cleaner-active_record (~> 2.0.0)
@@ -0,0 +1 @@
1
+ 3.2.0
@@ -0,0 +1,27 @@
1
+ source 'https://rubygems.org'
2
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3
+
4
+ ruby '3.3.6'
5
+
6
+ gem 'rails', '~>8'
7
+ gem 'sqlite3'
8
+ gem 'haml-rails'
9
+ gem 'gemika'
10
+ gem 'rexml'
11
+ gem 'webrick'
12
+
13
+ group :development, :test do
14
+ gem 'byebug'
15
+ gem 'pry'
16
+ end
17
+
18
+ group :test do
19
+ gem 'database_cleaner'
20
+ gem 'capybara', "~>3"
21
+ gem 'capybara-screenshot'
22
+ gem 'cucumber-rails', require: false
23
+ gem 'cucumber'
24
+ gem 'selenium-webdriver'
25
+ gem 'rspec-rails'
26
+ gem 'spreewald', :path => '../..'
27
+ end