File tree Expand file tree Collapse file tree 6 files changed +45
-21
lines changed Expand file tree Collapse file tree 6 files changed +45
-21
lines changed Original file line number Diff line number Diff line change 1
1
CHANGELOG
2
2
=========
3
3
4
+ 2.0.0
5
+ -----
6
+
7
+ * Attachment fixtures are now objects containing up to two keys. ` metadata `
8
+ contains the JSON encoded attachment while ` content ` , if present, denotes
9
+ the raw attachment content.
10
+
4
11
1.0.0
5
12
-----
6
13
Original file line number Diff line number Diff line change
1
+ UPGRADE
2
+ =======
3
+
4
+ Upgrading from 1.x to 2.0
5
+ -------------------------
6
+
7
+ * Attachment fixtures are now objects containing up to two keys. ` metadata `
8
+ contains the JSON encoded attachment while ` content ` , if present, denotes
9
+ the raw attachment content.
Original file line number Diff line number Diff line change 21
21
},
22
22
"extra" : {
23
23
"branch-alias" : {
24
- "dev-master" : " 1 .0.x-dev"
24
+ "dev-master" : " 2 .0.x-dev"
25
25
}
26
26
}
27
27
}
Original file line number Diff line number Diff line change 1
1
{
2
- "usageType" : " http://id.tincanapi.com/attachment/supporting_media" ,
3
- "display" : {
4
- "en-US" : " JSON attachment"
2
+ "metadata" : {
3
+ "usageType" : " http://id.tincanapi.com/attachment/supporting_media" ,
4
+ "display" : {
5
+ "en-US" : " JSON attachment"
6
+ },
7
+ "contentType" : " application/json" ,
8
+ "length" : 60 ,
9
+ "sha2" : " f4135c31e2710764604195dfe4e225884d8108467cc21670803e384b80df88ee"
5
10
},
6
- "contentType" : " application/json" ,
7
- "length" : 60 ,
8
- "sha2" : " f4135c31e2710764604195dfe4e225884d8108467cc21670803e384b80df88ee"
11
+ "content" : " {\" propertyA\" :\" value1\" ,\" propertyB\" :\" value2\" ,\" propertyC\" :true}"
9
12
}
Original file line number Diff line number Diff line change 1
1
{
2
- "usageType" : " http://id.tincanapi.com/attachment/supporting_media" ,
3
- "display" : {
4
- "en-US" : " FileUrl Only attachment"
5
- },
6
- "contentType" : " application/octet-stream" ,
7
- "length" : 65556 ,
8
- "sha2" : " d14f1580a2cebb6f8d4a8a2fc0d13c67f970e84f8d15677a93ae95c9080df899" ,
9
- "fileUrl" : " http://tincanapi.com/conformancetest/attachment/fileUrlOnly"
2
+ "metadata" : {
3
+ "usageType" : " http://id.tincanapi.com/attachment/supporting_media" ,
4
+ "display" : {
5
+ "en-US" : " FileUrl Only attachment"
6
+ },
7
+ "contentType" : " application/octet-stream" ,
8
+ "length" : 65556 ,
9
+ "sha2" : " d14f1580a2cebb6f8d4a8a2fc0d13c67f970e84f8d15677a93ae95c9080df899" ,
10
+ "fileUrl" : " http://tincanapi.com/conformancetest/attachment/fileUrlOnly"
11
+ }
10
12
}
Original file line number Diff line number Diff line change 1
1
{
2
- "usageType" : " http://id.tincanapi.com/attachment/supporting_media" ,
3
- "display" : {
4
- "en-US" : " Text attachment"
2
+ "metadata" : {
3
+ "usageType" : " http://id.tincanapi.com/attachment/supporting_media" ,
4
+ "display" : {
5
+ "en-US" : " Text attachment"
6
+ },
7
+ "contentType" : " text/plain" ,
8
+ "length" : 18 ,
9
+ "sha2" : " bd1a58265d96a3d1981710dab8b1e1ed04a8d7557ea53ab0cf7b44c04fd01545"
5
10
},
6
- "contentType" : " text/plain" ,
7
- "length" : 18 ,
8
- "sha2" : " bd1a58265d96a3d1981710dab8b1e1ed04a8d7557ea53ab0cf7b44c04fd01545"
11
+ "content" : " some text content"
9
12
}
You can’t perform that action at this time.
0 commit comments