Skip to content

Commit

Permalink
Horse 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciussanchez committed Mar 10, 2023
1 parent 8a58165 commit 930bab7
Show file tree
Hide file tree
Showing 6 changed files with 388 additions and 296 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
# C++ object files produced when C/C++ Output file generation is configured.
# Uncomment this if you are not using external objects (zlib library for example).
#*.obj
#

# Delphi compiler-generated binaries (safe to delete)
*.exe
Expand Down Expand Up @@ -60,6 +59,9 @@
# Delphi history and backups
__history/
__recovery/
**/backup/
**/lib/
*.lps
*.~*

# Castalia statistics file (since XE7 Castalia is distributed with Delphi)
Expand Down
6 changes: 3 additions & 3 deletions boss-lock.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"hash": "24a7516a6c6f13c3c292e7ed59850932",
"updated": "2022-02-16T09:01:31.8182332-03:00",
"updated": "2023-03-09T23:21:21.0966659-03:00",
"installedModules": {
"github.com/hashload/horse": {
"name": "horse",
"version": "3.0.0",
"hash": "195e14c9c225f81a8c69d18b5118c149",
"version": "3.1.0",
"hash": "fc3b8eefb46c1a3b387e86ca46a9faa1",
"artifacts": {},
"failed": false,
"changed": false
Expand Down
4 changes: 2 additions & 2 deletions boss.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "horse-cors",
"description": "",
"version": "1.0.0",
"version": "1.0.6",
"homepage": "",
"mainsrc": "src/",
"projects": [],
"dependencies": {
"github.com/hashload/horse": "^3.0.0"
"github.com/hashload/horse": "^3.1.0"
}
}
2 changes: 1 addition & 1 deletion samples/delphi/Console.dpr
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ begin
THorse.Use(CORS);

THorse.Get('/ping',
procedure(Req: THorseRequest; Res: THorseResponse; Next: TProc)
procedure(Req: THorseRequest; Res: THorseResponse)
begin
Res.Send('pong');
end);
Expand Down
Loading

0 comments on commit 930bab7

Please sign in to comment.