Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pony-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
name: Lint Pony source
runs-on: ubuntu-latest
container:
image: ghcr.io/ponylang/shared-docker-ci-standard-builder:release
image: ghcr.io/ponylang/shared-docker-ci-standard-builder:nightly
steps:
- uses: actions/checkout@v6.0.2
- name: Lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
name: Test against recent ponyc release on Linux
runs-on: ubuntu-latest
container:
image: ghcr.io/ponylang/shared-docker-ci-standard-builder-with-libressl-4.3.3:release
image: ghcr.io/ponylang/shared-docker-ci-standard-builder-with-libressl-4.3.3:nightly
steps:
- uses: actions/checkout@v6.0.2
- name: Test
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Additional API surface and functionality will be added as needed. If you need fu

## Installation

* Requires ponyc 0.78.0 or later.
* Requires ponyc 0.79.0 or later.
* Install [corral](https://github.com/ponylang/corral)
* `corral add github.com/ponylang/github_rest_api.git --version 0.15.0`
* `corral fetch` to fetch your dependencies
Expand Down
10 changes: 5 additions & 5 deletions examples/create-gist-oo/main.pony
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ actor Main
[
OptionSpec.string(
"filename",
"Name of the file to create")
"Name of the file to create")?
OptionSpec.string(
"content",
"Content of the file")
"Content of the file")?
OptionSpec.string(
"description",
"Description of the gist"
where default' = "")
where default' = "")?
OptionSpec.bool(
"public",
"Whether the gist should be public"
where default' = false)
where default' = false)?
OptionSpec.string(
"token",
"GitHub personal access token")
"GitHub personal access token")?
]
)? .> add_help()?

Expand Down
10 changes: 5 additions & 5 deletions examples/create-gist/main.pony
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ actor Main
[
OptionSpec.string(
"filename",
"Name of the file to create")
"Name of the file to create")?
OptionSpec.string(
"content",
"Content of the file")
"Content of the file")?
OptionSpec.string(
"description",
"Description of the gist"
where default' = "")
where default' = "")?
OptionSpec.bool(
"public",
"Whether the gist should be public"
where default' = false)
where default' = false)?
OptionSpec.string(
"token",
"GitHub personal access token")
"GitHub personal access token")?
]
)? .> add_help()?

Expand Down
10 changes: 5 additions & 5 deletions examples/create-issue-comment-oo/main.pony
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ actor Main
[
OptionSpec.string(
"owner",
"Owner of the repository")
"Owner of the repository")?
OptionSpec.string(
"repo",
"Name of the repository")
OptionSpec.i64("issue", "Issue number")
"Name of the repository")?
OptionSpec.i64("issue", "Issue number")?
OptionSpec.string(
"comment",
"Comment to add to the issue")
"Comment to add to the issue")?
OptionSpec.string(
"token",
"GitHub personal access token")
"GitHub personal access token")?
]
)? .> add_help()?

Expand Down
10 changes: 5 additions & 5 deletions examples/create-issue-comment/main.pony
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ actor Main
[
OptionSpec.string(
"owner",
"Owner of the repository")
"Owner of the repository")?
OptionSpec.string(
"repo",
"Name of the repository")
OptionSpec.i64("issue", "Issue number")
"Name of the repository")?
OptionSpec.i64("issue", "Issue number")?
OptionSpec.string(
"comment",
"Comment to add to the issue")
"Comment to add to the issue")?
OptionSpec.string(
"token",
"GitHub personal access token")
"GitHub personal access token")?
]
)? .> add_help()?

Expand Down
12 changes: 6 additions & 6 deletions examples/create-label-oo/main.pony
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ actor Main
[
OptionSpec.string(
"owner",
"Owner of the repository")
"Owner of the repository")?
OptionSpec.string(
"repo",
"Name of the repository")
OptionSpec.string("name", "Label name")
OptionSpec.string("color", "Label color")
"Name of the repository")?
OptionSpec.string("name", "Label name")?
OptionSpec.string("color", "Label color")?
OptionSpec.string(
"description",
"Label description")
"Label description")?
OptionSpec.string(
"token",
"GitHub personal access token")
"GitHub personal access token")?
]
)? .> add_help()?

Expand Down
12 changes: 6 additions & 6 deletions examples/create-label/main.pony
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ actor Main
[
OptionSpec.string(
"owner",
"Owner of the repository")
"Owner of the repository")?
OptionSpec.string(
"repo",
"Name of the repository")
OptionSpec.string("name", "Label name")
OptionSpec.string("color", "Label color")
"Name of the repository")?
OptionSpec.string("name", "Label name")?
OptionSpec.string("color", "Label color")?
OptionSpec.string(
"description",
"Label description")
"Label description")?
OptionSpec.string(
"token",
"GitHub personal access token")
"GitHub personal access token")?
]
)? .> add_help()?

Expand Down
12 changes: 6 additions & 6 deletions examples/create-release-oo/main.pony
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ actor Main
[
OptionSpec.string(
"owner",
"Owner of the repository")
"Owner of the repository")?
OptionSpec.string(
"repo",
"Name of the repository")
OptionSpec.string("tag", "Tag for release")
OptionSpec.string("name", "Release name")
OptionSpec.string("body", "Release notes")
"Name of the repository")?
OptionSpec.string("tag", "Tag for release")?
OptionSpec.string("name", "Release name")?
OptionSpec.string("body", "Release notes")?
OptionSpec.string(
"token",
"GitHub personal access token")
"GitHub personal access token")?
]
)? .> add_help()?

Expand Down
12 changes: 6 additions & 6 deletions examples/create-release/main.pony
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ actor Main
[
OptionSpec.string(
"owner",
"Owner of the repository")
"Owner of the repository")?
OptionSpec.string(
"repo",
"Name of the repository")
OptionSpec.string("tag", "Tag for release")
OptionSpec.string("name", "Release name")
OptionSpec.string("body", "Release notes")
"Name of the repository")?
OptionSpec.string("tag", "Tag for release")?
OptionSpec.string("name", "Release name")?
OptionSpec.string("body", "Release notes")?
OptionSpec.string(
"token",
"GitHub personal access token")
"GitHub personal access token")?
]
)? .> add_help()?

Expand Down
8 changes: 4 additions & 4 deletions examples/delete-label-oo/main.pony
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ actor Main
[
OptionSpec.string(
"owner",
"Owner of the repository")
"Owner of the repository")?
OptionSpec.string(
"repo",
"Name of the repository")
"Name of the repository")?
OptionSpec.string(
"name",
"Name of the label to delete")
"Name of the label to delete")?
OptionSpec.string(
"token",
"GitHub personal access token")
"GitHub personal access token")?
]
)? .> add_help()?

Expand Down
8 changes: 4 additions & 4 deletions examples/delete-label/main.pony
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ actor Main
[
OptionSpec.string(
"owner",
"Owner of the repository")
"Owner of the repository")?
OptionSpec.string(
"repo",
"Name of the repository")
"Name of the repository")?
OptionSpec.string(
"name",
"Name of the label to delete")
"Name of the label to delete")?
OptionSpec.string(
"token",
"GitHub personal access token")
"GitHub personal access token")?
]
)? .> add_help()?

Expand Down
8 changes: 4 additions & 4 deletions examples/get-commit-oo/main.pony
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ actor Main
[
OptionSpec.string(
"owner",
"Owner of the repository")
"Owner of the repository")?
OptionSpec.string(
"repo",
"Name of the repository")
"Name of the repository")?
OptionSpec.string(
"sha",
"Sha of the commit to retrieve")
"Sha of the commit to retrieve")?
OptionSpec.string(
"token",
"GitHub personal access token"
where default' = "")
where default' = "")?
]
)? .> add_help()?

Expand Down
8 changes: 4 additions & 4 deletions examples/get-commit/main.pony
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ actor Main
[
OptionSpec.string(
"owner",
"Owner of the repository")
"Owner of the repository")?
OptionSpec.string(
"repo",
"Name of the repository")
"Name of the repository")?
OptionSpec.string(
"sha",
"Sha of the commit to retrieve")
"Sha of the commit to retrieve")?
OptionSpec.string(
"token",
"GitHub personal access token"
where default' = "")
where default' = "")?
]
)? .> add_help()?

Expand Down
4 changes: 2 additions & 2 deletions examples/get-gist-oo/main.pony
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ actor Main
[
OptionSpec.string(
"gist-id",
"ID of the gist to fetch")
"ID of the gist to fetch")?
OptionSpec.string(
"token",
"GitHub personal access token"
where default' = "")
where default' = "")?
]
)? .> add_help()?

Expand Down
4 changes: 2 additions & 2 deletions examples/get-gist/main.pony
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ actor Main
[
OptionSpec.string(
"gist-id",
"ID of the gist to fetch")
"ID of the gist to fetch")?
OptionSpec.string(
"token",
"GitHub personal access token"
where default' = "")
where default' = "")?
]
)? .> add_help()?

Expand Down
8 changes: 4 additions & 4 deletions examples/get-issue-comments-oo/main.pony
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ actor Main
[
OptionSpec.string(
"owner",
"Owner of the repository the issue is in")
"Owner of the repository the issue is in")?
OptionSpec.string(
"repo",
"Name of the repository the issue is in")
"Name of the repository the issue is in")?
OptionSpec.i64(
"issue",
"Issue number to get comments for")
"Issue number to get comments for")?
OptionSpec.string(
"token",
"GitHub personal access token"
where default' = "")
where default' = "")?
]
)? .> add_help()?

Expand Down
8 changes: 4 additions & 4 deletions examples/get-issue-comments/main.pony
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ actor Main
[
OptionSpec.string(
"owner",
"Owner of the repository the issue is in")
"Owner of the repository the issue is in")?
OptionSpec.string(
"repo",
"Name of the repository the issue is in")
"Name of the repository the issue is in")?
OptionSpec.i64(
"issue",
"Issue number to get comments for")
"Issue number to get comments for")?
OptionSpec.string(
"token",
"GitHub personal access token"
where default' = "")
where default' = "")?
]
)? .> add_help()?

Expand Down
Loading
Loading