diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac1002a92..7b2976bff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,7 @@ name: Lucky CI on: push: - branches: [master] + branches: [main] pull_request: branches: "*" diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index dc2cd9ba2..98ee8b6d3 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -2,7 +2,7 @@ name: Deploy docs on: push: - branches: [ master ] + branches: [ main ] jobs: deploy: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 014f07718..2bc376512 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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: @@ -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/ diff --git a/README.md b/README.md index cff84a787..ef344bf98 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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? diff --git a/UPGRADE_NOTES.md b/UPGRADE_NOTES.md index 7a49020e1..c8cbe751d 100644 --- a/UPGRADE_NOTES.md +++ b/UPGRADE_NOTES.md @@ -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` diff --git a/shard.edge.yml b/shard.edge.yml index 6c39964b6..eeeabad9c 100644 --- a/shard.edge.yml +++ b/shard.edge.yml @@ -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: diff --git a/src/lucky/redirectable.cr b/src/lucky/redirectable.cr index 5a6b7ede9..5f88bfeb1 100644 --- a/src/lucky/redirectable.cr +++ b/src/lucky/redirectable.cr @@ -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 @@ -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