From 6cc129581f19dfe6baceb65189cdfd91a2169e2a Mon Sep 17 00:00:00 2001 From: Jubessin Date: Tue, 31 Jan 2023 18:53:52 -0500 Subject: [PATCH] update package dependencies --- CHANGELOG.md | 7 +++++++ Editor/DisallowComponentClassAttributeEnforcer.cs | 6 +++--- Editor/RequireChildComponentClassAttributeEnforcer.cs | 6 +++--- Editor/RequireComponentClassAttributeEnforcer.cs | 6 +++--- Editor/RequireLayerClassAttributeEnforcer.cs | 6 +++--- Editor/RequireNameClassAttributeEnforcer.cs | 6 +++--- README.md | 2 +- package.json | 4 ++-- 8 files changed, 25 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 321816b..d6d0273 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - configuration for enforcer logging +## [2.1.1] --- 2023-01-31 + +### Changed + +- com.ikonoclast.common dependency version +- exposed ID getter in ClassAttributeEnforcers + ## [2.1.0] --- 2023-01-31 ### Added diff --git a/Editor/DisallowComponentClassAttributeEnforcer.cs b/Editor/DisallowComponentClassAttributeEnforcer.cs index 3def71f..942512c 100644 --- a/Editor/DisallowComponentClassAttributeEnforcer.cs +++ b/Editor/DisallowComponentClassAttributeEnforcer.cs @@ -25,6 +25,9 @@ internal sealed class DisallowComponentClassAttributeEnforcer : IClassAttributeE #region Properties + public string ID => + nameof(DisallowComponentClassAttributeEnforcer); + public static bool Enabled { get @@ -166,9 +169,6 @@ private static void OnRequestAttributeEnforcement() #region IEditorSaveObject Implementations - string ISaveObject.ID => - nameof(DisallowComponentClassAttributeEnforcer); - Map ISaveObject.Serialize() { var map = new Map(SaveObject.ID); diff --git a/Editor/RequireChildComponentClassAttributeEnforcer.cs b/Editor/RequireChildComponentClassAttributeEnforcer.cs index 0d7594a..c52a276 100644 --- a/Editor/RequireChildComponentClassAttributeEnforcer.cs +++ b/Editor/RequireChildComponentClassAttributeEnforcer.cs @@ -28,6 +28,9 @@ internal sealed class RequireChildComponentClassAttributeEnforcer : IClassAttrib #region Properties + public string ID => + nameof(RequireChildComponentClassAttributeEnforcer); + public static bool Enabled { get @@ -225,9 +228,6 @@ private static void OnRequestAttributeEnforcement() #region IEditorSaveObject Implementations - string ISaveObject.ID => - nameof(RequireChildComponentClassAttributeEnforcer); - Map ISaveObject.Serialize() { var map = new Map(SaveObject.ID); diff --git a/Editor/RequireComponentClassAttributeEnforcer.cs b/Editor/RequireComponentClassAttributeEnforcer.cs index de9d2a1..652f0f1 100644 --- a/Editor/RequireComponentClassAttributeEnforcer.cs +++ b/Editor/RequireComponentClassAttributeEnforcer.cs @@ -29,6 +29,9 @@ internal sealed class RequireComponentClassAttributeEnforcer : IClassAttributeEn #region Properties + public string ID => + nameof(RequireComponentClassAttributeEnforcer); + public static bool Enabled { get @@ -182,9 +185,6 @@ private static void OnRequestAttributeEnforcement() #region IEditorSaveObject Implementations - string ISaveObject.ID => - nameof(RequireComponentClassAttributeEnforcer); - Map ISaveObject.Serialize() { var map = new Map(SaveObject.ID); diff --git a/Editor/RequireLayerClassAttributeEnforcer.cs b/Editor/RequireLayerClassAttributeEnforcer.cs index 2a3fc52..90fa4c0 100644 --- a/Editor/RequireLayerClassAttributeEnforcer.cs +++ b/Editor/RequireLayerClassAttributeEnforcer.cs @@ -25,6 +25,9 @@ internal sealed class RequireLayerClassAttributeEnforcer : IClassAttributeEnforc #region Properties + public string ID => + nameof(RequireLayerClassAttributeEnforcer); + public static bool Enabled { get @@ -168,9 +171,6 @@ private static void OnRequestAttributeEnforcement() #region IEditorSaveObject Implementations - string ISaveObject.ID => - nameof(RequireLayerClassAttributeEnforcer); - Map ISaveObject.Serialize() { var map = new Map(SaveObject.ID); diff --git a/Editor/RequireNameClassAttributeEnforcer.cs b/Editor/RequireNameClassAttributeEnforcer.cs index f8f219a..52456ce 100644 --- a/Editor/RequireNameClassAttributeEnforcer.cs +++ b/Editor/RequireNameClassAttributeEnforcer.cs @@ -25,6 +25,9 @@ internal sealed class RequireNameClassAttributeEnforcer : IClassAttributeEnforce #region Properties + public string ID => + nameof(RequireNameClassAttributeEnforcer); + public static bool Enabled { get @@ -161,9 +164,6 @@ private static void OnRequestAttributeEnforcement() #region IEditorSaveObject Implementations - string ISaveObject.ID => - nameof(RequireNameClassAttributeEnforcer); - Map ISaveObject.Serialize() { var map = new Map(SaveObject.ID); diff --git a/README.md b/README.md index 5dc92f0..518fa4c 100644 --- a/README.md +++ b/README.md @@ -19,4 +19,4 @@ Unity package used in the development of Ikonoclast projects, containing a set o This package has dependencies. To use this package, add the following to the manifest.json file found under Assets > Packages: -* `"com.ikonoclast.common" : "https://github.com/Jubessin/com.ikonoclast.common.git#2.4.0"` +* `"com.ikonoclast.common" : "https://github.com/Jubessin/com.ikonoclast.common.git#2.4.1"` diff --git a/package.json b/package.json index c34fcc0..0c708f8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "license": "MIT", "unity": "2020.3", - "version": "2.1.0", + "version": "2.1.1", "author": { "name": "Jubessin", "url": "https://github.com/Jubessin" @@ -13,6 +13,6 @@ ], "description": "Unity package used in the development of Ikonoclast projects, containing a set of attributes that can be configured, applied to classes, and enforced when the project loads or the hierarchy changes.", "dependencies": { - "com.ikonoclast.common": "2.4.0" + "com.ikonoclast.common": "2.4.1" } } \ No newline at end of file