diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..4a104b3 --- /dev/null +++ b/Gemfile @@ -0,0 +1,3 @@ +source :rubygems + +gem 'rack' diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..b6a1e21 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,10 @@ +GEM + remote: http://rubygems.org/ + specs: + rack (1.4.1) + +PLATFORMS + ruby + +DEPENDENCIES + rack diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..881a7a5 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License + +Copyright (c) 2012 Simon Højberg. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/README.md b/README.md index e69de29..5c1b24d 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,6 @@ +# CSS Arrow Please +Generate the CSS for a tooltip arrow. +Check it out at http://cssarrowplease.com + +## License +CSSArrowPlease is Copyright © 2012 Simon Højberg. CSSArrowPlease is free software, and may be redistributed under the terms specified in the LICENSE file. diff --git a/config.ru b/config.ru new file mode 100644 index 0000000..75d690f --- /dev/null +++ b/config.ru @@ -0,0 +1,13 @@ +use Rack::Static, + :urls => ["/css", "/img", '/js'], + :root => "public" + +run lambda { |env| + [ + 200, + { + 'Content-Type' => 'text/html', + }, + File.open('public/index.html', File::RDONLY) + ] +} diff --git a/css/app.css b/public/css/app.css similarity index 100% rename from css/app.css rename to public/css/app.css diff --git a/img/blueprintbg.png b/public/img/blueprintbg.png similarity index 100% rename from img/blueprintbg.png rename to public/img/blueprintbg.png diff --git a/img/noisebg.png b/public/img/noisebg.png similarity index 100% rename from img/noisebg.png rename to public/img/noisebg.png diff --git a/index.html b/public/index.html similarity index 97% rename from index.html rename to public/index.html index 7fa22f6..ae18f5f 100644 --- a/index.html +++ b/public/index.html @@ -53,7 +53,7 @@

Arrow configuration