├── .gitignore ├── .travis.yml ├── LICENSE ├── Projectfile ├── README.md ├── shard.lock ├── shard.yml ├── spec ├── app │ └── views │ │ ├── flash.ecr │ │ ├── layout.ecr │ │ ├── test.ecr │ │ └── test_data.ecr ├── base_spec.cr ├── cache_spec.cr ├── controller_spec.cr ├── response_spec.cr ├── route_spec.cr ├── sessions_spec.cr ├── spec_helper.cr └── view │ ├── base_view_spec.cr │ └── view_tag_spec.cr └── src ├── amatista.cr └── amatista ├── base.cr ├── controller.cr ├── filter.cr ├── flash.cr ├── handler.cr ├── helpers.cr ├── model.cr ├── response.cr ├── route.cr ├── sessions.cr ├── version.cr └── view ├── base_view.cr ├── view_helpers.cr └── view_tag.cr /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/LICENSE -------------------------------------------------------------------------------- /Projectfile: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/README.md -------------------------------------------------------------------------------- /shard.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/shard.lock -------------------------------------------------------------------------------- /shard.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/shard.yml -------------------------------------------------------------------------------- /spec/app/views/flash.ecr: -------------------------------------------------------------------------------- 1 | <%= get_flash(:message) %> 2 | -------------------------------------------------------------------------------- /spec/app/views/layout.ecr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/spec/app/views/layout.ecr -------------------------------------------------------------------------------- /spec/app/views/test.ecr: -------------------------------------------------------------------------------- 1 |

Hello World Test

2 | -------------------------------------------------------------------------------- /spec/app/views/test_data.ecr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/spec/app/views/test_data.ecr -------------------------------------------------------------------------------- /spec/base_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/spec/base_spec.cr -------------------------------------------------------------------------------- /spec/cache_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/spec/cache_spec.cr -------------------------------------------------------------------------------- /spec/controller_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/spec/controller_spec.cr -------------------------------------------------------------------------------- /spec/response_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/spec/response_spec.cr -------------------------------------------------------------------------------- /spec/route_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/spec/route_spec.cr -------------------------------------------------------------------------------- /spec/sessions_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/spec/sessions_spec.cr -------------------------------------------------------------------------------- /spec/spec_helper.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/spec/spec_helper.cr -------------------------------------------------------------------------------- /spec/view/base_view_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/spec/view/base_view_spec.cr -------------------------------------------------------------------------------- /spec/view/view_tag_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/spec/view/view_tag_spec.cr -------------------------------------------------------------------------------- /src/amatista.cr: -------------------------------------------------------------------------------- 1 | require "./amatista/**" 2 | -------------------------------------------------------------------------------- /src/amatista/base.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/src/amatista/base.cr -------------------------------------------------------------------------------- /src/amatista/controller.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/src/amatista/controller.cr -------------------------------------------------------------------------------- /src/amatista/filter.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/src/amatista/filter.cr -------------------------------------------------------------------------------- /src/amatista/flash.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/src/amatista/flash.cr -------------------------------------------------------------------------------- /src/amatista/handler.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/src/amatista/handler.cr -------------------------------------------------------------------------------- /src/amatista/helpers.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/src/amatista/helpers.cr -------------------------------------------------------------------------------- /src/amatista/model.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/src/amatista/model.cr -------------------------------------------------------------------------------- /src/amatista/response.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/src/amatista/response.cr -------------------------------------------------------------------------------- /src/amatista/route.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/src/amatista/route.cr -------------------------------------------------------------------------------- /src/amatista/sessions.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/src/amatista/sessions.cr -------------------------------------------------------------------------------- /src/amatista/version.cr: -------------------------------------------------------------------------------- 1 | module Amatista 2 | VERSION = "0.5.1" 3 | end 4 | -------------------------------------------------------------------------------- /src/amatista/view/base_view.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/src/amatista/view/base_view.cr -------------------------------------------------------------------------------- /src/amatista/view/view_helpers.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/src/amatista/view/view_helpers.cr -------------------------------------------------------------------------------- /src/amatista/view/view_tag.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/werner/amatista/HEAD/src/amatista/view/view_tag.cr --------------------------------------------------------------------------------