Skip to content

Commit

Permalink
Include package name in message to serializer
Browse files Browse the repository at this point in the history
Because the Tonel writer needs the extra hint
when there is no category whose name is equal
to the package name.
  • Loading branch information
j4yk committed Mar 16, 2019
1 parent ee7014d commit 4f16d9a
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Squot serialization
writeMCSnapshot: aMCSnapshot forPackageNamed: aString from: anArtifact
^ aMCSnapshot squotWrite: anArtifact with: self

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"write:" : "jr 5/9/2017 18:24",
"writeClass:" : "jr 7/27/2017 23:53",
"writeDefinitions:" : "jr 1/29/2017 21:08",
"writeMCSnapshot:from:" : "jr 7/22/2017 02:05",
"writeMCSnapshot:forPackageNamed:from:" : "jr 3/16/2019 23:35",
"writePackage:" : "jr 7/22/2017 02:03" } }
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
testing
tests
testRewritePathForEmptyPath
| path serializerClass |
serializerClass := SquotCypressCodeSerializer.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
testing
tests
testRewritePathForOrdinaryPath
| path serializerClass |
serializerClass := SquotCypressCodeSerializer.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
testing
tests
testRewritePathWithPackageAlreadyIncluded
| path serializerClass |
serializerClass := SquotCypressCodeSerializer.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
serializing
squotWrite: anArtifact with: aSerializer
^ aSerializer writeMCSnapshot: snapshot from: anArtifact
^ aSerializer writeMCSnapshot: snapshot forPackageNamed: packageName from: anArtifact
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
"squotMaterializeWith:" : "jr 7/21/2017 23:55",
"squotPreferredSerializer" : "jr 9/20/2017 19:39",
"squotRewritePath:with:" : "jr 9/20/2017 21:02",
"squotWrite:with:" : "jr 7/22/2017 02:05",
"squotWrite:with:" : "jr 3/16/2019 23:33",
"withPackageDiffPatchApplied:" : "jr 7/22/2017 00:08" } }
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
serializing
writeMCSnapshot: aMonticelloSnapshot from: anArtifact
writeMCSnapshot: aMonticelloSnapshot forPackageNamed: aString from: anArtifact
(TonelWriterForFileSystem on: directory parent "the writer creates the package directory")
packageName: aString;
writeSnapshot: aMonticelloSnapshot.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
"instance" : {
"version" : "jr 2/16/2019 16:30",
"write:" : "jr 2/16/2019 16:38",
"writeMCSnapshot:from:" : "jr 2/16/2019 17:57" } }
"writeMCSnapshot:forPackageNamed:from:" : "jr 3/16/2019 23:35" } }

0 comments on commit 4f16d9a

Please sign in to comment.