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
@@ -0,0 +1,5 @@
{
"class" : {
},
"instance" : {
} }
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"category" : "SmalltalkCI-Core",
"classinstvars" : [
],
"classvars" : [
],
"commentStamp" : "",
"instvars" : [
],
"name" : "SCIMetacelloIgnorePackageLoaded",
"pools" : [
],
"super" : "Notification",
"type" : "normal" }
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: SCIMetacelloIgnorePackageLoaded
do: [ :e | e resume: self ignoreImage ] ] ]
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*SmalltalkCI-Pharo-Core
authorName: aString
"Do nothing. Kept here for SmalltalkCI compatibilitu with older/other platforms"
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"class" : {
},
"instance" : {
"authorName:" : "HernanMoralesDurand 28/8/2024 04:56" } }
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
"name" : "IceMetacelloPharoPlatform" }
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,3 @@
helpers
setAuthor: anAuthor
"Do nothing. Author 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 ]