[Pkg] The Trunk: MonticelloConfigurations-bf.149.mcz
commits at source.squeak.org
commits at source.squeak.org
Fri Feb 3 12:43:20 UTC 2017
Bert Freudenberg uploaded a new version of MonticelloConfigurations to project The Trunk:
http://source.squeak.org/trunk/MonticelloConfigurations-bf.149.mcz
==================== Summary ====================
Name: MonticelloConfigurations-bf.149
Author: bf
Time: 3 February 2017, 1:43:12.774361 pm
UUID: 97826ebd-6731-43de-802a-fb8b80f6644e
Ancestors: MonticelloConfigurations-dtl.148
Add MCConfiguration>>storeOn: for simpler stringification. Also, don't store its name if it was not initialized.
=============== Diff against MonticelloConfigurations-dtl.148 ===============
Item was changed:
+ ----- Method: MCConfiguration>>fileOutOn: (in category 'printing') -----
- ----- Method: MCConfiguration>>fileOutOn: (in category 'actions') -----
fileOutOn: aStream
self writerClass fileOut: self on: aStream!
Item was added:
+ ----- Method: MCConfiguration>>storeOn: (in category 'printing') -----
+ storeOn: aStream
+ aStream nextPut: $(;
+ nextPutAll: self class name;
+ nextPutAll: ' fromArray: #'.
+ self fileOutOn: aStream.
+ aStream nextPut: $)!
Item was changed:
----- Method: MCMcmWriter>>writeConfiguration: (in category 'writing') -----
writeConfiguration: aConfiguration
stream nextPut: $(.
+
+ aConfiguration name ifNotNil: [:n |
+ stream cr.
+ stream nextPutAll: 'name '.
+ stream print: n].
aConfiguration repositories do: [:ea |
stream cr.
stream nextPutAll: 'repository '.
(MCConfiguration repositoryToArray: ea) printElementsOn: stream].
aConfiguration dependencies do: [:ea |
stream cr.
stream nextPutAll: 'dependency '.
(MCConfiguration dependencyToArray: ea) printElementsOn: stream].
- stream nextPutAll: 'name '; nextPutAll: aConfiguration name printString.
-
stream cr.
stream nextPut: $).
+ !
- stream cr.!
More information about the Packages
mailing list