Skip to content

Commit

Permalink
Adding support for season of the splicer
Browse files Browse the repository at this point in the history
  • Loading branch information
mikechambers committed Jun 12, 2021
1 parent 2d44ac4 commit ff175f1
Show file tree
Hide file tree
Showing 16 changed files with 36 additions and 27 deletions.
3 changes: 3 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# dcli Release Notes

## v0.5.63 June 11, 2021
* Added Season of the Splicer moment.

## v0.5.62 February 19, 2021
* Fixed bug that could cause some activities to never sync property (and could throw RowNotFound error.) Requires all data to be re-synced.
* Fixed issues where errors would occur if new data is found in API, and manifest hasnt been updated yet.
Expand Down
20 changes: 10 additions & 10 deletions src/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/dcli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "dcli"
#version
version = "0.5.62"
version = "0.5.63"
authors = ["Mike Chambers <[email protected]>"]
edition = "2018"
description = "Library for the dcli collection of command line tools for Destiny 2."
Expand Down
6 changes: 6 additions & 0 deletions src/dcli/src/enums/moment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ pub enum Moment {
SeasonOfArrivals,
SeasonOfTheHunt,
SeasonOfTheChosen,
SeasonOfTheSplicer,
}

impl Moment {
Expand Down Expand Up @@ -101,6 +102,9 @@ impl Moment {
Moment::SeasonOfArrivals => Utc.ymd(2020, 6, 9).and_hms(18, 0, 0),
Moment::SeasonOfTheHunt => Utc.ymd(2020, 11, 10).and_hms(18, 0, 0),
Moment::SeasonOfTheChosen => Utc.ymd(2021, 2, 9).and_hms(18, 0, 0),
Moment::SeasonOfTheSplicer => {
Utc.ymd(2021, 5, 11).and_hms(18, 0, 0)
}
}
}
}
Expand Down Expand Up @@ -143,6 +147,7 @@ impl FromStr for Moment {
"season_of_arrivals" => Ok(Moment::SeasonOfArrivals),
"season_of_the_hunt" => Ok(Moment::SeasonOfTheHunt),
"season_of_the_chosen" => Ok(Moment::SeasonOfTheChosen),
"season_of_the_splicer" => Ok(Moment::SeasonOfTheSplicer),

_ => Err("Unknown Moment type"),
}
Expand Down Expand Up @@ -182,6 +187,7 @@ impl fmt::Display for Moment {
Moment::SeasonOfArrivals => "Season of Arrivals",
Moment::SeasonOfTheHunt => "Season of the Hunt",
Moment::SeasonOfTheChosen => "Season of the Chosen",
Moment::SeasonOfTheSplicer => "Season of the Splicer",
};

write!(f, "{}", out)
Expand Down
2 changes: 1 addition & 1 deletion src/dclia/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "dclia"
#version
version = "0.5.62"
version = "0.5.63"
authors = ["Mike Chambers <[email protected]>"]
description = "Command line tool for retrieving information on current activity for specified player character."
homepage = "https://www.mikechambers.com"
Expand Down
2 changes: 1 addition & 1 deletion src/dcliad/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "dcliad"
#version
version = "0.5.62"
version = "0.5.63"
authors = ["Mike Chambers <[email protected]>"]
edition = "2018"
description = "Command line tool for viewing Destiny 2 activity details."
Expand Down
2 changes: 1 addition & 1 deletion src/dcliah/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "dcliah"
#version
version = "0.5.62"
version = "0.5.63"
authors = ["Mike Chambers <[email protected]>"]
edition = "2018"
description = "Command line tool for viewing Destiny 2 activity history."
Expand Down
8 changes: 4 additions & 4 deletions src/dcliah/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ OPTIONS:
reset on Tuesday), day (last day), week (last week), month (last month), all_time and custom as well as the
following season moments launch, curse_of_osiris, warmind, season_of_the_outlaw, season_of_the_forge,
season_of_the_drifter, season_of_opulence, season_of_the_undying, season_of_dawn, season_of_the_worthy,
season_of_arrivals, season_of_the_hunt, season_of_the_chosen.
season_of_arrivals, season_of_the_hunt, season_of_the_chosen, season_of_the_splicer.
When custom is specified, the custom start date in RFC3339 format must be specified with the --end-custom-
time argument.
Expand Down Expand Up @@ -110,7 +110,7 @@ OPTIONS:
reset on Tuesday), day (last day), week (last week), month (last month), all_time and custom as well as the
following season moments launch, curse_of_osiris, warmind, season_of_the_outlaw, season_of_the_forge,
season_of_the_drifter, season_of_opulence, season_of_the_undying, season_of_dawn, season_of_the_worthy,
season_of_arrivals, season_of_the_hunt, season_of_the_chosen.
season_of_arrivals, season_of_the_hunt, season_of_the_chosen, season_of_the_splicer.
When custom is specified, the custom start date in RFC3339 format must be specified with the --custom-time
argument.
Expand All @@ -135,8 +135,8 @@ OPTIONS:
|---|---|
| --platform | xbox, playstation, stadia, steam |
| --mode | all_pvp (default), control, clash, elimination, mayhem, iron_banner, all_private, rumble, pvp_competitive, quickplay and trials_of_osiris, crimsom_doubles, supremacy, survival, countdown, all_doubles, doubles private_clash, private_control, private_survival, private_rumble, showdown, lockdown, scorched, scorched_team, breakthrough, clash_quickplay, trials_of_the_nine |
| --moment | daily (last daily reset), weekend (last weekend reset on Friday), weekly (last weekly reset on Tuesday), day (last day), week (last week), month (last month), all_time, custom, launch, curse_of_osiris, warmind, season_of_the_outlaw, season_of_the_forge, season_of_the_drifter, season_of_opulence, season_of_the_undying, season_of_dawn, season_of_the_worthy, season_of_arrivals, season_of_the_hunt, season_of_the_chosen |
| --end-moment | daily (last daily reset), weekend (last weekend reset on Friday), weekly (last weekly reset on Tuesday), day (last day), week (last week), month (last month), all_time, custom, launch, curse_of_osiris, warmind, season_of_the_outlaw, season_of_the_forge, season_of_the_drifter, season_of_opulence, season_of_the_undying, season_of_dawn, season_of_the_worthy, season_of_arrivals, season_of_the_hunt, season_of_the_chosen |
| --moment | daily (last daily reset), weekend (last weekend reset on Friday), weekly (last weekly reset on Tuesday), day (last day), week (last week), month (last month), all_time, custom, launch, curse_of_osiris, warmind, season_of_the_outlaw, season_of_the_forge, season_of_the_drifter, season_of_opulence, season_of_the_undying, season_of_dawn, season_of_the_worthy, season_of_arrivals, season_of_the_hunt, season_of_the_chosen, season_of_the_splicer |
| --end-moment | daily (last daily reset), weekend (last weekend reset on Friday), weekly (last weekly reset on Tuesday), day (last day), week (last week), month (last month), all_time, custom, launch, curse_of_osiris, warmind, season_of_the_outlaw, season_of_the_forge, season_of_the_drifter, season_of_opulence, season_of_the_undying, season_of_dawn, season_of_the_worthy, season_of_arrivals, season_of_the_hunt, season_of_the_chosen, season_of_the_splicer |
| --weapon-sort | name, kills (default), games, kills_per_game_kills kills_per_game_total, precision_total, precision_percent, type |

member-id and platform can be retrieved with [dclis](https://github.com/mikechambers/dcli/tree/main/src/dclis).
Expand Down
4 changes: 2 additions & 2 deletions src/dcliah/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ struct Opt {
/// season_of_the_outlaw, season_of_the_forge, season_of_the_drifter,
/// season_of_opulence, season_of_the_undying, season_of_dawn,
/// season_of_the_worthy, season_of_arrivals, season_of_the_hunt,
/// season_of_the_chosen.
/// season_of_the_chosen, season_of_the_splicer.
///
/// When custom is specified, the custom start date in RFC3339 format must
/// be specified with the --custom-time argument.
Expand All @@ -570,7 +570,7 @@ struct Opt {
/// season_of_the_outlaw, season_of_the_forge, season_of_the_drifter,
/// season_of_opulence, season_of_the_undying, season_of_dawn,
/// season_of_the_worthy, season_of_arrivals, season_of_the_hunt,
/// season_of_the_chosen.
/// season_of_the_chosen, season_of_the_splicer.
///
/// When custom is specified, the custom start date in RFC3339 format must
/// be specified with the --end-custom-time argument.
Expand Down
2 changes: 1 addition & 1 deletion src/dclias/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "dclias"
#version
version = "0.5.62"
version = "0.5.63"
authors = ["Mike Chambers <[email protected]>"]
edition = "2018"
description = "Command line tool for downloading and syncing Destiny 2 Crucible activity history."
Expand Down
2 changes: 1 addition & 1 deletion src/dclic/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "dclic"
#version
version = "0.5.62"
version = "0.5.63"
authors = ["Mike Chambers <[email protected]>"]
edition = "2018"
description = "Command line tool for retrieving Destiny 2 character information for specified member id."
Expand Down
2 changes: 1 addition & 1 deletion src/dclics/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "dclics"
#version
version = "0.5.62"
version = "0.5.63"
authors = ["Mike Chambers <[email protected]>"]
description = "Command line tool for retrieving current Destiny 2 Crucible activity stats."
homepage = "https://www.mikechambers.com"
Expand Down
2 changes: 1 addition & 1 deletion src/dclim/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "dclim"
#version
version = "0.5.62"
version = "0.5.63"
authors = ["Mike Chambers <[email protected]>"]
edition = "2018"
description = "Command line tool for managing and syncing the remote Destiny 2 API manifest database."
Expand Down
2 changes: 1 addition & 1 deletion src/dclims/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "dclims"
#version
version = "0.5.62"
version = "0.5.63"
authors = ["Mike Chambers <[email protected]>"]
edition = "2018"
description = "Command line tool for searching the Destiny 2 manifest by hash ids."
Expand Down
2 changes: 1 addition & 1 deletion src/dclis/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "dclis"
#version
version = "0.5.62"
version = "0.5.63"
authors = ["Mike Chambers <[email protected]>"]
edition = "2018"
description = "Command line tool for retrieving primary Destiny 2 member ids."
Expand Down
2 changes: 1 addition & 1 deletion src/dclitime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "dclitime"
#version
version = "0.5.62"
version = "0.5.63"
authors = ["Mike Chambers <[email protected]>"]
edition = "2018"
description = "Command line tool for retrieving Destiny 2 related date / time stamps"
Expand Down

0 comments on commit ff175f1

Please sign in to comment.