From 50d2f240d58eeaf113c47996ed7ce2176ff8557d Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 22 May 2022 15:01:00 +0200 Subject: [PATCH 1/2] Add Squeak implementation for selectorOfPragma (extracted fix from PR#1309) --- repository/Seaside-Squeak-REST-Core.package/.filetree | 4 ++++ .../GRSqueakPlatform.extension/instance/selectorOfPragma..st | 4 ++++ .../GRSqueakPlatform.extension/methodProperties.json | 5 +++++ .../GRSqueakPlatform.extension/properties.json | 2 ++ .../monticello.meta/initializers.st | 0 .../Seaside-Squeak-REST-Core.package/monticello.meta/package | 1 + .../Seaside-Squeak-REST-Core.package/monticello.meta/version | 1 + repository/Seaside-Squeak-REST-Core.package/properties.json | 2 ++ 8 files changed, 19 insertions(+) create mode 100644 repository/Seaside-Squeak-REST-Core.package/.filetree create mode 100644 repository/Seaside-Squeak-REST-Core.package/GRSqueakPlatform.extension/instance/selectorOfPragma..st create mode 100644 repository/Seaside-Squeak-REST-Core.package/GRSqueakPlatform.extension/methodProperties.json create mode 100644 repository/Seaside-Squeak-REST-Core.package/GRSqueakPlatform.extension/properties.json create mode 100644 repository/Seaside-Squeak-REST-Core.package/monticello.meta/initializers.st create mode 100644 repository/Seaside-Squeak-REST-Core.package/monticello.meta/package create mode 100644 repository/Seaside-Squeak-REST-Core.package/monticello.meta/version create mode 100644 repository/Seaside-Squeak-REST-Core.package/properties.json diff --git a/repository/Seaside-Squeak-REST-Core.package/.filetree b/repository/Seaside-Squeak-REST-Core.package/.filetree new file mode 100644 index 000000000..8998102c2 --- /dev/null +++ b/repository/Seaside-Squeak-REST-Core.package/.filetree @@ -0,0 +1,4 @@ +{ + "noMethodMetaData" : true, + "separateMethodMetaAndSource" : false, + "useCypressPropertiesFile" : true } diff --git a/repository/Seaside-Squeak-REST-Core.package/GRSqueakPlatform.extension/instance/selectorOfPragma..st b/repository/Seaside-Squeak-REST-Core.package/GRSqueakPlatform.extension/instance/selectorOfPragma..st new file mode 100644 index 000000000..79b0687f5 --- /dev/null +++ b/repository/Seaside-Squeak-REST-Core.package/GRSqueakPlatform.extension/instance/selectorOfPragma..st @@ -0,0 +1,4 @@ +*seaside-squeak-rest-core +selectorOfPragma: aPragma + + ^aPragma keyword \ No newline at end of file diff --git a/repository/Seaside-Squeak-REST-Core.package/GRSqueakPlatform.extension/methodProperties.json b/repository/Seaside-Squeak-REST-Core.package/GRSqueakPlatform.extension/methodProperties.json new file mode 100644 index 000000000..9cb36e4a8 --- /dev/null +++ b/repository/Seaside-Squeak-REST-Core.package/GRSqueakPlatform.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "selectorOfPragma:" : "JB 5/22/2022 14:48" } } diff --git a/repository/Seaside-Squeak-REST-Core.package/GRSqueakPlatform.extension/properties.json b/repository/Seaside-Squeak-REST-Core.package/GRSqueakPlatform.extension/properties.json new file mode 100644 index 000000000..6ee1b5dfe --- /dev/null +++ b/repository/Seaside-Squeak-REST-Core.package/GRSqueakPlatform.extension/properties.json @@ -0,0 +1,2 @@ +{ + "name" : "GRSqueakPlatform" } diff --git a/repository/Seaside-Squeak-REST-Core.package/monticello.meta/initializers.st b/repository/Seaside-Squeak-REST-Core.package/monticello.meta/initializers.st new file mode 100644 index 000000000..e69de29bb diff --git a/repository/Seaside-Squeak-REST-Core.package/monticello.meta/package b/repository/Seaside-Squeak-REST-Core.package/monticello.meta/package new file mode 100644 index 000000000..26c9ad36d --- /dev/null +++ b/repository/Seaside-Squeak-REST-Core.package/monticello.meta/package @@ -0,0 +1 @@ +(name 'Seaside-Squeak-REST-Core') \ No newline at end of file diff --git a/repository/Seaside-Squeak-REST-Core.package/monticello.meta/version b/repository/Seaside-Squeak-REST-Core.package/monticello.meta/version new file mode 100644 index 000000000..06845a082 --- /dev/null +++ b/repository/Seaside-Squeak-REST-Core.package/monticello.meta/version @@ -0,0 +1 @@ +(name 'Seaside-Squeak-REST-Core-JB.1' message 'Added implementation for selectorOfPragma in Squeak' id '5ec54fa8-b64a-48c6-8482-cb741e921b8a' date '22 May 2022' time '2:53:36.146894 pm' author 'JB' ancestors () stepChildren ()) \ No newline at end of file diff --git a/repository/Seaside-Squeak-REST-Core.package/properties.json b/repository/Seaside-Squeak-REST-Core.package/properties.json new file mode 100644 index 000000000..f037444a7 --- /dev/null +++ b/repository/Seaside-Squeak-REST-Core.package/properties.json @@ -0,0 +1,2 @@ +{ + } From b78d72347fa2c584f56645fe7e8cc9130c7b7b36 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 22 May 2022 15:08:22 +0200 Subject: [PATCH 2/2] Moved code of Seaside-Pharo-REST-Core to Seaside-Squeak-REST-Core --- README.md | 2 +- .../BaselineOfSeaside3.class/instance/baselinerest..st | 4 ++-- .../GRPackage.extension/class/seasideSqueakRestCore.st | 8 ++++++++ .../GRPackage.extension/methodProperties.json | 5 +++++ .../GRPackage.extension/properties.json | 2 ++ .../instance/argumentNamesOf..st | 3 +++ .../GRPharoPlatform.extension/methodProperties.json | 5 +++++ .../GRPharoPlatform.extension/properties.json | 2 ++ .../monticello.meta/version | 2 +- 9 files changed, 29 insertions(+), 4 deletions(-) create mode 100644 repository/Seaside-Squeak-REST-Core.package/GRPackage.extension/class/seasideSqueakRestCore.st create mode 100644 repository/Seaside-Squeak-REST-Core.package/GRPackage.extension/methodProperties.json create mode 100644 repository/Seaside-Squeak-REST-Core.package/GRPackage.extension/properties.json create mode 100644 repository/Seaside-Squeak-REST-Core.package/GRPharoPlatform.extension/instance/argumentNamesOf..st create mode 100644 repository/Seaside-Squeak-REST-Core.package/GRPharoPlatform.extension/methodProperties.json create mode 100644 repository/Seaside-Squeak-REST-Core.package/GRPharoPlatform.extension/properties.json diff --git a/README.md b/README.md index eb6415078..d70b6dae2 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ To install the latest stable version of Seaside in a [Squeak](http://www.squeak. ```Smalltalk Installer ensureRecentMetacello. ``` -From there on, follow the [installation instructions for Seaside in Pharo](README.md#install-in-pharo). +From there on, follow the [installation instructions for Seaside in Pharo](README.md#instructions-for-pharo). #### Squeak < 5.2 Make sure you have installed [Metacello](https://github.com/Metacello/metacello#squeak-older-than-squeak52). From there on, follow the [installation instructions for Seaside in Pharo](README.md#install-in-pharo). diff --git a/repository/BaselineOfSeaside3.package/BaselineOfSeaside3.class/instance/baselinerest..st b/repository/BaselineOfSeaside3.package/BaselineOfSeaside3.class/instance/baselinerest..st index 43fedc04a..daeb18937 100644 --- a/repository/BaselineOfSeaside3.package/BaselineOfSeaside3.class/instance/baselinerest..st +++ b/repository/BaselineOfSeaside3.package/BaselineOfSeaside3.class/instance/baselinerest..st @@ -29,9 +29,9 @@ baselinerest: spec spec for: #(squeak) do:[ spec - package: 'Seaside-Pharo-REST-Core'; + package: 'Seaside-Squeak-REST-Core'; package: 'Seaside-REST-Core' with:[ - spec includes: #('Seaside-Pharo-REST-Core')]; + spec includes: #('Seaside-Squeak-REST-Core')]; package: 'Seaside-Squeak-Swagger-Core'; package: 'Seaside-Pharo-Swagger-Core'; package: 'Seaside-Swagger-Core' with: [ diff --git a/repository/Seaside-Squeak-REST-Core.package/GRPackage.extension/class/seasideSqueakRestCore.st b/repository/Seaside-Squeak-REST-Core.package/GRPackage.extension/class/seasideSqueakRestCore.st new file mode 100644 index 000000000..bfd99c5dc --- /dev/null +++ b/repository/Seaside-Squeak-REST-Core.package/GRPackage.extension/class/seasideSqueakRestCore.st @@ -0,0 +1,8 @@ +*seaside-squeak-rest-core +seasideSqueakRestCore + ^ self new + name: 'Seaside-Squeak-REST-Core'; + description: 'Write RESTful web services using Seaside'; + addDependency: 'Seaside-REST-Core'; + url: #seasideUrl; + yourself \ No newline at end of file diff --git a/repository/Seaside-Squeak-REST-Core.package/GRPackage.extension/methodProperties.json b/repository/Seaside-Squeak-REST-Core.package/GRPackage.extension/methodProperties.json new file mode 100644 index 000000000..06b8395c7 --- /dev/null +++ b/repository/Seaside-Squeak-REST-Core.package/GRPackage.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + "seasideSqueakRestCore" : "JB 5/22/2022 14:56" }, + "instance" : { + } } diff --git a/repository/Seaside-Squeak-REST-Core.package/GRPackage.extension/properties.json b/repository/Seaside-Squeak-REST-Core.package/GRPackage.extension/properties.json new file mode 100644 index 000000000..dd2faaf08 --- /dev/null +++ b/repository/Seaside-Squeak-REST-Core.package/GRPackage.extension/properties.json @@ -0,0 +1,2 @@ +{ + "name" : "GRPackage" } diff --git a/repository/Seaside-Squeak-REST-Core.package/GRPharoPlatform.extension/instance/argumentNamesOf..st b/repository/Seaside-Squeak-REST-Core.package/GRPharoPlatform.extension/instance/argumentNamesOf..st new file mode 100644 index 000000000..69ffeb230 --- /dev/null +++ b/repository/Seaside-Squeak-REST-Core.package/GRPharoPlatform.extension/instance/argumentNamesOf..st @@ -0,0 +1,3 @@ +*seaside-squeak-rest-core +argumentNamesOf: aCompiledMethod + ^ aCompiledMethod methodNode arguments collect: [ :each | each key ] \ No newline at end of file diff --git a/repository/Seaside-Squeak-REST-Core.package/GRPharoPlatform.extension/methodProperties.json b/repository/Seaside-Squeak-REST-Core.package/GRPharoPlatform.extension/methodProperties.json new file mode 100644 index 000000000..3c8d22789 --- /dev/null +++ b/repository/Seaside-Squeak-REST-Core.package/GRPharoPlatform.extension/methodProperties.json @@ -0,0 +1,5 @@ +{ + "class" : { + }, + "instance" : { + "argumentNamesOf:" : "pmm 5/8/2012 19:11:54" } } diff --git a/repository/Seaside-Squeak-REST-Core.package/GRPharoPlatform.extension/properties.json b/repository/Seaside-Squeak-REST-Core.package/GRPharoPlatform.extension/properties.json new file mode 100644 index 000000000..75761cbdb --- /dev/null +++ b/repository/Seaside-Squeak-REST-Core.package/GRPharoPlatform.extension/properties.json @@ -0,0 +1,2 @@ +{ + "name" : "GRPharoPlatform" } diff --git a/repository/Seaside-Squeak-REST-Core.package/monticello.meta/version b/repository/Seaside-Squeak-REST-Core.package/monticello.meta/version index 06845a082..1f35b983e 100644 --- a/repository/Seaside-Squeak-REST-Core.package/monticello.meta/version +++ b/repository/Seaside-Squeak-REST-Core.package/monticello.meta/version @@ -1 +1 @@ -(name 'Seaside-Squeak-REST-Core-JB.1' message 'Added implementation for selectorOfPragma in Squeak' id '5ec54fa8-b64a-48c6-8482-cb741e921b8a' date '22 May 2022' time '2:53:36.146894 pm' author 'JB' ancestors () stepChildren ()) \ No newline at end of file +(name 'Seaside-Squeak-REST-Core-JB.2' message 'Moved code of Seaside-Pharo-REST-Core to Seaside-Squeak-REST-Core' id '54a5ecd1-8d78-4d54-8664-8e7f8d55124b' date '22 May 2022' time '3:02:42.868646 pm' author 'JB' ancestors ((name 'Seaside-Squeak-REST-Core-JB.1' message 'Added implementation for selectorOfPragma in Squeak' id '5ec54fa8-b64a-48c6-8482-cb741e921b8a' date '22 May 2022' time '2:53:36.146894 pm' author 'JB' ancestors () stepChildren ())) stepChildren ()) \ No newline at end of file