From 21f4b765406af963114c63f35d9589e586cd969b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marius=20D=C3=B6rbandt?= Date: Mon, 8 Jan 2024 20:36:27 +0100 Subject: [PATCH] Add SquotCodeMapper>>pathWithPackage --- src/Squot.package/SquotCodeMapper.class/instance/pathFor..st | 2 +- .../instance/pathWithPackage.st} | 2 +- src/Squot.package/SquotCodeMapper.class/methodProperties.json | 3 ++- .../SquotTonelMapper.class/instance/mappedPaths.st | 2 +- src/Squot.package/SquotTonelMapper.class/methodProperties.json | 3 +-- .../instance/actionEditPackagePath.st | 2 +- .../SquotTonelPackageBrowser.class/methodProperties.json | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) rename src/Squot.package/{SquotTonelMapper.class/instance/packagePath.st => SquotCodeMapper.class/instance/pathWithPackage.st} (72%) diff --git a/src/Squot.package/SquotCodeMapper.class/instance/pathFor..st b/src/Squot.package/SquotCodeMapper.class/instance/pathFor..st index 42dfe19d9..9920b9c5d 100644 --- a/src/Squot.package/SquotCodeMapper.class/instance/pathFor..st +++ b/src/Squot.package/SquotCodeMapper.class/instance/pathFor..st @@ -1,3 +1,3 @@ multitext pathFor: aDefinition - ^ self path segments, {self package name}, aDefinition squotChangePath \ No newline at end of file + ^ self pathWithPackage segments, aDefinition squotChangePath \ No newline at end of file diff --git a/src/Squot.package/SquotTonelMapper.class/instance/packagePath.st b/src/Squot.package/SquotCodeMapper.class/instance/pathWithPackage.st similarity index 72% rename from src/Squot.package/SquotTonelMapper.class/instance/packagePath.st rename to src/Squot.package/SquotCodeMapper.class/instance/pathWithPackage.st index 877474f05..a2f45d92c 100644 --- a/src/Squot.package/SquotTonelMapper.class/instance/packagePath.st +++ b/src/Squot.package/SquotCodeMapper.class/instance/pathWithPackage.st @@ -1,3 +1,3 @@ accessing -packagePath +pathWithPackage ^ self path / self package name \ No newline at end of file diff --git a/src/Squot.package/SquotCodeMapper.class/methodProperties.json b/src/Squot.package/SquotCodeMapper.class/methodProperties.json index b803e3daf..2a2ddc212 100644 --- a/src/Squot.package/SquotCodeMapper.class/methodProperties.json +++ b/src/Squot.package/SquotCodeMapper.class/methodProperties.json @@ -23,7 +23,8 @@ "package:" : "mad 4/22/2023 00:09", "path" : "mad 4/21/2023 23:35", "path:" : "mad 4/22/2023 00:09", - "pathFor:" : "mad 11/7/2023 12:34", + "pathFor:" : "mad 11/14/2023 18:58", + "pathWithPackage" : "mad 11/14/2023 18:57", "printOn:" : "mad 10/16/2023 17:26", "serialize:into:" : "mad 10/16/2023 17:24", "sourcesSizeOf:" : "mad 11/7/2023 12:18", diff --git a/src/Squot.package/SquotTonelMapper.class/instance/mappedPaths.st b/src/Squot.package/SquotTonelMapper.class/instance/mappedPaths.st index b2ff8a188..3ad8ec17d 100644 --- a/src/Squot.package/SquotTonelMapper.class/instance/mappedPaths.st +++ b/src/Squot.package/SquotTonelMapper.class/instance/mappedPaths.st @@ -1,3 +1,3 @@ accessing mappedPaths - ^ {self packagePath} \ No newline at end of file + ^ {self pathWithPackage} \ No newline at end of file diff --git a/src/Squot.package/SquotTonelMapper.class/methodProperties.json b/src/Squot.package/SquotTonelMapper.class/methodProperties.json index b3c2a970a..032f45df9 100644 --- a/src/Squot.package/SquotTonelMapper.class/methodProperties.json +++ b/src/Squot.package/SquotTonelMapper.class/methodProperties.json @@ -4,8 +4,7 @@ "instance" : { "encodingName" : "mad 10/16/2023 17:27", "loadSnapshotFrom:" : "mad 10/16/2023 19:52", - "mappedPaths" : "mad 10/21/2023 22:54", - "packagePath" : "mad 10/21/2023 22:54", + "mappedPaths" : "mad 11/14/2023 19:00", "readerIn:" : "mad 10/16/2023 20:35", "serialize:into:" : "mad 10/17/2023 11:50", "writeTimestamps" : "mad 9/26/2023 15:24", diff --git a/src/Squot.package/SquotTonelPackageBrowser.class/instance/actionEditPackagePath.st b/src/Squot.package/SquotTonelPackageBrowser.class/instance/actionEditPackagePath.st index fbd5493ef..682c8e3d8 100644 --- a/src/Squot.package/SquotTonelPackageBrowser.class/instance/actionEditPackagePath.st +++ b/src/Squot.package/SquotTonelPackageBrowser.class/instance/actionEditPackagePath.st @@ -8,7 +8,7 @@ actionEditPackagePath ('The package will be stored in a subdirectory of the path below, named ''{1}''. ', 'Thus, the package is currently stored in the directory ''{2}''.' format: { packageName. - SquotPathUtilities asString: mapper packagePath. + SquotPathUtilities asString: mapper pathWithPackage. }) initialAnswer: mapper path) ifNil: [^ self]. diff --git a/src/Squot.package/SquotTonelPackageBrowser.class/methodProperties.json b/src/Squot.package/SquotTonelPackageBrowser.class/methodProperties.json index 9b4811ea3..6cc85689b 100644 --- a/src/Squot.package/SquotTonelPackageBrowser.class/methodProperties.json +++ b/src/Squot.package/SquotTonelPackageBrowser.class/methodProperties.json @@ -4,7 +4,7 @@ "openOnWorkingCopy:" : "mad 9/19/2023 15:47" }, "instance" : { "actionAddPackage" : "mad 11/27/2023 11:37", - "actionEditPackagePath" : "mad 10/21/2023 22:54", + "actionEditPackagePath" : "mad 11/14/2023 19:00", "actionRemovePackage" : "mad 11/27/2023 11:39", "buildAddPackageButton:" : "mad 9/19/2023 16:23", "buildAutoSaveNote:" : "mad 10/1/2023 17:58",