Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update changelog and readme.

  • Loading branch information...
commit ff59969f2e298f006ea766e06c218c49b44097c0 1 parent ef6dd41
Ken Collins authored
Showing with 75 additions and 11 deletions.
  1. +13 −0 CHANGELOG.md
  2. +0 −11 History.txt
  3. +20 −0 MIT-LICENSE
  4. +42 −0 README.markdown
13 CHANGELOG.md
View
@@ -0,0 +1,13 @@
+CHANGELOG
+=========
+
+2.0.0 (Sept 25, 2011)
+---------------------
+
+* Initial 2.0 release. Heavily inspired/copied code from sass-rails.
+
+
+1.0.0 (Feb 2, 2010)
+-------------------
+
+* Original project at http://github.com/yeastymobs/less-rails
11 History.txt
View
@@ -1,11 +0,0 @@
-
-* 2.0.0
-
-*
-
-
-* 1.x.x *
-
-* Inspired by https://github.com/yeastymobs/less-rails
-
-
20 MIT-LICENSE
View
@@ -0,0 +1,20 @@
+Copyright (c) 2011 Ken Collins
+
+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.
42 README.markdown
View
@@ -0,0 +1,42 @@
+# The dynamic stylesheet language for the Rails asset pipeline.
+
+This gem provides integration for Rails projects using the Less stylesheet language in the asset pipeline.
+
+
+## Installing
+
+Until we can publish this gem under an official less-rails name, please bundle to the git repo.
+
+ gem 'less-rails', :git => 'git://github.com/metaskills/less-rails.git'
+
+
+## Configuration
+
+This gem was made for other gems to properly hook into one place to provide paths to the Less::Parser. For example, the twitter-bootstrap-rails project at http://github.com/seyhunak/twitter-bootstrap-rails
+
+
+### Example
+
+At the moment, the twitter-bootstrap-rails project does not yet allow the asset pipeline to use the bootstrap .less files. So here is an example of how to configure your application to push that directory to the Less::Rails load_paths.
+
+```ruby
+MyProject::Application.configure do
+ config.less.load_paths << "#{Gem.loaded_specs['twitter-bootstrap-rails'].full_gem_path}/vendor/assets/stylesheets/bootstrap"
+end
+```
+
+Then in your foo.css.less file you can do this.
+
+```css
+@import "bootstrap";
+
+#foo {
+ .border-radius(4px);
+}
+```
+
+
+## License
+
+Less::Rails is Copyright (c) 2011 Ken Collins, <ken@metaskills.net> and is distributed under the MIT license.
+
Please sign in to comment.
Something went wrong with that request. Please try again.