diff --git a/src/BaselineOfChest/BaselineOfChest.class.st b/src/BaselineOfChest/BaselineOfChest.class.st index 3d01cbf..a2e0bc3 100644 --- a/src/BaselineOfChest/BaselineOfChest.class.st +++ b/src/BaselineOfChest/BaselineOfChest.class.st @@ -10,12 +10,11 @@ BaselineOfChest >> baseline: spec [ spec for: #common do: [ - spec package: 'Chest'; - package: 'Chest-Tests'; - package: 'Chest-Commands'; - package: 'Chest-Commands-Tests' ]. + package: 'Chest-Tests' with: [ spec requires: #( 'Chest' ) ]; + package: 'Chest-Commands' with: [ spec requires: #( 'Chest' ) ]; + package: 'Chest-Commands-Tests' with: [ spec requires: #( 'Chest-Commands' ) ]]. spec group: 'default' diff --git a/src/Chest/Chest.class.st b/src/Chest/Chest.class.st index 26590a4..bcb46a5 100644 --- a/src/Chest/Chest.class.st +++ b/src/Chest/Chest.class.st @@ -135,7 +135,7 @@ Chest class >> allChests [ { #category : 'accessing' } Chest class >> announcer [ - ^ CAnnouncer ifNil: [ CAnnouncer := ChestAnnouncer uniqueInstance ] + ^ CAnnouncer ] { #category : 'api' } @@ -254,6 +254,7 @@ Chest class >> inChest: aChestName at: aKey put: anObject [ Chest class >> initialize [ ChestDictionary := Dictionary new. + CAnnouncer := ChestAnnouncer uniqueInstance. nextAvailableID := 1. defaultInstance := nil.