-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
45 changed files
with
130 additions
and
90 deletions.
There are no files selected for viewing
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
2 changes: 1 addition & 1 deletion
2
packages/AutoTDD-Core.package/ATDDRemoteRepository.class/instance/validate..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 | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
action | ||
validate: aString | ||
|
||
(aString matchesRegex: self class validSlug) ifFalse: [ ATDDNoValidSlugError signal ] | ||
(aString matchesRegex: self class validSlug) ifFalse: [ ATDDInvalidSlugError signal ] |
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
2 changes: 1 addition & 1 deletion
2
...DAccessDeniedError.class/class/message.st → ...DeniedError.class/class/defaultMessage.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 | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
accessing | ||
message | ||
defaultMessage | ||
|
||
^ 'Access denied' |
4 changes: 0 additions & 4 deletions
4
packages/AutoTDD-Exceptions.package/ATDDAccessDeniedError.class/instance/defaultAction.st
This file was deleted.
Oops, something went wrong.
5 changes: 2 additions & 3 deletions
5
packages/AutoTDD-Exceptions.package/ATDDAccessDeniedError.class/methodProperties.json
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 | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"class" : { | ||
"message" : "ng 6/18/2021 13:55", | ||
"rateLimitMessage" : "BF 6/18/2021 14:51" }, | ||
"defaultMessage" : "ng 7/9/2021 18:25" }, | ||
"instance" : { | ||
"defaultAction" : "ng 6/18/2021 13:53" } } | ||
} } |
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 | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,5 @@ | |
"name" : "ATDDAccessDeniedError", | ||
"pools" : [ | ||
], | ||
"super" : "Error", | ||
"super" : "ATDDError", | ||
"type" : "normal" } |
4 changes: 4 additions & 0 deletions
4
packages/AutoTDD-Exceptions.package/ATDDConnectionError.class/class/defaultMessage.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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
defaultMessage | ||
|
||
^ 'Not a valid token.' |
5 changes: 0 additions & 5 deletions
5
packages/AutoTDD-Exceptions.package/ATDDConnectionError.class/instance/defaultAction.st
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
packages/AutoTDD-Exceptions.package/ATDDConnectionError.class/methodProperties.json
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 | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"class" : { | ||
}, | ||
"defaultMessage" : "ng 7/9/2021 18:27" }, | ||
"instance" : { | ||
"defaultAction" : "ng 6/18/2021 14:03" } } | ||
} } |
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 | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,5 @@ | |
"name" : "ATDDConnectionError", | ||
"pools" : [ | ||
], | ||
"super" : "Error", | ||
"super" : "ATDDError", | ||
"type" : "normal" } |
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
An ATDDError is an abstraction of any Error in AutoTDD. |
4 changes: 4 additions & 0 deletions
4
packages/AutoTDD-Exceptions.package/ATDDError.class/class/defaultMessage.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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
defaultMessage | ||
|
||
^ self subclassResponsibility |
4 changes: 4 additions & 0 deletions
4
packages/AutoTDD-Exceptions.package/ATDDError.class/instance/defaultAction.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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
priv handling | ||
defaultAction | ||
|
||
^ Transcript show: self class defaultMessage |
5 changes: 5 additions & 0 deletions
5
packages/AutoTDD-Exceptions.package/ATDDError.class/methodProperties.json
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"class" : { | ||
"defaultMessage" : "ng 7/9/2021 18:25" }, | ||
"instance" : { | ||
"defaultAction" : "ng 7/9/2021 18:31" } } |
14 changes: 14 additions & 0 deletions
14
packages/AutoTDD-Exceptions.package/ATDDError.class/properties.json
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"category" : "AutoTDD-Exceptions", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "ng 7/9/2021 18:32", | ||
"instvars" : [ | ||
], | ||
"name" : "ATDDError", | ||
"pools" : [ | ||
], | ||
"super" : "Error", | ||
"type" : "normal" } |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ugError.class/class/noValidSlugMessage.st → ...idSlugError.class/class/defaultMessage.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 | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
accessing | ||
noValidSlugMessage | ||
defaultMessage | ||
|
||
^ 'No valid slug provided' |
5 changes: 5 additions & 0 deletions
5
packages/AutoTDD-Exceptions.package/ATDDInvalidSlugError.class/methodProperties.json
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"class" : { | ||
"defaultMessage" : "ng 7/9/2021 18:28" }, | ||
"instance" : { | ||
} } |
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
4 changes: 0 additions & 4 deletions
4
packages/AutoTDD-Exceptions.package/ATDDNoValidSlugError.class/instance/defaultAction.st
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
packages/AutoTDD-Exceptions.package/ATDDNoValidSlugError.class/methodProperties.json
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
packages/AutoTDD-Exceptions.package/ATDDNotFoundError.class/class/defaultMessage.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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
defaultMessage | ||
|
||
^ 'Error 404! Please provide a valid {owner}/{repo}' |
4 changes: 0 additions & 4 deletions
4
packages/AutoTDD-Exceptions.package/ATDDNotFoundError.class/class/message.st
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
packages/AutoTDD-Exceptions.package/ATDDNotFoundError.class/instance/defaultAction.st
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
packages/AutoTDD-Exceptions.package/ATDDNotFoundError.class/methodProperties.json
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 | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"class" : { | ||
"message" : "ng 6/18/2021 13:55" }, | ||
"defaultMessage" : "ng 7/9/2021 18:37" }, | ||
"instance" : { | ||
"defaultAction" : "ng 6/18/2021 13:59" } } | ||
} } |
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 | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,5 @@ | |
"name" : "ATDDNotFoundError", | ||
"pools" : [ | ||
], | ||
"super" : "Error", | ||
"super" : "ATDDError", | ||
"type" : "normal" } |
1 change: 1 addition & 0 deletions
1
packages/AutoTDD-Exceptions.package/ATDDRateLimitError.class/README.md
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
An ATDDRateLimitError is an ATDDAccessDeniedError that was thrown because the API's rate limit was exceeded. |
2 changes: 1 addition & 1 deletion
2
...niedError.class/class/rateLimitMessage.st → ...eLimitError.class/class/defaultMessage.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 | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
accessing | ||
rateLimitMessage | ||
defaultMessage | ||
|
||
^ 'You have been rate-limited. This GitHub Action will now be paused. Consider providing a token to prevent this.' |
5 changes: 5 additions & 0 deletions
5
packages/AutoTDD-Exceptions.package/ATDDRateLimitError.class/methodProperties.json
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"class" : { | ||
"defaultMessage" : "ng 7/9/2021 18:35" }, | ||
"instance" : { | ||
} } |
14 changes: 14 additions & 0 deletions
14
packages/AutoTDD-Exceptions.package/ATDDRateLimitError.class/properties.json
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"category" : "AutoTDD-Exceptions", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "ng 7/9/2021 18:34", | ||
"instvars" : [ | ||
], | ||
"name" : "ATDDRateLimitError", | ||
"pools" : [ | ||
], | ||
"super" : "ATDDAccessDeniedError", | ||
"type" : "normal" } |
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
15 changes: 0 additions & 15 deletions
15
packages/AutoTDD-GUI.package/ATDDGitHubActionEditor.class/instance/hasValidUrl.st
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
packages/AutoTDD-GUI.package/ATDDGitHubActionEditor.class/instance/makesValidRequest.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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
testing | ||
makesValidRequest | ||
|
||
| client | | ||
|
||
client := ATDDGitHubActionsClient new. | ||
client token: self token. | ||
(client requestOn: 'repos/' , self repositoryUrl) | ||
ifNil: [ ^ false ]. | ||
|
||
^ true |
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.