Skip to content

Commit

Permalink
Merge pull request #656 from hernanmd/do_not_use_author_in_P13
Browse files Browse the repository at this point in the history
Use empty author in SmalltalkCIPharo13
  • Loading branch information
theseion authored Aug 28, 2024
2 parents 781a1ba + e43b3c7 commit 57dfe32
Show file tree
Hide file tree
Showing 11 changed files with 47 additions and 1 deletion.
Empty file.
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 ]

0 comments on commit 57dfe32

Please sign in to comment.