Skip to content

Commit b276f7e

Browse files
committed
added rack and updated readme and license
1 parent 248d0c5 commit b276f7e

23 files changed

+54
-1
lines changed

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
source :rubygems
2+
3+
gem 'rack'

Gemfile.lock

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
GEM
2+
remote: http://rubygems.org/
3+
specs:
4+
rack (1.4.1)
5+
6+
PLATFORMS
7+
ruby
8+
9+
DEPENDENCIES
10+
rack

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License
2+
3+
Copyright (c) 2012 Simon Højberg.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# CSS Arrow Please
2+
Generate the CSS for a tooltip arrow.
3+
Check it out at http://cssarrowplease.com
4+
5+
## License
6+
CSSArrowPlease is Copyright © 2012 Simon Højberg. CSSArrowPlease is free software, and may be redistributed under the terms specified in the LICENSE file.

config.ru

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
use Rack::Static,
2+
:urls => ["/css", "/img", '/js'],
3+
:root => "public"
4+
5+
run lambda { |env|
6+
[
7+
200,
8+
{
9+
'Content-Type' => 'text/html',
10+
},
11+
File.open('public/index.html', File::RDONLY)
12+
]
13+
}
File renamed without changes.
File renamed without changes.

index.html renamed to public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ <h1>Arrow configuration</h1>
5353
</div>
5454

5555
<footer id='footer'>
56-
By <a href='http://icreateui.com'>Simon Højberg</a>
56+
&copy; 2012 By <a href='http://icreateui.com'>Simon Højberg</a>
5757
&middot;
5858
Follow me on twitter: <a href='https://twitter.com/shojberg'>@shojberg</a>
5959
&middot;
File renamed without changes.

0 commit comments

Comments
 (0)