Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Did migration with the following renamings (order is important):
#name -> #dynamicName. #description -> #dynamicDescription. #basicName -> #name. #basicDescription -> #description. Also did some renamings for test methods.
- Loading branch information
1 parent
51d5e12
commit 1a8f4e8
Showing
11 changed files
with
160 additions
and
105 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
src/Commander2-Deprecations/CmCommandDecorator.extension.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,25 @@ | |||
Extension { #name : #CmCommandDecorator } | |||
|
|||
{ #category : #'*Commander2-Deprecations' } | |||
CmCommandDecorator >> basicDescription [ | |||
self deprecated: 'Use #description instead.' transformWith: '`@receiver basicDescription' -> '`@receiver description'. | |||
^ self description | |||
] | |||
|
|||
{ #category : #'*Commander2-Deprecations' } | |||
CmCommandDecorator >> basicDescription: anObject [ | |||
self deprecated: 'Use #description: instead.' transformWith: '`@receiver basicDescription: `@arg' -> '`@receiver description: `@arg'. | |||
^ self description: anObject | |||
] | |||
|
|||
{ #category : #'*Commander2-Deprecations' } | |||
CmCommandDecorator >> basicName [ | |||
self deprecated: 'Use #name instead.' transformWith: '`@receiver basicName' -> '`@receiver name'. | |||
^ self name | |||
] | |||
|
|||
{ #category : #'*Commander2-Deprecations' } | |||
CmCommandDecorator >> basicName: anObject [ | |||
self deprecated: 'Use #name: instead.' transformWith: '`@receiver basicName: `@arg' -> '`@receiver name: `@arg'. | |||
^ self name: anObject | |||
] |
25 changes: 25 additions & 0 deletions
25
src/Commander2-Deprecations/CmTWithBasicNameAndDescription.extension.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,25 @@ | |||
Extension { #name : #CmTWithBasicNameAndDescription } | |||
|
|||
{ #category : #'*Commander2-Deprecations' } | |||
CmTWithBasicNameAndDescription >> basicDescription [ | |||
self deprecated: 'Use #description instead.' transformWith: '`@receiver basicDescription' -> '`@receiver description'. | |||
^ self description | |||
] | |||
|
|||
{ #category : #'*Commander2-Deprecations' } | |||
CmTWithBasicNameAndDescription >> basicDescription: anObject [ | |||
self deprecated: 'Use #description: instead.' transformWith: '`@receiver basicDescription: `@arg' -> '`@receiver description: `@arg'. | |||
^ self description: anObject | |||
] | |||
|
|||
{ #category : #'*Commander2-Deprecations' } | |||
CmTWithBasicNameAndDescription >> basicName [ | |||
self deprecated: 'Use #name instead.' transformWith: '`@receiver basicName' -> '`@receiver name'. | |||
^ self name | |||
] | |||
|
|||
{ #category : #'*Commander2-Deprecations' } | |||
CmTWithBasicNameAndDescription >> basicName: anObject [ | |||
self deprecated: 'Use #name: instead.' transformWith: '`@receiver basicName: `@arg' -> '`@receiver name: `@arg'. | |||
^ self name: anObject | |||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.