Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use empty author in SmalltalkCIPharo13 #656

Merged
merged 12 commits into from
Aug 28, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ basicLoadProjectOn: aSmalltalkCI
self withExceptionHandlerDo: [
aSmalltalkCI performMetacelloLoad: [
[ metacello load: self load ]
on: MetacelloIgnorePackageLoaded
on: self ignorePackageNotificationClass
do: [ :e | e resume: self ignoreImage ] ] ]
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
executing
ignorePackageNotificationClass
hernanmd marked this conversation as resolved.
Show resolved Hide resolved

^ (Smalltalk globals
at: #MetacelloIgnorePackageLoaded)
ifNil: [ Notification ]
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
helpers
ensureAuthor
"Do nothing, as Author was removed in Pharo 13"
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
helpers
getAuthor
"Answer a <String> representing an 'Author' in the image.
Here we answer an empty string since Author support was removed in Pharo 13"

^ ''
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tests
testAuthorIsEmptyFromPharo13

SmalltalkCI platformClass = SmalltalkCIPharo13
ifTrue: [ self assertEmpty: SmalltalkCI platformClass getAuthor ]
Loading