Permalink
Browse files

jeweler & gem stuff

  • Loading branch information...
1 parent dd1f1f1 commit 33d87e10fb64b76a8bcd2a3d2c0479926a3356f9 cloudhead committed May 19, 2009
Showing with 111 additions and 21 deletions.
  1. +1 −0 .gitignore
  2. +29 −0 README.md
  3. +36 −0 Rakefile
  4. +1 −0 VERSION
  5. +44 −21 less.gemspec
  6. BIN pkg/less-0.5.0.gem
View
@@ -1 +1,2 @@
/*.css
+*.tmproj
View
@@ -0,0 +1,29 @@
+LESS
+====
+It's time CSS was done right – LESS is _leaner_ css.
+
+Explained
+---------
+LESS allows you to write CSS the way (I think) it was meant to, that is: with *variables*, *nested rules* and *mixins*!
+
+### Here's some example LESS code:
+
+ @dark: #110011;
+ .outline { border: 1px solid black }
+
+ .article {
+ a { text-decoration: none }
+ p { color: @dark }
+ .outline;
+ }
+
+### And the CSS output it produces:
+
+ .outline { border: 1px solid black }
+ .article > a { text-decoration: none }
+ .article > p { color: #110011 }
+ .article { border: 1px solid black }
+
+If you have CSS nightmares, just
+ $ lessc style.less
+
View
@@ -0,0 +1,36 @@
+# Je::Specification.new do |s|
+# s.name = "less"
+# s.version = "0.1"
+# s.date = Time.today.strftime("%Y-%m-%d")
+# s.authors = ["cloudhead"]
+# s.email = "alexis@cloudhead.net"
+# s.summary = "LESS compiler"
+# s.homepage = "http://www.lesscss.org"
+# s.description = "Compiles LESS files into CSS"
+# s.files = [
+# "README",
+# "bin/lessc",
+# "lib/less.rb",
+# "lib/less/command.rb",
+# "lib/less/engine.rb",
+# "lib/less/tree.rb"
+# ]
+#
+# s.bindir = "bin"
+# s.default_executable = "lessc"
+# s.executables = "lessc"
+# end
+
+begin
+ require 'jeweler'
+ Jeweler::Tasks.new do |s|
+ s.name = "less"
+ s.authors = ["cloudhead"]
+ s.email = "alexis@cloudhead.net"
+ s.summary = "LESS compiler"
+ s.homepage = "http://www.lesscss.org"
+ s.description = "Compiles LESS files into CSS"
+ end
+rescue LoadError
+ puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
+end
View
@@ -0,0 +1 @@
+0.5.0
View
@@ -1,22 +1,45 @@
+# -*- encoding: utf-8 -*-
+
Gem::Specification.new do |s|
- s.name = "less"
- s.version = "0.1"
- s.date = Time.today.strftime("%Y-%m-%d")
- s.authors = ["cloudhead"]
- s.email = "alexis@cloudhead.net"
- s.summary = "LESS compiler"
- s.homepage = "http://www.lesscss.org"
- s.description = "Compiles LESS files into CSS"
- s.files = [
- "README",
- "bin/lessc",
- "lib/less.rb",
- "lib/less/command.rb",
- "lib/less/engine.rb",
- "lib/less/tree.rb"
- ]
-
- s.bindir = "bin"
- s.default_executable = "lessc"
- s.executables = "lessc"
-end
+ s.name = %q{less}
+ s.version = "0.5.0"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["cloudhead"]
+ s.date = %q{2009-05-18}
+ s.default_executable = %q{lessc}
+ s.description = %q{Compiles LESS files into CSS}
+ s.email = %q{alexis@cloudhead.net}
+ s.executables = ["lessc"]
+ s.extra_rdoc_files = [
+ "LICENSE",
+ "README.md"
+ ]
+ s.files = [
+ ".gitignore",
+ "LICENSE",
+ "README.md",
+ "bin/lessc",
+ "lib/less.rb",
+ "lib/less/command.rb",
+ "lib/less/engine.rb",
+ "lib/less/tree.rb",
+ "spec/spec.less"
+ ]
+ s.has_rdoc = true
+ s.homepage = %q{http://www.lesscss.org}
+ s.rdoc_options = ["--charset=UTF-8"]
+ s.require_paths = ["lib"]
+ s.rubygems_version = %q{1.3.1}
+ s.summary = %q{LESS compiler}
+
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 2
+
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ else
+ end
+ else
+ end
+end
View
Binary file not shown.

0 comments on commit 33d87e1

Please sign in to comment.