From 424a98f4bb373430f91a24f6fa655eb25e7c9b88 Mon Sep 17 00:00:00 2001 From: Alex Greif Date: Thu, 21 Jul 2016 16:28:09 +0200 Subject: [PATCH] renamed json-api sample to json --- {json-api => json}/README.md | 2 +- {json-api => json}/src/.dir-locals.el | 0 {json-api => json}/src/.ghci | 0 {json-api => json}/src/.gitignore | 0 {json-api => json}/src/Application.hs | 0 {json-api => json}/src/Foundation.hs | 0 {json-api => json}/src/Handler/JsonApi.hs | 0 {json-api => json}/src/Import.hs | 0 {json-api => json}/src/Import/NoFoundation.hs | 0 {json-api => json}/src/Model.hs | 0 {json-api => json}/src/Settings.hs | 0 {json-api => json}/src/Settings/StaticFiles.hs | 0 {json-api => json}/src/app/DevelMain.hs | 0 {json-api => json}/src/app/devel.hs | 0 {json-api => json}/src/app/main.hs | 0 {json-api => json}/src/config/favicon.ico | Bin {json-api => json}/src/config/keter.yml | 0 {json-api => json}/src/config/models | 0 {json-api => json}/src/config/robots.txt | 0 {json-api => json}/src/config/routes | 0 {json-api => json}/src/config/settings.yml | 0 {json-api => json}/src/config/test-settings.yml | 0 {json-api => json}/src/json-api.cabal | 0 {json-api => json}/src/stack.yaml | 0 {json-api => json}/src/static/css/bootstrap.css | 0 .../static/fonts/glyphicons-halflings-regular.eot | Bin .../static/fonts/glyphicons-halflings-regular.svg | 0 .../static/fonts/glyphicons-halflings-regular.ttf | Bin .../static/fonts/glyphicons-halflings-regular.woff | Bin .../src/templates/default-layout-wrapper.hamlet | 0 .../src/templates/default-layout.hamlet | 0 {json-api => json}/src/test/Handler/CommentSpec.hs | 0 {json-api => json}/src/test/Handler/CommonSpec.hs | 0 {json-api => json}/src/test/Handler/HomeSpec.hs | 0 {json-api => json}/src/test/Spec.hs | 0 {json-api => json}/src/test/TestImport.hs | 0 36 files changed, 1 insertion(+), 1 deletion(-) rename {json-api => json}/README.md (98%) rename {json-api => json}/src/.dir-locals.el (100%) rename {json-api => json}/src/.ghci (100%) rename {json-api => json}/src/.gitignore (100%) rename {json-api => json}/src/Application.hs (100%) rename {json-api => json}/src/Foundation.hs (100%) rename {json-api => json}/src/Handler/JsonApi.hs (100%) rename {json-api => json}/src/Import.hs (100%) rename {json-api => json}/src/Import/NoFoundation.hs (100%) rename {json-api => json}/src/Model.hs (100%) rename {json-api => json}/src/Settings.hs (100%) rename {json-api => json}/src/Settings/StaticFiles.hs (100%) rename {json-api => json}/src/app/DevelMain.hs (100%) rename {json-api => json}/src/app/devel.hs (100%) rename {json-api => json}/src/app/main.hs (100%) rename {json-api => json}/src/config/favicon.ico (100%) rename {json-api => json}/src/config/keter.yml (100%) rename {json-api => json}/src/config/models (100%) rename {json-api => json}/src/config/robots.txt (100%) rename {json-api => json}/src/config/routes (100%) rename {json-api => json}/src/config/settings.yml (100%) rename {json-api => json}/src/config/test-settings.yml (100%) rename {json-api => json}/src/json-api.cabal (100%) rename {json-api => json}/src/stack.yaml (100%) rename {json-api => json}/src/static/css/bootstrap.css (100%) rename {json-api => json}/src/static/fonts/glyphicons-halflings-regular.eot (100%) rename {json-api => json}/src/static/fonts/glyphicons-halflings-regular.svg (100%) rename {json-api => json}/src/static/fonts/glyphicons-halflings-regular.ttf (100%) rename {json-api => json}/src/static/fonts/glyphicons-halflings-regular.woff (100%) rename {json-api => json}/src/templates/default-layout-wrapper.hamlet (100%) rename {json-api => json}/src/templates/default-layout.hamlet (100%) rename {json-api => json}/src/test/Handler/CommentSpec.hs (100%) rename {json-api => json}/src/test/Handler/CommonSpec.hs (100%) rename {json-api => json}/src/test/Handler/HomeSpec.hs (100%) rename {json-api => json}/src/test/Spec.hs (100%) rename {json-api => json}/src/test/TestImport.hs (100%) diff --git a/json-api/README.md b/json/README.md similarity index 98% rename from json-api/README.md rename to json/README.md index e140d4c..f7660b0 100644 --- a/json-api/README.md +++ b/json/README.md @@ -1,4 +1,4 @@ -# Json-Api sample +# Json sample responds to following json calls: diff --git a/json-api/src/.dir-locals.el b/json/src/.dir-locals.el similarity index 100% rename from json-api/src/.dir-locals.el rename to json/src/.dir-locals.el diff --git a/json-api/src/.ghci b/json/src/.ghci similarity index 100% rename from json-api/src/.ghci rename to json/src/.ghci diff --git a/json-api/src/.gitignore b/json/src/.gitignore similarity index 100% rename from json-api/src/.gitignore rename to json/src/.gitignore diff --git a/json-api/src/Application.hs b/json/src/Application.hs similarity index 100% rename from json-api/src/Application.hs rename to json/src/Application.hs diff --git a/json-api/src/Foundation.hs b/json/src/Foundation.hs similarity index 100% rename from json-api/src/Foundation.hs rename to json/src/Foundation.hs diff --git a/json-api/src/Handler/JsonApi.hs b/json/src/Handler/JsonApi.hs similarity index 100% rename from json-api/src/Handler/JsonApi.hs rename to json/src/Handler/JsonApi.hs diff --git a/json-api/src/Import.hs b/json/src/Import.hs similarity index 100% rename from json-api/src/Import.hs rename to json/src/Import.hs diff --git a/json-api/src/Import/NoFoundation.hs b/json/src/Import/NoFoundation.hs similarity index 100% rename from json-api/src/Import/NoFoundation.hs rename to json/src/Import/NoFoundation.hs diff --git a/json-api/src/Model.hs b/json/src/Model.hs similarity index 100% rename from json-api/src/Model.hs rename to json/src/Model.hs diff --git a/json-api/src/Settings.hs b/json/src/Settings.hs similarity index 100% rename from json-api/src/Settings.hs rename to json/src/Settings.hs diff --git a/json-api/src/Settings/StaticFiles.hs b/json/src/Settings/StaticFiles.hs similarity index 100% rename from json-api/src/Settings/StaticFiles.hs rename to json/src/Settings/StaticFiles.hs diff --git a/json-api/src/app/DevelMain.hs b/json/src/app/DevelMain.hs similarity index 100% rename from json-api/src/app/DevelMain.hs rename to json/src/app/DevelMain.hs diff --git a/json-api/src/app/devel.hs b/json/src/app/devel.hs similarity index 100% rename from json-api/src/app/devel.hs rename to json/src/app/devel.hs diff --git a/json-api/src/app/main.hs b/json/src/app/main.hs similarity index 100% rename from json-api/src/app/main.hs rename to json/src/app/main.hs diff --git a/json-api/src/config/favicon.ico b/json/src/config/favicon.ico similarity index 100% rename from json-api/src/config/favicon.ico rename to json/src/config/favicon.ico diff --git a/json-api/src/config/keter.yml b/json/src/config/keter.yml similarity index 100% rename from json-api/src/config/keter.yml rename to json/src/config/keter.yml diff --git a/json-api/src/config/models b/json/src/config/models similarity index 100% rename from json-api/src/config/models rename to json/src/config/models diff --git a/json-api/src/config/robots.txt b/json/src/config/robots.txt similarity index 100% rename from json-api/src/config/robots.txt rename to json/src/config/robots.txt diff --git a/json-api/src/config/routes b/json/src/config/routes similarity index 100% rename from json-api/src/config/routes rename to json/src/config/routes diff --git a/json-api/src/config/settings.yml b/json/src/config/settings.yml similarity index 100% rename from json-api/src/config/settings.yml rename to json/src/config/settings.yml diff --git a/json-api/src/config/test-settings.yml b/json/src/config/test-settings.yml similarity index 100% rename from json-api/src/config/test-settings.yml rename to json/src/config/test-settings.yml diff --git a/json-api/src/json-api.cabal b/json/src/json-api.cabal similarity index 100% rename from json-api/src/json-api.cabal rename to json/src/json-api.cabal diff --git a/json-api/src/stack.yaml b/json/src/stack.yaml similarity index 100% rename from json-api/src/stack.yaml rename to json/src/stack.yaml diff --git a/json-api/src/static/css/bootstrap.css b/json/src/static/css/bootstrap.css similarity index 100% rename from json-api/src/static/css/bootstrap.css rename to json/src/static/css/bootstrap.css diff --git a/json-api/src/static/fonts/glyphicons-halflings-regular.eot b/json/src/static/fonts/glyphicons-halflings-regular.eot similarity index 100% rename from json-api/src/static/fonts/glyphicons-halflings-regular.eot rename to json/src/static/fonts/glyphicons-halflings-regular.eot diff --git a/json-api/src/static/fonts/glyphicons-halflings-regular.svg b/json/src/static/fonts/glyphicons-halflings-regular.svg similarity index 100% rename from json-api/src/static/fonts/glyphicons-halflings-regular.svg rename to json/src/static/fonts/glyphicons-halflings-regular.svg diff --git a/json-api/src/static/fonts/glyphicons-halflings-regular.ttf b/json/src/static/fonts/glyphicons-halflings-regular.ttf similarity index 100% rename from json-api/src/static/fonts/glyphicons-halflings-regular.ttf rename to json/src/static/fonts/glyphicons-halflings-regular.ttf diff --git a/json-api/src/static/fonts/glyphicons-halflings-regular.woff b/json/src/static/fonts/glyphicons-halflings-regular.woff similarity index 100% rename from json-api/src/static/fonts/glyphicons-halflings-regular.woff rename to json/src/static/fonts/glyphicons-halflings-regular.woff diff --git a/json-api/src/templates/default-layout-wrapper.hamlet b/json/src/templates/default-layout-wrapper.hamlet similarity index 100% rename from json-api/src/templates/default-layout-wrapper.hamlet rename to json/src/templates/default-layout-wrapper.hamlet diff --git a/json-api/src/templates/default-layout.hamlet b/json/src/templates/default-layout.hamlet similarity index 100% rename from json-api/src/templates/default-layout.hamlet rename to json/src/templates/default-layout.hamlet diff --git a/json-api/src/test/Handler/CommentSpec.hs b/json/src/test/Handler/CommentSpec.hs similarity index 100% rename from json-api/src/test/Handler/CommentSpec.hs rename to json/src/test/Handler/CommentSpec.hs diff --git a/json-api/src/test/Handler/CommonSpec.hs b/json/src/test/Handler/CommonSpec.hs similarity index 100% rename from json-api/src/test/Handler/CommonSpec.hs rename to json/src/test/Handler/CommonSpec.hs diff --git a/json-api/src/test/Handler/HomeSpec.hs b/json/src/test/Handler/HomeSpec.hs similarity index 100% rename from json-api/src/test/Handler/HomeSpec.hs rename to json/src/test/Handler/HomeSpec.hs diff --git a/json-api/src/test/Spec.hs b/json/src/test/Spec.hs similarity index 100% rename from json-api/src/test/Spec.hs rename to json/src/test/Spec.hs diff --git a/json-api/src/test/TestImport.hs b/json/src/test/TestImport.hs similarity index 100% rename from json-api/src/test/TestImport.hs rename to json/src/test/TestImport.hs