kemal-flash
Version, currently 0.2.01 version
- 0.2.0latestAug 2, 2023
github.com/crystal-china/kemal-flash
Temporary storage between actions in kemal
0 stars
1 dependent
License: MIT
Installation
# Add this to your shard.yml
dependencies:
kemal-flash:
github: crystal-china/kemal-flash
version: ~> 0.2.0Then run:
shards installshard.yml
- Crystal
- no constraint declared
- License
- MIT
- Author
- Rimas Silkaitis
Dependencies
Development Dependencies
- kemal~> 1.4github: kemalcr/kemaldev
- spec-kemal~> 1.0github: kemalcr/spec-kemaldev
- kemal-session~> 1.0github: kemalcr/kemal-sessiondev
README
kemal-flash
kemal-flash provides a way to pass temporary information between actions. Anything
that's placed in the flash will be cleared out at the end of the next action. kemal-flash
depends on kemal-session. Make sure kemal-session is included before including
kemal-flash.
Installation
Add this to your application's shard.yml:
dependencies:
kemal-flash:
github: crystal-china/kemal-flash
version: 0.2.0
Usage
require "kemal-flash"
get "/" do |env|
env.flash["notice"] = "welcome"
end
get "/check_flash" do |env|
env.flash["notice"]?
end
Contributing
- Fork it ( https://github.com/[your-github-name]/kemal-flash/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Run
crystal specfor all spec pass - Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- [neovintage] Rimas Silkaitis - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.2.0- Tagged
- Aug 2, 2023
- Commit
6c530fade1f7- Indexed
- yes
Dependents
Repository
github.com/crystal-china/kemal-flash
Metadata
- Created
- Aug 19, 2026
- Updated
- Sep 17, 2026
- Synced
- Sep 17, 2026
- Versions
- 1