From 906141d97de2b6b66d2d5a7f729438874cec4603 Mon Sep 17 00:00:00 2001 From: Nick Quaranto Date: Fri, 16 Oct 2009 15:19:41 -0400 Subject: [PATCH] Trying to make this look legitimate --- LICENSE | 22 ++++++++++++++++++++++ README.textile | 35 ++++++++++++++++++++++++++--------- 2 files changed, 48 insertions(+), 9 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..1c71e9c --- /dev/null +++ b/LICENSE @@ -0,0 +1,22 @@ +Copyright (c) 2009, Pedro Belo, Nick Quaranto + +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.textile b/README.textile index 43c53a0..d0cdf34 100644 --- a/README.textile +++ b/README.textile @@ -1,6 +1,6 @@ -h1. hassle +h1. Hassle -Making "SASS":http://sass-lang.com/ less of a hassle on read only filesystems (like "Heroku":http://heroku.com!) +Making "SASS":http://sass-lang.com/ less of a hassle on read only filesystems. (like "Heroku":http://heroku.com) h2. usage @@ -25,7 +25,7 @@ $ tree Include in your views with:
-  
+
 
Hassle will look at the default sass directory (@public/stylesheets/sass@) and other input directories given in @Sass::Plugin.options[:template_location]@. CSS files are then compiled into @tmp/@ one directory higher than where you specified. Here's a small example of customization: @@ -53,24 +53,24 @@ $ tree Include in your views with:
-  
+
 
-h2. integration +h2. Integration Here's how to integrate it with your favorite web framework: -h3. rails +h3. Rails For Rails: @script/plugin install git://github.com/pedro/hassle@. Done. Once you're in production mode, Hassle will kick in and prepare your SASS for all to enjoy. -h3. sinatra +h3. Sinatra -Here's a sample config.ru that's running at http://hassle-sinatra.heroku.com: +Here's a sample config.ru that's running here:"http://hassle-sinatra.heroku.com":
 require 'sinatra'
-require 'hassle/lib/hassle'
+require 'hassle'
 require 'haml'
 
 get '/' do
@@ -86,3 +86,20 @@ end
 use Hassle
 run Sinatra::Application
 
+ +And its wonderful SASS file: + +
+$ cat public/stylesheets/sass/application.sass 
+h1
+  font-size: 11em
+  color: purple
+
+ +h2. Bugs + +Found some problems? Post 'em in "Issues":http://github.com/pedro/hassle/issues. + +h2. License + +Hassle uses the MIT license. Please check the LICENSE file for more details.