From 0352d65d21562722350fd7b717d3c5973f22f486 Mon Sep 17 00:00:00 2001 From: Mingwei Samuel Date: Fri, 25 Oct 2019 09:47:45 -0700 Subject: [PATCH] remove iso date from enums to prevent spurious diffs --- src/consts/champion.rs | 3 +-- src/consts/queue.rs | 3 +-- src/consts/season.rs | 3 +-- src/endpoints.rs | 5 ++--- src/endpoints/dto.rs | 5 ++--- srcgen/dotUtils.js | 3 +-- 6 files changed, 8 insertions(+), 14 deletions(-) diff --git a/src/consts/champion.rs b/src/consts/champion.rs index 6dc30b2..e261278 100644 --- a/src/consts/champion.rs +++ b/src/consts/champion.rs @@ -1,6 +1,5 @@ // This file is automatically generated. -// Do not directly edit. -// Generated on 2019-10-23T08:22:48.171Z. +// Do not directly edit. use std::fmt; use num_derive; diff --git a/src/consts/queue.rs b/src/consts/queue.rs index 420540d..71c5c59 100644 --- a/src/consts/queue.rs +++ b/src/consts/queue.rs @@ -1,6 +1,5 @@ // This file is automatically generated. -// Do not directly edit. -// Generated on 2019-10-23T08:22:48.180Z. +// Do not directly edit. /// League of Legends matchmaking queue. pub enum Queue { diff --git a/src/consts/season.rs b/src/consts/season.rs index e9332d5..d30be29 100644 --- a/src/consts/season.rs +++ b/src/consts/season.rs @@ -1,6 +1,5 @@ // This file is automatically generated. -// Do not directly edit. -// Generated on 2019-10-23T08:22:48.177Z. +// Do not directly edit. /// League of Legends matchmaking seasons. pub enum Season { diff --git a/src/endpoints.rs b/src/endpoints.rs index b56fa8f..5cc1078 100644 --- a/src/endpoints.rs +++ b/src/endpoints.rs @@ -1,9 +1,8 @@ // This file is automatically generated. -// Do not directly edit. -// Generated on 2019-10-23T08:22:48.183Z. +// Do not directly edit. // http://www.mingweisamuel.com/riotapi-schema/tool/ -// Version 0c74167e0eaaeb6de1c7e8219fecaabcf8386d1f +// Version b2fb0513c3cdb6baa0ba78bd2a50b43670161980 //! Automatically generated endpoint handles and data transfer structs. diff --git a/src/endpoints/dto.rs b/src/endpoints/dto.rs index 27cea37..5c4863d 100644 --- a/src/endpoints/dto.rs +++ b/src/endpoints/dto.rs @@ -1,9 +1,8 @@ // This file is automatically generated. -// Do not directly edit. -// Generated on 2019-10-23T08:22:48.166Z. +// Do not directly edit. // http://www.mingweisamuel.com/riotapi-schema/tool/ -// Version 0c74167e0eaaeb6de1c7e8219fecaabcf8386d1f +// Version b2fb0513c3cdb6baa0ba78bd2a50b43670161980 // champion-mastery-v4 #[allow(dead_code)] diff --git a/srcgen/dotUtils.js b/srcgen/dotUtils.js index 7bc2f62..700f9cb 100644 --- a/srcgen/dotUtils.js +++ b/srcgen/dotUtils.js @@ -15,8 +15,7 @@ Array.prototype.groupBy = function(lambda) { function preamble() { return `// This file is automatically generated. -// Do not directly edit. -// Generated on ${(new Date).toISOString()}.`; +// Do not directly edit.`; } function capitalize(input) {