X Tutup
Skip to content

Commit 1a385fc

Browse files
author
Johan Brichau
committed
First couple of Slime rules and tests converted to Reraku critiques
1 parent b6ee952 commit 1a385fc

File tree

74 files changed

+680
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+680
-4
lines changed

repository/BaselineOfGrease.package/BaselineOfGrease.class/instance/baselinePharo..st

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ baselinePharo: spec
6262
requires: #('Grease-Pharo100-Core');
6363
includes: #('Grease-Tests-Pharo-Core') ];
6464
package: 'Grease-Pharo100-Core' with: [ spec requires: #('Grease-Core') ];
65-
package: 'Grease-Pharo90-Slime' with: [ spec requires: #('Grease-Core') ];
66-
package: 'Grease-Tests-Slime' with: [ spec requires: #('Grease-Pharo90-Slime') ].
65+
package: 'Grease-Pharo110-Slime' with: [ spec requires: #('Grease-Core') ];
66+
package: 'Grease-Tests-Pharo-Slime' with: [ spec requires: #('Grease-Pharo110-Slime') ].
6767

6868
spec
6969
group: 'Slime' with: #('Grease-Pharo90-Slime');
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
self packageOrganizer ensurePackage: #BaselineOfGrease withTags: #('Manifest')!
1+
SystemOrganization addCategory: #BaselineOfGrease!

repository/Grease-Core.package/GRPlatform.class/instance/version.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ version info
22
version
33
"Answer the Grease version"
44

5-
^ (GRVersion major: 1 minor: 12 revision: 2)
5+
^ (GRVersion major: 1 minor: 15 revision: 0)
66
yourself
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"separateMethodMetaAndSource" : false,
3+
"noMethodMetaData" : true,
4+
"useCypressPropertiesFile" : true
5+
}

repository/Grease-Pharo110-Slime.package/GRBasicNewInitializeMissingRule.class/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
testing - interest
2+
checksClass
3+
4+
^ true
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
running
2+
basicCheck: aClass
3+
4+
^ aClass isMeta not
5+
and: [ (aClass includesSelector: #initialize)
6+
and: [ (#(GRObject GRNotification GRNotification GRError RBLintRule RBTransformationRule) noneSatisfy: [ :each |
7+
aClass includesBehavior: (Smalltalk globals at: each) ])
8+
and: [ aClass class methodDictionary noneSatisfy: [ :each |
9+
matcher
10+
executeTree: each parseTree
11+
initialAnswer: false ] ] ] ]
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
accessing
2+
group
3+
4+
^ 'Grease Portability'
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
initialization
2+
initialize
3+
4+
super initialize.
5+
matcher := RBParseTreeSearcher new.
6+
matcher
7+
matches: 'self basicNew initialize'
8+
do: [ :node :answer | true ]
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
accessing
2+
name
3+
4+
^ '#basicNew initialize is missing'

0 commit comments

Comments
 (0)
X Tutup