Skip to content

Commit

Permalink
Merge pull request #1236 from SRetip/rename
Browse files Browse the repository at this point in the history
READY : Rename & fix
  • Loading branch information
Wandalen committed Mar 22, 2024
2 parents 8932693 + 7b42ba1 commit 9ced20c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ branches = [ "master", "alpha" ]
master_branch = "alpha"
project_name = "wtools"
repo_url = "https://github.com/Wandalen/wTools"
discord_id = "m3YfbXpUUY"
discord_url = "https://discord.gg/m3YfbXpUUY"

# [metadata.cargo-suppress-warnings]
# unused-manifest-key = true
Expand Down
10 changes: 5 additions & 5 deletions module/move/willbe/src/action/readme_health_table_renew.rs
Original file line number Diff line number Diff line change
Expand Up @@ -384,11 +384,11 @@ mod private
{
match stability
{
Stability::Experimental => " [![experimental](https://raster.shields.io/static/v1?label=&message=experimental&color=orange)](https://github.com/emersion/stability-badges#experimental)".into(),
Stability::Stable => " [![stability-stable](https://img.shields.io/badge/stability-stable-green.svg)](https://github.com/emersion/stability-badges#stable)".into(),
Stability::Deprecated => " [![stability-deprecated](https://img.shields.io/badge/stability-deprecated-red.svg)](https://github.com/emersion/stability-badges#deprecated)".into(),
Stability::Unstable => " [![stability-unstable](https://img.shields.io/badge/stability-unstable-yellow.svg)](https://github.com/emersion/stability-badges#unstable)".into(),
Stability::Frozen => " [![stability-frozen](https://img.shields.io/badge/stability-frozen-blue.svg)](https://github.com/emersion/stability-badges#frozen)".into(),
Stability::Experimental => " [![experimental](https://raster.shields.io/static/v1?label=&message=experimental&color=orange)](https://github.com/emersion/stability-badges#experimental) |".into(),
Stability::Stable => " [![stability-stable](https://img.shields.io/badge/stability-stable-green.svg)](https://github.com/emersion/stability-badges#stable) |".into(),
Stability::Deprecated => " [![stability-deprecated](https://img.shields.io/badge/stability-deprecated-red.svg)](https://github.com/emersion/stability-badges#deprecated) |".into(),
Stability::Unstable => " [![stability-unstable](https://img.shields.io/badge/stability-unstable-yellow.svg)](https://github.com/emersion/stability-badges#unstable) |".into(),
Stability::Frozen => " [![stability-frozen](https://img.shields.io/badge/stability-frozen-blue.svg)](https://github.com/emersion/stability-badges#frozen) |".into(),
}
}

Expand Down
6 changes: 3 additions & 3 deletions module/move/willbe/src/command/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ pub( crate ) mod private
.routine( command::list )
.end()

.command( "readme.health.table.generate" )
.command( "readme.health.table.renew" )
.hint( "Generate a table for the root `Readme.md`" )
.long_hint( "Generates a data summary table for the `Readme.md` file located in the root of the workspace." )
.routine( command::readme_health_table_renew )
Expand Down Expand Up @@ -230,13 +230,13 @@ pub( crate ) mod private
.routine( command::deploy_renew )
.end()

.command( "readme.header.generate" )
.command( "readme.header.renew" )
.hint( "Generate header in workspace`s Readme.md file")
.long_hint( "For use this command you need to specify:\n\n[workspace.metadata]\nmaster_branch = \"alpha\"\nworkspace_name = \"wtools\"\nrepo_url = \"https://github.com/Wandalen/wTools\"\ndiscord_url = \"https://discord.gg/123123\"\n\nin workspace's Cargo.toml.")
.routine( command::readme_header_renew )
.end()

.command( "readme.modules.headers.generate" )
.command( "readme.modules.headers.renew" )
.hint( "Generates header for each workspace member." )
.long_hint( "For use this command you need to specify:\n\n[package]\nname = \"test_module\"\nrepository = \"https://github.com/Username/ProjectName/tree/master/module/test_module\"\n...\n[package.metadata]\nstability = \"stable\" (Optional)\ndiscord_url = \"https://discord.gg/1234567890\" (Optional)\n\nin module's Cargo.toml." )
.routine( command::readme_modules_headers_renew )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ fn stability_experimental_by_default()
let mut actual = String::new();
_ = file.read_to_string( &mut actual ).unwrap();

assert!( actual.contains( "[![experimental](https://raster.shields.io/static/v1?label=&message=experimental&color=orange)](https://github.com/emersion/stability-badges#experimental)" ) );
assert!( actual.contains( "[![experimental](https://raster.shields.io/static/v1?label=&message=experimental&color=orange)](https://github.com/emersion/stability-badges#experimental) |" ) );
}

#[ test ]
Expand Down

0 comments on commit 9ced20c

Please sign in to comment.