[Pkg] Packages: Packages-SqueakMap-kph.10.mcz

squeaksource-noreply at iam.unibe.ch squeaksource-noreply at iam.unibe.ch
Mon Jul 7 01:17:47 UTC 2008


A new version of Packages-SqueakMap was added to project Packages:
http://www.squeaksource.com/Packages/Packages-SqueakMap-kph.10.mcz

==================== Summary ====================

Name: Packages-SqueakMap-kph.10
Author: kph
Time: 7 July 2008, 2:17:13 am
UUID: 7c7932b5-9419-4a64-b0fa-89072183d574
Ancestors: Packages-SqueakMap-kph.9

removed instance var version, use info dictionary instead

=============== Diff against Packages-SqueakMap-kph.9 ===============

Item was changed:
  ----- Method: PackagesSqueakMap>>version (in category 'accessing') -----
  version
  	"Answer the value of version, if it has not been set, then pick out the latest one"
  
+ 	^ self info version ifNil: [ (self info versions first detect: [ :ea | ea key = #version ]) value readStream upTo:$(; upTo: $) ].!
- 	^ version ifNil: [ (self info versions first detect: [ :ea | ea key = #version ]) value readStream upTo:$(; upTo: $) ].!

Item was changed:
  ----- Method: PackagesSqueakMap>>version: (in category 'accessing') -----
  version: anObject
  	"Set the value of version"
+ 	| v |
+ 	
+ 	v := anObject asString.
+ 	v ifEmpty: [ v := nil ].
+ 
+ 	self info version: v.!
- 		
- 	version := anObject asString.
- 	version ifEmpty: [ version := nil ].
- !



More information about the Packages mailing list