new release containing sinatra custom layout support and Rack minification fix
This commit is contained in:
parent
b23afba42b
commit
6a86f66010
5 changed files with 26 additions and 4 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
@wip
|
||||||
Feature: Tiny Src
|
Feature: Tiny Src
|
||||||
In order automatically scale images for mobile devices
|
In order automatically scale images for mobile devices
|
||||||
|
|
||||||
|
|
|
@ -33,4 +33,7 @@ require "middleman/templates/default"
|
||||||
require "middleman/templates/html5"
|
require "middleman/templates/html5"
|
||||||
|
|
||||||
# Local templates
|
# Local templates
|
||||||
require "middleman/templates/local"
|
require "middleman/templates/local"
|
||||||
|
|
||||||
|
# Compass templates
|
||||||
|
# require "middleman/templates/compass"
|
18
lib/middleman/templates/compass.rb
Normal file
18
lib/middleman/templates/compass.rb
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
require 'compass'
|
||||||
|
|
||||||
|
class Middleman::Templates::Compass < Middleman::Templates::Base
|
||||||
|
def self.source_root
|
||||||
|
# Middleman.templates_path
|
||||||
|
end
|
||||||
|
|
||||||
|
def build_scaffold
|
||||||
|
# directory options[:template].to_s, location
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
$stderr.puts Compass::Frameworks::ALL.map { |f| f.name }.inspect
|
||||||
|
|
||||||
|
# Dir[File.join(Middleman.templates_path, "*")].each do |dir|
|
||||||
|
# next unless File.directory?(dir)
|
||||||
|
# Middleman::Templates.register(File.basename(dir).to_sym, Middleman::Templates::Local)
|
||||||
|
# end
|
|
@ -1,3 +1,3 @@
|
||||||
module Middleman
|
module Middleman
|
||||||
VERSION = "1.2.0"
|
VERSION = "1.2.1"
|
||||||
end
|
end
|
||||||
|
|
|
@ -9,7 +9,7 @@ Gem::Specification.new do |s|
|
||||||
s.authors = ["Thomas Reynolds"]
|
s.authors = ["Thomas Reynolds"]
|
||||||
s.email = ["tdreyno@gmail.com"]
|
s.email = ["tdreyno@gmail.com"]
|
||||||
s.homepage = "http://wiki.github.com/tdreyno/middleman"
|
s.homepage = "http://wiki.github.com/tdreyno/middleman"
|
||||||
s.summary = "A static site generator utilizing Haml, Sass and providing YUI compression and cache busting"
|
s.summary = "A static site generator based on Sinatra. Providing Haml, Sass, Compass, Less, Coffee Script and including minification, compression and cache busting."
|
||||||
|
|
||||||
s.rubyforge_project = "middleman"
|
s.rubyforge_project = "middleman"
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ Gem::Specification.new do |s|
|
||||||
s.add_runtime_dependency("yui-compressor", ["~> 0.9.0"])
|
s.add_runtime_dependency("yui-compressor", ["~> 0.9.0"])
|
||||||
s.add_runtime_dependency("haml", ["~> 3.1.0"])
|
s.add_runtime_dependency("haml", ["~> 3.1.0"])
|
||||||
s.add_runtime_dependency("sass", ["~> 3.1.0"])
|
s.add_runtime_dependency("sass", ["~> 3.1.0"])
|
||||||
s.add_runtime_dependency("compass", [">= 0.11.1"])
|
s.add_runtime_dependency("compass", ["~> 0.11.1"])
|
||||||
s.add_runtime_dependency("chunky_png", ["~> 1.1.0"])
|
s.add_runtime_dependency("chunky_png", ["~> 1.1.0"])
|
||||||
s.add_runtime_dependency("oily_png", ["~> 1.0"]) unless defined?(JRUBY_VERSION)
|
s.add_runtime_dependency("oily_png", ["~> 1.0"]) unless defined?(JRUBY_VERSION)
|
||||||
s.add_runtime_dependency("coffee-script", ["~> 2.1.0"])
|
s.add_runtime_dependency("coffee-script", ["~> 2.1.0"])
|
||||||
|
|
Loading…
Reference in a new issue