Skip to content

Commit

Permalink
removing links to master branch. Found a few outdated links too (#1667)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwoertink authored Feb 13, 2022
1 parent b7d3585 commit 4cb2108
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Lucky CI

on:
push:
branches: [master]
branches: [main]
pull_request:
branches: "*"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy docs

on:
push:
branches: [ master ]
branches: [ main ]

jobs:
deploy:
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
We love pull requests from everyone. By participating in this project, you
agree to abide by the project [code of conduct].

[code of conduct]: https://github.com/luckyframework/lucky/blob/master/CODE_OF_CONDUCT.md
[code of conduct]: https://github.com/luckyframework/lucky/blob/main/CODE_OF_CONDUCT.md

Here are some ways *you* can contribute:

Expand Down Expand Up @@ -67,7 +67,7 @@ already been submitted.
asking for help. We love helping!
* Please don't update the Gem version.

[repo]: https://github.com/luckyframework/lucky/tree/master
[repo]: https://github.com/luckyframework/lucky/
[fork]: https://help.github.com/articles/fork-a-repo/
[branch]: https://help.github.com/articles/creating-and-deleting-branches-within-your-repository/
[pr]: https://help.github.com/articles/using-pull-requests/
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![github banner-short](https://user-images.githubusercontent.com/22394/26989908-dd99cc2c-4d22-11e7-9576-c6aeada2bd63.png)](http://luckyframework.org)

[![Version](https://img.shields.io/github/tag/luckyframework/lucky.svg?maxAge=360&label=version)](https://github.com/luckyframework/lucky/releases/latest)
[![License](https://img.shields.io/github/license/luckyframework/lucky.svg)](https://github.com/luckyframework/lucky/blob/master/LICENSE)
[![License](https://img.shields.io/github/license/luckyframework/lucky.svg)](https://github.com/luckyframework/lucky/blob/main/LICENSE)

[![API Documentation Website](https://img.shields.io/website?down_color=red&down_message=Offline&label=API%20Documentation&up_message=Online&url=https%3A%2F%2Fluckyframework.github.io%2Flucky%2F)](https://luckyframework.github.io/lucky)
[![Lucky Guides Website](https://img.shields.io/website?down_color=red&down_message=Offline&label=Lucky%20Guides&up_message=Online&url=https%3A%2F%2Fluckyframework.org%2Fguides)](https://luckyframework.org/guides)
Expand Down Expand Up @@ -39,7 +39,7 @@ Keep up to date by following [@luckyframework](https://twitter.com/luckyframewor

## Documentation

[API (master)](https://luckyframework.github.io/lucky/)
[API (main)](https://luckyframework.github.io/lucky/)

## What's it look like?

Expand Down
2 changes: 1 addition & 1 deletion UPGRADE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ brew upgrade lucky
### General updates

- Rename: `config/logger.cr` to `config/log.cr`
- Update: `config/log.cr` to use the new `Log`. [See implementation](https://github.com/luckyframework/lucky_cli/blob/master/src/web_app_skeleton/config/log.cr)
- Update: `config/log.cr` to use the new `Log`. [See implementation](https://github.com/luckyframework/lucky_cli/blob/v0.21.0/src/web_app_skeleton/config/log.cr#L1)
- Update: `Procfile.dev` and update the `system_check` to `script/system_check && sleep 100000`.
- Update: all `Lucky.logger.{level}("message")` calls to use the new Crystal Log `Log.{level} { "message" }`
- Remove: the following lines from `config/database.cr`
Expand Down
20 changes: 10 additions & 10 deletions shard.edge.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
dependencies:
lucky_task:
github: luckyframework/lucky_task
branch: master
branch: main
habitat:
github: luckyframework/habitat
branch: master
branch: main
wordsmith:
github: luckyframework/wordsmith
branch: master
branch: main
avram:
github: luckyframework/avram
branch: master
branch: main
lucky_router:
github: luckyframework/lucky_router
branch: master
branch: main
shell-table:
github: luckyframework/shell-table.cr
branch: master
branch: main
cry:
github: luckyframework/cry
branch: master
branch: main
exception_page:
github: crystal-loot/exception_page
branch: master
dexter:
github: luckyframework/dexter
branch: master
branch: main
pulsar:
github: luckyframework/pulsar
branch: master
branch: main
teeplate:
github: luckyframework/teeplate
branch: master
branch: main

development_dependencies:
ameba:
Expand Down
3 changes: 1 addition & 2 deletions src/lucky/redirectable.cr
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# redirect to: Users::Index, status: :moved_permanently
# ```
#
# You can find a list of all of the possible statuses [here](https://github.com/luckyframework/lucky/blob/master/src/lucky/action.cr).
# You can find a list of all of the possible statuses [here](https://crystal-lang.org/api/latest/HTTP/Status.html).
#
# Internally, all the different methods in this module eventually use the
# method that takes a `String`. However, it's recommended you pass a
Expand Down Expand Up @@ -107,7 +107,6 @@ module Lucky::Redirectable
# ```
# redirect to: "/users", status: :moved_permanently
# ```
# You can find a list of all of the possible statuses [here](https://github.com/luckyframework/lucky/blob/master/src/lucky/action.cr).
def redirect(to path : String, status : HTTP::Status) : Lucky::TextResponse
redirect(path, status.value)
end
Expand Down

0 comments on commit 4cb2108

Please sign in to comment.