Patch #44330 » 0001-Convert-CRLF-line-endings-to-LF-in-three-test-fixtur.patch
| test/fixtures/attachments.yml | ||
|---|---|---|
| 178 | 178 |
downloads: 0 |
| 179 | 179 |
disk_filename: 060719210727_changeset_utf8.diff |
| 180 | 180 |
disk_directory: "2006/07" |
| 181 |
digest: b91e08d0cf966d5c6ff411bd8c4cc3a2
|
|
| 181 |
digest: 2d3ac709c87ac66767eebbcf35adbdbd
|
|
| 182 | 182 |
id: 14 |
| 183 |
filesize: 687
|
|
| 183 |
filesize: 691
|
|
| 184 | 184 |
filename: changeset_utf8.diff |
| 185 | 185 |
author_id: 2 |
| 186 | 186 |
content_type: text/x-diff |
| ... | ... | |
| 192 | 192 |
downloads: 0 |
| 193 | 193 |
disk_filename: 060719210727_changeset_utf8.diff |
| 194 | 194 |
disk_directory: "2006/07" |
| 195 |
digest: b91e08d0cf966d5c6ff411bd8c4cc3a2
|
|
| 196 |
filesize: 687
|
|
| 195 |
digest: 2d3ac709c87ac66767eebbcf35adbdbd
|
|
| 196 |
filesize: 691
|
|
| 197 | 197 |
filename: private.diff |
| 198 | 198 |
author_id: 2 |
| 199 | 199 |
content_type: text/x-diff |
| ... | ... | |
| 288 | 288 |
downloads: 0 |
| 289 | 289 |
disk_filename: 190430092344_redmine_logo.ai.unknown |
| 290 | 290 |
disk_directory: "2019/04" |
| 291 |
digest: 68d90c016f0806d88234a6f16530fdf0b7f1d2481354798f1a5fd165dca6b04f
|
|
| 291 |
digest: c8122679a497a2089d5fc3ac151475183867a090afa0862dbfd9286c4a0e9576
|
|
| 292 | 292 |
id: 22 |
| 293 |
filesize: 4994
|
|
| 293 |
filesize: 4762
|
|
| 294 | 294 |
filename: redmine_logo.ai.unknown |
| 295 | 295 |
author_id: 1 |
| 296 | 296 |
description: unknown type |
| test/fixtures/files/2006/07/060719210727_changeset_utf8.diff | ||
|---|---|---|
| 1 |
Index: trunk/app/controllers/issues_controller.rb |
|
| 2 |
=================================================================== |
|
| 3 |
--- trunk/app/controllers/issues_controller.rb (révision 1483) |
|
| 4 |
+++ trunk/app/controllers/issues_controller.rb (révision 1484) |
|
| 5 |
@@ -149,7 +149,7 @@ |
|
| 6 |
attach_files(@issue, params[:attachments]) |
|
| 7 |
flash[:notice] = 'Demande créée avec succès' |
|
| 8 |
Mailer.deliver_issue_add(@issue) if Setting.notified_events.include?('issue_added')
|
|
| 9 |
- redirect_to :controller => 'issues', :action => 'show', :id => @issue, :project_id => @project |
|
| 10 |
+ redirect_to :controller => 'issues', :action => 'show', :id => @issue |
|
| 11 |
return |
|
| 12 |
end |
|
| 13 |
end |
|
| 1 |
Index: trunk/app/controllers/issues_controller.rb |
|
| 2 |
=================================================================== |
|
| 3 |
--- trunk/app/controllers/issues_controller.rb (révision 1483) |
|
| 4 |
+++ trunk/app/controllers/issues_controller.rb (révision 1484) |
|
| 5 |
@@ -149,7 +149,7 @@ |
|
| 6 |
attach_files(@issue, params[:attachments]) |
|
| 7 |
flash[:notice] = 'Demande créée avec succès' |
|
| 8 |
Mailer.deliver_issue_add(@issue) if Setting.notified_events.include?('issue_added')
|
|
| 9 |
- redirect_to :controller => 'issues', :action => 'show', :id => @issue, :project_id => @project |
|
| 10 |
+ redirect_to :controller => 'issues', :action => 'show', :id => @issue |
|
| 11 |
return |
|
| 12 |
end |
|
| 13 |
end |
|
| test/fixtures/files/2019/04/190430092344_redmine_logo.ai.unknown | ||
|---|---|---|
| 1 |
%!PS-Adobe-3.0 |
|
| 2 |
%%Creator: Adobe Fireworks |
|
| 3 |
%%DocumentNeededResources: procset Adobe_level2_AI5 1.0 0 |
|
| 4 |
%%+ procset Adobe_packedarray 2.0 0 |
|
| 5 |
%%+ procset Adobe_cmykcolor 1.1 0 |
|
| 6 |
%%+ procset Adobe_cshow 1.1 0 |
|
| 7 |
%%+ procset Adobe_customcolor 1.0 0 |
|
| 8 |
%%+ procset Adobe_typography_AI5 1.0 0 |
|
| 9 |
%%+ procset Adobe_Illustrator_AI5 1.0 0 |
|
| 10 |
%%BoundingBox:0 0 183 94 |
|
| 11 |
%AI3_TemplateBox: 0 0 183 94 |
|
| 12 |
%%PageOrigin:0 0 |
|
| 13 |
%AI5_FileFormat 3 |
|
| 14 |
%AI3_ColorUsage: Color |
|
| 15 |
%%DocumentProcessColors: Cyan Magenta Yellow Black |
|
| 16 |
%%EndComments |
|
| 17 |
%%BeginProlog |
|
| 18 |
%%EndProlog |
|
| 19 |
%%BeginSetup |
|
| 20 |
Adobe_packedarray /initialize get exec |
|
| 21 |
Adobe_cmykcolor /initialize get exec |
|
| 22 |
Adobe_cshow /initialize get exec |
|
| 23 |
Adobe_customcolor /initialize get exec |
|
| 24 |
Adobe_typography_AI5 /initialize get exec |
|
| 25 |
Adobe_Illustrator_AI5 /initialize get exec |
|
| 26 |
[ |
|
| 27 |
39/quotesingle 96/grave 130/quotesinglbase 131/florin 132/quotedblbase |
|
| 28 |
133/ellipsis 134/dagger 135/daggerdbl 136/circumflex 137/perthousand |
|
| 29 |
139/guilsinglleft 140/OE 145/quoteleft 146/quoteright 147/quotedblleft |
|
| 30 |
148/quotedblright 149/bullet 150/endash 151/emdash 152/tilde |
|
| 31 |
155/guilsinglright 156/oe 157/dotlessi 159/Ydieresis 164/currency |
|
| 32 |
166/brokenbar 168/dieresis 169/copyright 170/ordfeminine 172/logicalnot |
|
| 33 |
174/registered 175/macron 176/ring 177/plusminus 178/twosuperior |
|
| 34 |
179/threesuperior 180/acute 181/mu 183/periodcentered 184/cedilla |
|
| 35 |
185/onesuperior 186/ordmasculine 188/onequarter 189/onehalf |
|
| 36 |
190/threequarters 192/Agrave 193/Aacute 194/Acircumflex 195/Atilde |
|
| 37 |
196/Adieresis 197/Aring 198/AE 199/Ccedilla 200/Egrave 201/Eacute |
|
| 38 |
202/Ecircumflex 203/Edieresis 204/Igrave 205/Iacute 206/Icircumflex |
|
| 39 |
207/Idieresis 208/Eth 209/Ntilde 210/Ograve 211/Oacute 212/Ocircumflex |
|
| 40 |
213/Otilde 214/Odieresis 215/multiply 216/Oslash 217/Ugrave 218/Uacute |
|
| 41 |
219/Ucircumflex 220/Udieresis 221/Yacute 222/Thorn 223/germandbls |
|
| 42 |
224/agrave 225/aacute 226/acircumflex 227/atilde 228/adieresis |
|
| 43 |
229/aring 230/ae 231/ccedilla 232/egrave 233/eacute 234/ecircumflex |
|
| 44 |
235/edieresis 236/igrave 237/iacute 238/icircumflex 239/idieresis |
|
| 45 |
240/eth 241/ntilde 242/ograve 243/oacute 244/ocircumflex 245/otilde |
|
| 46 |
246/odieresis 247/divide 248/oslash 249/ugrave 250/uacute 251/ucircumflex |
|
| 47 |
252/udieresis 253/yacute 254/thorn 255/ydieresis |
|
| 48 |
TE |
|
| 49 |
%AI3_BeginEncoding: _Delicious-Bold-Bold Delicious-Bold-Bold |
|
| 50 |
[/_Delicious-Bold-Bold/Delicious-Bold-Bold 0 0 0 TZ |
|
| 51 |
%AI3_EndEncoding TrueType |
|
| 52 |
%%EndSetup |
|
| 53 |
1 1 1 1 0 0 0 79 128 255 Lb |
|
| 54 |
(Ebene 1) Ln |
|
| 55 |
0.000 0.000 0.000 Xa |
|
| 56 |
1 XR |
|
| 57 |
44.00 44.80 m |
|
| 58 |
49.60 44.80 l |
|
| 59 |
50.00 49.60 l |
|
| 60 |
44.80 50.80 l |
|
| 61 |
44.00 44.80 l |
|
| 62 |
f |
|
| 63 |
0.000 0.000 0.000 Xa |
|
| 64 |
1 XR |
|
| 65 |
45.00 51.60 m |
|
| 66 |
50.00 50.40 l |
|
| 67 |
51.20 54.60 l |
|
| 68 |
47.00 56.80 l |
|
| 69 |
45.00 51.60 l |
|
| 70 |
f |
|
| 71 |
0.000 0.000 0.000 Xa |
|
| 72 |
1 XR |
|
| 73 |
47.40 57.60 m |
|
| 74 |
51.40 55.40 l |
|
| 75 |
54.60 57.60 l |
|
| 76 |
51.60 61.00 l |
|
| 77 |
47.40 57.60 l |
|
| 78 |
f |
|
| 79 |
0.000 0.000 0.000 Xa |
|
| 80 |
1 XR |
|
| 81 |
69.80 44.80 m |
|
| 82 |
64.20 44.80 l |
|
| 83 |
63.80 49.60 l |
|
| 84 |
69.00 50.80 l |
|
| 85 |
69.80 44.80 l |
|
| 86 |
f |
|
| 87 |
0.000 0.000 0.000 Xa |
|
| 88 |
1 XR |
|
| 89 |
68.80 51.60 m |
|
| 90 |
63.80 50.40 l |
|
| 91 |
62.60 54.60 l |
|
| 92 |
66.80 56.80 l |
|
| 93 |
68.80 51.60 l |
|
| 94 |
f |
|
| 95 |
0.000 0.000 0.000 Xa |
|
| 96 |
1 XR |
|
| 97 |
66.40 57.60 m |
|
| 98 |
62.40 55.40 l |
|
| 99 |
59.20 57.60 l |
|
| 100 |
62.20 61.00 l |
|
| 101 |
66.40 57.60 l |
|
| 102 |
f |
|
| 103 |
0.000 0.000 0.000 Xa |
|
| 104 |
1 XR |
|
| 105 |
52.60 61.60 m |
|
| 106 |
55.60 58.00 l |
|
| 107 |
58.40 58.00 l |
|
| 108 |
61.00 61.60 l |
|
| 109 |
58.40 62.40 l |
|
| 110 |
55.53 62.40 l |
|
| 111 |
52.60 61.60 l |
|
| 112 |
f |
|
| 113 |
1 To |
|
| 114 |
1 0 0 1 74 43 0.000000 Tp |
|
| 115 |
74.80 43.20 m |
|
| 116 |
141.58 43.20 l |
|
| 117 |
141.58 34.56 l |
|
| 118 |
74.80 34.56 l |
|
| 119 |
74.80 43.20 l |
|
| 120 |
n |
|
| 121 |
TP |
|
| 122 |
0 -14.00 Td |
|
| 123 |
0.200 0.200 0.200 Xa |
|
| 124 |
/_Delicious-Bold-Bold 14.00 Tf |
|
| 125 |
0.000000 Ts |
|
| 126 |
100.000000 100.0 Tz |
|
| 127 |
1 0 Tk |
|
| 128 |
0.000000 Tt |
|
| 129 |
0 Ta |
|
| 130 |
0.200 0.200 0.200 Xa |
|
| 131 |
0 Tr |
|
| 132 |
(Flexible Project Management) Tj |
|
| 133 |
TO |
|
| 134 |
1 To |
|
| 135 |
1 0 0 1 74 60 0.000000 Tp |
|
| 136 |
74.00 60.00 m |
|
| 137 |
139.29 60.00 l |
|
| 138 |
139.29 36.48 l |
|
| 139 |
74.00 36.48 l |
|
| 140 |
74.00 60.00 l |
|
| 141 |
n |
|
| 142 |
TP |
|
| 143 |
0 -45.00 Td |
|
| 144 |
0.604 0.027 0.000 Xa |
|
| 145 |
/_Delicious-Bold-Bold 45.00 Tf |
|
| 146 |
0.000000 Ts |
|
| 147 |
100.000000 100.0 Tz |
|
| 148 |
1 0 Tk |
|
| 149 |
0.000000 Tt |
|
| 150 |
0 Ta |
|
| 151 |
0.604 0.027 0.000 Xa |
|
| 152 |
0 Tr |
|
| 153 |
(RED) Tj |
|
| 154 |
/_Delicious-Bold-Bold 45.00 Tf |
|
| 155 |
0.000000 Ts |
|
| 156 |
100.000000 100.0 Tz |
|
| 157 |
1 0 Tk |
|
| 158 |
0.000000 Tt |
|
| 159 |
0 Ta |
|
| 160 |
0.753 0.106 0.102 Xa |
|
| 161 |
0 Tr |
|
| 162 |
(MINE) Tj |
|
| 163 |
TO |
|
| 164 |
0.604 0.027 0.000 Xa |
|
| 165 |
1 XR |
|
| 166 |
44.00 44.80 m |
|
| 167 |
49.60 44.80 l |
|
| 168 |
50.00 49.60 l |
|
| 169 |
44.80 50.80 l |
|
| 170 |
44.00 44.80 l |
|
| 171 |
f |
|
| 172 |
0.706 0.055 0.059 Xa |
|
| 173 |
1 XR |
|
| 174 |
45.00 51.60 m |
|
| 175 |
50.00 50.40 l |
|
| 176 |
51.20 54.60 l |
|
| 177 |
47.00 56.80 l |
|
| 178 |
45.00 51.60 l |
|
| 179 |
f |
|
| 180 |
0.753 0.106 0.102 Xa |
|
| 181 |
1 XR |
|
| 182 |
47.40 57.60 m |
|
| 183 |
51.40 55.40 l |
|
| 184 |
54.60 57.60 l |
|
| 185 |
51.60 61.00 l |
|
| 186 |
47.40 57.60 l |
|
| 187 |
f |
|
| 188 |
0.604 0.027 0.000 Xa |
|
| 189 |
1 XR |
|
| 190 |
69.80 44.80 m |
|
| 191 |
64.20 44.80 l |
|
| 192 |
63.80 49.60 l |
|
| 193 |
69.00 50.80 l |
|
| 194 |
69.80 44.80 l |
|
| 195 |
f |
|
| 196 |
0.706 0.055 0.059 Xa |
|
| 197 |
1 XR |
|
| 198 |
68.80 51.60 m |
|
| 199 |
63.80 50.40 l |
|
| 200 |
62.60 54.60 l |
|
| 201 |
66.80 56.80 l |
|
| 202 |
68.80 51.60 l |
|
| 203 |
f |
|
| 204 |
0.753 0.106 0.102 Xa |
|
| 205 |
1 XR |
|
| 206 |
66.40 57.60 m |
|
| 207 |
62.40 55.40 l |
|
| 208 |
59.20 57.60 l |
|
| 209 |
62.20 61.00 l |
|
| 210 |
66.40 57.60 l |
|
| 211 |
f |
|
| 212 |
0.753 0.106 0.102 Xa |
|
| 213 |
1 XR |
|
| 214 |
52.60 61.60 m |
|
| 215 |
55.60 58.00 l |
|
| 216 |
58.40 58.00 l |
|
| 217 |
61.00 61.60 l |
|
| 218 |
58.40 62.40 l |
|
| 219 |
55.53 62.40 l |
|
| 220 |
52.60 61.60 l |
|
| 221 |
f |
|
| 222 |
LB |
|
| 223 |
%%PageTrailer |
|
| 224 |
gsave annotatepage grestore showpage |
|
| 225 |
%%Trailer |
|
| 226 |
Adobe_Illustrator_AI5 /terminate get exec |
|
| 227 |
Adobe_typography_AI5 /terminate get exec |
|
| 228 |
Adobe_customcolor /terminate get exec |
|
| 229 |
Adobe_cshow /terminate get exec |
|
| 230 |
Adobe_cmykcolor /terminate get exec |
|
| 231 |
Adobe_packedarray /terminate get exec |
|
| 232 |
%%EOF |
|
| 1 |
%!PS-Adobe-3.0 |
|
| 2 |
%%Creator: Adobe Fireworks |
|
| 3 |
%%DocumentNeededResources: procset Adobe_level2_AI5 1.0 0 |
|
| 4 |
%%+ procset Adobe_packedarray 2.0 0 |
|
| 5 |
%%+ procset Adobe_cmykcolor 1.1 0 |
|
| 6 |
%%+ procset Adobe_cshow 1.1 0 |
|
| 7 |
%%+ procset Adobe_customcolor 1.0 0 |
|
| 8 |
%%+ procset Adobe_typography_AI5 1.0 0 |
|
| 9 |
%%+ procset Adobe_Illustrator_AI5 1.0 0 |
|
| 10 |
%%BoundingBox:0 0 183 94 |
|
| 11 |
%AI3_TemplateBox: 0 0 183 94 |
|
| 12 |
%%PageOrigin:0 0 |
|
| 13 |
%AI5_FileFormat 3 |
|
| 14 |
%AI3_ColorUsage: Color |
|
| 15 |
%%DocumentProcessColors: Cyan Magenta Yellow Black |
|
| 16 |
%%EndComments |
|
| 17 |
%%BeginProlog |
|
| 18 |
%%EndProlog |
|
| 19 |
%%BeginSetup |
|
| 20 |
Adobe_packedarray /initialize get exec |
|
| 21 |
Adobe_cmykcolor /initialize get exec |
|
| 22 |
Adobe_cshow /initialize get exec |
|
| 23 |
Adobe_customcolor /initialize get exec |
|
| 24 |
Adobe_typography_AI5 /initialize get exec |
|
| 25 |
Adobe_Illustrator_AI5 /initialize get exec |
|
| 26 |
[ |
|
| 27 |
39/quotesingle 96/grave 130/quotesinglbase 131/florin 132/quotedblbase |
|
| 28 |
133/ellipsis 134/dagger 135/daggerdbl 136/circumflex 137/perthousand |
|
| 29 |
139/guilsinglleft 140/OE 145/quoteleft 146/quoteright 147/quotedblleft |
|
| 30 |
148/quotedblright 149/bullet 150/endash 151/emdash 152/tilde |
|
| 31 |
155/guilsinglright 156/oe 157/dotlessi 159/Ydieresis 164/currency |
|
| 32 |
166/brokenbar 168/dieresis 169/copyright 170/ordfeminine 172/logicalnot |
|
| 33 |
174/registered 175/macron 176/ring 177/plusminus 178/twosuperior |
|
| 34 |
179/threesuperior 180/acute 181/mu 183/periodcentered 184/cedilla |
|
| 35 |
185/onesuperior 186/ordmasculine 188/onequarter 189/onehalf |
|
| 36 |
190/threequarters 192/Agrave 193/Aacute 194/Acircumflex 195/Atilde |
|
| 37 |
196/Adieresis 197/Aring 198/AE 199/Ccedilla 200/Egrave 201/Eacute |
|
| 38 |
202/Ecircumflex 203/Edieresis 204/Igrave 205/Iacute 206/Icircumflex |
|
| 39 |
207/Idieresis 208/Eth 209/Ntilde 210/Ograve 211/Oacute 212/Ocircumflex |
|
| 40 |
213/Otilde 214/Odieresis 215/multiply 216/Oslash 217/Ugrave 218/Uacute |
|
| 41 |
219/Ucircumflex 220/Udieresis 221/Yacute 222/Thorn 223/germandbls |
|
| 42 |
224/agrave 225/aacute 226/acircumflex 227/atilde 228/adieresis |
|
| 43 |
229/aring 230/ae 231/ccedilla 232/egrave 233/eacute 234/ecircumflex |
|
| 44 |
235/edieresis 236/igrave 237/iacute 238/icircumflex 239/idieresis |
|
| 45 |
240/eth 241/ntilde 242/ograve 243/oacute 244/ocircumflex 245/otilde |
|
| 46 |
246/odieresis 247/divide 248/oslash 249/ugrave 250/uacute 251/ucircumflex |
|
| 47 |
252/udieresis 253/yacute 254/thorn 255/ydieresis |
|
| 48 |
TE |
|
| 49 |
%AI3_BeginEncoding: _Delicious-Bold-Bold Delicious-Bold-Bold |
|
| 50 |
[/_Delicious-Bold-Bold/Delicious-Bold-Bold 0 0 0 TZ |
|
| 51 |
%AI3_EndEncoding TrueType |
|
| 52 |
%%EndSetup |
|
| 53 |
1 1 1 1 0 0 0 79 128 255 Lb |
|
| 54 |
(Ebene 1) Ln |
|
| 55 |
0.000 0.000 0.000 Xa |
|
| 56 |
1 XR |
|
| 57 |
44.00 44.80 m |
|
| 58 |
49.60 44.80 l |
|
| 59 |
50.00 49.60 l |
|
| 60 |
44.80 50.80 l |
|
| 61 |
44.00 44.80 l |
|
| 62 |
f |
|
| 63 |
0.000 0.000 0.000 Xa |
|
| 64 |
1 XR |
|
| 65 |
45.00 51.60 m |
|
| 66 |
50.00 50.40 l |
|
| 67 |
51.20 54.60 l |
|
| 68 |
47.00 56.80 l |
|
| 69 |
45.00 51.60 l |
|
| 70 |
f |
|
| 71 |
0.000 0.000 0.000 Xa |
|
| 72 |
1 XR |
|
| 73 |
47.40 57.60 m |
|
| 74 |
51.40 55.40 l |
|
| 75 |
54.60 57.60 l |
|
| 76 |
51.60 61.00 l |
|
| 77 |
47.40 57.60 l |
|
| 78 |
f |
|
| 79 |
0.000 0.000 0.000 Xa |
|
| 80 |
1 XR |
|
| 81 |
69.80 44.80 m |
|
| 82 |
64.20 44.80 l |
|
| 83 |
63.80 49.60 l |
|
| 84 |
69.00 50.80 l |
|
| 85 |
69.80 44.80 l |
|
| 86 |
f |
|
| 87 |
0.000 0.000 0.000 Xa |
|
| 88 |
1 XR |
|
| 89 |
68.80 51.60 m |
|
| 90 |
63.80 50.40 l |
|
| 91 |
62.60 54.60 l |
|
| 92 |
66.80 56.80 l |
|
| 93 |
68.80 51.60 l |
|
| 94 |
f |
|
| 95 |
0.000 0.000 0.000 Xa |
|
| 96 |
1 XR |
|
| 97 |
66.40 57.60 m |
|
| 98 |
62.40 55.40 l |
|
| 99 |
59.20 57.60 l |
|
| 100 |
62.20 61.00 l |
|
| 101 |
66.40 57.60 l |
|
| 102 |
f |
|
| 103 |
0.000 0.000 0.000 Xa |
|
| 104 |
1 XR |
|
| 105 |
52.60 61.60 m |
|
| 106 |
55.60 58.00 l |
|
| 107 |
58.40 58.00 l |
|
| 108 |
61.00 61.60 l |
|
| 109 |
58.40 62.40 l |
|
| 110 |
55.53 62.40 l |
|
| 111 |
52.60 61.60 l |
|
| 112 |
f |
|
| 113 |
1 To |
|
| 114 |
1 0 0 1 74 43 0.000000 Tp |
|
| 115 |
74.80 43.20 m |
|
| 116 |
141.58 43.20 l |
|
| 117 |
141.58 34.56 l |
|
| 118 |
74.80 34.56 l |
|
| 119 |
74.80 43.20 l |
|
| 120 |
n |
|
| 121 |
TP |
|
| 122 |
0 -14.00 Td |
|
| 123 |
0.200 0.200 0.200 Xa |
|
| 124 |
/_Delicious-Bold-Bold 14.00 Tf |
|
| 125 |
0.000000 Ts |
|
| 126 |
100.000000 100.0 Tz |
|
| 127 |
1 0 Tk |
|
| 128 |
0.000000 Tt |
|
| 129 |
0 Ta |
|
| 130 |
0.200 0.200 0.200 Xa |
|
| 131 |
0 Tr |
|
| 132 |
(Flexible Project Management) Tj |
|
| 133 |
TO |
|
| 134 |
1 To |
|
| 135 |
1 0 0 1 74 60 0.000000 Tp |
|
| 136 |
74.00 60.00 m |
|
| 137 |
139.29 60.00 l |
|
| 138 |
139.29 36.48 l |
|
| 139 |
74.00 36.48 l |
|
| 140 |
74.00 60.00 l |
|
| 141 |
n |
|
| 142 |
TP |
|
| 143 |
0 -45.00 Td |
|
| 144 |
0.604 0.027 0.000 Xa |
|
| 145 |
/_Delicious-Bold-Bold 45.00 Tf |
|
| 146 |
0.000000 Ts |
|
| 147 |
100.000000 100.0 Tz |
|
| 148 |
1 0 Tk |
|
| 149 |
0.000000 Tt |
|
| 150 |
0 Ta |
|
| 151 |
0.604 0.027 0.000 Xa |
|
| 152 |
0 Tr |
|
| 153 |
(RED) Tj |
|
| 154 |
/_Delicious-Bold-Bold 45.00 Tf |
|
| 155 |
0.000000 Ts |
|
| 156 |
100.000000 100.0 Tz |
|
| 157 |
1 0 Tk |
|
| 158 |
0.000000 Tt |
|
| 159 |
0 Ta |
|
| 160 |
0.753 0.106 0.102 Xa |
|
| 161 |
0 Tr |
|
| 162 |
(MINE) Tj |
|
| 163 |
TO |
|
| 164 |
0.604 0.027 0.000 Xa |
|
| 165 |
1 XR |
|
| 166 |
44.00 44.80 m |
|
| 167 |
49.60 44.80 l |
|
| 168 |
50.00 49.60 l |
|
| 169 |
44.80 50.80 l |
|
| 170 |
44.00 44.80 l |
|
| 171 |
f |
|
| 172 |
0.706 0.055 0.059 Xa |
|
| 173 |
1 XR |
|
| 174 |
45.00 51.60 m |
|
| 175 |
50.00 50.40 l |
|
| 176 |
51.20 54.60 l |
|
| 177 |
47.00 56.80 l |
|
| 178 |
45.00 51.60 l |
|
| 179 |
f |
|
| 180 |
0.753 0.106 0.102 Xa |
|
| 181 |
1 XR |
|
| 182 |
47.40 57.60 m |
|
| 183 |
51.40 55.40 l |
|
| 184 |
54.60 57.60 l |
|
| 185 |
51.60 61.00 l |
|
| 186 |
47.40 57.60 l |
|
| 187 |
f |
|
| 188 |
0.604 0.027 0.000 Xa |
|
| 189 |
1 XR |
|
| 190 |
69.80 44.80 m |
|
| 191 |
64.20 44.80 l |
|
| 192 |
63.80 49.60 l |
|
| 193 |
69.00 50.80 l |
|
| 194 |
69.80 44.80 l |
|
| 195 |
f |
|
| 196 |
0.706 0.055 0.059 Xa |
|
| 197 |
1 XR |
|
| 198 |
68.80 51.60 m |
|
| 199 |
63.80 50.40 l |
|
| 200 |
62.60 54.60 l |
|
| 201 |
66.80 56.80 l |
|
| 202 |
68.80 51.60 l |
|
| 203 |
f |
|
| 204 |
0.753 0.106 0.102 Xa |
|
| 205 |
1 XR |
|
| 206 |
66.40 57.60 m |
|
| 207 |
62.40 55.40 l |
|
| 208 |
59.20 57.60 l |
|
| 209 |
62.20 61.00 l |
|
| 210 |
66.40 57.60 l |
|
| 211 |
f |
|
| 212 |
0.753 0.106 0.102 Xa |
|
| 213 |
1 XR |
|
| 214 |
52.60 61.60 m |
|
| 215 |
55.60 58.00 l |
|
| 216 |
58.40 58.00 l |
|
| 217 |
61.00 61.60 l |
|
| 218 |
58.40 62.40 l |
|
| 219 |
55.53 62.40 l |
|
| 220 |
52.60 61.60 l |
|
| 221 |
f |
|
| 222 |
LB |
|
| 223 |
%%PageTrailer |
|
| 224 |
gsave annotatepage grestore showpage |
|
| 225 |
%%Trailer |
|
| 226 |
Adobe_Illustrator_AI5 /terminate get exec |
|
| 227 |
Adobe_typography_AI5 /terminate get exec |
|
| 228 |
Adobe_customcolor /terminate get exec |
|
| 229 |
Adobe_cshow /terminate get exec |
|
| 230 |
Adobe_cmykcolor /terminate get exec |
|
| 231 |
Adobe_packedarray /terminate get exec |
|
| 232 |
%%EOF |
|
| test/fixtures/files/testfile.txt | ||
|---|---|---|
| 1 |
this is a text file for upload tests |
|
| 2 |
with multiple lines |
|
| 1 |
this is a text file for upload tests |
|
| 2 |
with multiple lines |
|
| test/functional/issues_controller_test.rb | ||
|---|---|---|
| 5258 | 5258 |
assert_equal 'testfile.txt', attachment.filename |
| 5259 | 5259 |
assert_equal 'text/plain', attachment.content_type |
| 5260 | 5260 |
assert_equal 'test file', attachment.description |
| 5261 |
assert_equal 59, attachment.filesize
|
|
| 5261 |
assert_equal 57, attachment.filesize
|
|
| 5262 | 5262 |
assert File.exist?(attachment.diskfile) |
| 5263 |
assert_equal 59, File.size(attachment.diskfile)
|
|
| 5263 |
assert_equal 57, File.size(attachment.diskfile)
|
|
| 5264 | 5264 |
end |
| 5265 | 5265 | |
| 5266 | 5266 |
def test_post_create_with_attachment_should_notify_with_attachments |
| ... | ... | |
| 6966 | 6966 |
assert_equal 'testfile.txt', attachment.filename |
| 6967 | 6967 |
assert_equal 'text/plain', attachment.content_type |
| 6968 | 6968 |
assert_equal 'test file', attachment.description |
| 6969 |
assert_equal 59, attachment.filesize
|
|
| 6969 |
assert_equal 57, attachment.filesize
|
|
| 6970 | 6970 |
assert File.exist?(attachment.diskfile) |
| 6971 |
assert_equal 59, File.size(attachment.diskfile)
|
|
| 6971 |
assert_equal 57, File.size(attachment.diskfile)
|
|
| 6972 | 6972 | |
| 6973 | 6973 |
mail = ActionMailer::Base.deliveries.last |
| 6974 | 6974 |
assert_mail_body_match 'testfile.txt', mail |
| test/integration/issues_test.rb | ||
|---|---|---|
| 115 | 115 |
assert_equal 'testfile.txt', attachment.filename |
| 116 | 116 |
assert_equal 'This is an attachment', attachment.description |
| 117 | 117 |
# verify the size of the attachment stored in db |
| 118 |
assert_equal 59, attachment.filesize
|
|
| 118 |
assert_equal 57, attachment.filesize
|
|
| 119 | 119 |
# verify that the attachment was written to disk |
| 120 | 120 |
assert File.exist?(attachment.diskfile) |
| 121 | 121 |
# remove the attachments |
| test/unit/attachment_test.rb | ||
|---|---|---|
| 47 | 47 |
:author => User.find(1)) |
| 48 | 48 |
assert a.save |
| 49 | 49 |
assert_equal 'testfile.txt', a.filename |
| 50 |
assert_equal 59, a.filesize
|
|
| 50 |
assert_equal 57, a.filesize
|
|
| 51 | 51 |
assert_equal 'text/plain', a.content_type |
| 52 | 52 |
assert_equal 0, a.downloads |
| 53 |
assert_equal '6bc2eb7e87cfbf9145065689aaa8b5f513089ca0af68e2dc41f9cc025473d106', a.digest
|
|
| 53 |
assert_equal 'a34a5bf3644efc1b29f2f30a5b338a11da9b42c84a65a0b32501e75c08620111', a.digest
|
|
| 54 | 54 | |
| 55 | 55 |
assert a.disk_directory |
| 56 | 56 |
assert_match %r{\A\d{4}/\d{2}\z}, a.disk_directory
|
| 57 | 57 | |
| 58 | 58 |
assert File.exist?(a.diskfile) |
| 59 |
assert_equal 59, File.size(a.diskfile)
|
|
| 59 |
assert_equal 57, File.size(a.diskfile)
|
|
| 60 | 60 |
end |
| 61 | 61 | |
| 62 | 62 |
def test_create_should_clear_content_type_if_too_long |
| ... | ... | |
| 205 | 205 |
:author => User.find(1)) |
| 206 | 206 |
assert a.save |
| 207 | 207 |
assert_equal 'testfile.txt', a.filename |
| 208 |
assert_equal 59, a.filesize
|
|
| 208 |
assert_equal 57, a.filesize
|
|
| 209 | 209 |
assert_equal 'text/plain', a.content_type |
| 210 | 210 |
assert_equal 0, a.downloads |
| 211 |
assert_equal '6bc2eb7e87cfbf9145065689aaa8b5f513089ca0af68e2dc41f9cc025473d106', a.digest
|
|
| 211 |
assert_equal 'a34a5bf3644efc1b29f2f30a5b338a11da9b42c84a65a0b32501e75c08620111', a.digest
|
|
| 212 | 212 |
diskfile = a.diskfile |
| 213 | 213 |
assert File.exist?(diskfile) |
| 214 |
assert_equal 59, File.size(a.diskfile)
|
|
| 214 |
assert_equal 57, File.size(a.diskfile)
|
|
| 215 | 215 |
assert a.destroy |
| 216 | 216 |
assert !File.exist?(diskfile) |
| 217 | 217 |
end |
| ... | ... | |
| 425 | 425 |
attachment = Attachment.order(id: :desc).first |
| 426 | 426 |
assert_equal issue, attachment.container |
| 427 | 427 |
assert_equal 'testfile.txt', attachment.filename |
| 428 |
assert_equal 59, attachment.filesize
|
|
| 428 |
assert_equal 57, attachment.filesize
|
|
| 429 | 429 |
assert_equal 'test', attachment.description |
| 430 | 430 |
assert_equal 'text/plain', attachment.content_type |
| 431 | 431 |
assert File.exist?(attachment.diskfile) |
| 432 |
assert_equal 59, File.size(attachment.diskfile)
|
|
| 432 |
assert_equal 57, File.size(attachment.diskfile)
|
|
| 433 | 433 |
end |
| 434 | 434 | |
| 435 | 435 |
test "Attachmnet.attach_files should add unsaved files to the object as unsaved attachments" do |