-
Notifications
You must be signed in to change notification settings - Fork 607
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4d83b9c
commit 92a4793
Showing
10 changed files
with
553 additions
and
2 deletions.
There are no files selected for viewing
62 changes: 62 additions & 0 deletions
62
src/tests/krate/snapshots/crates_io__tests__krate__yanking__patch_version_yank_unyank-2.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
--- | ||
source: src/tests/krate/yanking.rs | ||
expression: json | ||
--- | ||
{ | ||
"version": { | ||
"id": 1, | ||
"crate": "patchable", | ||
"num": "1.0.0", | ||
"dl_path": "/api/v1/crates/patchable/1.0.0/download", | ||
"readme_path": "/api/v1/crates/patchable/1.0.0/readme", | ||
"updated_at": "[datetime]", | ||
"created_at": "[datetime]", | ||
"downloads": 0, | ||
"features": {}, | ||
"yanked": true, | ||
"yank_message": "Yanking reason", | ||
"lib_links": null, | ||
"license": "MIT", | ||
"links": { | ||
"dependencies": "/api/v1/crates/patchable/1.0.0/dependencies", | ||
"version_downloads": "/api/v1/crates/patchable/1.0.0/downloads", | ||
"authors": "/api/v1/crates/patchable/1.0.0/authors" | ||
}, | ||
"crate_size": 151, | ||
"published_by": { | ||
"id": 1, | ||
"login": "foo", | ||
"name": null, | ||
"avatar": null, | ||
"url": "https://github.com/foo" | ||
}, | ||
"audit_actions": [ | ||
{ | ||
"action": "publish", | ||
"user": { | ||
"id": 1, | ||
"login": "foo", | ||
"name": null, | ||
"avatar": null, | ||
"url": "https://github.com/foo" | ||
}, | ||
"time": "[datetime]" | ||
}, | ||
{ | ||
"action": "yank", | ||
"user": { | ||
"id": 1, | ||
"login": "foo", | ||
"name": null, | ||
"avatar": null, | ||
"url": "https://github.com/foo" | ||
}, | ||
"time": "[datetime]" | ||
} | ||
], | ||
"checksum": "ddfc395ab340f413ee1d1ed0afce51a7c9df1c99c551fed5aef76edd4abe4048", | ||
"rust_version": null, | ||
"has_lib": false, | ||
"bin_names": [] | ||
} | ||
} |
73 changes: 73 additions & 0 deletions
73
src/tests/krate/snapshots/crates_io__tests__krate__yanking__patch_version_yank_unyank-3.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
--- | ||
source: src/tests/krate/yanking.rs | ||
expression: json | ||
--- | ||
{ | ||
"version": { | ||
"id": 1, | ||
"crate": "patchable", | ||
"num": "1.0.0", | ||
"dl_path": "/api/v1/crates/patchable/1.0.0/download", | ||
"readme_path": "/api/v1/crates/patchable/1.0.0/readme", | ||
"updated_at": "[datetime]", | ||
"created_at": "[datetime]", | ||
"downloads": 0, | ||
"features": {}, | ||
"yanked": true, | ||
"yank_message": "Updated reason", | ||
"lib_links": null, | ||
"license": "MIT", | ||
"links": { | ||
"dependencies": "/api/v1/crates/patchable/1.0.0/dependencies", | ||
"version_downloads": "/api/v1/crates/patchable/1.0.0/downloads", | ||
"authors": "/api/v1/crates/patchable/1.0.0/authors" | ||
}, | ||
"crate_size": 151, | ||
"published_by": { | ||
"id": 1, | ||
"login": "foo", | ||
"name": null, | ||
"avatar": null, | ||
"url": "https://github.com/foo" | ||
}, | ||
"audit_actions": [ | ||
{ | ||
"action": "publish", | ||
"user": { | ||
"id": 1, | ||
"login": "foo", | ||
"name": null, | ||
"avatar": null, | ||
"url": "https://github.com/foo" | ||
}, | ||
"time": "[datetime]" | ||
}, | ||
{ | ||
"action": "yank", | ||
"user": { | ||
"id": 1, | ||
"login": "foo", | ||
"name": null, | ||
"avatar": null, | ||
"url": "https://github.com/foo" | ||
}, | ||
"time": "[datetime]" | ||
}, | ||
{ | ||
"action": "yank", | ||
"user": { | ||
"id": 1, | ||
"login": "foo", | ||
"name": null, | ||
"avatar": null, | ||
"url": "https://github.com/foo" | ||
}, | ||
"time": "[datetime]" | ||
} | ||
], | ||
"checksum": "ddfc395ab340f413ee1d1ed0afce51a7c9df1c99c551fed5aef76edd4abe4048", | ||
"rust_version": null, | ||
"has_lib": false, | ||
"bin_names": [] | ||
} | ||
} |
73 changes: 73 additions & 0 deletions
73
src/tests/krate/snapshots/crates_io__tests__krate__yanking__patch_version_yank_unyank-4.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
--- | ||
source: src/tests/krate/yanking.rs | ||
expression: json | ||
--- | ||
{ | ||
"version": { | ||
"id": 1, | ||
"crate": "patchable", | ||
"num": "1.0.0", | ||
"dl_path": "/api/v1/crates/patchable/1.0.0/download", | ||
"readme_path": "/api/v1/crates/patchable/1.0.0/readme", | ||
"updated_at": "[datetime]", | ||
"created_at": "[datetime]", | ||
"downloads": 0, | ||
"features": {}, | ||
"yanked": true, | ||
"yank_message": "Updated reason", | ||
"lib_links": null, | ||
"license": "MIT", | ||
"links": { | ||
"dependencies": "/api/v1/crates/patchable/1.0.0/dependencies", | ||
"version_downloads": "/api/v1/crates/patchable/1.0.0/downloads", | ||
"authors": "/api/v1/crates/patchable/1.0.0/authors" | ||
}, | ||
"crate_size": 151, | ||
"published_by": { | ||
"id": 1, | ||
"login": "foo", | ||
"name": null, | ||
"avatar": null, | ||
"url": "https://github.com/foo" | ||
}, | ||
"audit_actions": [ | ||
{ | ||
"action": "publish", | ||
"user": { | ||
"id": 1, | ||
"login": "foo", | ||
"name": null, | ||
"avatar": null, | ||
"url": "https://github.com/foo" | ||
}, | ||
"time": "[datetime]" | ||
}, | ||
{ | ||
"action": "yank", | ||
"user": { | ||
"id": 1, | ||
"login": "foo", | ||
"name": null, | ||
"avatar": null, | ||
"url": "https://github.com/foo" | ||
}, | ||
"time": "[datetime]" | ||
}, | ||
{ | ||
"action": "yank", | ||
"user": { | ||
"id": 1, | ||
"login": "foo", | ||
"name": null, | ||
"avatar": null, | ||
"url": "https://github.com/foo" | ||
}, | ||
"time": "[datetime]" | ||
} | ||
], | ||
"checksum": "ddfc395ab340f413ee1d1ed0afce51a7c9df1c99c551fed5aef76edd4abe4048", | ||
"rust_version": null, | ||
"has_lib": false, | ||
"bin_names": [] | ||
} | ||
} |
84 changes: 84 additions & 0 deletions
84
src/tests/krate/snapshots/crates_io__tests__krate__yanking__patch_version_yank_unyank-5.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
--- | ||
source: src/tests/krate/yanking.rs | ||
expression: json | ||
--- | ||
{ | ||
"version": { | ||
"id": 1, | ||
"crate": "patchable", | ||
"num": "1.0.0", | ||
"dl_path": "/api/v1/crates/patchable/1.0.0/download", | ||
"readme_path": "/api/v1/crates/patchable/1.0.0/readme", | ||
"updated_at": "[datetime]", | ||
"created_at": "[datetime]", | ||
"downloads": 0, | ||
"features": {}, | ||
"yanked": false, | ||
"yank_message": null, | ||
"lib_links": null, | ||
"license": "MIT", | ||
"links": { | ||
"dependencies": "/api/v1/crates/patchable/1.0.0/dependencies", | ||
"version_downloads": "/api/v1/crates/patchable/1.0.0/downloads", | ||
"authors": "/api/v1/crates/patchable/1.0.0/authors" | ||
}, | ||
"crate_size": 151, | ||
"published_by": { | ||
"id": 1, | ||
"login": "foo", | ||
"name": null, | ||
"avatar": null, | ||
"url": "https://github.com/foo" | ||
}, | ||
"audit_actions": [ | ||
{ | ||
"action": "publish", | ||
"user": { | ||
"id": 1, | ||
"login": "foo", | ||
"name": null, | ||
"avatar": null, | ||
"url": "https://github.com/foo" | ||
}, | ||
"time": "[datetime]" | ||
}, | ||
{ | ||
"action": "yank", | ||
"user": { | ||
"id": 1, | ||
"login": "foo", | ||
"name": null, | ||
"avatar": null, | ||
"url": "https://github.com/foo" | ||
}, | ||
"time": "[datetime]" | ||
}, | ||
{ | ||
"action": "yank", | ||
"user": { | ||
"id": 1, | ||
"login": "foo", | ||
"name": null, | ||
"avatar": null, | ||
"url": "https://github.com/foo" | ||
}, | ||
"time": "[datetime]" | ||
}, | ||
{ | ||
"action": "unyank", | ||
"user": { | ||
"id": 1, | ||
"login": "foo", | ||
"name": null, | ||
"avatar": null, | ||
"url": "https://github.com/foo" | ||
}, | ||
"time": "[datetime]" | ||
} | ||
], | ||
"checksum": "ddfc395ab340f413ee1d1ed0afce51a7c9df1c99c551fed5aef76edd4abe4048", | ||
"rust_version": null, | ||
"has_lib": false, | ||
"bin_names": [] | ||
} | ||
} |
84 changes: 84 additions & 0 deletions
84
src/tests/krate/snapshots/crates_io__tests__krate__yanking__patch_version_yank_unyank-6.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
--- | ||
source: src/tests/krate/yanking.rs | ||
expression: json | ||
--- | ||
{ | ||
"version": { | ||
"id": 1, | ||
"crate": "patchable", | ||
"num": "1.0.0", | ||
"dl_path": "/api/v1/crates/patchable/1.0.0/download", | ||
"readme_path": "/api/v1/crates/patchable/1.0.0/readme", | ||
"updated_at": "[datetime]", | ||
"created_at": "[datetime]", | ||
"downloads": 0, | ||
"features": {}, | ||
"yanked": false, | ||
"yank_message": null, | ||
"lib_links": null, | ||
"license": "MIT", | ||
"links": { | ||
"dependencies": "/api/v1/crates/patchable/1.0.0/dependencies", | ||
"version_downloads": "/api/v1/crates/patchable/1.0.0/downloads", | ||
"authors": "/api/v1/crates/patchable/1.0.0/authors" | ||
}, | ||
"crate_size": 151, | ||
"published_by": { | ||
"id": 1, | ||
"login": "foo", | ||
"name": null, | ||
"avatar": null, | ||
"url": "https://github.com/foo" | ||
}, | ||
"audit_actions": [ | ||
{ | ||
"action": "publish", | ||
"user": { | ||
"id": 1, | ||
"login": "foo", | ||
"name": null, | ||
"avatar": null, | ||
"url": "https://github.com/foo" | ||
}, | ||
"time": "[datetime]" | ||
}, | ||
{ | ||
"action": "yank", | ||
"user": { | ||
"id": 1, | ||
"login": "foo", | ||
"name": null, | ||
"avatar": null, | ||
"url": "https://github.com/foo" | ||
}, | ||
"time": "[datetime]" | ||
}, | ||
{ | ||
"action": "yank", | ||
"user": { | ||
"id": 1, | ||
"login": "foo", | ||
"name": null, | ||
"avatar": null, | ||
"url": "https://github.com/foo" | ||
}, | ||
"time": "[datetime]" | ||
}, | ||
{ | ||
"action": "unyank", | ||
"user": { | ||
"id": 1, | ||
"login": "foo", | ||
"name": null, | ||
"avatar": null, | ||
"url": "https://github.com/foo" | ||
}, | ||
"time": "[datetime]" | ||
} | ||
], | ||
"checksum": "ddfc395ab340f413ee1d1ed0afce51a7c9df1c99c551fed5aef76edd4abe4048", | ||
"rust_version": null, | ||
"has_lib": false, | ||
"bin_names": [] | ||
} | ||
} |
Oops, something went wrong.