diff --git a/Gemfile b/Gemfile index f248a5f0..5648c3de 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,6 @@ bundle_path "lib/middleman/vendor/gems" bin_path "lib/middleman/vendor/bin" -disable_rubygems +# disable_rubygems # disable_system_gems gem "shotgun" @@ -11,7 +11,7 @@ gem "sinatra-content-for" gem "rack-test" gem "yui-compressor" gem "haml" -gem "compass" +gem "compass", "0.10.0.pre1" gem "json_pure" gem "smusher" gem "compass-slickmap" \ No newline at end of file diff --git a/VERSION b/VERSION index ac454c6a..6dfc5a42 100755 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.12.0 +0.12.0.pre diff --git a/bin/mm-build b/bin/mm-build index 11ac2cbc..9ab89010 100755 --- a/bin/mm-build +++ b/bin/mm-build @@ -6,7 +6,7 @@ ENV['MM_ENV'] = "build" require File.join(File.dirname(__FILE__), "..", "lib", "middleman") require 'middleman/builder' -#Middleman::Base.init! +# Middleman::Base.init! Middleman::Builder.init! Middleman::Generators.run_cli(Dir.pwd, 'mm-build', 1, %w(build --force).concat(ARGV)) \ No newline at end of file diff --git a/features/generator.feature b/features/generator.feature new file mode 100644 index 00000000..303a3e99 --- /dev/null +++ b/features/generator.feature @@ -0,0 +1,8 @@ +Feature: Generator + In order to generate static assets for client + + Scenario: Copying template files + Given generated directory at "generator-test" + Then template files should exist at "generator-test" + And empty directories should exist at "generator-test" + And cleanup at "generator-test" \ No newline at end of file diff --git a/features/step_definitions/env.rb b/features/step_definitions/env.rb index c2318ff6..603e4619 100644 --- a/features/step_definitions/env.rb +++ b/features/step_definitions/env.rb @@ -1,2 +1,3 @@ +ENV["MM_DIR"] = File.join(File.dirname(File.dirname(File.dirname(__FILE__))), "spec", "fixtures", "sample") require File.join(File.dirname(File.dirname(File.dirname(__FILE__))), 'lib', 'middleman') require "rack/test" \ No newline at end of file diff --git a/features/step_definitions/generator_steps.rb b/features/step_definitions/generator_steps.rb new file mode 100644 index 00000000..e9a9c163 --- /dev/null +++ b/features/step_definitions/generator_steps.rb @@ -0,0 +1,24 @@ +require 'fileutils' + +Then /^template files should exist at "([^\"]*)"$/ do |dirname| + target = File.join(File.dirname(File.dirname(File.dirname(__FILE__))), "spec", "fixtures", dirname) + template_glob = File.join(File.dirname(File.dirname(File.dirname(__FILE__))), "lib", "middleman", "template", "*/**/*") + + Dir[template_glob].each do |f| + next if File.directory?(f) + File.exists?("#{target}/#{f.split('template/')[1]}").should be_true + end +end + +Then /^empty directories should exist at "([^\"]*)"$/ do |dirname| + target = File.join(File.dirname(File.dirname(File.dirname(__FILE__))), "spec", "fixtures", dirname) + + %w(views/stylesheets public/stylesheets public/javascripts public/images).each do |d| + File.exists?("#{target}/#{d}").should be_true + end +end + +Then /^cleanup at "([^\"]*)"$/ do |dirname| + target = File.join(File.dirname(File.dirname(File.dirname(__FILE__))), "spec", "fixtures", dirname) + FileUtils.rm_rf(target) +end \ No newline at end of file diff --git a/features/step_definitions/middleman_steps.rb b/features/step_definitions/middleman_steps.rb index 43e01a79..c716c2fb 100644 --- a/features/step_definitions/middleman_steps.rb +++ b/features/step_definitions/middleman_steps.rb @@ -1,10 +1,15 @@ Given /^"([^\"]*)" feature is "([^\"]*)"$/ do |feature, state| enable_or_disable = (state == "enabled") ? :enable : :disable - Middleman::Base.set :root, File.join(File.dirname(File.dirname(File.dirname(__FILE__))), "spec", "fixtures", "sample") Middleman::Base.send(enable_or_disable, feature.to_sym) @browser = Rack::Test::Session.new(Rack::MockSession.new(Middleman::Base.new)) end +Given /^generated directory at "([^\"]*)"$/ do |dirname| + target = File.join(File.dirname(File.dirname(File.dirname(__FILE__))), "spec", "fixtures", dirname) + init_cmd = File.join(File.dirname(File.dirname(File.dirname(__FILE__))), "bin", "mm-init") + `cd #{File.dirname(target)} && #{init_cmd} #{File.basename(target)}` +end + When /^I go to "([^\"]*)"$/ do |url| @browser.get(url) end diff --git a/lib/middleman/base.rb b/lib/middleman/base.rb index 92c2629e..c268d920 100644 --- a/lib/middleman/base.rb +++ b/lib/middleman/base.rb @@ -9,7 +9,7 @@ end module Middleman class Base < Sinatra::Base set :app_file, __FILE__ - set :root, Dir.pwd + set :root, ENV["MM_DIR"] || Dir.pwd set :reload, false set :logging, false set :environment, ENV['MM_ENV'] || :development @@ -18,21 +18,23 @@ module Middleman set :js_dir, "javascripts" set :css_dir, "stylesheets" set :images_dir, "images" + set :fonts_dir, "fonts" set :build_dir, "build" set :http_prefix, nil use Rack::ConditionalGet if environment == :development helpers Sinatra::ContentFor - @@features = [] - + set :features, [] def self.enable(*opts) - @@features << opts + set :features, (self.features << opts).flatten super end def self.disable(*opts) - @@features -= opts + current = self.features + current -= opts.flatten + set :features, current super end @@ -67,14 +69,14 @@ module Middleman include StaticRender def self.page(url, options={}, &block) + layout = @@layout + layout = options[:layout] if !options[:layout].nil? + get(url) do - request.layout = @@layout if (@@layout ||= nil) - request.layout = options[:layout] if options[:layout] - if block_given? yield else - process_request + process_request(layout) end end end @@ -85,21 +87,26 @@ module Middleman ensure @@layout = nil end - + # This will match all requests not overridden in the project's init.rb not_found do process_request end + + def self.enabled?(name) + name = (name.to_s << "?").to_sym + self.respond_to?(name) && self.send(name) + end private - def process_request + def process_request(layout = :layout) # Normalize the path and add index if we're looking at a directory path = request.path path << options.index_file if path.match(%r{/$}) path.gsub!(%r{^/}, '') # If the enabled renderers succeed, return the content, mime-type and an HTTP 200 - if content = render_path(path, (request.layout || :layout)) + if content = render_path(path, layout) content_type media_type(File.extname(path)), :charset => 'utf-8' status 200 content @@ -116,13 +123,13 @@ require "middleman/sass" require "middleman/helpers" require "middleman/rack/static" require "middleman/rack/sprockets" +require "middleman/rack/minify_javascript" +require "middleman/rack/minify_css" +require "middleman/rack/downstream" class Middleman::Base helpers Middleman::Helpers - use Middleman::Rack::Static - use Middleman::Rack::Sprockets - # Features disabled by default disable :slickmap disable :cache_buster @@ -139,17 +146,23 @@ class Middleman::Base configure :build do end - def self.new(*args, &bk) - # Check for and evaluate local configuration - local_config = File.join(self.root, "init.rb") - if File.exists? local_config - puts "== Reading: Local config" if logging? - class_eval File.read(local_config) - set :app_file, File.expand_path(local_config) - end - + # Check for and evaluate local configuration + local_config = File.join(self.root, "init.rb") + if File.exists? local_config + puts "== Reading: Local config" if logging? + Middleman::Base.class_eval File.read(local_config) + set :app_file, File.expand_path(local_config) + end + + use Middleman::Rack::Static + use Middleman::Rack::Sprockets + use Middleman::Rack::MinifyJavascript + use Middleman::Rack::MinifyCSS + use Middleman::Rack::Downstream + + def self.new(*args, &bk) # loop over enabled feature - @@features.flatten.each do |feature_name| + features.flatten.each do |feature_name| next unless send(:"#{feature_name}?") feature_path = "features/#{feature_name}" diff --git a/lib/middleman/features/minify_css.rb b/lib/middleman/features/minify_css.rb index 7b2300a5..e69de29b 100644 --- a/lib/middleman/features/minify_css.rb +++ b/lib/middleman/features/minify_css.rb @@ -1,18 +0,0 @@ -module Middleman - module Minified - module Sass - include ::Haml::Filters::Base - - def render(text) - result = ::Sass::Engine.new(text, ::Sass::Plugin.engine_options).render - - if Middleman::Base.respond_to?(:minify_css?) && Middleman::Base.minify_css? - compressor = YUI::CssCompressor.new - compressor.compress(result) - else - result - end - end - end - end -end \ No newline at end of file diff --git a/lib/middleman/rack/downstream.rb b/lib/middleman/rack/downstream.rb new file mode 100644 index 00000000..42b09cc8 --- /dev/null +++ b/lib/middleman/rack/downstream.rb @@ -0,0 +1,17 @@ +module Middleman + module Rack + class Downstream + def initialize(app, options={}) + @app = app + end + + def call(env) + if env["DOWNSTREAM"] + env["DOWNSTREAM"] + else + @app.call(env) + end + end + end + end +end \ No newline at end of file diff --git a/lib/middleman/rack/minify_css.rb b/lib/middleman/rack/minify_css.rb new file mode 100644 index 00000000..013ec934 --- /dev/null +++ b/lib/middleman/rack/minify_css.rb @@ -0,0 +1,27 @@ +begin + require "yui/compressor" +rescue LoadError + puts "YUI-Compressor not available. Install it with: gem install yui-compressor" +end + +module Middleman + module Rack + class MinifyCSS + def initialize(app, options={}) + @app = app + end + + def call(env) + if env["DOWNSTREAM"] && env["PATH_INFO"].match(/\.css$/) && Middleman::Base.enabled?(:minify_css) + compressor = ::YUI::CssCompressor.new + + source = env["DOWNSTREAM"][2].is_a?(::Rack::File) ? File.read(env["DOWNSTREAM"][2].path) : env["DOWNSTREAM"][2] + env["DOWNSTREAM"][2] = compressor.compress(source) + env["DOWNSTREAM"][1]["Content-Length"] = ::Rack::Utils.bytesize(env["DOWNSTREAM"][2]).to_s + end + + @app.call(env) + end + end + end +end \ No newline at end of file diff --git a/lib/middleman/rack/minify_javascript.rb b/lib/middleman/rack/minify_javascript.rb new file mode 100644 index 00000000..f310abe0 --- /dev/null +++ b/lib/middleman/rack/minify_javascript.rb @@ -0,0 +1,29 @@ +begin + require "yui/compressor" +rescue LoadError + puts "YUI-Compressor not available. Install it with: gem install yui-compressor" +end + +module Middleman + module Rack + class MinifyJavascript + def initialize(app, options={}) + @app = app + end + + def call(env) + if env["DOWNSTREAM"] && env["PATH_INFO"].match(/\.js$/) && Middleman::Base.enabled?(:minify_javascript) + compressor = ::YUI::JavaScriptCompressor.new(:munge => true) + + source = env["DOWNSTREAM"][2].is_a?(::Rack::File) ? File.read(env["DOWNSTREAM"][2].path) : env["DOWNSTREAM"][2] + env["DOWNSTREAM"][2] = compressor.compress(source) + env["DOWNSTREAM"][1]["Content-Length"] = ::Rack::Utils.bytesize(env["DOWNSTREAM"][2]).to_s + end + + @app.call(env) + end + end + end +end + +# Middleman::Base.supported_formats << "js" \ No newline at end of file diff --git a/lib/middleman/rack/sprockets.rb b/lib/middleman/rack/sprockets.rb index 9f9a3e72..c8ac0b30 100644 --- a/lib/middleman/rack/sprockets.rb +++ b/lib/middleman/rack/sprockets.rb @@ -5,12 +5,6 @@ begin rescue LoadError puts "Sprockets not available. Install it with: gem install sprockets" end - -begin - require "yui/compressor" -rescue LoadError - puts "YUI-Compressor not available. Install it with: gem install yui-compressor" -end module Middleman module Rack @@ -20,31 +14,26 @@ module Middleman end def call(env) - path = env["PATH_INFO"] - source = File.join(Middleman::Base.views, path) - - if path.match(/\.js$/) - if File.exists?(source) - secretary = ::Sprockets::Secretary.new( :root => Middleman::Base.root, - :source_files => [ File.join("views", path) ], - :load_path => [ File.join("public", Middleman::Base.js_dir), - File.join("views", Middleman::Base.js_dir) ]) + path = env["PATH_INFO"] + + source_pub = File.join(Middleman::Base.views, path) + source_view = File.join(Middleman::Base.views, path) + source = "public" if File.exists?(source_pub) + source = "views" if File.exists?(source_view) + + if env["DOWNSTREAM"] && path.match(/\.js$/) && source + source_file = env["DOWNSTREAM"][2].is_a?(::Rack::File) ? env["DOWNSTREAM"][2].path : env["DOWNSTREAM"][2] - result = secretary.concatenation.to_s - else - result = File.read(File.join(Middleman::Base.public, path)) - end - - - if Middleman::Base.respond_to?(:minify_javascript?) && Middleman::Base.minify_javascript? - compressor = ::YUI::JavaScriptCompressor.new(:munge => true) - result = compressor.compress(result) - end - - [200, { "Content-Type" => "text/javascript" }, [result]] - else - @app.call(env) + secretary = ::Sprockets::Secretary.new( :root => Middleman::Base.root, + :source_files => [ source_file ], + :load_path => [ File.join("public", Middleman::Base.js_dir), + File.join("views", Middleman::Base.js_dir) ]) + + env["DOWNSTREAM"][2] = secretary.concatenation.to_s + env["DOWNSTREAM"][1]["Content-Length"] = ::Rack::Utils.bytesize(env["DOWNSTREAM"][2]).to_s end + + @app.call(env) end end end diff --git a/lib/middleman/rack/static.rb b/lib/middleman/rack/static.rb index 4c1fe211..e4b430de 100755 --- a/lib/middleman/rack/static.rb +++ b/lib/middleman/rack/static.rb @@ -3,25 +3,21 @@ module Middleman class Static def initialize(app, options={}) @app = app - root = Middleman::Base.public - @file_server = ::Rack::File.new(root) - end - - def templatize_js?(path) - path.match(/\.js$/) && Middleman::Base.respond_to?(:minify_javascript?) && Middleman::Base.minify_javascript? end def call(env) - path = env["PATH_INFO"] - file_path = File.join(Middleman::Base.public, path) - - if templatize_js?(path) - @app.call(env) - elsif path.include?("favicon.ico") || (File.exists?(file_path) && !File.directory?(file_path)) - @file_server.call(env) - else - @app.call(env) + public_file_path = File.join(Middleman::Base.public, env["PATH_INFO"]) + view_file_path = File.join(Middleman::Base.views, env["PATH_INFO"]) + + if File.exists?(public_file_path) && !File.directory?(public_file_path) + file_server = ::Rack::File.new(Middleman::Base.public) + env["DOWNSTREAM"] = file_server.call(env) + elsif File.exists?(view_file_path) && !File.directory?(view_file_path) + file_server = ::Rack::File.new(Middleman::Base.views) + env["DOWNSTREAM"] = file_server.call(env) end + + @app.call(env) end end end diff --git a/lib/middleman/sass.rb b/lib/middleman/sass.rb index 3c0f7af7..b23c5b70 100644 --- a/lib/middleman/sass.rb +++ b/lib/middleman/sass.rb @@ -23,7 +23,7 @@ module Middleman css_filename = File.join(location_of_sass_file, request.path_info) result = sass(path.to_sym, ::Compass.sass_engine_options.merge({ :css_filename => css_filename })) - if options.respond_to?(:minify_css?) && options.minify_css? + if options.enabled?(:minify_css?) YUI::CssCompressor.new.compress(result) else result @@ -84,7 +84,9 @@ class Middleman::Base ::Compass.configuration do |config| config.project_path = self.root config.sass_dir = File.join(File.basename(self.views), self.css_dir) - config.output_style = :nested + config.output_style = self.enabled?(:minify_css) ? :compressed : :nested + config.line_comments = false + config.fonts_dir = File.join(File.basename(self.public), self.fonts_dir) config.css_dir = File.join(File.basename(self.public), self.css_dir) config.images_dir = File.join(File.basename(self.public), self.images_dir) config.http_images_path = self.http_images_path rescue File.join(self.http_prefix || "/", self.images_dir) @@ -102,5 +104,6 @@ class Middleman::Base end ::Compass.configure_sass_plugin! + Sass::Plugin.options.update(:line_comments => false) end end \ No newline at end of file diff --git a/lib/middleman/template/views/layout.haml b/lib/middleman/template/views/layout.haml index 1a5c2fe9..cd9a5a47 100755 --- a/lib/middleman/template/views/layout.haml +++ b/lib/middleman/template/views/layout.haml @@ -2,7 +2,7 @@ %html{ :xmlns => "http://www.w3.org/1999/xhtml", "xml:lang" => "en", :lang => "en" } %head %meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" } - // Comment in layout + / Comment in layout = stylesheet_link_tag "site.css" :javascript // Comment in javascript diff --git a/lib/middleman/template/views/stylesheets/site.css.sass b/lib/middleman/template/views/stylesheets/site.css.sass index 9573d4ab..2cde6d53 100755 --- a/lib/middleman/template/views/stylesheets/site.css.sass +++ b/lib/middleman/template/views/stylesheets/site.css.sass @@ -1,5 +1,5 @@ @import compass.sass -@import blueprint/screen.sass +@import blueprint.sass !font_color = #2a2a2a !link_color = #0388a6 diff --git a/lib/middleman/vendor/bin/compass b/lib/middleman/vendor/bin/compass index 764d7788..fe9b3957 100755 --- a/lib/middleman/vendor/bin/compass +++ b/lib/middleman/vendor/bin/compass @@ -1,3 +1,3 @@ #!/Users/tdreyno/homebrew/Cellar/ruby/1.9.1-p243/bin/ruby require File.join(File.dirname(__FILE__), "../gems/environment") -load File.join(File.dirname(__FILE__), "../gems/gems/compass-0.8.17/bin/compass") \ No newline at end of file +load File.join(File.dirname(__FILE__), "../gems/gems/compass-0.10.0.pre1/bin/compass") \ No newline at end of file diff --git a/lib/middleman/vendor/gems/cache/compass-0.10.0.pre1.gem b/lib/middleman/vendor/gems/cache/compass-0.10.0.pre1.gem new file mode 100644 index 00000000..5e27fbaf Binary files /dev/null and b/lib/middleman/vendor/gems/cache/compass-0.10.0.pre1.gem differ diff --git a/lib/middleman/vendor/gems/cache/compass-0.8.17.gem b/lib/middleman/vendor/gems/cache/compass-0.8.17.gem deleted file mode 100644 index fcde600e..00000000 Binary files a/lib/middleman/vendor/gems/cache/compass-0.8.17.gem and /dev/null differ diff --git a/lib/middleman/vendor/gems/cache/rack-test-0.5.2.gem b/lib/middleman/vendor/gems/cache/rack-test-0.5.2.gem deleted file mode 100644 index 02158f91..00000000 Binary files a/lib/middleman/vendor/gems/cache/rack-test-0.5.2.gem and /dev/null differ diff --git a/lib/middleman/vendor/gems/cache/rack-test-0.5.3.gem b/lib/middleman/vendor/gems/cache/rack-test-0.5.3.gem new file mode 100644 index 00000000..98180f9f Binary files /dev/null and b/lib/middleman/vendor/gems/cache/rack-test-0.5.3.gem differ diff --git a/lib/middleman/vendor/gems/environment.rb b/lib/middleman/vendor/gems/environment.rb index 8756f715..1448142b 100644 --- a/lib/middleman/vendor/gems/environment.rb +++ b/lib/middleman/vendor/gems/environment.rb @@ -6,53 +6,111 @@ module Bundler ENV["PATH"] = "#{dir}/../bin:#{ENV["PATH"]}" ENV["RUBYOPT"] = "-r#{file} #{ENV["RUBYOPT"]}" - $LOAD_PATH.unshift File.expand_path("#{dir}/gems/httpclient-2.1.5.2/bin") - $LOAD_PATH.unshift File.expand_path("#{dir}/gems/httpclient-2.1.5.2/lib") + $LOAD_PATH.unshift File.expand_path("#{dir}/gems/extlib-0.9.13/bin") + $LOAD_PATH.unshift File.expand_path("#{dir}/gems/extlib-0.9.13/lib") $LOAD_PATH.unshift File.expand_path("#{dir}/gems/highline-1.5.1/bin") $LOAD_PATH.unshift File.expand_path("#{dir}/gems/highline-1.5.1/lib") - $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rake-0.8.7/bin") - $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rake-0.8.7/lib") $LOAD_PATH.unshift File.expand_path("#{dir}/gems/diff-lcs-1.1.2/bin") $LOAD_PATH.unshift File.expand_path("#{dir}/gems/diff-lcs-1.1.2/lib") + $LOAD_PATH.unshift File.expand_path("#{dir}/gems/templater-1.0.0/bin") + $LOAD_PATH.unshift File.expand_path("#{dir}/gems/templater-1.0.0/lib") $LOAD_PATH.unshift File.expand_path("#{dir}/gems/json-1.2.0/bin") $LOAD_PATH.unshift File.expand_path("#{dir}/gems/json-1.2.0/ext/json/ext") $LOAD_PATH.unshift File.expand_path("#{dir}/gems/json-1.2.0/ext") $LOAD_PATH.unshift File.expand_path("#{dir}/gems/json-1.2.0/lib") - $LOAD_PATH.unshift File.expand_path("#{dir}/gems/haml-2.2.14/bin") - $LOAD_PATH.unshift File.expand_path("#{dir}/gems/haml-2.2.14/lib") - $LOAD_PATH.unshift File.expand_path("#{dir}/gems/extlib-0.9.13/bin") - $LOAD_PATH.unshift File.expand_path("#{dir}/gems/extlib-0.9.13/lib") - $LOAD_PATH.unshift File.expand_path("#{dir}/gems/configuration-1.1.0/bin") - $LOAD_PATH.unshift File.expand_path("#{dir}/gems/configuration-1.1.0/lib") - $LOAD_PATH.unshift File.expand_path("#{dir}/gems/compass-0.8.17/bin") - $LOAD_PATH.unshift File.expand_path("#{dir}/gems/compass-0.8.17/lib") - $LOAD_PATH.unshift File.expand_path("#{dir}/gems/yui-compressor-0.9.1/bin") - $LOAD_PATH.unshift File.expand_path("#{dir}/gems/yui-compressor-0.9.1/lib") - $LOAD_PATH.unshift File.expand_path("#{dir}/gems/compass-slickmap-0.2.1/bin") - $LOAD_PATH.unshift File.expand_path("#{dir}/gems/compass-slickmap-0.2.1/lib") - $LOAD_PATH.unshift File.expand_path("#{dir}/gems/smusher-0.4.2/bin") - $LOAD_PATH.unshift File.expand_path("#{dir}/gems/smusher-0.4.2/lib") $LOAD_PATH.unshift File.expand_path("#{dir}/gems/json_pure-1.2.0/bin") $LOAD_PATH.unshift File.expand_path("#{dir}/gems/json_pure-1.2.0/lib") - $LOAD_PATH.unshift File.expand_path("#{dir}/gems/launchy-0.3.3/bin") - $LOAD_PATH.unshift File.expand_path("#{dir}/gems/launchy-0.3.3/lib") - $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rack-1.0.1/bin") - $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rack-1.0.1/lib") - $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rack-test-0.5.2/bin") - $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rack-test-0.5.2/lib") + $LOAD_PATH.unshift File.expand_path("#{dir}/gems/httpclient-2.1.5.2/bin") + $LOAD_PATH.unshift File.expand_path("#{dir}/gems/httpclient-2.1.5.2/lib") + $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rake-0.8.7/bin") + $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rake-0.8.7/lib") $LOAD_PATH.unshift File.expand_path("#{dir}/gems/sprockets-1.0.2/bin") $LOAD_PATH.unshift File.expand_path("#{dir}/gems/sprockets-1.0.2/lib") - $LOAD_PATH.unshift File.expand_path("#{dir}/gems/templater-1.0.0/bin") - $LOAD_PATH.unshift File.expand_path("#{dir}/gems/templater-1.0.0/lib") + $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rack-1.0.1/bin") + $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rack-1.0.1/lib") + $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rack-test-0.5.3/bin") + $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rack-test-0.5.3/lib") + $LOAD_PATH.unshift File.expand_path("#{dir}/gems/configuration-1.1.0/bin") + $LOAD_PATH.unshift File.expand_path("#{dir}/gems/configuration-1.1.0/lib") + $LOAD_PATH.unshift File.expand_path("#{dir}/gems/launchy-0.3.3/bin") + $LOAD_PATH.unshift File.expand_path("#{dir}/gems/launchy-0.3.3/lib") $LOAD_PATH.unshift File.expand_path("#{dir}/gems/shotgun-0.4/bin") $LOAD_PATH.unshift File.expand_path("#{dir}/gems/shotgun-0.4/lib") $LOAD_PATH.unshift File.expand_path("#{dir}/gems/sinatra-0.9.4/bin") $LOAD_PATH.unshift File.expand_path("#{dir}/gems/sinatra-0.9.4/lib") + $LOAD_PATH.unshift File.expand_path("#{dir}/gems/smusher-0.4.2/bin") + $LOAD_PATH.unshift File.expand_path("#{dir}/gems/smusher-0.4.2/lib") + $LOAD_PATH.unshift File.expand_path("#{dir}/gems/yui-compressor-0.9.1/bin") + $LOAD_PATH.unshift File.expand_path("#{dir}/gems/yui-compressor-0.9.1/lib") $LOAD_PATH.unshift File.expand_path("#{dir}/gems/sinatra-content-for-0.2/bin") $LOAD_PATH.unshift File.expand_path("#{dir}/gems/sinatra-content-for-0.2/lib") + $LOAD_PATH.unshift File.expand_path("#{dir}/gems/haml-2.2.14/bin") + $LOAD_PATH.unshift File.expand_path("#{dir}/gems/haml-2.2.14/lib") + $LOAD_PATH.unshift File.expand_path("#{dir}/gems/compass-0.10.0.pre1/bin") + $LOAD_PATH.unshift File.expand_path("#{dir}/gems/compass-0.10.0.pre1/lib") + $LOAD_PATH.unshift File.expand_path("#{dir}/gems/compass-slickmap-0.2.1/bin") + $LOAD_PATH.unshift File.expand_path("#{dir}/gems/compass-slickmap-0.2.1/lib") @gemfile = "#{dir}/../../../../Gemfile" + require "rubygems" + + @bundled_specs = {} + @bundled_specs["extlib"] = eval(File.read("#{dir}/specifications/extlib-0.9.13.gemspec")) + @bundled_specs["extlib"].loaded_from = "#{dir}/specifications/extlib-0.9.13.gemspec" + @bundled_specs["highline"] = eval(File.read("#{dir}/specifications/highline-1.5.1.gemspec")) + @bundled_specs["highline"].loaded_from = "#{dir}/specifications/highline-1.5.1.gemspec" + @bundled_specs["diff-lcs"] = eval(File.read("#{dir}/specifications/diff-lcs-1.1.2.gemspec")) + @bundled_specs["diff-lcs"].loaded_from = "#{dir}/specifications/diff-lcs-1.1.2.gemspec" + @bundled_specs["templater"] = eval(File.read("#{dir}/specifications/templater-1.0.0.gemspec")) + @bundled_specs["templater"].loaded_from = "#{dir}/specifications/templater-1.0.0.gemspec" + @bundled_specs["json"] = eval(File.read("#{dir}/specifications/json-1.2.0.gemspec")) + @bundled_specs["json"].loaded_from = "#{dir}/specifications/json-1.2.0.gemspec" + @bundled_specs["json_pure"] = eval(File.read("#{dir}/specifications/json_pure-1.2.0.gemspec")) + @bundled_specs["json_pure"].loaded_from = "#{dir}/specifications/json_pure-1.2.0.gemspec" + @bundled_specs["httpclient"] = eval(File.read("#{dir}/specifications/httpclient-2.1.5.2.gemspec")) + @bundled_specs["httpclient"].loaded_from = "#{dir}/specifications/httpclient-2.1.5.2.gemspec" + @bundled_specs["rake"] = eval(File.read("#{dir}/specifications/rake-0.8.7.gemspec")) + @bundled_specs["rake"].loaded_from = "#{dir}/specifications/rake-0.8.7.gemspec" + @bundled_specs["sprockets"] = eval(File.read("#{dir}/specifications/sprockets-1.0.2.gemspec")) + @bundled_specs["sprockets"].loaded_from = "#{dir}/specifications/sprockets-1.0.2.gemspec" + @bundled_specs["rack"] = eval(File.read("#{dir}/specifications/rack-1.0.1.gemspec")) + @bundled_specs["rack"].loaded_from = "#{dir}/specifications/rack-1.0.1.gemspec" + @bundled_specs["rack-test"] = eval(File.read("#{dir}/specifications/rack-test-0.5.3.gemspec")) + @bundled_specs["rack-test"].loaded_from = "#{dir}/specifications/rack-test-0.5.3.gemspec" + @bundled_specs["configuration"] = eval(File.read("#{dir}/specifications/configuration-1.1.0.gemspec")) + @bundled_specs["configuration"].loaded_from = "#{dir}/specifications/configuration-1.1.0.gemspec" + @bundled_specs["launchy"] = eval(File.read("#{dir}/specifications/launchy-0.3.3.gemspec")) + @bundled_specs["launchy"].loaded_from = "#{dir}/specifications/launchy-0.3.3.gemspec" + @bundled_specs["shotgun"] = eval(File.read("#{dir}/specifications/shotgun-0.4.gemspec")) + @bundled_specs["shotgun"].loaded_from = "#{dir}/specifications/shotgun-0.4.gemspec" + @bundled_specs["sinatra"] = eval(File.read("#{dir}/specifications/sinatra-0.9.4.gemspec")) + @bundled_specs["sinatra"].loaded_from = "#{dir}/specifications/sinatra-0.9.4.gemspec" + @bundled_specs["smusher"] = eval(File.read("#{dir}/specifications/smusher-0.4.2.gemspec")) + @bundled_specs["smusher"].loaded_from = "#{dir}/specifications/smusher-0.4.2.gemspec" + @bundled_specs["yui-compressor"] = eval(File.read("#{dir}/specifications/yui-compressor-0.9.1.gemspec")) + @bundled_specs["yui-compressor"].loaded_from = "#{dir}/specifications/yui-compressor-0.9.1.gemspec" + @bundled_specs["sinatra-content-for"] = eval(File.read("#{dir}/specifications/sinatra-content-for-0.2.gemspec")) + @bundled_specs["sinatra-content-for"].loaded_from = "#{dir}/specifications/sinatra-content-for-0.2.gemspec" + @bundled_specs["haml"] = eval(File.read("#{dir}/specifications/haml-2.2.14.gemspec")) + @bundled_specs["haml"].loaded_from = "#{dir}/specifications/haml-2.2.14.gemspec" + @bundled_specs["compass"] = eval(File.read("#{dir}/specifications/compass-0.10.0.pre1.gemspec")) + @bundled_specs["compass"].loaded_from = "#{dir}/specifications/compass-0.10.0.pre1.gemspec" + @bundled_specs["compass-slickmap"] = eval(File.read("#{dir}/specifications/compass-slickmap-0.2.1.gemspec")) + @bundled_specs["compass-slickmap"].loaded_from = "#{dir}/specifications/compass-slickmap-0.2.1.gemspec" + + def self.add_specs_to_loaded_specs + Gem.loaded_specs.merge! @bundled_specs + end + + def self.add_specs_to_index + @bundled_specs.each do |name, spec| + Gem.source_index.add_spec spec + end + end + + add_specs_to_loaded_specs + add_specs_to_index def self.require_env(env = nil) context = Class.new do @@ -109,36 +167,11 @@ module Bundler end end -$" << "rubygems.rb" +module Gem + @loaded_stacks = Hash.new { |h,k| h[k] = [] } -module Kernel - def gem(*) - # Silently ignore calls to gem, since, in theory, everything - # is activated correctly already. + def source_index.refresh! + super + Bundler.add_specs_to_index end end - -# Define all the Gem errors for gems that reference them. -module Gem - def self.ruby ; "/Users/tdreyno/homebrew/Cellar/ruby/1.9.1-p243/bin/ruby" ; end - class LoadError < ::LoadError; end - class Exception < RuntimeError; end - class CommandLineError < Exception; end - class DependencyError < Exception; end - class DependencyRemovalException < Exception; end - class GemNotInHomeException < Exception ; end - class DocumentError < Exception; end - class EndOfYAMLException < Exception; end - class FilePermissionError < Exception; end - class FormatException < Exception; end - class GemNotFoundException < Exception; end - class InstallError < Exception; end - class InvalidSpecificationException < Exception; end - class OperationNotSupportedError < Exception; end - class RemoteError < Exception; end - class RemoteInstallationCancelled < Exception; end - class RemoteInstallationSkipped < Exception; end - class RemoteSourceException < Exception; end - class VerificationError < Exception; end - class SystemExitException < SystemExit; end -end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/CHANGELOG.markdown b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/CHANGELOG.markdown similarity index 76% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/CHANGELOG.markdown rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/CHANGELOG.markdown index ce689ca3..10933a3b 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/CHANGELOG.markdown +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/CHANGELOG.markdown @@ -1,6 +1,171 @@ COMPASS CHANGELOG ================= +0.10.0.pre1 (November 29, 2009) +-------------------------------- + +Deprecated in this release: + +* The usless blueprint "modules" folder will be removed. Please update your + blueprint imports by removing the modules folder. Deprecation warnings will be + emitted if you use the old imports. +* Blueprint mixins that used to accept a "body selector" argument, are now + deprecated, instead you should pass `true` to them and mix them into + the selector of your choice. +* If you are using the `+opacity` or `+inline-block` mixins, you may need to update your imports. +* In your configuration file, setting `http_images_path` to `:relative` is + deprecated in favor of setting `relative_assets` to `true` +* The YUI framework has been extracted to a plugin. + If you use it, please follow the [installation instructions](http://github.com/chriseppstein/yui-compass-plugin) + +Command-Line: + +* The compass command-line tool has been re-written to allow be easier to + use and be more flexible. The old command line is still supported at + this time. "compass help" will get you started on using the new + command line syntax. +* Allow specification of a height for the grid image +* For the truly hardcore compass users, you may now create a + compass project using "compass create my_project --bare" + and you'll have a completely bare project created for you with no + sass files provided for you. +* Get stats on your compass project with "compass stats". You'll + need to install the "css_parser" ruby gem to get stats on your + css files. + +Configuration: + +* The entire configuration infrastructure has been re-written to make it + easier to support the various sources of configuration data (project type, + config file, command line, and hard coded defaults) +* Whether to generate relative links to assets is now controlled by a + separate boolean configuration flag called `relative_assets` in the + configuration file and `--relative-assets` on the command line. + Setting `http_images_path` to `:relative` is deprecated. +* You may now configure the http locations for your project by simply setting + `http_path` for the top level path of the project. You + may also set `http_images_dir`, `http_stylesheets_dir`, and + `http_javascripts_dir` relative to the `http_path` instead of + setting the absolute `http_XXX_path` counterparts. +* You may now configure the fonts directory for your project (fonts_dir). + By default, for standalone projects, it is the "fonts" subdirectory of + your css directory. Rails projects will default to "public/fonts". + +Compass Core: + +* A new helper function `stylesheet_url(path)` can now be used to refer + to assets that are relative to the css directory. +* Compass sprite mixins are now more flexible and feature rich. +* Fixed the append_selector function to allow comma-delimited selectors + for both arguments instead of just the first +* There is no longer any outline on unstyled links in the :active and :focused states. +* IE6 bug fixes for sticky-footer +* New CSS3 Compatibility Mixins. You can import them all with `@import compass/css3.sass` + * `+opacity(amount)` where amount should be between 0 and 1, where 0 is transparent and 1 is opaque. + * `+opaque` and `+transparent` mixins for convenience. Built on top of the opacity mixin. + * `+border-radius(amount)` as well as the following convenience mixins: + * `+border-top-left-radius(amount)` + * `+border-top-right-radius(amount)` + * `+border-top-right-radius(amount)`, + * `+border-bottom-left-radius(amount)` + * `+border-bottom-right-radius(amount)` + * `+border-top-radius(amount)` + * `+border-right-radius(amount)` + * `+border-left-radius(amount)` + * `+border-bottom-radius(amount)` + * `+box-shadow(!horiz_offset, !vert_offset, !blur, !color)` + * `+box-sizing(!sizing_mode)` + * Column support via the following mixins: + * `+column-count` + * `+column-gap` + * `+column-width` + * `+column-rule-width` + * `+column-rule-style` + * `+column-rule-color` + * `+column-rule` + * `+background-clip(clip)` where clip can be `padding-box` or `border-box` + * `+background-origin(origin)` where origin can be `padding-box`, `border-box`, or `content-box` + * `+background-size(size)` where size is a width and height. E.g. "50% 75%" + * `+font-face` should be mixed into the top level of your document. + Usage Example: `+font-face("this name", font-files("this.woff", "woff", "this.otf", "opentype"), "fonts/this.eot", "thisname")` + * Simple Background Gradient Support: + * `+gradient` - Generic background gradient mixin + * `+radial-gradient` - Radial gradient mixin + * `+linear-gradient` - Linear gradient mixin + * `+h-gradient` - Horizontal linear gradient mixin + * `+v-gradient` - Vertical linear gradient mixin + * `+text-shadow` - Create a text shadow effect. + * Transforms Support: + * `+transform` + * `+scale` + * `+rotate` + * `+translate` + * `+skew` + * Transition Support: + * `+transition-property` + * `+transition-duration` + * `+transition-timing-function` + * `+transition-delay` + * `+transition` + * The import for `+inline-block` has moved from compass/utilities/general/inline_block + to compass/css3/inline_block + * The import for `+opacity` has moved from compass/utilities/general/opacity + to compass/css3/opacity + * Note: If you are using the `+opacity` or `+inline-block` mixins, + you may need to update your imports. + +Blueprint: + +* Make the primary blueprint mixins easier to use by allowing them to be nested when passing true as the first argument. + The old approach of passing a selector as the first argument is now deprecated in favor of a simple flag to indicate nesting or not. + +YUI: + +* YUI was upgraded to 2.7.0 +* Yahoo has deprecated the YUI CSS framework, as such YUI has been extracted to a plugin. + If you use it, please install it with: `sudo gem install compass-yui` + +Extensions: + +* Extensions can now be installed locally by unpacking them into a project's + "extensions" directory. Rails projects use "vendor/plugins/compass/extenstions". +* Extensions can deliver html to projects if they like. The html can be in + haml and will be transformed to html and can contain inline, compass-enabled + sass. +* All files can be processed using ERB before being copied into the user's + project. +* Compass extensions can now add support for other application frameworks. + These extensions can help compass understand the project structure of that + framework as well as provide runtime integration for ruby-based apps. + Contact me if you plan to do this -- the first couple times may be a little + rough. +* Compass extensions can now add new command line commands. Contact me if you + plan to do this -- the first couple times may be a little rough. +* Extensions can now provide help documentation just after a project is + created and on demand when the user uses the command line help system. + This can be done via the manifest file or by adding a USAGE.markdown file + at the top level of the framework template. + +Miscellaneous: + +* The compass configuration object is no longer a singleton, this makes it + possible for other ruby software to manage multiple compass projects at a + time. +* Compass no longer requires rubygems in order to work, this is a ruby + best-practice. +* All sass provided by compass now uses css-style property syntax. +* The command line tool is now tested using the cucumber testing framework. + +Many thanks to the following Contributors: + + * Brandon Mathis - CSS3 (+opacity, +border-radius) and sprites + * Eric Meyer - CSS3 (+box-shadow, +columns, +box-sizing) + * Jacques Crocker - Merb Compatibility fixes + * Gabriel Mansour - Fixes to +unstyled-link + * John Debs - IE6 Fixes for +sticky-footer + * Brian Johnson - Upgraded to YUI 2.7.0 + * Beau Smith - fixing my dyslexia. + 0.8.17 (September 24, 2009) --------------------------- diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/LICENSE.markdown b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/LICENSE.markdown similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/LICENSE.markdown rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/LICENSE.markdown diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/README.markdown b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/README.markdown similarity index 78% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/README.markdown rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/README.markdown index 77c8de67..0b04d84f 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/README.markdown +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/README.markdown @@ -3,8 +3,10 @@ A [Sass][sass]-based CSS Meta-Framework that allows you to mix and match any of - [Compass Core][compass_core_website] - [Wiki Documentation][compass_core_wiki] - [Blueprint][blueprint_website] - [Wiki Documentation][bleuprint_wiki] -- [YUI][yui_website] - [Wiki Documentation][yui_wiki] - [960][ninesixty_website] - [Wiki Documentation][ninesixty_wiki] +- [Susy][susy_website] - [Wiki Documentation][susy_wiki] +- [YUI][yui_website] - [Wiki Documentation][yui_wiki] +- New frameworks and extensions are [tracked on the wiki][plugins_wiki] as they are created. - Other frameworks can be added relatively easily. Create your own! ## Compass Provides @@ -13,6 +15,13 @@ A [Sass][sass]-based CSS Meta-Framework that allows you to mix and match any of 2. Simple integration with [Ruby-on-Rails][ruby_on_rails_wiki], [Merb][merb_wiki], [StaticMatic][static_matic_wiki], and even [non-ruby application servers][command_line_wiki]. 3. Loads of Sass mixins to make building your website a snap. +## Quick Start + + $ (sudo) gem install compass + $ compass create my_compass_project --using blueprint + $ cd my_compass_project + $ compass watch + ## More Information Please see the [wiki][wiki] @@ -25,13 +34,14 @@ Copyright (c) 2008-2009 Christopher M. Eppstein
All Rights Reserved.
Released under a [slightly modified MIT License][license]. -[sass]: http://haml.hamptoncatlin.com/docs/rdoc/classes/Sass.html "Syntactically Awesome StyleSheets" +[sass]: http://sass-lang.com/ "Syntactically Awesome StyleSheets" [compass_core_website]: http://github.com/chriseppstein/compass/tree/master/frameworks/compass [compass_core_wiki]: http://github.com/chriseppstein/compass/wikis/compass-core-documentation [blueprint_website]: http://blueprintcss.org/ [bleuprint_wiki]: http://github.com/chriseppstein/compass/wikis/blueprint-documentation [yui_website]: http://developer.yahoo.com/yui/grids/ [yui_wiki]: http://github.com/chriseppstein/compass/wikis/yui-documentation +[plugins_wiki]: http://github.com/chriseppstein/compass/wikis/compass-plugins [ninesixty_website]: http://960.gs/ [ninesixty_wiki]: http://github.com/chriseppstein/compass/wikis/960gs-documentation [command_line_wiki]: http://wiki.github.com/chriseppstein/compass/command-line-tool @@ -39,6 +49,8 @@ Released under a [slightly modified MIT License][license]. [ruby_on_rails_wiki]: http://wiki.github.com/chriseppstein/compass/ruby-on-rails-integration [merb_wiki]: http://wiki.github.com/chriseppstein/compass/merb-integration [static_matic_wiki]: http://wiki.github.com/chriseppstein/compass/staticmatic-integration -[chris_eppstein]: http://acts-as-architect.blogspot.com +[chris_eppstein]: http://chriseppstein.github.com [caring.com]: http://www.caring.com/ "Senior Care Resources" [license]: http://github.com/chriseppstein/compass/tree/master/LICENSE.markdown +[susy_website]: http://www.oddbird.net/susy/ +[susy_wiki]: http://github.com/chriseppstein/compass/wikis/susy-documentation \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/REVISION b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/REVISION similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/REVISION rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/REVISION diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/Rakefile b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/Rakefile similarity index 71% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/Rakefile rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/Rakefile index ac940261..70de0032 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/Rakefile +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/Rakefile @@ -2,7 +2,8 @@ if ENV['RUN_CODE_RUN'] # We need to checkout edge haml for the run>code>run test environment. if File.directory?("haml") Dir.chdir("haml") do - sh "git", "pull" + sh "git", "fetch" + sh "git", "reset", "--hard", "origin/stable" end else sh "git", "clone", "git://github.com/nex3/haml.git" @@ -12,7 +13,9 @@ end require 'rubygems' require 'rake' -require 'lib/compass' +$:.unshift File.join(File.dirname(__FILE__), 'lib') +require 'compass' +require 'rcov/rcovtask' # ----- Default: Testing ------ @@ -23,6 +26,7 @@ require 'fileutils' Rake::TestTask.new :run_tests do |t| t.libs << 'lib' + t.libs << 'test' t.libs << 'haml/lib' if ENV["RUN_CODE_RUN"] test_files = FileList['test/**/*_test.rb'] test_files.exclude('test/rails/*', 'test/haml/*') @@ -45,7 +49,7 @@ begin gemspec.description = "Compass is a Sass-based Stylesheet Framework that streamlines the creation and maintainance of CSS." gemspec.authors = ["Chris Eppstein"] gemspec.has_rdoc = false - gemspec.add_dependency('haml', '>= 2.2.0') + gemspec.add_dependency('haml', '>= 2.2.14') gemspec.files = [] gemspec.files << "CHANGELOG.markdown" gemspec.files << "README.markdown" @@ -58,12 +62,13 @@ begin gemspec.files += Dir.glob("examples/**/*.*") gemspec.files -= Dir.glob("examples/**/*.css") gemspec.files -= Dir.glob("examples/**/*.html") - gemspec.files += Dir.glob("frameworks/**/*.*") + gemspec.files -= Dir.glob("examples/*/extensions/**") gemspec.files += Dir.glob("lib/**/*") gemspec.files += Dir.glob("test/**/*.*") gemspec.files -= Dir.glob("test/fixtures/stylesheets/*/saved/**/*.*") gemspec.test_files = Dir.glob("test/**/*.*") gemspec.test_files -= Dir.glob("test/fixtures/stylesheets/*/saved/**/*.*") + gemspec.test_files += Dir.glob("features/**/*.*") end rescue LoadError puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" @@ -89,6 +94,8 @@ end task :release => :commit_revision +task :gem => :build + desc "Compile Examples into HTML and CSS" task :examples do linked_haml = "tests/haml" @@ -105,6 +112,10 @@ task :examples do next unless File.directory?(example) puts "\nCompiling #{example}" puts "=" * "Compiling #{example}".length + Dir.chdir example do + load "bootstrap.rb" if File.exists?("bootstrap.rb") + Compass::Exec::SwitchUI.new(["--force"]).run! + end # compile any haml templates to html FileList["#{example}/**/*.haml"].each do |haml_file| basename = haml_file[0..-6] @@ -114,9 +125,6 @@ task :examples do output.write(engine.render) output.close end - Dir.chdir example do - Compass::Exec::Compass.new(["--force"]).run! - end end end @@ -125,3 +133,34 @@ namespace :git do sh "git", "clean", "-fdx" end end + +require 'cucumber/rake/task' + +namespace :rcov do + Cucumber::Rake::Task.new(:cucumber) do |t| + t.rcov = true + t.rcov_opts = %w{--exclude osx\/objc,gems\/,spec\/,features\/ --aggregate coverage.data} + t.rcov_opts << %[-o "coverage"] + end + + Rcov::RcovTask.new(:units) do |rcov| + rcov.libs << 'lib' + rcov.libs << 'haml/lib' if ENV["RUN_CODE_RUN"] + test_files = FileList['test/**/*_test.rb'] + test_files.exclude('test/rails/*', 'test/haml/*') + rcov.pattern = test_files + rcov.output_dir = 'coverage' + rcov.verbose = true + rcov.rcov_opts = %w{--exclude osx\/objc,gems\/,spec\/,features\/ --aggregate coverage.data} + rcov.rcov_opts << %[-o "coverage" --sort coverage] + end + + + desc "Run both specs and features to generate aggregated coverage" + task :all do |t| + rm "coverage.data" if File.exist?("coverage.data") + Rake::Task["rcov:units"].invoke + Rake::Task["rcov:cucumber"].invoke + end +end + diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/VERSION.yml b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/VERSION.yml new file mode 100644 index 00000000..5bfe40eb --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/VERSION.yml @@ -0,0 +1,5 @@ +--- +:patch: 0 +:major: 0 +:minor: 10 +:build: pre1 diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/bin/compass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/bin/compass new file mode 100755 index 00000000..f816f3e9 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/bin/compass @@ -0,0 +1,26 @@ +#!/usr/bin/env ruby +# The compass command line utility + +# This allows compass to run easily from a git checkout without install. +def fallback_load_path(path) + retried = false + begin + yield + rescue LoadError + unless retried + $: << path + retried = true + retry + end + raise + end +end + +fallback_load_path(File.join(File.dirname(__FILE__), '..', 'lib')) do + require 'compass' + require 'compass/exec' +end + + +command_line_class = Compass::Exec::Helpers.select_appropriate_command_line_ui(ARGV) +exit command_line_class.new(ARGV).run! diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/deps.rip b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/deps.rip similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/deps.rip rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/deps.rip diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/README.markdown b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/README.markdown similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/README.markdown rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/README.markdown diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/config.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/config.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/config.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/config.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/images/grid.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/images/grid.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/images/grid.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/images/grid.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/index.html.haml b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/index.html.haml similarity index 96% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/index.html.haml rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/index.html.haml index 8a59a9cf..3b25dc6e 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/index.html.haml +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/index.html.haml @@ -32,7 +32,7 @@ %a{ :href => "parts/grid.html" } Grid %td - %a{ :href => "../../frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass" } + %a{ :href => "../../frameworks/blueprint/stylesheets/blueprint/_grid.sass" } grid.sass %td Tests classes provided by the grid module. @@ -41,7 +41,7 @@ %a{ :href => "parts/elements.html" } Typography %td - %a{ :href => "../../frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass" } + %a{ :href => "../../frameworks/blueprint/stylesheets/blueprint/_typography.sass" } typography.sass %td Tests HTML elements which gets set in the typography module. @@ -50,7 +50,7 @@ %a{ :href => "parts/forms.html" } Forms %td - %a{ :href => "../../frameworks/blueprint/stylesheets/blueprint/modules/_form.sass" } + %a{ :href => "../../frameworks/blueprint/stylesheets/blueprint/_form.sass" } form.sass %td Tests classes and default look provided by the form module. diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/elements.html.haml b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/parts/elements.html.haml similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/elements.html.haml rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/parts/elements.html.haml diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/forms.html.haml b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/parts/forms.html.haml similarity index 98% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/forms.html.haml rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/parts/forms.html.haml index 647b5f52..741706c5 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/forms.html.haml +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/parts/forms.html.haml @@ -184,6 +184,8 @@ %input#q.text{ :type => "text", :name => "q", :value => "Field with class .text" } .span-2.last %input.button{ :type => "submit", :value => "submit" } + / WTF This doesn't render correctly without some space. +   %hr %p %a{ :href => "http://validator.w3.org/check?uri=referer" } diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/grid.html.haml b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/parts/grid.html.haml similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/grid.html.haml rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/parts/grid.html.haml diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/test-small.jpg b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/parts/test-small.jpg similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/test-small.jpg rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/parts/test-small.jpg diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/test.jpg b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/parts/test.jpg similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/test.jpg rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/parts/test.jpg diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/valid.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/parts/valid.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/valid.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/parts/valid.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/src/ie.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/src/ie.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/src/ie.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/src/ie.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/src/images/grid.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/src/images/grid.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/src/images/grid.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/src/images/grid.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/src/print.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/src/print.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/src/print.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/src/print.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/src/screen.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/src/screen.sass similarity index 84% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/src/screen.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/src/screen.sass index 0ca30638..9c336708 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/src/screen.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_default/src/screen.sass @@ -1,5 +1,5 @@ @import blueprint.sass -@import blueprint/modules/scaffolding.sass +@import blueprint/scaffolding.sass @import compass/reset.sass +blueprint diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/config.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/config.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/config.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/config.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/buttons/cross.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/buttons/cross.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/buttons/cross.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/buttons/cross.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/buttons/key.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/buttons/key.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/buttons/key.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/buttons/key.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/buttons/tick.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/buttons/tick.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/buttons/tick.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/buttons/tick.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/grid.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/grid.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/grid.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/grid.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/doc.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/link_icons/doc.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/doc.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/link_icons/doc.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/email.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/link_icons/email.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/email.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/link_icons/email.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/external.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/link_icons/external.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/external.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/link_icons/external.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/feed.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/link_icons/feed.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/feed.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/link_icons/feed.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/im.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/link_icons/im.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/im.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/link_icons/im.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/pdf.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/link_icons/pdf.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/pdf.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/link_icons/pdf.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/visited.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/link_icons/visited.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/visited.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/link_icons/visited.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/xls.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/link_icons/xls.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/xls.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/link_icons/xls.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/test-small.jpg b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/test-small.jpg similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/test-small.jpg rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/test-small.jpg diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/test.jpg b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/test.jpg similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/test.jpg rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/test.jpg diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/valid.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/valid.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/valid.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/images/valid.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/index.html.haml b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/index.html.haml similarity index 87% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/index.html.haml rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/index.html.haml index 2cdb7ba6..004dbc09 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/index.html.haml +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/index.html.haml @@ -31,13 +31,13 @@ %a{ :href => "plugins/fancy_type.html" } Fancy Type %td - %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass" } + %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/_grid.sass" } grid.sass , - %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass" } + %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/_typography.sass" } typography.sass , - %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass" } + %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/_fancy_type.sass" } fancy_type.sass %td A simple sample page, with common elements and fancy type. @@ -46,7 +46,7 @@ %a{ :href => "plugins/buttons.html" } Buttons %td - %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass" } + %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/_buttons.sass" } buttons.sass %td A simple page, showing links and buttons styled using the button plugin. @@ -55,7 +55,7 @@ %a{ :href => "plugins/link_icons.html" } Link Icons %td - %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass" } + %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/_link_icons.sass" } link_icons.sass %td A simple page, showing links icons. @@ -64,7 +64,7 @@ %a{ :href => "plugins/rtl.html" } RTL %td - %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass" } + %a{ :href => "http://github.com/chriseppstein/compass/blob/master/frameworks/blueprint/stylesheets/blueprint/_rtl.sass" } rtl.sass %td A simple page, showing a right-to-left grid layout. diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/plugins/buttons.html.haml b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/plugins/buttons.html.haml similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/plugins/buttons.html.haml rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/plugins/buttons.html.haml diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/plugins/fancy_type.html.haml b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/plugins/fancy_type.html.haml similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/plugins/fancy_type.html.haml rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/plugins/fancy_type.html.haml diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/plugins/link_icons.html.haml b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/plugins/link_icons.html.haml similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/plugins/link_icons.html.haml rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/plugins/link_icons.html.haml diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/plugins/rtl.html.haml b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/plugins/rtl.html.haml similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/plugins/rtl.html.haml rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/plugins/rtl.html.haml diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/buttons.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/src/buttons.sass similarity index 92% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/buttons.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/src/buttons.sass index e8ca96e6..9fdd8578 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/buttons.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/src/buttons.sass @@ -1,5 +1,5 @@ @import compass/utilities/general/float.sass -@import blueprint/modules/buttons.sass +@import blueprint/buttons.sass // Use the following HTML code to place the buttons on your site: @@ -23,7 +23,7 @@ a.button +anchor-button("left") // All the button color mixins take 4 optional arguments: // font color, background color, border color, border highlight color - // the first three default to constants set in blueprint/modules/buttons.sass + // the first three default to constants set in blueprint/buttons.sass // the last one defaults to a shade lighter than the border color. +button-colors +button-hover-colors diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/ie.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/src/ie.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/ie.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/src/ie.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/images/grid.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/src/images/grid.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/images/grid.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/src/images/grid.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/src/link_icons.sass similarity index 90% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/src/link_icons.sass index a095e833..5fe9a848 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/src/link_icons.sass @@ -1,4 +1,4 @@ -@import blueprint/modules/link_icons.sass +@import blueprint/link_icons.sass // This turns link icons on for all links. You can change the scoping selector from // body to something more specific if you prefer. diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/print.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/src/print.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/print.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/src/print.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/rtl_screen.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/src/rtl_screen.sass similarity index 68% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/rtl_screen.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/src/rtl_screen.sass index 5cf5459b..daa50b70 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/rtl_screen.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/src/rtl_screen.sass @@ -1,7 +1,7 @@ @import blueprint.sass -@import blueprint/modules/fancy_type.sass -@import blueprint/modules/scaffolding.sass -@import blueprint/modules/rtl.sass +@import blueprint/fancy_type.sass +@import blueprint/scaffolding.sass +@import blueprint/rtl.sass @import compass/reset.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/screen.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/src/screen.sass similarity index 74% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/screen.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/src/screen.sass index 4350dddb..3a7bf14d 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/screen.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_plugins/src/screen.sass @@ -1,6 +1,6 @@ @import blueprint.sass -@import blueprint/modules/fancy_type.sass -@import blueprint/modules/scaffolding.sass +@import blueprint/fancy_type.sass +@import blueprint/scaffolding.sass @import compass/reset.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped/images/grid.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_scoped/images/grid.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped/images/grid.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_scoped/images/grid.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_scoped/src/ie.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_scoped/src/ie.sass new file mode 100644 index 00000000..455f7597 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_scoped/src/ie.sass @@ -0,0 +1,4 @@ +@import blueprint.sass + +body.bp + +blueprint-ie(true) \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_scoped/src/print.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_scoped/src/print.sass new file mode 100644 index 00000000..f08fa0fd --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_scoped/src/print.sass @@ -0,0 +1,4 @@ +@import blueprint.sass + +body.bp + +blueprint-print(true) \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped/src/screen.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_scoped/src/screen.sass similarity index 66% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped/src/screen.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_scoped/src/screen.sass index 400f3314..0367fa59 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped/src/screen.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_scoped/src/screen.sass @@ -1,4 +1,5 @@ @import blueprint.sass @import compass/reset.sass -+blueprint("body.bp") \ No newline at end of file +body.bp + +blueprint(true) \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped_form/images/grid.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_scoped_form/images/grid.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped_form/images/grid.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_scoped_form/images/grid.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped_form/src/ie.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_scoped_form/src/ie.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped_form/src/ie.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_scoped_form/src/ie.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped_form/src/print.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_scoped_form/src/print.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped_form/src/print.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_scoped_form/src/print.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped_form/src/screen.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_scoped_form/src/screen.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped_form/src/screen.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_scoped_form/src/screen.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/config.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/config.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/config.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/config.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/images/grid.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/images/grid.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/images/grid.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/images/grid.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/index.html.haml b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/index.html.haml similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/index.html.haml rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/index.html.haml diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/parts/fancy_type.html.haml b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/parts/fancy_type.html.haml similarity index 99% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/parts/fancy_type.html.haml rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/parts/fancy_type.html.haml index 8aabaca2..6265521c 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/parts/fancy_type.html.haml +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/parts/fancy_type.html.haml @@ -37,7 +37,7 @@ %hr.space #main %p - %img#test{ :src => "test.jpg", :alt => "test" } + %img#test.left{ :src => "test.jpg", :alt => "test" } Lorem ipsum dolor sit amet, %em consectetuer adipiscing elit diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/parts/liquid.html.haml b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/parts/liquid.html.haml similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/parts/liquid.html.haml rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/parts/liquid.html.haml diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/parts/test-small.jpg b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/parts/test-small.jpg similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/parts/test-small.jpg rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/parts/test-small.jpg diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/parts/test.jpg b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/parts/test.jpg similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/parts/test.jpg rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/parts/test.jpg diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/parts/valid.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/parts/valid.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/parts/valid.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/parts/valid.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/src/ie.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/src/ie.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/src/ie.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/src/ie.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/src/images/grid.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/src/images/grid.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/src/images/grid.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/src/images/grid.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/src/liquid.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/src/liquid.sass similarity index 84% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/src/liquid.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/src/liquid.sass index 04e500b9..d57381af 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/src/liquid.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/src/liquid.sass @@ -1,15 +1,14 @@ @import blueprint.sass -@import blueprint/modules/fancy_type.sass -@import blueprint/modules/scaffolding.sass -@import blueprint/modules/liquid.sass +@import blueprint/fancy_type.sass +@import blueprint/scaffolding.sass +@import blueprint/liquid.sass @import compass/reset.sass .container +container -+blueprint-typography("body.blueprint") - body.blueprint + +blueprint-typography(true) +blueprint-scaffolding-body hr +colruler @@ -67,4 +66,4 @@ body#sample +reset-font +alt #parting-thought - +alt \ No newline at end of file + +alt diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/src/print.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/src/print.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/src/print.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/src/print.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/src/screen.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/src/screen.sass similarity index 87% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/src/screen.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/src/screen.sass index 9ad7bd09..d97a0426 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/src/screen.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/blueprint_semantic/src/screen.sass @@ -1,11 +1,10 @@ @import blueprint.sass -@import blueprint/modules/fancy_type.sass -@import blueprint/modules/scaffolding.sass +@import blueprint/fancy_type.sass +@import blueprint/scaffolding.sass @import compass/reset.sass -+blueprint-typography("body.blueprint") - body.blueprint + +blueprint-typography(true) +blueprint-scaffolding-body .container +container @@ -68,4 +67,4 @@ body#sample +reset-font +alt #parting-thought - +alt \ No newline at end of file + +alt diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/bootstrap.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/bootstrap.rb new file mode 100644 index 00000000..fcc0c7c4 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/bootstrap.rb @@ -0,0 +1,3 @@ +require File.join(File.dirname(__FILE__), '..', 'downloader') + +install_from_github('chriseppstein', 'yui-compass-plugin', 'yui') \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/compass.html.haml b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/compass.html.haml similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/compass.html.haml rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/compass.html.haml diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/config.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/config.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/config.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/config.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/_yui.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/extensions/yui/stylesheets/_yui.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/_yui.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/extensions/yui/stylesheets/_yui.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/extensions/yui/stylesheets/yui/modules/_base.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/extensions/yui/stylesheets/yui/modules/_base.sass new file mode 100644 index 00000000..f457131d --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/extensions/yui/stylesheets/yui/modules/_base.sass @@ -0,0 +1,70 @@ +=yui-base + body + :margin 10px + + h1 + :font-size 138.5% + + h2 + :font-size 123.1% + + h3 + :font-size 108% + + h1, h2, h3 + :margin 1em 0 + + h1,h2, h3, h4, h5, h6, strong, dt + :font-weight bold + + optgroup + :font-weight normal + + abbr, acronym + :border-bottom 1px dotted #000 + :cursor help + + em + :font-style italic + + del + :text-decoration line-through + + blockquote, ul, ol, dl + :margin 1em + + ol,ul,dl + :margin-left 2em + + ol li + :list-style decimal outside + + ul li + :list-style disc outside + + dl dd + :margin-left 1em + + th, td + :border 1px solid #000 + :padding .5em + + th + :font-weight bold + :text-align center + + caption + :margin-bottom .5em + :text-align center + + sup + :vertical-align super + + sub + :vertical-align sub + + p, fieldset, table, pre + :margin-bottom 1em + + button, input[type="checkbox"], input[type="radio"], input[type="reset"], input[type="submit"] + padding: 1px \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/yui/modules/_fonts.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/extensions/yui/stylesheets/yui/modules/_fonts.sass similarity index 92% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/yui/modules/_fonts.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/extensions/yui/stylesheets/yui/modules/_fonts.sass index d84284ab..708458ce 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/yui/modules/_fonts.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/extensions/yui/stylesheets/yui/modules/_fonts.sass @@ -13,7 +13,7 @@ // +font-size(18px) // .big .bigger // +font-size(18px, 16px) -// +// // For more information see the table found at http://developer.yahoo.com/yui/fonts/#fontsize =font-size(!size, !base_font_size = !yui_default_base_font_size) :font-size= percentage(!size / !base_font_size) @@ -28,6 +28,13 @@ :*font-size small :*font x-small + select, + input, + button, + textarea, + button + :font 99% arial,helvetica,clean,sans-serif + table :font-size inherit :font 100% diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/yui/modules/_grids.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/extensions/yui/stylesheets/yui/modules/_grids.sass similarity index 69% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/yui/modules/_grids.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/extensions/yui/stylesheets/yui/modules/_grids.sass index aa9a9c9d..a90f26b5 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/yui/modules/_grids.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/extensions/yui/stylesheets/yui/modules/_grids.sass @@ -18,6 +18,7 @@ +yui-document("fluid") #doc4 +yui-document(974px) + /* Section: Preset Template Rules (.yui-t[1-6]) .yui-t1 +yui-two-column-left-template(160px) .yui-t2 @@ -30,22 +31,31 @@ +yui-two-column-right-template(240px) .yui-t6 +yui-two-column-right-template(300px) + .yui-t7 + +yui-one-column-template -=yui-grids-footer - clear: both +=yui-group-clearing + zoom: 1 + &:after + content: "." + display: block + height: 0 + clear: both + visibility: hidden -=yui-grids-body - +clearfix - -=yui-grids-init(!footer = "#ft", !body = "#bd") +=yui-grids-init(!header = "#hd", !footer = "#ft", !body = "#bd") + /* Section: General Rules body :text-align center + @if !header + #{!header} + +yui-group-clearing @if !footer #{!footer} - +yui-grids-footer + +yui-group-clearing @if !body #{!body} - +yui-grids-body + +yui-group-clearing =em-size(!style, !px_size, !base_font_size = !yui_default_base_font_size) :#{!style}= 1em * !px_size / !base_font_size @@ -54,8 +64,8 @@ +em-size(!style, !px_size, !base_font_size) +em-size("*"+!style, !px_size * 39 / 40, !base_font_size) -// All documents must have these styles. Setting a min-width is optional, but recommended. To omit it, pass false as the min_width value. -=yui-document-base(!min_width = 750px) +// All documents must have these styles +=yui-document-base(!min_width = false) :margin auto :text-align left @if !min_width @@ -66,14 +76,12 @@ :_position static =yui-main-block - :position static :float none :width auto - // Creates a fixed width document container // Pass "fluid" for the width to create a document that grows with the width of the browser. -=yui-document(!width, !min_width = 750px, !base_font_size = !yui_default_base_font_size) +=yui-document(!width, !min_width = false, !base_font_size = !yui_default_base_font_size) +yui-document-base(!min_width) @if !width == "fluid" :margin auto 10px @@ -81,85 +89,163 @@ @else +em-size-hacked("width", !width, !base_font_size) -=yui-two-column-left-template(!column_width, !main_selector = "#yui-main", !block_selector = ".yui-b", !document_width = 750px, !min_width = 750px, !base_font_size = !yui_default_base_font_size) +=yui-two-column-left-template(!column_width, !main_selector = "#yui-main", !block_selector = ".yui-b", !document_width = 750px, !min_width = false, !base_font_size = !yui_default_base_font_size) +yui-document(!document_width, !min_width, !base_font_size) - #{!main_selector} - :width 100% - :float right - +em-size("margin-left", -!column_width - 10px, !base_font_size) - #{!block_selector} - +yui-main-block - +em-size-hacked("margin-left", !column_width, !base_font_size) #{!block_selector} +yui-block-base :float left +em-size-hacked("width", !column_width, !base_font_size) - -=yui-two-column-right-template(!column_width, !main_selector = "#yui-main", !block_selector = ".yui-b", !document_width = 750px, !min_width = 750px, !base_font_size = !yui_default_base_font_size) - +yui-document(!document_width, !min_width, !base_font_size) #{!main_selector} :width 100% - :float left - +em-size("margin-right", -!column_width - 10px, !base_font_size) + :float right + :margin-left -25em #{!block_selector} +yui-main-block - +em-size-hacked("margin-right", !column_width, !base_font_size) + +em-size("margin-left", !column_width + 13px, !base_font_size) + // t3 is 15px for IE for some reason - seems like this should be some formula based on the column width and not a fixed number - need to do more research + @if !column_width > 180px + +em-size("*margin-left", (!column_width + 15px) * 39 / 40, !base_font_size) + @else + +em-size("*margin-left", (!column_width + 14px) * 39 / 40, !base_font_size) + +=yui-two-column-right-template(!column_width, !main_selector = "#yui-main", !block_selector = ".yui-b", !document_width = 750px, !min_width = false, !base_font_size = !yui_default_base_font_size) + +yui-document(!document_width, !min_width, !base_font_size) #{!block_selector} +yui-block-base :float right +em-size-hacked("width", !column_width, !base_font_size) - -=yui-one-column-template(!main_selector = "#yui-main", !block_selector = ".yui-b", !document_width = 750px, !min_width = 750px, !base_font_size = !yui_default_base_font_size) - +yui-document(!document_width, !min_width, !base_font_size) #{!main_selector} :width 100% + :float left + :margin-right -25em + #{!block_selector} + +yui-main-block + +em-size("margin-right", !column_width + 13px, !base_font_size) + // t5 is 15px for IE for some reason - seems like this should be some formula based on the column width and not a fixed number - need to do more research + @if !column_width > 180px + +em-size("*margin-right", (!column_width + 15px) * 39 / 40, !base_font_size) + @else + +em-size("*margin-right", (!column_width + 14px) * 39 / 40, !base_font_size) + +=yui-one-column-template(!main_selector = "#yui-main", !block_selector = ".yui-b", !document_width = 750px, !min_width = false, !base_font_size = !yui_default_base_font_size) + +yui-document(!document_width, !min_width, !base_font_size) + #{!main_selector} #{!block_selector} +yui-main-block :display block :margin 0 0 1em 0 - #{!block_selector} - +yui-block-base =yui-custom-template(!main_selector = "#yui-main", !block_selector = ".yui-b") + #{!block_selector} + +yui-block-base #{!main_selector} :width 100% #{!block_selector} +yui-main-block - #{!block_selector} - +yui-block-base =yui-grid-divisions(!unit = ".yui-u", !g_50_50 = ".yui-g", !g_33_33_33 = ".yui-gb", !g_67_33 = ".yui-gc", !g_33_67 = ".yui-gd", !g_75_25 = ".yui-ge", !g_25_75 = ".yui-gf") + + /* Section: Grids and Nesting Grids + + /* from #yui-main, .yui-g .yui-u .yui-g + #{nest(!g_50_50, !unit, !g_50_50)} + width: 100% + + /* Children generally take half the available space + #{nest(!g_33_33_33, !unit)}, #{nest(!g_50_50, !g_33_33_33, !unit)}, - #{nest(!g_67_33, !unit)}, - #{nest(!g_67_33, !g_50_50)}, - #{nest(!g_33_67, !unit)}, #{nest(!g_33_33_33, !g_50_50)}, #{nest(!g_33_33_33, !g_33_33_33)}, #{nest(!g_33_33_33, !g_67_33)}, #{nest(!g_33_33_33, !g_33_67)}, #{nest(!g_33_33_33, !g_75_25)}, #{nest(!g_33_33_33, !g_25_75)}, - #{nest(!g_33_33_33, !unit)} + #{nest(!g_67_33, !unit)}, + #{nest(!g_67_33, !g_50_50)}, + #{nest(!g_33_67, !unit)} float: left - margin-left: 2% - width: 32% - #{!g_33_33_33} - #{!g_33_33_33}, - #{!g_67_33} - #{!unit} - *margin-left: 1.8% - _margin-left: 4% - - #{nest(!g_50_50, !g_33_33_33, !unit)} - _margin-left: .8% - - #{nest(!g_33_33_33, !unit)} + /* Float units (and sub grids) to the right + #{nest(!g_50_50, !unit)}, + #{nest(!g_50_50, !g_50_50)}, + #{nest(!g_50_50, !g_33_33_33)}, + #{nest(!g_50_50, !g_67_33)}, + #{nest(!g_50_50, !g_33_67)}, + #{nest(!g_50_50, !g_75_25)}, + #{nest(!g_50_50, !g_25_75)}, + #{nest(!g_67_33, !unit)}, + #{nest(!g_33_67, !g_50_50)}, + #{nest(!g_50_50, !g_67_33, !unit)}, + #{nest(!g_75_25, !unit)}, + #{nest(!g_75_25, !g_50_50)}, + #{nest(!g_25_75, !g_50_50)}, + #{nest(!g_25_75, !unit)} float: right - #{nest(!g_33_33_33, "div.first")} - margin-left: 0 - float: left + /* Float units (and sub grids) to the left + #{!g_50_50}, + #{!g_33_33_33}, + #{!g_67_33}, + #{!g_33_67}, + #{!g_75_25}, + #{!g_25_75}, + #{nest(!g_50_50, !g_67_33)}, + #{nest(!g_50_50, !g_75_25)}, + #{nest(!g_67_33, "div.first")} + div.first + float: left + + #{!g_50_50} + #{!unit}, + #{!g_50_50}, + #{!g_33_33_33}, + #{!g_67_33}, + #{!g_33_67}, + #{!g_75_25}, + #{!g_25_75} + width: 49.1% + + #{nest(!g_33_33_33, !unit)}, + #{nest(!g_50_50, !g_33_33_33, !unit)}, + #{nest(!g_33_33_33, !g_50_50)}, + #{nest(!g_33_33_33, !g_33_33_33)}, + #{nest(!g_33_33_33, !g_67_33)}, + #{nest(!g_33_33_33, !g_33_67)}, + #{nest(!g_33_33_33, !g_75_25)}, + #{nest(!g_33_33_33, !g_25_75)}, + #{nest(!g_67_33, !unit)}, + #{nest(!g_67_33, !g_50_50)}, + #{nest(!g_33_67, !unit)} + width: 32% + margin-left: 1.99% + + /* Give IE some extra breathing room for 1/3-based rounding issues + #{nest(!g_33_33_33, !unit)} + *margin-left: 1.9% + *width: 31.9% + + #{nest(!g_50_50, !g_33_33_33)}, + #{!g_33_33_33}, + #{!g_67_33}, + #{!g_33_67} + div.first + margin-left: 0 + + /* Section: Deep Nesting + #{!g_50_50}, + #{!g_33_33_33}, + #{!g_67_33}, + #{!g_33_67}, + #{!g_75_25}, + #{!g_25_75} + #{!g_50_50} + #{!unit} + width: 49% + *width: 48.1% + *margin-left: 0 + + #{nest(!g_50_50, !g_50_50, !unit)} + width: 48.1% #{!g_50_50}, #{!g_33_33_33} @@ -169,12 +255,32 @@ *width: 32% _width: 31.7% + #{nest(!g_50_50, !g_67_33, "div.first")}, + #{nest(!g_67_33, "div.first")}, + #{nest(!g_33_67, !g_50_50)}, + #{nest(!g_33_67, !unit)} + width: 66% + + #{nest(!g_33_33_33, !g_50_50, "div.first")} + *margin-right: 4% + _margin-right: 1.3% + #{!g_33_33_33} #{!g_67_33}, #{!g_33_67} div.first *margin-right: 0 + #{!g_33_33_33} + #{!g_33_33_33}, + #{!g_67_33} + #{!unit} + *margin-left: 1.8% + _margin-left: 4% + + #{nest(!g_50_50, !g_33_33_33, !unit)} + _margin-left: 1.0% + #{nest(!g_33_33_33, !g_33_67, !unit)} *width: 66% _width: 61.2% @@ -203,52 +309,6 @@ #{!unit} margin: 0 - #{nest(!g_50_50, !unit)}, - #{nest(!g_50_50, !g_50_50)}, - #{nest(!g_50_50, !g_33_33_33)}, - #{nest(!g_50_50, !g_67_33)}, - #{nest(!g_50_50, !g_33_67)}, - #{nest(!g_50_50, !g_75_25)}, - #{nest(!g_50_50, !g_25_75)}, - #{nest(!g_67_33, !unit)}, - #{nest(!g_33_67, !g_50_50)}, - #{nest(!g_50_50, !g_67_33, !unit)}, - #{nest(!g_75_25, !unit)}, - #{nest(!g_75_25, !g_50_50)}, - #{nest(!g_25_75, !g_50_50)}, - #{nest(!g_25_75, !unit)} - float: right - - #{nest(!g_50_50, !g_67_33)}, - #{nest(!g_50_50, !g_75_25)}, - #{!g_50_50}, - #{!g_67_33}, - #{nest(!g_67_33, "div.first")}, - #{!g_33_67}, - #{!g_75_25}, - #{!g_25_75} - div.first - float: left - - #{!g_50_50}, - #{!g_33_33_33}, - #{!g_67_33}, - #{!g_33_67}, - #{!g_75_25}, - #{!g_25_75} - #{!g_50_50} - #{!unit} - width: 49% - *width: 48.1% - *margin-left: 0 - - #{nest(!g_50_50, !g_50_50, "div.first")} - *margin: 0 - - #{nest(!g_33_33_33, !g_50_50, "div.first")} - *margin-right: 4% - _margin-right: 1.3% - #{nest(!g_33_33_33, !g_33_33_33, !unit)} _margin-left: .7% @@ -264,29 +324,6 @@ *width: 48.1% *margin-left: 0 - #{!g_50_50} - #{!unit}, - #{!g_50_50}, - #{!g_33_33_33}, - #{!g_67_33}, - #{!g_33_67}, - #{!g_75_25}, - #{!g_25_75} - width: 49.1% - - #{nest(!g_50_50, !g_33_33_33)}, - #{!g_33_33_33}, - #{!g_67_33}, - #{!g_33_67} - div.first - margin-left: 0 - - #{nest(!g_50_50, !g_67_33, "div.first")}, - #{nest(!g_67_33, "div.first")}, - #{nest(!g_33_67, !g_50_50)}, - #{nest(!g_33_67, !unit)} - width: 66% - #{!g_33_67}, #{nest(!g_33_33_33, !g_33_67)} div.first @@ -300,6 +337,11 @@ #{nest(!g_25_75, "div.first")} width: 24% + #{nest(!g_75_25, "div.first")}, + #{nest(!g_25_75, !g_50_50)}, + #{nest(!g_25_75, !unit)} + width: 74.2% + #{!g_33_33_33} #{!g_75_25}, #{!g_25_75} @@ -312,30 +354,32 @@ div.first float: left - #{nest(!g_75_25, "div.first")}, - #{nest(!g_25_75, !g_50_50)}, - #{nest(!g_25_75, !unit)} - width: 74.2% - + /* Width Accommodation for Nested Contexts #{!g_33_33_33} #{nest(!g_75_25, !unit)}, #{nest(!g_25_75, "div.first")} *width: 24% _width: 20% + /* Width Accommodation for Nested Contexts #{!g_33_33_33} #{nest(!g_75_25, "div.first")}, #{nest(!g_25_75, !unit)} *width: 73.5% _width: 65.5% + /* Patch for GD within GE + #{nest(!g_75_25, "div.first", !g_33_67, !unit)} + width: 65% + + #{nest(!g_75_25, "div.first", !g_33_67, "div.first")} + width: 32% + + /* @group Clearing #{!g_50_50}, #{!g_33_33_33}, #{!g_67_33}, #{!g_33_67}, #{!g_75_25}, #{!g_25_75} - +clearfix - - #{nest(!g_33_33_33, !unit)} - float: left + +yui-group-clearing diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/yui/modules/_reset.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/extensions/yui/stylesheets/yui/modules/_reset.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/yui/modules/_reset.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/extensions/yui/stylesheets/yui/modules/_reset.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/templates/project/manifest.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/extensions/yui/templates/project/manifest.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/templates/project/manifest.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/extensions/yui/templates/project/manifest.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/templates/project/screen.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/extensions/yui/templates/project/screen.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/templates/project/screen.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/extensions/yui/templates/project/screen.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/images/blue_arrow.gif b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/images/blue_arrow.gif similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/images/blue_arrow.gif rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/images/blue_arrow.gif diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/src/compass.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/src/compass.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/src/compass.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/src/compass.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/src/images/blue_arrow.gif b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/src/images/blue_arrow.gif similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/src/images/blue_arrow.gif rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/src/images/blue_arrow.gif diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/src/sticky_footer.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/src/sticky_footer.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/src/sticky_footer.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/src/sticky_footer.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/src/utilities.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/src/utilities.sass similarity index 95% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/src/utilities.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/src/utilities.sass index 404a8d6d..b79ab94a 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/src/utilities.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/src/utilities.sass @@ -1,8 +1,8 @@ @import compass/reset.sass @import compass/utilities.sass @import yui/modules/base.sass -@import blueprint/modules/grid.sass -@import blueprint/modules/scaffolding.sass +@import blueprint/grid.sass +@import blueprint/scaffolding.sass @import compass/utilities/text/ellipsis.sass html diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/sticky_footer.html.haml b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/sticky_footer.html.haml similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/sticky_footer.html.haml rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/sticky_footer.html.haml diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/utilities.html.haml b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/utilities.html.haml similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/utilities.html.haml rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/compass/utilities.html.haml diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/config.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/config.rb new file mode 100644 index 00000000..cba98086 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/config.rb @@ -0,0 +1,6 @@ +# Require any additional compass plugins here. +project_type = :stand_alone +css_dir = "stylesheets" +sass_dir = "src" +images_dir = "images" +relative_assets = true diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/extensions/fancy-fonts/templates/project/Vtks Revolt.ttf b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/extensions/fancy-fonts/templates/project/Vtks Revolt.ttf new file mode 100755 index 00000000..3f6c0956 Binary files /dev/null and b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/extensions/fancy-fonts/templates/project/Vtks Revolt.ttf differ diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/extensions/fancy-fonts/templates/project/angelina.ttf b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/extensions/fancy-fonts/templates/project/angelina.ttf new file mode 100755 index 00000000..fe880ab9 Binary files /dev/null and b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/extensions/fancy-fonts/templates/project/angelina.ttf differ diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/extensions/fancy-fonts/templates/project/fancy-fonts.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/extensions/fancy-fonts/templates/project/fancy-fonts.sass new file mode 100644 index 00000000..3802325d --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/extensions/fancy-fonts/templates/project/fancy-fonts.sass @@ -0,0 +1,7 @@ +@import compass/css3.sass + ++font-face("Vtks Revolt", font-files("Vtks Revolt.ttf", 'truetype')) ++font-face("Angelina", font-files("angelina.ttf", 'truetype')) +h1 + font-family: "Vtks Revolt" + font-size: 3em diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/extensions/fancy-fonts/templates/project/manifest.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/extensions/fancy-fonts/templates/project/manifest.rb new file mode 100644 index 00000000..99b2f0cd --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/extensions/fancy-fonts/templates/project/manifest.rb @@ -0,0 +1,5 @@ +# From http://www.dafont.com/vtks-revolt.font +font 'Vtks Revolt.ttf' +# From http://www.dafont.com/angelina.font +font 'angelina.ttf' +stylesheet 'fancy-fonts.sass' diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/images/fresh-peas.jpg b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/images/fresh-peas.jpg new file mode 100644 index 00000000..3a9b4b9f Binary files /dev/null and b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/images/fresh-peas.jpg differ diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/index.html.haml b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/index.html.haml new file mode 100644 index 00000000..926429d9 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/index.html.haml @@ -0,0 +1,55 @@ +!!! +%html + %head + %link(href="stylesheets/fancy-fonts.css" rel="stylesheet" type="text/css") + %link(href="stylesheets/main.css" rel="stylesheet" type="text/css") + %link(href="stylesheets/gradient.css" rel="stylesheet" type="text/css") + %body + %h1 Compass CSS3 Module + #container + .examples + #background-clip.example + %h2 Background Clip & Origin + %pre.padding-box + %code<> + +background-clip("padding-box")
+background-origin("padding-box") + %pre.border-box + %code<> + +background-clip("border-box")
+background-origin("border-box") + .gutter + #background-size.example + %h2 Background Size + %pre.top-left + %code<> + +background-size(50% 50%) + %pre.centered + %code<> + +background-size(50% 50%)
background-position: center center + .gutter + #gradients.example + %h2 Gradients + %pre.horizontal + %code<> + +h-gradient(#d92626, #2626d9) + %pre.vertical + %code<> + +v-gradient(#d92626, #2626d9) + %pre.diagonal + %code< + +linear-gradient("left top", + "right bottom", + \#d92626, #2626d9) + %pre.radial + %code<> + +radial-gradient(
"center center, 10, center center, 100",
#d92626, #2626d9) + .examples + #border-radius.example + %h2 Border Radius + .gutter + #box-shadow.example + %h2 Box Shadow + .gutter + #box-sizing.example + %h2 Box Sizing + + diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/src/_base.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/src/_base.sass new file mode 100644 index 00000000..6a0f2250 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/src/_base.sass @@ -0,0 +1,14 @@ +@import compass/utilities.sass +@import compass/css3.sass + +=container + +clearfix + overflow: auto + +=row + +clearfix + +=column + float: left + +box-sizing("border-box") + diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/src/fancy-fonts.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/src/fancy-fonts.sass new file mode 100644 index 00000000..f6fb1962 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/src/fancy-fonts.sass @@ -0,0 +1,7 @@ +@import compass/css3.sass + ++font-face("Angelina", font-files("angelina.ttf", 'truetype')) +h1 + font-family: "Angelina" + font-size: 5em + diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/src/gradient.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/src/gradient.sass new file mode 100644 index 00000000..bba90ecb --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/src/gradient.sass @@ -0,0 +1,10 @@ +@import compass/css3/gradient.sass + +#gradient + width: 200px + height: 100px + border: 1px solid #777 +.linear + +v-gradient(#fff, #aaa, color_stop(50%, #ccc, 50%, #bbb)) +.radial + +radial-gradient("45 45, 10, 52 50, 30", "Cyan", "DodgerBlue") diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/src/main.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/src/main.sass new file mode 100644 index 00000000..25498754 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/src/main.sass @@ -0,0 +1,80 @@ +@import blueprint/reset.sass +@import base.sass + +!border_color = #aaa + +#container + +container + +!min_width = 340px +.examples + margin-bottom: 1em + +row + min-width= !min_width * 3 + 20px * 2 + 20px + +h1 + text-align: center + +.example, .gutter + min-height: 21em + +.example + +column + width: 30% + min-width= !min_width + border: 4px solid #{!border_color} + +border-radius(0.667em) + +box-shadow(darken(!border_color, 40), 5px, 5px, 2px) + margin-bottom: 1em + h2 + font-family: Angelina + margin: 0.5em 0 1em + text-align: center + +.gutter + display: block + float: left + width: 2.5% + min-width: 20px + content: " " + +.example + +v-gradient(#fff, #ccc) + pre + padding: 1em + margin: 1em + color: white + text-shadow: 1px 1px 2px #000 + font-weight: bold +#background-clip + pre + background: transparent #{image-url("fresh-peas.jpg")} no-repeat + border: 1em solid #{transparentize(red, .75)} + .padding-box + +background-clip("padding-box") + +background-origin("padding-box") + .border-box + +background-clip("border-box") + +background-origin("border-box") + +#background-size + pre + background: transparent #{image-url("fresh-peas.jpg")} no-repeat + border: 1em solid #{transparentize(red, .75)} + .top-left + +background-size(50% 50%) + .centered + +background-size(50% 50%) + background-position: center center + +#gradients + .horizontal + +h-gradient(#d92626, #2626d9) + .vertical + +v-gradient(#d92626, #2626d9) + .diagonal + +linear-gradient("left top", "right bottom", #d92626, #2626d9) + .radial + +radial-gradient("center center, 10, center center, 100", #d92626, #2626d9) + background-color: #2626d9 + diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/stylesheets/fonts/Vtks Revolt.ttf b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/stylesheets/fonts/Vtks Revolt.ttf new file mode 100644 index 00000000..3f6c0956 Binary files /dev/null and b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/stylesheets/fonts/Vtks Revolt.ttf differ diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/stylesheets/fonts/angelina.ttf b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/stylesheets/fonts/angelina.ttf new file mode 100644 index 00000000..fe880ab9 Binary files /dev/null and b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/css3/stylesheets/fonts/angelina.ttf differ diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/downloader.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/downloader.rb new file mode 100644 index 00000000..1bc37f9f --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/downloader.rb @@ -0,0 +1,57 @@ +require 'net/http' +require 'fileutils' +require 'rubygems' +require 'zip/zip' + + +def fetch(uri_str, limit = 10) + raise ArgumentError, 'HTTP redirect too deep' if limit == 0 + + url = URI.parse(uri_str) + http = Net::HTTP.new(url.host, url.port) + http.open_timeout = 2 + http.read_timeout = 30 + response = http.start do |http| + puts "getting #{url.path}" + http.request_get(url.path) + end + + case response + when Net::HTTPSuccess then response + when Net::HTTPRedirection then fetch(response['location'], limit - 1) + else + response.error! + end +end + +def install_from_github(user, project, ext_name, branch = "master", working_directory = Dir.pwd) + download_link = "http://github.com/#{user}/#{project}/zipball/#{branch}" + extdir = File.join(working_directory,'extensions') + + if !File.exists?(extdir) + begin + puts "Downloading the #{ext_name} plugin into #{extdir}." + FileUtils.mkdir(extdir) + zipfile = File.join(extdir, "#{ext_name}.zip") + open(zipfile, "wb") do |tgz| + tgz << fetch(download_link).body + end + puts "Unzipping the #{ext_name} plugin." + Zip::ZipFile::open(zipfile) { |zf| + zf.each { |e| + fpath = File.join(extdir, e.name) + FileUtils.mkdir_p(File.dirname(fpath)) + zf.extract(e, fpath) + } + } + File.unlink(zipfile) + funky_directory = Dir.glob(File.join(extdir,"#{user}-#{project}-*"))[0] + FileUtils.mv(funky_directory, File.join(extdir, ext_name)) + puts "#{ext_name} installed." + rescue Exception => e + FileUtils.rm_rf(extdir) + raise + end + end + +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/logo/logo.html.haml b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/logo/logo.html.haml similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/logo/logo.html.haml rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/logo/logo.html.haml diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/logo/src/ie.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/logo/src/ie.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/logo/src/ie.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/logo/src/ie.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/logo/src/print.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/logo/src/print.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/logo/src/print.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/logo/src/print.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/logo/src/screen.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/logo/src/screen.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/logo/src/screen.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/logo/src/screen.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/bootstrap.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/bootstrap.rb new file mode 100644 index 00000000..b2b52d70 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/bootstrap.rb @@ -0,0 +1,4 @@ +require File.join(File.dirname(__FILE__), '..', 'downloader') + +install_from_github('chriseppstein', 'compass-960-plugin', 'ninesixty') + diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/config.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/config.rb new file mode 100644 index 00000000..9f6e6154 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/config.rb @@ -0,0 +1,9 @@ +project_type = :stand_alone +# Set this to the root of your project when deployed: +http_path = "/" +css_dir = "stylesheets" +sass_dir = "src" +images_dir = "images" +output_style = :compact +# To enable relative paths to assets via compass helper functions. Uncomment: +# relative_assets = true diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/extensions/ninesixty/README.mkdn b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/extensions/ninesixty/README.mkdn new file mode 100644 index 00000000..7f63387e --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/extensions/ninesixty/README.mkdn @@ -0,0 +1,56 @@ +960 Grid System - Compass Plugin +================================ + +* Port of Version 1.0 +* 2008-03-24 + +Created by Nathan Smith. See the official site for more info: + +--------- + +This plugin adds the 960 Grid System framework to [Compass](http://compass-style.org/). + +Install +======= + + sudo gem install chriseppstein-compass + sudo gem install chriseppstein-compass-960-plugin + +Create a 960-based Compass Project +================================== + + compass -r ninesixty -f 960 + +Then edit your `grid.sass` and `text.sass` files accordingly. A reset is added into grid.sass automatically. + +Customizing your Grid System +============================ + +To create a grid system with other number of columns use the `+grid-system` mixin to generate +the corresponding classes. + +Example: + + #wrap + +grid-system(24) + +Making Semantic Grids +===================== + +* Use the `+grid-container` mixin to declare your container element. +* Use the `+grid` mixin to declare a grid element. +* Use the `+alpha` and `+omega` mixins to declare the first and last grid elements for a row. +* User the `+grid-prefix` and `+grid-suffix` mixins to add grid columns before or after a grid element. + +Example: + + #wrap + +grid-container + #left-nav + +alpha + +grid(5,16) + #main-content + +grid-prefix(1,16) + +grid(10, 16) + +omega + diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/extensions/ninesixty/compass-960-plugin.gemspec b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/extensions/ninesixty/compass-960-plugin.gemspec new file mode 100644 index 00000000..57ecfe66 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/extensions/ninesixty/compass-960-plugin.gemspec @@ -0,0 +1,36 @@ +# -*- encoding: utf-8 -*- + +Gem::Specification.new do |s| + s.name = %q{compass-960-plugin} + s.version = "0.9.10" + + s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version= + s.authors = ["Chris Eppstein"] + s.date = %q{2009-09-27} + s.description = %q{The 960 Grid System is an effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. http://960.gs/} + s.email = %q{chris@eppsteins.net} + s.extra_rdoc_files = ["lib/ninesixty/compass_plugin.rb", "lib/ninesixty.rb", "README.mkdn"] + s.files = ["compass-960-plugin.gemspec", "lib/ninesixty/compass_plugin.rb", "lib/ninesixty.rb", "Manifest", "Rakefile", "README.mkdn", "sass/960/_grid.sass", "sass/960/_text.sass", "templates/project/grid.sass", "templates/project/manifest.rb", "templates/project/text.sass", "VERSION"] + s.homepage = %q{http://github.com/chriseppstein/compass-960-plugin} + s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Compass-960-plugin", "--main", "README.mkdn"] + s.require_paths = ["lib"] + s.rubyforge_project = %q{compass-960-plugin} + s.rubygems_version = %q{1.3.3} + s.summary = %q{Compass compatible Sass port of 960.gs.} + + if s.respond_to? :specification_version then + current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION + s.specification_version = 3 + + if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then + s.add_runtime_dependency(%q, [">= 0"]) + s.add_development_dependency(%q, [">= 0"]) + else + s.add_dependency(%q, [">= 0"]) + s.add_dependency(%q, [">= 0"]) + end + else + s.add_dependency(%q, [">= 0"]) + s.add_dependency(%q, [">= 0"]) + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/extensions/ninesixty/lib/ninesixty.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/extensions/ninesixty/lib/ninesixty.rb new file mode 100644 index 00000000..91431892 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/extensions/ninesixty/lib/ninesixty.rb @@ -0,0 +1 @@ +require File.join(File.dirname(__FILE__), 'ninesixty', 'compass_plugin') diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/extensions/ninesixty/lib/ninesixty/compass_plugin.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/extensions/ninesixty/lib/ninesixty/compass_plugin.rb new file mode 100644 index 00000000..78504632 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/extensions/ninesixty/lib/ninesixty/compass_plugin.rb @@ -0,0 +1,5 @@ +options = Hash.new +options[:stylesheets_directory] = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'sass')) +options[:templates_directory] = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'templates')) + +Compass::Frameworks.register('960', options) diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/extensions/ninesixty/sass/960/_grid.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/extensions/ninesixty/sass/960/_grid.sass new file mode 100644 index 00000000..9389d255 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/extensions/ninesixty/sass/960/_grid.sass @@ -0,0 +1,64 @@ +!ninesixty_gutter_width ||= 20px +!ninesixty_grid_width ||= 960px +!ninesixty_columns ||= 12 + +=grid-container + :margin-left auto + :margin-right auto + :width= !ninesixty_grid_width + +=grid-width(!n, !cols = !ninesixty_columns, !gutter_width = !ninesixty_gutter_width) + :width= (!ninesixty_grid_width / !cols) * !n - !gutter_width + +=grid-unit-base(!gutter_width = !ninesixty_gutter_width) + :display inline + :float left + :margin + :left= !gutter_width / 2 + :right= !gutter_width / 2 + +=grid(!n, !cols = !ninesixty_columns, !gutter_width = !ninesixty_gutter_width) + +grid-unit-base(!gutter_width) + +grid-width(!n, !cols, !gutter_width) + +=alpha + :margin-left 0 + +=omega + :margin-right 0 + +=grids(!cols = !ninesixty_columns, !gutter_width = !ninesixty_gutter_width) + #{enumerate(".grid",1,!cols,"_")} + +grid-unit-base + @for !n from 1 through !cols + .grid_#{!n} + +grid-width(!n, !cols, !gutter_width) + +=grid-prefix(!n, !cols = !ninesixty_columns) + :padding-left= (!ninesixty_grid_width / !cols) * !n + +=grid-prefixes(!cols = !ninesixty_columns) + @for !n from 1 through !cols - 1 + .prefix_#{!n} + +grid-prefix(!n, !cols) + +=grid-suffix(!n, !cols = !ninesixty_columns) + :padding-right= (!ninesixty_grid_width / !cols) * !n + +=grid-suffixes(!cols = !ninesixty_columns) + @for !n from 1 through !cols - 1 + .suffix_#{!n} + +grid-suffix(!n, !cols) + +=grid-children + .alpha + +alpha + .omega + +omega + +=grid-system(!cols = !ninesixty_columns) + +grid-container + +grids(!cols) + +grid-prefixes(!cols) + +grid-suffixes(!cols) + +grid-children diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/extensions/ninesixty/sass/960/_text.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/extensions/ninesixty/sass/960/_text.sass new file mode 100644 index 00000000..0fbab91c --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/extensions/ninesixty/sass/960/_text.sass @@ -0,0 +1,59 @@ +!ninesixty_font_family ||= "Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif" + +=text(!font_family = !ninesixty_font_family) + body + :font= "13px/1.5" !font_family + + a:focus + :outline 1px dotted invert + + hr + :border-color #ccc + :border-style solid + :border-width 1px 0 0 + :clear both + :height 0 + + h1 + :font-size 25px + + h2 + :font-size 23px + + h3 + :font-size 21px + + h4 + :font-size 19px + + h5 + :font-size 17px + + h6 + :font-size 15px + + ol + :list-style decimal + + ul + :list-style square + + li + :margin-left 30px + + p, + dl, + hr, + h1, + h2, + h3, + h4, + h5, + h6, + ol, + ul, + pre, + table, + address, + fieldset + :margin-bottom 20px diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/extensions/ninesixty/templates/project/grid.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/extensions/ninesixty/templates/project/grid.sass new file mode 100644 index 00000000..f196d21b --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/extensions/ninesixty/templates/project/grid.sass @@ -0,0 +1,34 @@ +/* + 960 Grid System ~ Core CSS. + Learn more ~ http://960.gs/ + + Licensed under GPL and MIT. + +@import compass/utilities/general/reset.sass +@import 960/grid.sass + ++global-reset + +// The following generates the default grids provided by the css version of 960.gs +.container_12 + +grid-system(12) + +.container_16 + +grid-system(16) + +// But most compass users prefer to construct semantic layouts like so (two column layout with header and footer): + +!ninesixty_columns = 24 +.two-column + +grid-container + #header, + #footer, + #sidebar, + #main-content + +grid-unit-base + #header, #footer + +grid-width(24) + #sidebar + +grid-width(8) + #main-content + +grid-width(16) diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/extensions/ninesixty/templates/project/manifest.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/extensions/ninesixty/templates/project/manifest.rb new file mode 100644 index 00000000..d10023e5 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/extensions/ninesixty/templates/project/manifest.rb @@ -0,0 +1,2 @@ +stylesheet 'grid.sass', :media => "screen, projection" +stylesheet 'text.sass', :media => "screen, projection" diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/extensions/ninesixty/templates/project/text.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/extensions/ninesixty/templates/project/text.sass new file mode 100644 index 00000000..0b69854a --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/extensions/ninesixty/templates/project/text.sass @@ -0,0 +1,10 @@ +/* + 960 Grid System ~ Text CSS. + Learn more ~ http://960.gs/ + + Licensed under GPL and MIT. + + +@import 960/text.sass + ++text diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/src/grid.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/src/grid.sass new file mode 100644 index 00000000..4198d85b --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/src/grid.sass @@ -0,0 +1,16 @@ +/* + 960 Grid System ~ Core CSS. + Learn more ~ http://960.gs/ + + Licensed under GPL and MIT. + +@import compass/utilities/general/reset.sass +@import 960/grid.sass + ++global-reset + +.container_12 + +grid-system(12) + +.container_16 + +grid-system(16) diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/src/text.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/src/text.sass new file mode 100644 index 00000000..0b69854a --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/ninesixty/src/text.sass @@ -0,0 +1,10 @@ +/* + 960 Grid System ~ Text CSS. + Learn more ~ http://960.gs/ + + Licensed under GPL and MIT. + + +@import 960/text.sass + ++text diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/bootstrap.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/bootstrap.rb new file mode 100644 index 00000000..4689ec3f --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/bootstrap.rb @@ -0,0 +1,3 @@ +require File.join(File.dirname(__FILE__), '..', 'downloader') + +install_from_github('ericam', 'compass-susy-plugin', 'susy', 'edge') diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/config.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/config.rb new file mode 100644 index 00000000..9f6e6154 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/config.rb @@ -0,0 +1,9 @@ +project_type = :stand_alone +# Set this to the root of your project when deployed: +http_path = "/" +css_dir = "stylesheets" +sass_dir = "src" +images_dir = "images" +output_style = :compact +# To enable relative paths to assets via compass helper functions. Uncomment: +# relative_assets = true diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/LICENSE.txt b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/LICENSE.txt new file mode 100644 index 00000000..6e87441e --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/LICENSE.txt @@ -0,0 +1,28 @@ +Copyright (c) 2009, Eric Meyer +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of the author nor the names of other + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/README.mkdn b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/README.mkdn new file mode 100644 index 00000000..41c706b7 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/README.mkdn @@ -0,0 +1,235 @@ +Susy - Compass Plugin +===================== + +Susy is a semantic CSS framework creator entirely native to +[Compass](http://compass-style.org/). +Susy is an expert at fluid grids in an elastic (or fluid, or fixed) shell that +will never activate that bloody side-scroll bar. Susy sets your width on the +outer element (`container`), adds a `max-width` of `100%` and builds the rest +of your grid in percentages. The philosophy and technique are based on +[Natalie Downe](http://natbat.net/)'s "[CSS +Systems](http://natbat.net/2008/Sep/28/css-systems/)" - which introduces +difficult math in the service of beautiful structure. With the power of +Compass/Sass, Susy will do that math for you. + +Using simple mixins, columns can be created, suffixed, prefixed, and nested +easily - and always in flexible percentages. + +Install +======= + + sudo gem sources --add http://gemcutter.org/ + sudo gem install compass-susy-plugin + +Create a Susy-based Compass Project +=================================== + + compass -r susy -f susy + +Then edit your `_base.sass`, `_defaults.sass`, `screen.sass` and `print.sass` +files accordingly. A reset is added automatically, and includes help for some +HTML5 elements. + +Philosophy and Goals +-------------------- + +The method comes from [Natalie Downe](http://natbat.net/)'s "[CSS +Systems](http://natbat.net/2008/Sep/28/css-systems/)", but I'll cover it here. + +It is important for accessibility and usability that we are: + +* Responsive to text sizing: In order for our site to be accessible we need to + allow different font-sizes to be set by the client. In order to maintain + design integrity of proportions and line-lengths, the grid needs to respond + to those sizes. + +* Responsive to window sizing: In order to maintain usability across + platforms/monitors, our grid needs to respond to the size of the viewport. + This is mainly an issue as the viewport shrinks and we are given a + side-scroll bar. No one likes that. On the large end our design integrity + and line lengths are more important than taking up all the possible space. + +In order to achieve both goals we need to combine the best of the elastic +(em-based) and fluid (%-based) models. The solution is simple: First we build +a fluid grid, then place it inside an elastic shell, and apply a maximum width +to that shell so that it never exceeds the size of the viewport. It's simple +in theory, but daunting in practice, as you constantly have to adjust your +math based on the context. + +But Susy harnesses the power of Compass and Sass to do all the math for you. + +Grid Basics +=========== + +* Set up your default grid values (total columns, column width, gutter + width, side gutter width), your base font size, and important mixins + in `_base.sass`. + +* Set defaults for all the important HTML tags in `_defaults.sass`. It's + better than using the browser defaults. And better than using ours. + +* Create your grid in `screen.sass`: apply the `+susy` mixin to the `body` + element and the `+container` mixin to the element that contains the page + grid. + +* Use the `+columns` mixin to declare the width in columns of an element, + or `+full` for any element spanning the full width of its context. + +* Use `+alpha` and `+omega` to declare elements which include the first or + last column within their parent element (`+full` to declare both `+alpha` + and `+omega`). Note: `+alpha` is actually only needed in the very top level, + and does nothing in nested contexts. Neither is needed on a `+full` element. + +* Use `+prefix` or `+suffix` to give the width (in columns) of an elements + left or right margin, or `+pad` to give both `+prefix` and `+suffix` at + once. + +* In nested contexts, all of these mixins take an extra final argument, the + width in columns of the parent (nesting) element. + +That's it for the basics! Here's a sample Susy grid layout: + + body + +susy + + #page + +container + + #brand + +full + +pad(1,1) + h1 + +full(8) + +pad(1,2,8) + + #nav + +columns(2) + +alpha + + #content + +columns(8) + +omega + #description + +columns(5,8) + #credit + +columns(3,8) + +omega(8) + +Tutorial +======== + +For more details, read [the tutorial](http://www.oddbird.net/susy/tutorial/). +It's also included with Susy in the docs/ folder. + +Extra Utility Mixins +===================== + +Extra utilities are included in Susy's `utils.sass` file, with additional list +options, experimental (CSS3/proprietary) CSS, and more. + +* `+show-grid(!src)` - Repeat the specified grid image on an element. Good for + testing your baseline grid. + +* `+inline-block-list([!horizontalpadding])` - Make list items inline-block + when floating just won't do the trick (if you need them centered or right). + +* `+hide` - Hide content from visual browsers while keeping accessability + intact. + +* `+skip-link([!top = 0, !right, !bottom, !left])` - Hide a link, and then show + it again on focus. the TRBL settings allow you to place it absolutely on + display. Default will be top left of the positioning context. + +And then the fun stuff in `_CSS3.sass`: + +* `+opacity(!opacity)` - add cross-browser opacity settings (takes a range of + 0 to 1). `+transprent` and `+opaque` are available as shortcuts. + +* `+border-radius(!radius)` - Rounded corners in supporting browsers. + `+border-bottom-left-radius` etc. all work. + +* `+box-sizing(!model)` - Set the box sizing model in supporting browsers. + +* `+box-shadow(!verticaloffset, !horizontaloffset, !blur, !color)` - + Box-shadow in supporting browsers. + +* `+column-count(!number)`, `+column-gap(!length)`, `+column-width(!length)`, + and `+column-rule(!width, !style, !color)` - CSS columns in supporting + browsers. + +Advanced Options +================ + +Susy is built for flexibility, so that you always write the code you want to +write. While everything should 'just work' out of the box, there are plenty of +advanced options hidden inside. Here's a few: + +* `!hacks` is a boolean constant that you can set in your base.sass file to + choose between using targeted hacks for IE (a variation of the star hack in + most cases) in your screen.css, or using a conditional-comment targeted + ie.css. All the needed mixins are available for either setting. `!hacks` is + true by default so there is no extra work maintaining multiple files unless + you want to. + + Example 1: + + !hacks = true + + #nav + +inline-block-list + + Example 2: + + !hacks = false + + (in screen.sass) + #nav + +inline-block-list + + (in ie.sass) + #nav li + +ie-inline-block + + It requires more maintenance on your part, but the result is a + hack-free output. + + The Susy mixins that use either hacks or targeted mixins are + `+omega` (`+ie-omega([!right-floated = false])`), `+inline-block` + (`+ie-inline-block`), and `+inline-block-list` which sets + `+inline-block` on the list items. + + The ie-specific mixins only add the needed ie-specific adjustments, + so they need to be used in addition to their counterparts, not on + their own. + +* `gutter(!context)` is a function that you can call at any time to return the + size of a gutter in your given context using percentages. The number is + returned without units so that you can perform math on it. In order to use + it, you will have to add "%" to it. + + Example: + + #nav + padding-right= gutter(5) + "%" + +* `columns(!number, !context)` returns the span of `!number` columns in + `!context` as a percentage (again without the units declared). This span + includes any gutters between the columns spanned. + + Example: + + #nav + padding-left= columns(3,5) + "%" + +* `side_gutter()` is also available and takes no arguments since it is always + used at the top nesting level. + +* `px2em()` takes one numeric argument representing the number of pixels you + want to mimic. The return is an em value (with no units declared) that + approximates that number of pixels. Useful for keeping your entire design + fluid. + + Example: + + #nav + border-bottom= px2em(2) + "em" diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/compass-susy-plugin.gemspec b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/compass-susy-plugin.gemspec new file mode 100644 index 00000000..a06ed798 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/compass-susy-plugin.gemspec @@ -0,0 +1,35 @@ +# -*- encoding: utf-8 -*- + +Gem::Specification.new do |s| + s.name = %q{compass-susy-plugin} + s.version = "0.7" + + s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version= + s.authors = ["Eric Meyer"] + s.date = %q{2009-07-12} + s.description = %q{Susy is a ground-up native Compass plugin grid system that takes full advantage of Sass' capabilities to remove the tedium from grid-based web design.} + s.email = %q{eric@oddbird.net} + s.extra_rdoc_files = ["lib/susy/compass_plugin.rb", "lib/susy/sass_extensions.rb", "lib/susy.rb", "README.mkdn"] + s.files = ["lib/susy/compass_plugin.rb", "lib/susy/sass_extensions.rb", "lib/susy.rb", "Manifest", "Rakefile", "README.mkdn", "sass/susy/_grid.sass", "sass/susy/_utils.sass", "sass/susy/_text.sass", "sass/susy/_susy.sass", "templates/project/_base.sass", "templates/project/screen.sass", "templates/project/print.sass", "templates/project/ie.sass", "templates/project/manifest.rb", "VERSION", "LICENSE.txt", "docs/tutorial/index.mkdn", "docs/tutorial/figures/susy_element.png", "docs/tutorial/figures/susy_grid.png", "compass-susy-plugin.gemspec"] + s.homepage = %q{http://github.com/ericam/compass-susy-plugin} + s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Compass-Susy-plugin", "--main", "README.mkdn"] + s.require_paths = ["lib"] + s.rubygems_version = %q{1.3.3} + s.summary = %q{A Compass grid system plugin.} + + if s.respond_to? :specification_version then + current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION + s.specification_version = 3 + + if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then + s.add_runtime_dependency(%q, [">= 0"]) + s.add_development_dependency(%q, [">= 0"]) + else + s.add_dependency(%q, [">= 0"]) + s.add_dependency(%q, [">= 0"]) + end + else + s.add_dependency(%q, [">= 0"]) + s.add_dependency(%q, [">= 0"]) + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/build.sh b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/build.sh new file mode 100644 index 00000000..121113b3 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/build.sh @@ -0,0 +1,141 @@ +#!/bin/bash + +tut_dir=`dirname ${0}` +cd "${tut_dir}" +tut_dir=`pwd` + +if [ ! -d "_build" ]; then + mkdir "_build" +fi + +cp -pR code/* _build/ +cd _build + +# create activate and deactivate scripts +cat > activate < /dev/null +libdir=\`pwd\` +popd > /dev/null + +export OLD_RUBYLIB=\${RUBYLIB} +export RUBYLIB=\${libdir} +EOF + +cat > deactivate < _tools/home_head.html +cat _tools/foot.tpl.html \ + | sed 's/{{ STYLE_PATH }}//;' \ + > _tools/home_foot.html +cat _tools/home_head.html _tools/home_content.html _tools/home_foot.html > _common/index.html + +# copy the tutorial figures into site/ +if [ ! -d "site/tutorial" ]; then + mkdir site/tutorial +fi +cp -pR ../figures site/tutorial/ + +# create the tutorial index.html +perl _tools/Markdown.pl --html4tags ../index.mkdn > _tools/tutorial_content.html +cat _tools/head.tpl.html \ + | sed 's/{{ STYLE_PATH }}/..\//; s/{{ BODY_CLASS }}/tutorial/; s/{{ TITLE }}/A Tutorial/;' \ + > _tools/tutorial_head.html +cat _tools/foot.tpl.html \ + | sed 's/{{ STYLE_PATH }}/..\//;' \ + > _tools/tutorial_foot.html +cat _tools/tutorial_head.html _tools/tutorial_content.html _tools/tutorial_foot.html > site/tutorial/index.html + +# remove _tools +rm -r _tools/ + +# copy files in _common into each stage; also create diff.sh and use.sh +for d in 01_target 02_container 03_structure site; do + cp -pR _common/* "${d}/" + pushd "${d}" > /dev/null + compass > /dev/null + popd > /dev/null + cat > "${d}/diff.sh" < /dev/null +name=\`basename \\\`pwd\\\`\` +diff -r ${tut_dir}/code/\${name}/src/ src/ +popd > /dev/null +EOF + chmod 755 "${d}/diff.sh" + cat > "${d}/use.sh" < /dev/null +name=\`basename \\\`pwd\\\`\` +dest="${tut_dir}/code/\${name}/\${1}" +if [ ! -f "\${dest}" ]; then + echo "File \${dest} does not exist; does this file belong in _common?" + exit 1 +fi +cp "\${1}" "\${dest}" +popd > /dev/null +EOF + chmod 755 "${d}/use.sh" +done + +# got everything out of common, remove it +rm -r _common + +# move all stages into site/tutorial/ +for d in 01_target 02_container 03_structure; do + cp -pR "${d}" site/tutorial/ + rm -r "${d}" +done + +# create install script +cat > install.sh < /dev/null +base=\`pwd\` +popd > /dev/null +cp -pR "\${base}/site/" "\${1}" || exit 1 + +find "\${1}" -name '*.sh' -exec rm {} \; +echo "Installed." +EOF +chmod 755 install.sh + +# if we got an argument, go ahead and install there +if [ ! -z "${1}" ]; then + ./install.sh "${1}" +fi diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/_defaults.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/_defaults.sass new file mode 100644 index 00000000..b34924af --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/_defaults.sass @@ -0,0 +1,100 @@ +//** DEFAULT STYLES **// +// Don't forget to set your default styles. + + +// Get all the details and mixins from base.sass +@import base.sass +// Reset browser defaults, and prepare block-level HTML5 elements +@import susy/reset.sass + + +/* @group defaults */ + + +/* @group links */ + +\:focus + outline: 1px dotted + +a + &:link, &:visited + color= !links + text-decoration: none + &:focus, &:hover, &:active + color= !light + border-bottom: + width= px2em(2) + "em" + style: dashed + +/* @end */ + + +/* @group headers */ + +h1 + +serif-family + text-transform: lowercase + font-size: 3em + line-height: 1 + font-weight: bold + color= !links + +h2 + font-weight: bold + text-transform: uppercase + +/* @end */ + + +/* @group block tags */ +p + margin: 0 0 1.5em 0 + +pre + border-left= ".5em solid" !light + margin: 0 0 1.5em 0 + padding: 1.5em + +=list-default(!ol = false) + @if !ol + list-style: decimal + margin: 0 1.5em 1.5em 1.5em + @else + list-style: disc + margin: 0 1.5em 1.5em 1.5em + +ol + +list-default("ol") + +ul + +list-default + +/* @end */ + + +/* @group inline tags */ + +em + font-style: italic + +strong + font-weight: bold + +ins + text-decoration: underline + +del + text-decoration: line-through + +/* @end */ + + +/* @group replaced tags */ + +img + vertical-align: bottom + +/* @end */ + + +/* @end */ \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/screen.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/screen.sass new file mode 100644 index 00000000..de4fb70a --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/screen.sass @@ -0,0 +1,98 @@ +/* + Welcome to Susy. Use this file to define screen styles. + Import this file using the following HTML or equivalent: + + + +@import defaults.sass + + +/* @group STRUCTURE */ + +body + +susy + +#page + +container + +sans-family + color= !text + +#brand + +full + +pad(1,1) + margin: + top: 3em + bottom: 1.5em + h1 a + +full(8) + +pad(1,2,8) + display: block + +replace-text("susy_logo.png", "left") + height: 105px + &:focus, &:hover, &:active + border-bottom: 0 + +#site-nav + +columns(2) + +alpha + ul + +no-bullets + margin: 0 + text-align: right + font-weight: bold + +#content + +columns(8) + +omega + margin-bottom: 3em + #description + +columns(5,8) + #credit + +columns(3,8) + +omega(8) + color= !light + +#contentinfo + +full + +prefix(2) + padding: + top: .5em + bottom: .75em + border-top: + width: .25em + style: dashed + color= !light + +serif-family + font-style: italic + color= !light + p + margin: 0 + &.license + +columns(5,8) + +alpha(8) + &.styles + +columns(3,8) + +omega(8) + text-align: right + a:link, a:visited + color= !light + font-weight: bold + +.tutorial + #content + margin-bottom: 3em + li + margin-bottom: 1.5em + code + font-size: 1.25em + font-family: monospace + color= !light + +/* @end */ + +/* @group DEBUG */ + +#page + +show-grid("grid.png") + +/* @end */ diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/_defaults.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/_defaults.sass new file mode 100644 index 00000000..481b6e77 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/_defaults.sass @@ -0,0 +1,147 @@ +//** DEFAULT STYLES **// +// Don't forget to set your default styles. + + +// Get all the details and mixins from base.sass +@import base.sass +// Reset browser defaults, and prepare block-level HTML5 elements +@import susy/reset.sass + + +/* @group defaults */ + +body + +sans-family + color= !text + +/* @group links */ + +\:focus + outline= 1px "dotted" !links + +a + &:link, &:visited + color= !links + &:focus, &:hover, &:active + color= !links - #222 + text-decoration: none + +/* @end */ + + +/* @group headers */ + +h1, h2, h3, h4, h5, h6 + font-weight: bold + +/* @end */ + + +/* @group forms */ + +form *:focus + outline: none + +fieldset + margin= !base_line_height 0 + +legend + font-weight: bold + font-variant: small-caps + +label + display: block + margin-top= !base_line_height + +legend + label + margin-top: 0 + +textarea, input[type="text"] + +box-sizing("border-box") + width: 100% + +/* @end */ + + +/* @group tables */ + +/* tables still need 'cellspacing="0"' in the markup */ + +table + :width 100% + :border= 1/16 + "em solid" !text + #333 + :left none + :right none + :padding= 7/16 + "em 0" + :margin= 8/16 + "em 0" + +th + :font-weight bold + +/* @end */ + + +/* @group block tags */ + +p + :margin= !base_line_height 0 + +=list-default(!ol = false) + :margin= !base_line_height + @if !ol + :list-style decimal + @else + :list-style disc + +=no-style-list + +no-bullets + :margin 0 + :padding 0 + +ol + +list-default("ol") + +ul + +list-default + +blockquote + :margin= !base_line_height + +serif-family + +/* @end */ + + +/* @group inline tags */ + +cite + :font-style italic + +em + :font-style italic + +strong + :font-weight bold + +ins + :text-decoration underline + +del + :text-decoration line-through + +q + :font-style italic + em + :font-style normal + +/* @end */ + + +/* @group replaced tags */ + +img + :vertical-align bottom + +/* @end */ + + +/* @end */ \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/screen.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/screen.sass new file mode 100644 index 00000000..f4c0e2a0 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/screen.sass @@ -0,0 +1,19 @@ +/* + Welcome to Susy. Use this file to define screen styles. + Import this file using the following HTML or equivalent: + + + +@import defaults.sass + + +/* @group STRUCTURE */ + +body + +susy + +#page + +container + +sans-family + +/* @end */ \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/_defaults.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/_defaults.sass new file mode 100644 index 00000000..481b6e77 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/_defaults.sass @@ -0,0 +1,147 @@ +//** DEFAULT STYLES **// +// Don't forget to set your default styles. + + +// Get all the details and mixins from base.sass +@import base.sass +// Reset browser defaults, and prepare block-level HTML5 elements +@import susy/reset.sass + + +/* @group defaults */ + +body + +sans-family + color= !text + +/* @group links */ + +\:focus + outline= 1px "dotted" !links + +a + &:link, &:visited + color= !links + &:focus, &:hover, &:active + color= !links - #222 + text-decoration: none + +/* @end */ + + +/* @group headers */ + +h1, h2, h3, h4, h5, h6 + font-weight: bold + +/* @end */ + + +/* @group forms */ + +form *:focus + outline: none + +fieldset + margin= !base_line_height 0 + +legend + font-weight: bold + font-variant: small-caps + +label + display: block + margin-top= !base_line_height + +legend + label + margin-top: 0 + +textarea, input[type="text"] + +box-sizing("border-box") + width: 100% + +/* @end */ + + +/* @group tables */ + +/* tables still need 'cellspacing="0"' in the markup */ + +table + :width 100% + :border= 1/16 + "em solid" !text + #333 + :left none + :right none + :padding= 7/16 + "em 0" + :margin= 8/16 + "em 0" + +th + :font-weight bold + +/* @end */ + + +/* @group block tags */ + +p + :margin= !base_line_height 0 + +=list-default(!ol = false) + :margin= !base_line_height + @if !ol + :list-style decimal + @else + :list-style disc + +=no-style-list + +no-bullets + :margin 0 + :padding 0 + +ol + +list-default("ol") + +ul + +list-default + +blockquote + :margin= !base_line_height + +serif-family + +/* @end */ + + +/* @group inline tags */ + +cite + :font-style italic + +em + :font-style italic + +strong + :font-weight bold + +ins + :text-decoration underline + +del + :text-decoration line-through + +q + :font-style italic + em + :font-style normal + +/* @end */ + + +/* @group replaced tags */ + +img + :vertical-align bottom + +/* @end */ + + +/* @end */ \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/screen.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/screen.sass new file mode 100644 index 00000000..a35ea1fa --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/screen.sass @@ -0,0 +1,48 @@ +/* + Welcome to Susy. Use this file to define screen styles. + Import this file using the following HTML or equivalent: + + + +@import defaults.sass + + +/* @group STRUCTURE */ + +body + +susy + +#page + +container + +sans-family + +#brand + +full + +pad(1,1) + h1 a + +full(8) + +pad(1,2,8) + +#site-nav + +columns(2) + +alpha + +#content + +columns(8) + +omega + #description + +columns(5,8) + #credit + +columns(3,8) + +omega(8) + +#contentinfo + +full + +prefix(2) + p.license + +columns(5,8) + p.styles + +columns(3,8) + +omega(8) + +/* @end */ \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/_common/config.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/_common/config.rb new file mode 100644 index 00000000..86dee06f --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/_common/config.rb @@ -0,0 +1,14 @@ +# Compass CSS framework config file + +require 'susy' +# Require any additional compass plugins here. + +project_type = :stand_alone +# Set this to the root of your project when deployed: +http_path = "/susy/" +css_dir = "stylesheets" +sass_dir = "src" +images_dir = "images" +output_style = :compact +# To enable relative paths to assets via compass helper functions. Uncomment: +relative_assets = true diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/_common/images/grid.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/_common/images/grid.png new file mode 100644 index 00000000..a6d2ac7f Binary files /dev/null and b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/_common/images/grid.png differ diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/_common/images/susy_logo.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/_common/images/susy_logo.png new file mode 100644 index 00000000..81176804 Binary files /dev/null and b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/_common/images/susy_logo.png differ diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/_common/src/_base.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/_common/src/_base.sass new file mode 100644 index 00000000..3b86059b --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/_common/src/_base.sass @@ -0,0 +1,63 @@ +//** +// Susy: Fixed-Elastic-Fluid grids without all the math +// By: Eric A. Meyer and OddBird Collective +// Site: www.oddbird.net/susy/ +//** + +// GRID +// Set these values as needed for your grid layout. +// - defaults are shown. +!grid_unit = "em" +!total_cols = 10 +!col_width = 5 +!gutter_width = 2 +!side_gutter_width = 1 + + +// OMEGA_FLOAT +// By default, +omega elements are floated right. +// You can override that globally here: +// !omega_float = "right" + + +// HACKS +// Are you using hacks or conditional comments? Susy makes both possible. +// Leave this as 'true' to use hacks, set it as false for conditional comments. +// Conditional comments will require overrides for +omega, +inline-block and +// several other mixins. +// !hacks = true + + +// FONT-SIZE +// Override these values as needed (defaults are shown) +// - You set the font and line heights in pixels. +// - Susy will do the math and give you !base_font_size and !base_line_height +// variables, set flexibly against the common browser default of 16px +!base_font_size_px = 14 +!base_line_height_px = 21 + + +// SUSY +// Don't move this @import above the GRID and FONT-SIZE overrides. +@import susy/susy.sass + + +// COLORS +// Set any colors you will need later. +!text = #332016 +!light = #CC8866 +!links = #4CAAC0 + + +// FONTS +// Give yourself some font stacks to work with. +=sans-family + font-family: 'Futura Medium', 'Century Gothic', AppleGothic, sans-serif + +=serif-family + font-family: 'Adobe Caslon Pro', 'Big Caslon', Garamond, 'Hoefler Text', 'Times New Roman', Times, serif + + +// OTHER MIXINS +// Mixins set here will be available in defaults, screen, print and IE +// Or anywhere you import either base.sass or defaults.sass \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/_tools/Markdown.pl b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/_tools/Markdown.pl new file mode 100644 index 00000000..e4c8469d --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/_tools/Markdown.pl @@ -0,0 +1,1450 @@ +#!/usr/bin/perl + +# +# Markdown -- A text-to-HTML conversion tool for web writers +# +# Copyright (c) 2004 John Gruber +# +# + + +package Markdown; +require 5.006_000; +use strict; +use warnings; + +use Digest::MD5 qw(md5_hex); +use vars qw($VERSION); +$VERSION = '1.0.1'; +# Tue 14 Dec 2004 + +## Disabled; causes problems under Perl 5.6.1: +# use utf8; +# binmode( STDOUT, ":utf8" ); # c.f.: http://acis.openlib.org/dev/perl-unicode-struggle.html + + +# +# Global default settings: +# +my $g_empty_element_suffix = " />"; # Change to ">" for HTML output +my $g_tab_width = 4; + + +# +# Globals: +# + +# Regex to match balanced [brackets]. See Friedl's +# "Mastering Regular Expressions", 2nd Ed., pp. 328-331. +my $g_nested_brackets; +$g_nested_brackets = qr{ + (?> # Atomic matching + [^\[\]]+ # Anything other than brackets + | + \[ + (??{ $g_nested_brackets }) # Recursive set of nested brackets + \] + )* +}x; + + +# Table of hash values for escaped characters: +my %g_escape_table; +foreach my $char (split //, '\\`*_{}[]()>#+-.!') { + $g_escape_table{$char} = md5_hex($char); +} + + +# Global hashes, used by various utility routines +my %g_urls; +my %g_titles; +my %g_html_blocks; + +# Used to track when we're inside an ordered or unordered list +# (see _ProcessListItems() for details): +my $g_list_level = 0; + + +#### Blosxom plug-in interface ########################################## + +# Set $g_blosxom_use_meta to 1 to use Blosxom's meta plug-in to determine +# which posts Markdown should process, using a "meta-markup: markdown" +# header. If it's set to 0 (the default), Markdown will process all +# entries. +my $g_blosxom_use_meta = 0; + +sub start { 1; } +sub story { + my($pkg, $path, $filename, $story_ref, $title_ref, $body_ref) = @_; + + if ( (! $g_blosxom_use_meta) or + (defined($meta::markup) and ($meta::markup =~ /^\s*markdown\s*$/i)) + ){ + $$body_ref = Markdown($$body_ref); + } + 1; +} + + +#### Movable Type plug-in interface ##################################### +eval {require MT}; # Test to see if we're running in MT. +unless ($@) { + require MT; + import MT; + require MT::Template::Context; + import MT::Template::Context; + + eval {require MT::Plugin}; # Test to see if we're running >= MT 3.0. + unless ($@) { + require MT::Plugin; + import MT::Plugin; + my $plugin = new MT::Plugin({ + name => "Markdown", + description => "A plain-text-to-HTML formatting plugin. (Version: $VERSION)", + doc_link => 'http://daringfireball.net/projects/markdown/' + }); + MT->add_plugin( $plugin ); + } + + MT::Template::Context->add_container_tag(MarkdownOptions => sub { + my $ctx = shift; + my $args = shift; + my $builder = $ctx->stash('builder'); + my $tokens = $ctx->stash('tokens'); + + if (defined ($args->{'output'}) ) { + $ctx->stash('markdown_output', lc $args->{'output'}); + } + + defined (my $str = $builder->build($ctx, $tokens) ) + or return $ctx->error($builder->errstr); + $str; # return value + }); + + MT->add_text_filter('markdown' => { + label => 'Markdown', + docs => 'http://daringfireball.net/projects/markdown/', + on_format => sub { + my $text = shift; + my $ctx = shift; + my $raw = 0; + if (defined $ctx) { + my $output = $ctx->stash('markdown_output'); + if (defined $output && $output =~ m/^html/i) { + $g_empty_element_suffix = ">"; + $ctx->stash('markdown_output', ''); + } + elsif (defined $output && $output eq 'raw') { + $raw = 1; + $ctx->stash('markdown_output', ''); + } + else { + $raw = 0; + $g_empty_element_suffix = " />"; + } + } + $text = $raw ? $text : Markdown($text); + $text; + }, + }); + + # If SmartyPants is loaded, add a combo Markdown/SmartyPants text filter: + my $smartypants; + + { + no warnings "once"; + $smartypants = $MT::Template::Context::Global_filters{'smarty_pants'}; + } + + if ($smartypants) { + MT->add_text_filter('markdown_with_smartypants' => { + label => 'Markdown With SmartyPants', + docs => 'http://daringfireball.net/projects/markdown/', + on_format => sub { + my $text = shift; + my $ctx = shift; + if (defined $ctx) { + my $output = $ctx->stash('markdown_output'); + if (defined $output && $output eq 'html') { + $g_empty_element_suffix = ">"; + } + else { + $g_empty_element_suffix = " />"; + } + } + $text = Markdown($text); + $text = $smartypants->($text, '1'); + }, + }); + } +} +else { +#### BBEdit/command-line text filter interface ########################## +# Needs to be hidden from MT (and Blosxom when running in static mode). + + # We're only using $blosxom::version once; tell Perl not to warn us: + no warnings 'once'; + unless ( defined($blosxom::version) ) { + use warnings; + + #### Check for command-line switches: ################# + my %cli_opts; + use Getopt::Long; + Getopt::Long::Configure('pass_through'); + GetOptions(\%cli_opts, + 'version', + 'shortversion', + 'html4tags', + ); + if ($cli_opts{'version'}) { # Version info + print "\nThis is Markdown, version $VERSION.\n"; + print "Copyright 2004 John Gruber\n"; + print "http://daringfireball.net/projects/markdown/\n\n"; + exit 0; + } + if ($cli_opts{'shortversion'}) { # Just the version number string. + print $VERSION; + exit 0; + } + if ($cli_opts{'html4tags'}) { # Use HTML tag style instead of XHTML + $g_empty_element_suffix = ">"; + } + + + #### Process incoming text: ########################### + my $text; + { + local $/; # Slurp the whole file + $text = <>; + } + print Markdown($text); + } +} + + + +sub Markdown { +# +# Main function. The order in which other subs are called here is +# essential. Link and image substitutions need to happen before +# _EscapeSpecialChars(), so that any *'s or _'s in the +# and tags get encoded. +# + my $text = shift; + + # Clear the global hashes. If we don't clear these, you get conflicts + # from other articles when generating a page which contains more than + # one article (e.g. an index page that shows the N most recent + # articles): + %g_urls = (); + %g_titles = (); + %g_html_blocks = (); + + + # Standardize line endings: + $text =~ s{\r\n}{\n}g; # DOS to Unix + $text =~ s{\r}{\n}g; # Mac to Unix + + # Make sure $text ends with a couple of newlines: + $text .= "\n\n"; + + # Convert all tabs to spaces. + $text = _Detab($text); + + # Strip any lines consisting only of spaces and tabs. + # This makes subsequent regexen easier to write, because we can + # match consecutive blank lines with /\n+/ instead of something + # contorted like /[ \t]*\n+/ . + $text =~ s/^[ \t]+$//mg; + + # Turn block-level HTML blocks into hash entries + $text = _HashHTMLBlocks($text); + + # Strip link definitions, store in hashes. + $text = _StripLinkDefinitions($text); + + $text = _RunBlockGamut($text); + + $text = _UnescapeSpecialChars($text); + + return $text . "\n"; +} + + +sub _StripLinkDefinitions { +# +# Strips link definitions from text, stores the URLs and titles in +# hash references. +# + my $text = shift; + my $less_than_tab = $g_tab_width - 1; + + # Link defs are in the form: ^[id]: url "optional title" + while ($text =~ s{ + ^[ ]{0,$less_than_tab}\[(.+)\]: # id = $1 + [ \t]* + \n? # maybe *one* newline + [ \t]* + ? # url = $2 + [ \t]* + \n? # maybe one newline + [ \t]* + (?: + (?<=\s) # lookbehind for whitespace + ["(] + (.+?) # title = $3 + [")] + [ \t]* + )? # title is optional + (?:\n+|\Z) + } + {}mx) { + $g_urls{lc $1} = _EncodeAmpsAndAngles( $2 ); # Link IDs are case-insensitive + if ($3) { + $g_titles{lc $1} = $3; + $g_titles{lc $1} =~ s/"/"/g; + } + } + + return $text; +} + + +sub _HashHTMLBlocks { + my $text = shift; + my $less_than_tab = $g_tab_width - 1; + + # Hashify HTML blocks: + # We only want to do this for block-level HTML tags, such as headers, + # lists, and tables. That's because we still want to wrap

s around + # "paragraphs" that are wrapped in non-block-level tags, such as anchors, + # phrase emphasis, and spans. The list of tags we're looking for is + # hard-coded: + my $block_tags_a = qr/p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|ins|del/; + my $block_tags_b = qr/p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math/; + + # First, look for nested blocks, e.g.: + #

+ #
+ # tags for inner block must be indented. + #
+ #
+ # + # The outermost tags must start at the left margin for this to match, and + # the inner nested divs must be indented. + # We need to do this before the next, more liberal match, because the next + # match will start at the first `
` and stop at the first `
`. + $text =~ s{ + ( # save in $1 + ^ # start of line (with /m) + <($block_tags_a) # start tag = $2 + \b # word break + (.*\n)*? # any number of lines, minimally matching + # the matching end tag + [ \t]* # trailing spaces/tabs + (?=\n+|\Z) # followed by a newline or end of document + ) + }{ + my $key = md5_hex($1); + $g_html_blocks{$key} = $1; + "\n\n" . $key . "\n\n"; + }egmx; + + + # + # Now match more liberally, simply from `\n` to `\n` + # + $text =~ s{ + ( # save in $1 + ^ # start of line (with /m) + <($block_tags_b) # start tag = $2 + \b # word break + (.*\n)*? # any number of lines, minimally matching + .* # the matching end tag + [ \t]* # trailing spaces/tabs + (?=\n+|\Z) # followed by a newline or end of document + ) + }{ + my $key = md5_hex($1); + $g_html_blocks{$key} = $1; + "\n\n" . $key . "\n\n"; + }egmx; + # Special case just for
. It was easier to make a special case than + # to make the other regex more complicated. + $text =~ s{ + (?: + (?<=\n\n) # Starting after a blank line + | # or + \A\n? # the beginning of the doc + ) + ( # save in $1 + [ ]{0,$less_than_tab} + <(hr) # start tag = $2 + \b # word break + ([^<>])*? # + /?> # the matching end tag + [ \t]* + (?=\n{2,}|\Z) # followed by a blank line or end of document + ) + }{ + my $key = md5_hex($1); + $g_html_blocks{$key} = $1; + "\n\n" . $key . "\n\n"; + }egx; + + # Special case for standalone HTML comments: + $text =~ s{ + (?: + (?<=\n\n) # Starting after a blank line + | # or + \A\n? # the beginning of the doc + ) + ( # save in $1 + [ ]{0,$less_than_tab} + (?s: + + ) + [ \t]* + (?=\n{2,}|\Z) # followed by a blank line or end of document + ) + }{ + my $key = md5_hex($1); + $g_html_blocks{$key} = $1; + "\n\n" . $key . "\n\n"; + }egx; + + + return $text; +} + + +sub _RunBlockGamut { +# +# These are all the transformations that form block-level +# tags like paragraphs, headers, and list items. +# + my $text = shift; + + $text = _DoHeaders($text); + + # Do Horizontal Rules: + $text =~ s{^[ ]{0,2}([ ]?\*[ ]?){3,}[ \t]*$}{\n tags around block-level tags. + $text = _HashHTMLBlocks($text); + + $text = _FormParagraphs($text); + + return $text; +} + + +sub _RunSpanGamut { +# +# These are all the transformations that occur *within* block-level +# tags like paragraphs, headers, and list items. +# + my $text = shift; + + $text = _DoCodeSpans($text); + + $text = _EscapeSpecialChars($text); + + # Process anchor and image tags. Images must come first, + # because ![foo][f] looks like an anchor. + $text = _DoImages($text); + $text = _DoAnchors($text); + + # Make links out of things like `` + # Must come after _DoAnchors(), because you can use < and > + # delimiters in inline links like [this](). + $text = _DoAutoLinks($text); + + $text = _EncodeAmpsAndAngles($text); + + $text = _DoItalicsAndBold($text); + + # Do hard breaks: + $text =~ s/ {2,}\n/ or tags. +# my $tags_to_skip = qr!<(/?)(?:pre|code|kbd|script|math)[\s>]!; + + foreach my $cur_token (@$tokens) { + if ($cur_token->[0] eq "tag") { + # Within tags, encode * and _ so they don't conflict + # with their use in Markdown for italics and strong. + # We're replacing each such character with its + # corresponding MD5 checksum value; this is likely + # overkill, but it should prevent us from colliding + # with the escape values by accident. + $cur_token->[1] =~ s! \* !$g_escape_table{'*'}!gx; + $cur_token->[1] =~ s! _ !$g_escape_table{'_'}!gx; + $text .= $cur_token->[1]; + } else { + my $t = $cur_token->[1]; + $t = _EncodeBackslashEscapes($t); + $text .= $t; + } + } + return $text; +} + + +sub _DoAnchors { +# +# Turn Markdown link shortcuts into XHTML
tags. +# + my $text = shift; + + # + # First, handle reference-style links: [link text] [id] + # + $text =~ s{ + ( # wrap whole match in $1 + \[ + ($g_nested_brackets) # link text = $2 + \] + + [ ]? # one optional space + (?:\n[ ]*)? # one optional newline followed by spaces + + \[ + (.*?) # id = $3 + \] + ) + }{ + my $result; + my $whole_match = $1; + my $link_text = $2; + my $link_id = lc $3; + + if ($link_id eq "") { + $link_id = lc $link_text; # for shortcut links like [this][]. + } + + if (defined $g_urls{$link_id}) { + my $url = $g_urls{$link_id}; + $url =~ s! \* !$g_escape_table{'*'}!gx; # We've got to encode these to avoid + $url =~ s! _ !$g_escape_table{'_'}!gx; # conflicting with italics/bold. + $result = "? # href = $3 + [ \t]* + ( # $4 + (['"]) # quote char = $5 + (.*?) # Title = $6 + \5 # matching quote + )? # title is optional + \) + ) + }{ + my $result; + my $whole_match = $1; + my $link_text = $2; + my $url = $3; + my $title = $6; + + $url =~ s! \* !$g_escape_table{'*'}!gx; # We've got to encode these to avoid + $url =~ s! _ !$g_escape_table{'_'}!gx; # conflicting with italics/bold. + $result = " tags. +# + my $text = shift; + + # + # First, handle reference-style labeled images: ![alt text][id] + # + $text =~ s{ + ( # wrap whole match in $1 + !\[ + (.*?) # alt text = $2 + \] + + [ ]? # one optional space + (?:\n[ ]*)? # one optional newline followed by spaces + + \[ + (.*?) # id = $3 + \] + + ) + }{ + my $result; + my $whole_match = $1; + my $alt_text = $2; + my $link_id = lc $3; + + if ($link_id eq "") { + $link_id = lc $alt_text; # for shortcut links like ![this][]. + } + + $alt_text =~ s/"/"/g; + if (defined $g_urls{$link_id}) { + my $url = $g_urls{$link_id}; + $url =~ s! \* !$g_escape_table{'*'}!gx; # We've got to encode these to avoid + $url =~ s! _ !$g_escape_table{'_'}!gx; # conflicting with italics/bold. + $result = "\"$alt_text\"";? # src url = $3 + [ \t]* + ( # $4 + (['"]) # quote char = $5 + (.*?) # title = $6 + \5 # matching quote + [ \t]* + )? # title is optional + \) + ) + }{ + my $result; + my $whole_match = $1; + my $alt_text = $2; + my $url = $3; + my $title = ''; + if (defined($6)) { + $title = $6; + } + + $alt_text =~ s/"/"/g; + $title =~ s/"/"/g; + $url =~ s! \* !$g_escape_table{'*'}!gx; # We've got to encode these to avoid + $url =~ s! _ !$g_escape_table{'_'}!gx; # conflicting with italics/bold. + $result = "\"$alt_text\"";" . _RunSpanGamut($1) . "\n\n"; + }egmx; + + $text =~ s{ ^(.+)[ \t]*\n-+[ \t]*\n+ }{ + "

" . _RunSpanGamut($1) . "

\n\n"; + }egmx; + + + # atx-style headers: + # # Header 1 + # ## Header 2 + # ## Header 2 with closing hashes ## + # ... + # ###### Header 6 + # + $text =~ s{ + ^(\#{1,6}) # $1 = string of #'s + [ \t]* + (.+?) # $2 = Header text + [ \t]* + \#* # optional closing #'s (not counted) + \n+ + }{ + my $h_level = length($1); + "" . _RunSpanGamut($2) . "\n\n"; + }egmx; + + return $text; +} + + +sub _DoLists { +# +# Form HTML ordered (numbered) and unordered (bulleted) lists. +# + my $text = shift; + my $less_than_tab = $g_tab_width - 1; + + # Re-usable patterns to match list item bullets and number markers: + my $marker_ul = qr/[*+-]/; + my $marker_ol = qr/\d+[.]/; + my $marker_any = qr/(?:$marker_ul|$marker_ol)/; + + # Re-usable pattern to match any entirel ul or ol list: + my $whole_list = qr{ + ( # $1 = whole list + ( # $2 + [ ]{0,$less_than_tab} + (${marker_any}) # $3 = first list item marker + [ \t]+ + ) + (?s:.+?) + ( # $4 + \z + | + \n{2,} + (?=\S) + (?! # Negative lookahead for another list item marker + [ \t]* + ${marker_any}[ \t]+ + ) + ) + ) + }mx; + + # We use a different prefix before nested lists than top-level lists. + # See extended comment in _ProcessListItems(). + # + # Note: There's a bit of duplication here. My original implementation + # created a scalar regex pattern as the conditional result of the test on + # $g_list_level, and then only ran the $text =~ s{...}{...}egmx + # substitution once, using the scalar as the pattern. This worked, + # everywhere except when running under MT on my hosting account at Pair + # Networks. There, this caused all rebuilds to be killed by the reaper (or + # perhaps they crashed, but that seems incredibly unlikely given that the + # same script on the same server ran fine *except* under MT. I've spent + # more time trying to figure out why this is happening than I'd like to + # admit. My only guess, backed up by the fact that this workaround works, + # is that Perl optimizes the substition when it can figure out that the + # pattern will never change, and when this optimization isn't on, we run + # afoul of the reaper. Thus, the slightly redundant code to that uses two + # static s/// patterns rather than one conditional pattern. + + if ($g_list_level) { + $text =~ s{ + ^ + $whole_list + }{ + my $list = $1; + my $list_type = ($3 =~ m/$marker_ul/) ? "ul" : "ol"; + # Turn double returns into triple returns, so that we can make a + # paragraph for the last item in a list, if necessary: + $list =~ s/\n{2,}/\n\n\n/g; + my $result = _ProcessListItems($list, $marker_any); + $result = "<$list_type>\n" . $result . "\n"; + $result; + }egmx; + } + else { + $text =~ s{ + (?:(?<=\n\n)|\A\n?) + $whole_list + }{ + my $list = $1; + my $list_type = ($3 =~ m/$marker_ul/) ? "ul" : "ol"; + # Turn double returns into triple returns, so that we can make a + # paragraph for the last item in a list, if necessary: + $list =~ s/\n{2,}/\n\n\n/g; + my $result = _ProcessListItems($list, $marker_any); + $result = "<$list_type>\n" . $result . "\n"; + $result; + }egmx; + } + + + return $text; +} + + +sub _ProcessListItems { +# +# Process the contents of a single ordered or unordered list, splitting it +# into individual list items. +# + + my $list_str = shift; + my $marker_any = shift; + + + # The $g_list_level global keeps track of when we're inside a list. + # Each time we enter a list, we increment it; when we leave a list, + # we decrement. If it's zero, we're not in a list anymore. + # + # We do this because when we're not inside a list, we want to treat + # something like this: + # + # I recommend upgrading to version + # 8. Oops, now this line is treated + # as a sub-list. + # + # As a single paragraph, despite the fact that the second line starts + # with a digit-period-space sequence. + # + # Whereas when we're inside a list (or sub-list), that line will be + # treated as the start of a sub-list. What a kludge, huh? This is + # an aspect of Markdown's syntax that's hard to parse perfectly + # without resorting to mind-reading. Perhaps the solution is to + # change the syntax rules such that sub-lists must start with a + # starting cardinal number; e.g. "1." or "a.". + + $g_list_level++; + + # trim trailing blank lines: + $list_str =~ s/\n{2,}\z/\n/; + + + $list_str =~ s{ + (\n)? # leading line = $1 + (^[ \t]*) # leading whitespace = $2 + ($marker_any) [ \t]+ # list marker = $3 + ((?s:.+?) # list item text = $4 + (\n{1,2})) + (?= \n* (\z | \2 ($marker_any) [ \t]+)) + }{ + my $item = $4; + my $leading_line = $1; + my $leading_space = $2; + + if ($leading_line or ($item =~ m/\n{2,}/)) { + $item = _RunBlockGamut(_Outdent($item)); + } + else { + # Recursion for sub-lists: + $item = _DoLists(_Outdent($item)); + chomp $item; + $item = _RunSpanGamut($item); + } + + "
  • " . $item . "
  • \n"; + }egmx; + + $g_list_level--; + return $list_str; +} + + + +sub _DoCodeBlocks { +# +# Process Markdown `
    ` blocks.
    +#	
    +
    +	my $text = shift;
    +
    +	$text =~ s{
    +			(?:\n\n|\A)
    +			(	            # $1 = the code block -- one or more lines, starting with a space/tab
    +			  (?:
    +			    (?:[ ]{$g_tab_width} | \t)  # Lines must start with a tab or a tab-width of spaces
    +			    .*\n+
    +			  )+
    +			)
    +			((?=^[ ]{0,$g_tab_width}\S)|\Z)	# Lookahead for non-space at line-start, or end of doc
    +		}{
    +			my $codeblock = $1;
    +			my $result; # return value
    +
    +			$codeblock = _EncodeCode(_Outdent($codeblock));
    +			$codeblock = _Detab($codeblock);
    +			$codeblock =~ s/\A\n+//; # trim leading newlines
    +			$codeblock =~ s/\s+\z//; # trim trailing whitespace
    +
    +			$result = "\n\n
    " . $codeblock . "\n
    \n\n"; + + $result; + }egmx; + + return $text; +} + + +sub _DoCodeSpans { +# +# * Backtick quotes are used for spans. +# +# * You can use multiple backticks as the delimiters if you want to +# include literal backticks in the code span. So, this input: +# +# Just type ``foo `bar` baz`` at the prompt. +# +# Will translate to: +# +#

    Just type foo `bar` baz at the prompt.

    +# +# There's no arbitrary limit to the number of backticks you +# can use as delimters. If you need three consecutive backticks +# in your code, use four for delimiters, etc. +# +# * You can use spaces to get literal backticks at the edges: +# +# ... type `` `bar` `` ... +# +# Turns to: +# +# ... type `bar` ... +# + + my $text = shift; + + $text =~ s@ + (`+) # $1 = Opening run of ` + (.+?) # $2 = The code block + (?$c
    "; + @egsx; + + return $text; +} + + +sub _EncodeCode { +# +# Encode/escape certain characters inside Markdown code runs. +# The point is that in code, these characters are literals, +# and lose their special Markdown meanings. +# + local $_ = shift; + + # Encode all ampersands; HTML entities are not + # entities within a Markdown code span. + s/&/&/g; + + # Encode $'s, but only if we're running under Blosxom. + # (Blosxom interpolates Perl variables in article bodies.) + { + no warnings 'once'; + if (defined($blosxom::version)) { + s/\$/$/g; + } + } + + + # Do the angle bracket song and dance: + s! < !<!gx; + s! > !>!gx; + + # Now, escape characters that are magic in Markdown: + s! \* !$g_escape_table{'*'}!gx; + s! _ !$g_escape_table{'_'}!gx; + s! { !$g_escape_table{'{'}!gx; + s! } !$g_escape_table{'}'}!gx; + s! \[ !$g_escape_table{'['}!gx; + s! \] !$g_escape_table{']'}!gx; + s! \\ !$g_escape_table{'\\'}!gx; + + return $_; +} + + +sub _DoItalicsAndBold { + my $text = shift; + + # must go first: + $text =~ s{ (\*\*|__) (?=\S) (.+?[*_]*) (?<=\S) \1 } + {$2}gsx; + + $text =~ s{ (\*|_) (?=\S) (.+?) (?<=\S) \1 } + {$2}gsx; + + return $text; +} + + +sub _DoBlockQuotes { + my $text = shift; + + $text =~ s{ + ( # Wrap whole match in $1 + ( + ^[ \t]*>[ \t]? # '>' at the start of a line + .+\n # rest of the first line + (.+\n)* # subsequent consecutive lines + \n* # blanks + )+ + ) + }{ + my $bq = $1; + $bq =~ s/^[ \t]*>[ \t]?//gm; # trim one level of quoting + $bq =~ s/^[ \t]+$//mg; # trim whitespace-only lines + $bq = _RunBlockGamut($bq); # recurse + + $bq =~ s/^/ /g; + # These leading spaces screw with
     content, so we need to fix that:
    +			$bq =~ s{
    +					(\s*
    .+?
    ) + }{ + my $pre = $1; + $pre =~ s/^ //mg; + $pre; + }egsx; + + "
    \n$bq\n
    \n\n"; + }egmx; + + + return $text; +} + + +sub _FormParagraphs { +# +# Params: +# $text - string to process with html

    tags +# + my $text = shift; + + # Strip leading and trailing lines: + $text =~ s/\A\n+//; + $text =~ s/\n+\z//; + + my @grafs = split(/\n{2,}/, $text); + + # + # Wrap

    tags. + # + foreach (@grafs) { + unless (defined( $g_html_blocks{$_} )) { + $_ = _RunSpanGamut($_); + s/^([ \t]*)/

    /; + $_ .= "

    "; + } + } + + # + # Unhashify HTML blocks + # + foreach (@grafs) { + if (defined( $g_html_blocks{$_} )) { + $_ = $g_html_blocks{$_}; + } + } + + return join "\n\n", @grafs; +} + + +sub _EncodeAmpsAndAngles { +# Smart processing for ampersands and angle brackets that need to be encoded. + + my $text = shift; + + # Ampersand-encoding based entirely on Nat Irons's Amputator MT plugin: + # http://bumppo.net/projects/amputator/ + $text =~ s/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/&/g; + + # Encode naked <'s + $text =~ s{<(?![a-z/?\$!])}{<}gi; + + return $text; +} + + +sub _EncodeBackslashEscapes { +# +# Parameter: String. +# Returns: The string, with after processing the following backslash +# escape sequences. +# + local $_ = shift; + + s! \\\\ !$g_escape_table{'\\'}!gx; # Must process escaped backslashes first. + s! \\` !$g_escape_table{'`'}!gx; + s! \\\* !$g_escape_table{'*'}!gx; + s! \\_ !$g_escape_table{'_'}!gx; + s! \\\{ !$g_escape_table{'{'}!gx; + s! \\\} !$g_escape_table{'}'}!gx; + s! \\\[ !$g_escape_table{'['}!gx; + s! \\\] !$g_escape_table{']'}!gx; + s! \\\( !$g_escape_table{'('}!gx; + s! \\\) !$g_escape_table{')'}!gx; + s! \\> !$g_escape_table{'>'}!gx; + s! \\\# !$g_escape_table{'#'}!gx; + s! \\\+ !$g_escape_table{'+'}!gx; + s! \\\- !$g_escape_table{'-'}!gx; + s! \\\. !$g_escape_table{'.'}!gx; + s{ \\! }{$g_escape_table{'!'}}gx; + + return $_; +} + + +sub _DoAutoLinks { + my $text = shift; + + $text =~ s{<((https?|ftp):[^'">\s]+)>}{
    $1}gi; + + # Email addresses: + $text =~ s{ + < + (?:mailto:)? + ( + [-.\w]+ + \@ + [-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+ + ) + > + }{ + _EncodeEmailAddress( _UnescapeSpecialChars($1) ); + }egix; + + return $text; +} + + +sub _EncodeEmailAddress { +# +# Input: an email address, e.g. "foo@example.com" +# +# Output: the email address as a mailto link, with each character +# of the address encoded as either a decimal or hex entity, in +# the hopes of foiling most address harvesting spam bots. E.g.: +# +# foo +# @example.com +# +# Based on a filter by Matthew Wickline, posted to the BBEdit-Talk +# mailing list: +# + + my $addr = shift; + + srand; + my @encode = ( + sub { '&#' . ord(shift) . ';' }, + sub { '&#x' . sprintf( "%X", ord(shift) ) . ';' }, + sub { shift }, + ); + + $addr = "mailto:" . $addr; + + $addr =~ s{(.)}{ + my $char = $1; + if ( $char eq '@' ) { + # this *must* be encoded. I insist. + $char = $encode[int rand 1]->($char); + } elsif ( $char ne ':' ) { + # leave ':' alone (to spot mailto: later) + my $r = rand; + # roughly 10% raw, 45% hex, 45% dec + $char = ( + $r > .9 ? $encode[2]->($char) : + $r < .45 ? $encode[1]->($char) : + $encode[0]->($char) + ); + } + $char; + }gex; + + $addr = qq{$addr}; + $addr =~ s{">.+?:}{">}; # strip the mailto: from the visible part + + return $addr; +} + + +sub _UnescapeSpecialChars { +# +# Swap back in all the special characters we've hidden. +# + my $text = shift; + + while( my($char, $hash) = each(%g_escape_table) ) { + $text =~ s/$hash/$char/g; + } + return $text; +} + + +sub _TokenizeHTML { +# +# Parameter: String containing HTML markup. +# Returns: Reference to an array of the tokens comprising the input +# string. Each token is either a tag (possibly with nested, +# tags contained therein, such as , or a +# run of text between tags. Each element of the array is a +# two-element array; the first is either 'tag' or 'text'; +# the second is the actual value. +# +# +# Derived from the _tokenize() subroutine from Brad Choate's MTRegex plugin. +# +# + + my $str = shift; + my $pos = 0; + my $len = length $str; + my @tokens; + + my $depth = 6; + my $nested_tags = join('|', ('(?:<[a-z/!$](?:[^<>]') x $depth) . (')*>)' x $depth); + my $match = qr/(?s: ) | # comment + (?s: <\? .*? \?> ) | # processing instruction + $nested_tags/ix; # nested tags + + while ($str =~ m/($match)/g) { + my $whole_tag = $1; + my $sec_start = pos $str; + my $tag_start = $sec_start - length $whole_tag; + if ($pos < $tag_start) { + push @tokens, ['text', substr($str, $pos, $tag_start - $pos)]; + } + push @tokens, ['tag', $whole_tag]; + $pos = pos $str; + } + push @tokens, ['text', substr($str, $pos, $len - $pos)] if $pos < $len; + \@tokens; +} + + +sub _Outdent { +# +# Remove one level of line-leading tabs or spaces +# + my $text = shift; + + $text =~ s/^(\t|[ ]{1,$g_tab_width})//gm; + return $text; +} + + +sub _Detab { +# +# Cribbed from a post by Bart Lateur: +# +# + my $text = shift; + + $text =~ s{(.*?)\t}{$1.(' ' x ($g_tab_width - length($1) % $g_tab_width))}ge; + return $text; +} + + +1; + +__END__ + + +=pod + +=head1 NAME + +B + + +=head1 SYNOPSIS + +B [ B<--html4tags> ] [ B<--version> ] [ B<-shortversion> ] + [ I ... ] + + +=head1 DESCRIPTION + +Markdown is a text-to-HTML filter; it translates an easy-to-read / +easy-to-write structured text format into HTML. Markdown's text format +is most similar to that of plain text email, and supports features such +as headers, *emphasis*, code blocks, blockquotes, and links. + +Markdown's syntax is designed not as a generic markup language, but +specifically to serve as a front-end to (X)HTML. You can use span-level +HTML tags anywhere in a Markdown document, and you can use block level +HTML tags (like
    and as well). + +For more information about Markdown's syntax, see: + + http://daringfireball.net/projects/markdown/ + + +=head1 OPTIONS + +Use "--" to end switch parsing. For example, to open a file named "-z", use: + + Markdown.pl -- -z + +=over 4 + + +=item B<--html4tags> + +Use HTML 4 style for empty element tags, e.g.: + +
    + +instead of Markdown's default XHTML style tags, e.g.: + +
    + + +=item B<-v>, B<--version> + +Display Markdown's version number and copyright information. + + +=item B<-s>, B<--shortversion> + +Display the short-form version number. + + +=back + + + +=head1 BUGS + +To file bug reports or feature requests (other than topics listed in the +Caveats section above) please send email to: + + support@daringfireball.net + +Please include with your report: (1) the example input; (2) the output +you expected; (3) the output Markdown actually produced. + + +=head1 VERSION HISTORY + +See the readme file for detailed release notes for this version. + +1.0.1 - 14 Dec 2004 + +1.0 - 28 Aug 2004 + + +=head1 AUTHOR + + John Gruber + http://daringfireball.net + + PHP port and other contributions by Michel Fortin + http://michelf.com + + +=head1 COPYRIGHT AND LICENSE + +Copyright (c) 2003-2004 John Gruber + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +* Neither the name "Markdown" nor the names of its contributors may + be used to endorse or promote products derived from this software + without specific prior written permission. + +This software is provided by the copyright holders and contributors "as +is" and any express or implied warranties, including, but not limited +to, the implied warranties of merchantability and fitness for a +particular purpose are disclaimed. In no event shall the copyright owner +or contributors be liable for any direct, indirect, incidental, special, +exemplary, or consequential damages (including, but not limited to, +procurement of substitute goods or services; loss of use, data, or +profits; or business interruption) however caused and on any theory of +liability, whether in contract, strict liability, or tort (including +negligence or otherwise) arising in any way out of the use of this +software, even if advised of the possibility of such damage. + +=cut diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/site/src/_defaults.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/site/src/_defaults.sass new file mode 100644 index 00000000..b34924af --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/site/src/_defaults.sass @@ -0,0 +1,100 @@ +//** DEFAULT STYLES **// +// Don't forget to set your default styles. + + +// Get all the details and mixins from base.sass +@import base.sass +// Reset browser defaults, and prepare block-level HTML5 elements +@import susy/reset.sass + + +/* @group defaults */ + + +/* @group links */ + +\:focus + outline: 1px dotted + +a + &:link, &:visited + color= !links + text-decoration: none + &:focus, &:hover, &:active + color= !light + border-bottom: + width= px2em(2) + "em" + style: dashed + +/* @end */ + + +/* @group headers */ + +h1 + +serif-family + text-transform: lowercase + font-size: 3em + line-height: 1 + font-weight: bold + color= !links + +h2 + font-weight: bold + text-transform: uppercase + +/* @end */ + + +/* @group block tags */ +p + margin: 0 0 1.5em 0 + +pre + border-left= ".5em solid" !light + margin: 0 0 1.5em 0 + padding: 1.5em + +=list-default(!ol = false) + @if !ol + list-style: decimal + margin: 0 1.5em 1.5em 1.5em + @else + list-style: disc + margin: 0 1.5em 1.5em 1.5em + +ol + +list-default("ol") + +ul + +list-default + +/* @end */ + + +/* @group inline tags */ + +em + font-style: italic + +strong + font-weight: bold + +ins + text-decoration: underline + +del + text-decoration: line-through + +/* @end */ + + +/* @group replaced tags */ + +img + vertical-align: bottom + +/* @end */ + + +/* @end */ \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/site/src/screen.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/site/src/screen.sass new file mode 100644 index 00000000..c1e87a98 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/code/site/src/screen.sass @@ -0,0 +1,91 @@ +/* + Welcome to Susy. Use this file to define screen styles. + Import this file using the following HTML or equivalent: + + + +@import defaults.sass + + +/* @group STRUCTURE */ + +body + +susy + +#page + +container + +sans-family + color= !text + +#brand + +full + +pad(1,1) + margin: + top: 3em + bottom: 1.5em + h1 a + +full(8) + +pad(1,2,8) + display: block + +replace-text("susy_logo.png", "left") + height: 105px + &:focus, &:hover, &:active + border-bottom: 0 + +#site-nav + +columns(2) + +alpha + ul + +no-bullets + margin: 0 + text-align: right + font-weight: bold + +#content + +columns(8) + +omega + margin-bottom: 3em + #description + +columns(5,8) + #credit + +columns(3,8) + +omega(8) + color= !light + +#contentinfo + +full + +prefix(2) + padding: + top: .5em + bottom: .75em + border-top: + width: .25em + style: dashed + color= !light + +serif-family + font-style: italic + color= !light + p + margin: 0 + &.license + +columns(5,8) + +alpha(8) + &.styles + +columns(3,8) + +omega(8) + text-align: right + a:link, a:visited + color= !light + font-weight: bold + +.tutorial + #content + margin-bottom: 3em + li + margin-bottom: 1.5em + code + font-size: 1.25em + font-family: monospace + color= !light + +/* @end */ \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/figures/susy_element.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/figures/susy_element.png new file mode 100644 index 00000000..50122f1f Binary files /dev/null and b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/figures/susy_element.png differ diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/figures/susy_grid.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/figures/susy_grid.png new file mode 100644 index 00000000..41d9dd00 Binary files /dev/null and b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/figures/susy_grid.png differ diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/index.mkdn b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/index.mkdn new file mode 100644 index 00000000..3923cb56 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/docs/tutorial/index.mkdn @@ -0,0 +1,301 @@ +Susy Tutorial +============= + +Once you've [installed +everything](http://github.com/ericam/compass-susy-plugin/tree/master) we can +start building our grid. I'll walk you through the steps. I'm starting with +the assumption that you already know CSS and the Compass/Sass syntax. If you +don't, check out [Chris Eppstein's great +intro](http://wiki.github.com/chriseppstein/compass). + +For a brief overview of Susy's philosophy and goals, see [the +README](http://github.com/ericam/compass-susy-plugin/tree/master#readme). + +On Susy's Terms +--------------- + +Here are the terms to understand for following along and using Susy: + +* There is always a **container** element that wraps the page. This container + will act as our elastic shell. The **container** also represents a grid + structure made up of **columns**, **gutters** between the columns, and + **side gutters** on the outside edges of the grid. + + [![The Susy Grid](figures/susy_grid.png)](figures/susy_grid.png) + +* The base **context** is the number of columns in your grid system, and any + direct children of the **container** will use that base as their + **context**. However, as you continue to nest elements within each other + that context will change. Just remember that the **context** is always the + number of columns spanned by the parent element. + +* There are any number of **grid elements** making up the structure of our + site, nested within the **container**. Each grid element has a width that + spans any number of **columns** along with the **gutters** between those + columns (number of columns minus one), and a right-margin that represents + the gutter to the right of it. + + [![The Susy Grid Element](figures/susy_element.png)](figures/susy_element.png) + +* A **grid element** might also include a **prefix** and/or **suffix** added + as padding on either side. Any **prefix** or **suffix** will span the number + of **columns** given as argument, as well as all associated **gutters** (in + this case the same number of gutters as columns). + +* Any **grid elements** that span the first or last columns in any given + context will sometimes need to handle gutters in special ways. These will be + referred to as the **alpha** and **omega** elements. One element that spans + an entire context (a header or footer perhaps) may be both **alpha** and + **omega**. + +Customizing your Grid System +---------------------------- + +So let's get started. We're going to build a website for Susy. [This +website](http://www.oddbird.net/susy/). It's a simple site but it covers +everything you need to get started on your own. + +Create yourself a Compass project using Susy: + + compass -r susy -f susy susy_tutorial + +Inside the susy_tutorial directory, create an `index.html` file. You can [grab +my source](01_target/index.html). + +Start in your `_base.sass` file (in the `src` directory). That's where you set +all your defaults. + +To create a grid, set the `!grid_unit` (units that your grid is based in), +`!total_cols` (total number of columns in your grid), `!col_width` (width of +columns), `!gutter_width` (width of gutters), and `!side_gutter_width` (width +of side gutters) variables. + +The default values are 12 columns, 4em column widths, 1em gutters and side +gutters that match the internal ones. But we want a 10 column grid, with 5em +columns, 2em gutters and 1em side-gutters. + +Take a look at our target site again, this time [with a grid +overlay](01_target/). + +So we'll set our grid like this: + + !grid_unit = "em" + !total_cols = 10 + !col_width = 5 + !gutter_width = 2 + !side_gutter_width = 1 + +Of course, designing in em's, we'll want to get your font sizes set to make +this all meaningful. Do that by assigning a pixel value (without the units) to +`!base_font_size_px` and `!base_line_height_px`. Susy will convert those to a +percentage of the common browser default (16px) and apply them to your grid. + +The default values here are 16px fonts with an 24px line-height. For us: + + !base_font_size_px = 14 + !base_line_height_px = 21 + +`_base.sass` also has everything you need for setting default font families, +colors and mixins to reuse throughout. From there you should head over to +`_defaults.sass` to set default styles for all those elements that ought have +a default (but don't because of the reset). We're going to skip that for now +and play with the fun toys. You can look around at the other defaults and set +what you like, or juse [use](../src/_base.sass) [mine](../src/_defaults.sass). + + +Making Semantic Grids +--------------------- + +First the explanation: + +* Use the `+susy` mixin to get things ready, set your base font sizes and + center your grid in the browser window. Change the alignment of your grid in + the window with an optional `left | center | right` argument. + +* Use the `+container` mixin to declare your container element. Besides + building the grid shell, this sets your horizontal margins to auto (for + centered designs) and returns your text-alignment to "left". Change the + internal text alignment with an optional `left | center | right` argument. + +* Use the `+columns` mixin to set the width (in columns) of a grid element. + The first argument is the number of columns to span, the second (optional) + argument is the width (in columns) of the containing element when nesting. + If the element is not nested (its parent is the grid container), don't pass + a second argument. For an element that will span the full width (including + prefix and suffix), you can simply use `+full`, which takes one argument + of the context (in columns) when nested. + +* Use the `+alpha` and `+omega` mixins to declare the first and last elements + in a row. In a nested context `+omega` takes one argument repesenting its + context. `+omega` also floats an element right by default. You can change + !omega_float to override that default. `+alpha` is only needed in the very + top level, and does nothing in nested contexts. Neither one is needed on a + `+full` element. + +* Use the `+prefix` and `+suffix` mixins with one argument to add that many + grid columns as padding before or after a grid element. These mixins also + take an optional second argument, the size in columns of the containing + element when nested. + +Then we do it. In `screen.sass`, we'll start by declaring our intent to use +Susy, and our container: + + body + +susy + + #page + +container + +That wasn't hard. You might ask why I didn't nest `#page` inside of `body`, as +is so tempting and easy with Sass. It's part personal preference and part +Natalie Downe's voice in my head. Don't nest when you don't need to. It keeps +your output code much cleaner. + +Take a look at [the results](02_container/). So far we have: + +* Replaced browser defaults with our own. This happens automatically in the + background, thanks to `_defaults.sass`. + +* Created an elastic container for our grid at 70em that goes fluid for small + windows (try it!). + + +Laying Out The Components +-------------------------- + +It's time to lay out our grid components. We'll just work our way through the +HTML, starting with our brand header (#brand). We can refer back to our [target +site with a grid overlay](01_target/) to see what we need. Looks like our +branding gets an entire row to itself, with the content starting one row +in. For the sake of argument, let's say we want the header content contained +within the middle 8 columns - one in from each end. That means it will be an 8 +column element, with 1 column prefixed and one suffixed, for a total of 10 +columns - the full width. + + #brand + +columns(8) + +prefix(1) + +suffix(1) + +Since it spans both the first and last columns in the context we'll need to +add: + + +alpha + +omega + +Or we would have to, but there are several shortcuts available to us. To +declare something as full-width (both alpha and omega) we can just declare it +as full: + + +full + +There is also a shorcut for prefix and suffix additions (+pad), so we can +simplify down to: + + #brand + +full + +pad(1,1) + +Since we don't have an image in there yet, let's move the text over to line up +with the future placement of our main content area. By turning the `h1` link +into a grid element and prefixing a padding of one column, we can move the +text without any effect on the image that will replace it (using the Compass +utility `+replace-text`, though I'll leave the implementation of that as an +exercise for the reader). To line it all up with the content below it, we'll +assign it 5 columns in a context of 8, with the extra 3 split between a prefix +of 1 and a suffix of 2 - giving it a full span again. This time we are nested +and need to supply the context. + + h1 a + +full(8) + +pad(1,2,8) + +Note: when not nested, you *must not declare a context*. If you +do, your side-gutters will be ignored. At every nested layer below that, even +if the context hasn't changed, you *must declare a context* or it will try to +add side-gutters again. That means even if you have one nested element +wrapping the rest at full width and not changing the context, that wrapper +does not get a context but its descendants do, even where that context is the +same as the full page. + +For example, these *will not work*: + + /*because context is declared at the top level:*/ + #page + +container + + .inner + +columns(8,10) + + /*because context is not declared in a nested level:*/ + #page + +container + + .inner + +columns(10) + #brand + +columns(10) + +This *will work*: + + #page + +container + + .inner + +columns(10) + #brand + +columns(8,10) + +We're only worried about structure for now, so the header is done. Let's move +on to the navigation (#site-nav). The nav spans 2 columns, including the first +column in it's context. + + #site-nav + +columns(2) + +alpha + +Done. The #content (which includes both #description and #credit) +spans the remaining 8 columns, including the last one. + + #content + +columns(8) + +omega + +Done. #description spans 5; #credit spans 3 including the last. Both are in a +nested context of 8, which we now need to pass on: + + #description + +columns(5,8) + + #credit + +columns(3,8) + +omega(8) + +Done and done. All we have left is the footer (#contentinfo) spanning the full +width, but with two blank columns on the left: + + #contentinfo + +full + +prefix(2) + +Nested in the footer are `.license` and `.styles`, so let's put them in place. +I'm going to say that each should match the width of the element visually +above it on the page. So .license will span 5 columns in its context of 8, and +.styles will span 3 including the last. + + p.license + +columns(5,8) + p.styles + +columns(3,8) + +omega(8) + +And we're done. That's it. That's what Susy does. The details of making it +pretty are an exercise for the reader, and have more to do with Compass than +Susy. + +* [The resulting files](03_structure/src/) with [the site structure all in + place](03_structure/) (this should match what you have if you followed + along). + +* [My final styles](../src/) for [the site](http://www.oddbird.net/susy/). + diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/lib/susy.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/lib/susy.rb new file mode 100644 index 00000000..334a8f24 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/lib/susy.rb @@ -0,0 +1,2 @@ +require File.join(File.dirname(__FILE__), 'susy', 'compass_plugin') +require File.join(File.dirname(__FILE__), 'susy', 'sass_extensions') diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/lib/susy/compass_plugin.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/lib/susy/compass_plugin.rb new file mode 100644 index 00000000..24c21249 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/lib/susy/compass_plugin.rb @@ -0,0 +1,5 @@ +options = Hash.new +options[:stylesheets_directory] = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'sass')) +options[:templates_directory] = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'templates')) + +Compass::Frameworks.register('susy', options) diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/lib/susy/sass_extensions.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/lib/susy/sass_extensions.rb new file mode 100644 index 00000000..4d7ff766 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/lib/susy/sass_extensions.rb @@ -0,0 +1,79 @@ +require 'sass' + +module Sass::Script::Functions + # set the Susy base font size (in pixels) + # return the percentage base font size + # this could be done in Sass, but we need to store the px_size so we + # can provide a px_to_em function + def base_font_size(base_font_size_px) + @@susy_base_font_size_px = Float(base_font_size_px.value) + Sass::Script::Number.new((@@susy_base_font_size_px / 16) * 100) + end + + # approximate a given pixel size in ems + def px2em(size_in_px) + Sass::Script::Number.new((size_in_px.value / @@susy_base_font_size_px)) + end + + # set the Susy column and gutter widths and number of columns + # column, gutter and padding widths should be sent as unitless numbers, + # though they may "really" be ems or pixels (_grid.sass handles units). + # return total width of container (without units) + def container(total_columns, column_width, gutter_width, side_gutter_width) + @@susy_total_columns = total_columns.value + @@susy_column_width = Float(column_width.value) + @@susy_gutter_width = Float(gutter_width.value) + @@susy_side_gutter_width = Float(side_gutter_width.value) + context + end + + # return the width of 'n' columns plus 'n - 1' gutters + # plus page padding in non-nested contexts + def context(n = nil) + begin + n = n.value + rescue NoMethodError + n = false + end + sg = 0 + if !n + n = @@susy_total_columns + sg = @@susy_side_gutter_width + end + c, g = [@@susy_column_width, @@susy_gutter_width] + Sass::Script::Number.new(((n * c) + ((n - 1) * g)) + (sg * 2)) + end + + # return the percentage width of 'number' columns in a context of + # 'context_columns' + def columns(number, context_columns = nil) + n = number.value + context_width = context(context_columns).value + c, g = [@@susy_column_width, @@susy_gutter_width] + Sass::Script::Number.new((((n * c) + ((n - 1) * g)) / context_width) * 100) + end + + # return the percentage width of a single gutter in a context of + # 'context_columns' + def gutter(context_columns = nil) + context_width = context(context_columns).value + g = @@susy_gutter_width + Sass::Script::Number.new((g / context_width) * 100) + end + + # return the percentage width of a single side gutter in a context of + # 'context_columns' + def side_gutter(context_columns = nil) + context_width = context(context_columns).value + sg = @@susy_side_gutter_width + Sass::Script::Number.new((sg / context_width) * 100) + end + + # return the percentage width of a single column in a context of + # 'context_columns' + def column(context_columns = nil) + context_width = context(context_columns).value + c = @@susy_column_width + Sass::Script::Number.new((c / context_width) * 100) + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/sass/susy/_grid.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/sass/susy/_grid.sass new file mode 100644 index 00000000..8f55a779 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/sass/susy/_grid.sass @@ -0,0 +1,128 @@ +//** The Susy Grid **// +// Updated 11.20.2009 by Eric A. Meyer + + +// Your basic settings for the grid. +// Override these in base.sass to customize your site. +// The grid_unit will be used for col_width, gutter_width and side_gutter_width +!grid_unit ||= "em" +!total_cols ||= 12 +!col_width ||= 4 +!gutter_width ||= 1 +!side_gutter_width ||= !gutter_width + + +// Susy will set your outer shell based on the variables above. +!container_width = container(!total_cols, !col_width, !gutter_width, !side_gutter_width) + + +// Set on the outer grid-containing element(s). +=container(!align = "left") + // clear all floated columns + +clearfix + // align the text back to the left (override for other alignments) + text-align= !align + // use auto horizontal margins to center your page in the body + margin: + left: auto + right: auto + // set the page width based on column settings + width= !container_width + !grid_unit + // never exceed 100% of the browser window (no side-scrolling) + max-width: 100% + + +// Set on any column element, even nested ones. +// The first agument [required] is the number of columns to span. +// The second argument is the context (columns spanned by parent). +// - Context is required on any nested elements. +// - Context MUST NOT be declared on a top-level element. +// By default a grid-column is floated left with a right gutter. +// - Override those with +float("right"), +alpha or +omega +=columns(!n, !context = false) + // the column is floated left + +float("left") + // the width of the column is set as a percentage of the context + width= columns(!n, !context) + "%" + // the right gutter is added as a percentage of the context + margin-right= gutter(!context) + "%" + + +// Set on any element to add empty colums as padding before or after. +=prefix(!n, !context = false) + padding-left= columns(!n, !context) + gutter(!context) + "%" + +=suffix(!n, !context = false) + padding-right= columns(!n, !context) + gutter(!context) + "%" + + +// Set as a shortcut for both prefix and suffix. +=pad(!p = 0, !s = 0, !c = false) + @if !p != 0 + +prefix(!p,!c) + @if !s != 0 + +suffix(!s,!c) + + +// Set on any element spanning the first column in non-nested context +// to take side-gutters into account. Recommended that you pass the +// actual nested contexts (when nested) rather than a true/false argument +// for the sake of consistency. Effect is the same. +=alpha(!nested = false) + @if !nested == false + margin-left= side_gutter() + "%" + + +// When global constant !hacks == true: +// - this will be called automatically with hacks +// When global constant !hacks == false: +// - you can call it yourself in ie.sass without the hacks +=ie-omega(!nested = false, !dir = "right", !hack = false) + !s = side_gutter() + @if !dir == "right" + @if !hack + #margin-left: -1% + @else + margin-left: -1% + @else + @if !nested + @if !hack + #margin-right: -1% + @else + margin-right: -1% + @else + @if !hack + #margin-right= !s - 1 + "%" + @else + margin-right= !s - 1 + "%" + + +// Sets the direction that +omega elements are floated +// - Override !omega_float globally or set +float locally to change +!omega_float ||= "right" + + +// Set omega on the last element of a row to take side-gutters +// and the page edge into account. Set the !nested argument for nested columns. +// It is recommended that you pass the actual nested context when nested, +// rather than a true/false argument, for the sake of consistency. Effect is the same. +=omega(!nested = false) + +float(!omega_float) + @if !nested + margin-right: 0 + @else + margin-right= side_gutter() + "%" + @if !hacks + /* ugly hacks for IE6-7 */ + +ie-omega(!nested, !omega_float, true) + /* end ugly hacks */ + + +// Set on an element that will span it's entire context. +// - no need for +columns, +alpha or +omega on a +full element. +=full(!nested = false) + clear: both + @if !nested == false + !s = side_gutter() + "%" + margin-right= !s + margin-left= !s \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/sass/susy/_reset.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/sass/susy/_reset.sass new file mode 100644 index 00000000..5cad130d --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/sass/susy/_reset.sass @@ -0,0 +1,7 @@ +/* @group reset */ +@import compass/reset.sass + +// HTML5 block-level elements need some help too. +article, aside, dialog, figure, footer, header, hgroup, menu, nav, section + display: block +/* @end */ \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/sass/susy/_susy.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/sass/susy/_susy.sass new file mode 100644 index 00000000..3d32c04a --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/sass/susy/_susy.sass @@ -0,0 +1,23 @@ +//** Susy **// +// Updated 11.20.2009 by Eric A. Meyer + + +// Tell susy whether you are using hacks or conditional comments. +!hacks ||= true + + +// Import all the Important Stuff. +@import utils.sass +@import text.sass +@import grid.sass + + +// Set Susy on your BODY element to get things started. +=susy(!align = "center") + // text-align set to center by default for auto-centering layouts + // - override !align for left/right-aligned designs + text-align= !align + // font size is set against the browser default (usually 16px) + font-size= !base_font_size + line-height= !base_line_height + diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/sass/susy/_text.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/sass/susy/_text.sass new file mode 100644 index 00000000..5e1e4c49 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/sass/susy/_text.sass @@ -0,0 +1,15 @@ +//** Susy Text Settings **// +// Updated 11.20.2009 by Eric A. Meyer + + +// The font size and line height are declared in pixels. +// You override these default settings in base.sass +!base_font_size_px ||= 16 +!base_line_height_px ||= 24 + + +// Susy will do the math to make those sizes relative. +// We call base_font_size function (even though we could do the math here) +// because Susy needs to "remember" our base_font_size_px for px2em() +!base_font_size = base_font_size(!base_font_size_px) + "%" +!base_line_height = (!base_line_height_px / !base_font_size_px) + "em" \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/sass/susy/_utils.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/sass/susy/_utils.sass new file mode 100644 index 00000000..4943ca06 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/sass/susy/_utils.sass @@ -0,0 +1,81 @@ +//** Susy Utilities **// +// Updated 11.20.2009 by Eric A. Meyer + + +// An extension of the Compass Core Utilities +@import compass/utilities.sass + + +// Apply to you container element(s) to show a grid image. +// - You need to supply the image. Susy can't do everything. +=show-grid(!src) + background: + image= image_url(!src) + repeat: repeat + position= side_gutter() + "% 0" + + +// Brings IE in line with inline-block display +// - Using hacks if called automatically because !hacks == true +// - Or not, if you call it from ie.sass because !hacks == false +=ie-inline-block(!hack = false) + @if !hack + /* ugly hacks for IE6-7 */ + #display: inline + // fixes alignment against native input/button on IE6 + #vertical-align: auto + /* end ugly hacks */ + @else + display: inline + // fixes alignment against native input/button on IE6 + vertical-align: auto + + +// An override for compass inline-block that lets you take advantage +// of Susys !hacks constant. if true, hacks. if false, use ie-inline-block +// to help ie along in your ie.sass +=inline-block + display: -moz-inline-box + -moz-box-orient: vertical + display: inline-block + vertical-align: middle + @if !hacks + +ie-inline-block(true) + + +// An inline-block list that works in IE +// For those awkward moments when a floated horizontal list just wont cut it +// NOTE: If global !hacks == false: +// - you'll need to fix list items in ie.sass with +ie-inline-block +=inline-block-list(!hpad = 0) + +horizontal-list-container + li + +no-bullet + +inline-block + white-space: no-wrap + padding: + left= !hpad + right= !hpad + + +// Hide an element from the viewport, but keep it around for accessability +=hide + position: absolute + top: -9999em + + +// Apply to skip-to-content accessibility links that will appear on focus. +// - Set the location arguments if you care where it appears. +=skip-link(!t = 0, !r = false, !b = false, !l = false) + +hide + display: block + &:focus + @if !t + top= !t + @if !r + right= !r + @if !b + bottom= !b + @if !l + left= !l + z-index: 999 \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/templates/project/_base.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/templates/project/_base.sass new file mode 100644 index 00000000..83bdfcfa --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/templates/project/_base.sass @@ -0,0 +1,62 @@ +//** +// Susy: Fixed-Elastic-Fluid grids without all the math +// By: Eric A. Meyer and OddBird Collective +// Site: www.oddbird.net/susy/ +//** + +// GRID +// Set these values as needed for your grid layout. +// - defaults are shown. +!grid_unit = "em" +!total_cols = 12 +!col_width = 4 +!gutter_width = 1 +!side_gutter_width = !gutter_width + + +// OMEGA_FLOAT +// By default, +omega elements are floated right. +// You can override that globally here: +// !omega_float = "right" + + +// HACKS +// Are you using hacks or conditional comments? Susy makes both possible. +// Leave this as 'true' to use hacks, set it as false for conditional comments. +// Conditional comments will require overrides for +omega, +inline-block and +// several other mixins. +// !hacks = true + + +// FONT-SIZE +// Override these values as needed (defaults are shown) +// - You set the font and line heights in pixels. +// - Susy will do the math and give you !base_font_size and !base_line_height +// variables, set flexibly against the common browser default of 16px +!base_font_size_px = 16 +!base_line_height_px = 24 + + +// SUSY +// Don't move this @import above the GRID and FONT-SIZE overrides. +@import susy/susy.sass + + +// COLORS +// Set any colors you will need later. +!main = #194C66 +!alt = #CC6633 + + +// FONTS +// Give yourself some font stacks to work with. +=sans-family + font-family: Helvetica, Arial, sans-serif + +=serif-family + font-family: Baskerville, Palatino, serif + + +// OTHER MIXINS +// Mixins set here will be available in defaults, screen, print and IE +// Or anywhere you import either base.sass or defaults.sass \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/templates/project/_defaults.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/templates/project/_defaults.sass new file mode 100644 index 00000000..0453e5fe --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/templates/project/_defaults.sass @@ -0,0 +1,147 @@ +//** DEFAULT STYLES **// +// Don't forget to set your default styles. + + +// Get all the details and mixins from base.sass +@import base.sass +// Reset browser defaults, and prepare block-level HTML5 elements +@import susy/reset.sass + + +/* @group defaults */ + +body + +sans-family + color= !main + +/* @group links */ + +\:focus + outline= 1px "dotted" !alt + +a + &:link, &:visited + color= !alt + &:focus, &:hover, &:active + color= !alt - #222 + text-decoration: none + +/* @end */ + + +/* @group headers */ + +h1, h2, h3, h4, h5, h6 + font-weight: bold + +/* @end */ + + +/* @group forms */ + +form *:focus + outline: none + +fieldset + margin= !base_line_height 0 + +legend + font-weight: bold + font-variant: small-caps + +label + display: block + margin-top= !base_line_height + +legend + label + margin-top: 0 + +textarea, input[type="text"] + +box-sizing("border-box") + width: 100% + +/* @end */ + + +/* @group tables */ + +/* tables still need 'cellspacing="0"' in the markup */ + +table + :width 100% + :border= 1/16 + "em solid" !main + #333 + :left none + :right none + :padding= 7/16 + "em 0" + :margin= 8/16 + "em 0" + +th + :font-weight bold + +/* @end */ + + +/* @group block tags */ + +p + :margin= !base_line_height 0 + +=list-default(!ol = false) + :margin= !base_line_height + @if !ol + :list-style decimal + @else + :list-style disc + +=no-style-list + +no-bullets + :margin 0 + :padding 0 + +ol + +list-default("ol") + +ul + +list-default + +blockquote + :margin= !base_line_height + +serif-family + +/* @end */ + + +/* @group inline tags */ + +cite + :font-style italic + +em + :font-style italic + +strong + :font-weight bold + +ins + :text-decoration underline + +del + :text-decoration line-through + +q + :font-style italic + em + :font-style normal + +/* @end */ + + +/* @group replaced tags */ + +img + :vertical-align bottom + +/* @end */ + + +/* @end */ \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/templates/project/ie.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/templates/project/ie.sass new file mode 100644 index 00000000..01c6595e --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/templates/project/ie.sass @@ -0,0 +1,9 @@ +/* + Welcome to Susy. Use this file to write IE specific override styles. + Import this file using the following HTML or equivalent: + + + +@import base.sass \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/templates/project/manifest.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/templates/project/manifest.rb new file mode 100644 index 00000000..94dc27e1 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/templates/project/manifest.rb @@ -0,0 +1,5 @@ +stylesheet 'screen.sass', :media => "screen, projection" +stylesheet 'print.sass', :media => "print" +stylesheet 'ie.sass', :media => "screen, projection" +stylesheet '_base.sass' +stylesheet '_defaults.sass' diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/templates/project/print.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/templates/project/print.sass new file mode 100644 index 00000000..64b45018 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/templates/project/print.sass @@ -0,0 +1,7 @@ +/* + Welcome to Susy. Use this file to define print styles. + Import this file using the following HTML or equivalent: + + + +@import defaults.sass \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/templates/project/screen.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/templates/project/screen.sass new file mode 100644 index 00000000..f64f5994 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/extensions/susy/templates/project/screen.sass @@ -0,0 +1,44 @@ +/* + Welcome to Susy. Use this file to define screen styles. + Import this file using the following HTML or equivalent: + + + +@import defaults.sass + + +/* @group STRUCTURE */ + + + +/* @end */ + + +/* @group COMPONENTS by type */ + + + +/* @end */ + + +/* @group OVERRIDES by content */ + + + +/* @end */ + + +/* @group OVERRIDES by page */ + + + +/* @end */ + + +/* @group DEBUG */ + +// Uncomment, adjust and use for debugging +// #page +// +show-grid("your-grid-image.png") + +/* @end */ diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/src/_base.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/src/_base.sass new file mode 100644 index 00000000..83bdfcfa --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/src/_base.sass @@ -0,0 +1,62 @@ +//** +// Susy: Fixed-Elastic-Fluid grids without all the math +// By: Eric A. Meyer and OddBird Collective +// Site: www.oddbird.net/susy/ +//** + +// GRID +// Set these values as needed for your grid layout. +// - defaults are shown. +!grid_unit = "em" +!total_cols = 12 +!col_width = 4 +!gutter_width = 1 +!side_gutter_width = !gutter_width + + +// OMEGA_FLOAT +// By default, +omega elements are floated right. +// You can override that globally here: +// !omega_float = "right" + + +// HACKS +// Are you using hacks or conditional comments? Susy makes both possible. +// Leave this as 'true' to use hacks, set it as false for conditional comments. +// Conditional comments will require overrides for +omega, +inline-block and +// several other mixins. +// !hacks = true + + +// FONT-SIZE +// Override these values as needed (defaults are shown) +// - You set the font and line heights in pixels. +// - Susy will do the math and give you !base_font_size and !base_line_height +// variables, set flexibly against the common browser default of 16px +!base_font_size_px = 16 +!base_line_height_px = 24 + + +// SUSY +// Don't move this @import above the GRID and FONT-SIZE overrides. +@import susy/susy.sass + + +// COLORS +// Set any colors you will need later. +!main = #194C66 +!alt = #CC6633 + + +// FONTS +// Give yourself some font stacks to work with. +=sans-family + font-family: Helvetica, Arial, sans-serif + +=serif-family + font-family: Baskerville, Palatino, serif + + +// OTHER MIXINS +// Mixins set here will be available in defaults, screen, print and IE +// Or anywhere you import either base.sass or defaults.sass \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/src/_defaults.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/src/_defaults.sass new file mode 100644 index 00000000..33f7139f --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/src/_defaults.sass @@ -0,0 +1,148 @@ +//** DEFAULT STYLES **// +// Don't forget to set your default styles. + + +// Get all the details and mixins from base.sass +@import base.sass +// Reset browser defaults, and prepare block-level HTML5 elements +@import susy/reset.sass +@import compass/css3.sass + + +/* @group defaults */ + +body + +sans-family + color= !main + +/* @group links */ + +\:focus + outline= 1px "dotted" !alt + +a + &:link, &:visited + color= !alt + &:focus, &:hover, &:active + color= !alt - #222 + text-decoration: none + +/* @end */ + + +/* @group headers */ + +h1, h2, h3, h4, h5, h6 + font-weight: bold + +/* @end */ + + +/* @group forms */ + +form *:focus + outline: none + +fieldset + margin= !base_line_height 0 + +legend + font-weight: bold + font-variant: small-caps + +label + display: block + margin-top= !base_line_height + +legend + label + margin-top: 0 + +textarea, input[type="text"] + +box-sizing("border-box") + width: 100% + +/* @end */ + + +/* @group tables */ + +/* tables still need 'cellspacing="0"' in the markup */ + +table + :width 100% + :border= 1/16 + "em solid" !main + #333 + :left none + :right none + :padding= 7/16 + "em 0" + :margin= 8/16 + "em 0" + +th + :font-weight bold + +/* @end */ + + +/* @group block tags */ + +p + :margin= !base_line_height 0 + +=list-default(!ol = false) + :margin= !base_line_height + @if !ol + :list-style decimal + @else + :list-style disc + +=no-style-list + +no-bullets + :margin 0 + :padding 0 + +ol + +list-default("ol") + +ul + +list-default + +blockquote + :margin= !base_line_height + +serif-family + +/* @end */ + + +/* @group inline tags */ + +cite + :font-style italic + +em + :font-style italic + +strong + :font-weight bold + +ins + :text-decoration underline + +del + :text-decoration line-through + +q + :font-style italic + em + :font-style normal + +/* @end */ + + +/* @group replaced tags */ + +img + :vertical-align bottom + +/* @end */ + + +/* @end */ \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/src/screen.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/src/screen.sass new file mode 100644 index 00000000..7ab836ad --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/susy/src/screen.sass @@ -0,0 +1,114 @@ +/* + Welcome to Susy. Use this file to define screen styles. + Import this file using the following HTML or equivalent: + + + +@import defaults.sass + + +/* @group STRUCTURE */ + +#skip-links + ul + +no-style-list + a + +skip-link + width: 100% + +body + +susy + +#page + position: relative + +container + background: rgba(0,0,0,.10) + +h1, h2 + +serif-family + text-transform: uppercase + text-align: center + background: rgba(0,0,0,.15) + letter-spacing= 1/14 + "em" + +h1 + p, h2 + p, p:first-child + margin-top: 0 + +header[role="banner"], #site-nav + +full + h1 + font-size: 1.5em + line-height: 2em + +#site-nav + text-align: center + padding: 1.5em + ul + +inline-block-list(.5em) + +#content + > aside + +columns(2) + &:first-child + +alpha + & + aside + +omega + section[role="main"] + +columns(6) + > section + +full(6) + .major + article + +columns(3,6) + & + article + +omega(6) + .minor + aside + +columns(2,6) + article + +columns(4,6) + +omega(6) + header, .body + +columns(2,4) + .body + +omega(4) + footer + +full(4) + +footer[role="contentinfo"] + +full + border-top= 1/14 + "em dotted" + padding-top= 13/14 + "em" + + +/* @end */ + + +/* @group COMPONENTS by type */ + + + +/* @end */ + + +/* @group OVERRIDES by content */ + + + +/* @end */ + + +/* @group OVERRIDES by page */ + + + +/* @end */ + + +/* @group DEBUG */ + +// Uncomment, adjust and use for debugging +// #page +// +show-grid("your-grid-image.png") + +/* @end */ diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/bootstrap.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/bootstrap.rb new file mode 100644 index 00000000..fcc0c7c4 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/bootstrap.rb @@ -0,0 +1,3 @@ +require File.join(File.dirname(__FILE__), '..', 'downloader') + +install_from_github('chriseppstein', 'yui-compass-plugin', 'yui') \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/divisions.html.haml b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/divisions.html.haml similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/divisions.html.haml rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/divisions.html.haml diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/extensions/yui/stylesheets/_yui.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/extensions/yui/stylesheets/_yui.sass new file mode 100644 index 00000000..acc2006e --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/extensions/yui/stylesheets/_yui.sass @@ -0,0 +1,7 @@ +@import yui/modules/base.sass +@import yui/modules/fonts.sass +@import yui/modules/grids.sass +=yui + +yui-base + +yui-base-fonts + +yui-grids \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/extensions/yui/stylesheets/yui/modules/_base.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/extensions/yui/stylesheets/yui/modules/_base.sass new file mode 100644 index 00000000..f457131d --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/extensions/yui/stylesheets/yui/modules/_base.sass @@ -0,0 +1,70 @@ +=yui-base + body + :margin 10px + + h1 + :font-size 138.5% + + h2 + :font-size 123.1% + + h3 + :font-size 108% + + h1, h2, h3 + :margin 1em 0 + + h1,h2, h3, h4, h5, h6, strong, dt + :font-weight bold + + optgroup + :font-weight normal + + abbr, acronym + :border-bottom 1px dotted #000 + :cursor help + + em + :font-style italic + + del + :text-decoration line-through + + blockquote, ul, ol, dl + :margin 1em + + ol,ul,dl + :margin-left 2em + + ol li + :list-style decimal outside + + ul li + :list-style disc outside + + dl dd + :margin-left 1em + + th, td + :border 1px solid #000 + :padding .5em + + th + :font-weight bold + :text-align center + + caption + :margin-bottom .5em + :text-align center + + sup + :vertical-align super + + sub + :vertical-align sub + + p, fieldset, table, pre + :margin-bottom 1em + + button, input[type="checkbox"], input[type="radio"], input[type="reset"], input[type="submit"] + padding: 1px \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/extensions/yui/stylesheets/yui/modules/_fonts.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/extensions/yui/stylesheets/yui/modules/_fonts.sass new file mode 100644 index 00000000..708458ce --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/extensions/yui/stylesheets/yui/modules/_fonts.sass @@ -0,0 +1,45 @@ +!yui_default_base_font_size ||= 13px +!yui_default_base_line_height ||= 1.231 +!yui_default_font_family ||= "arial,helvetica,clean,sans-serif" + +// Sets the font size specified in pixels using percents so that the base +// font size changes and 1em has the correct value. When nesting font size +// declarations, within the DOM tree, the base_font_size must be the parent's +// effective font-size in pixels. +// Usage Examples: +// .big +// +font-size(16px) +// .bigger +// +font-size(18px) +// .big .bigger +// +font-size(18px, 16px) +// +// For more information see the table found at http://developer.yahoo.com/yui/fonts/#fontsize +=font-size(!size, !base_font_size = !yui_default_base_font_size) + :font-size= percentage(!size / !base_font_size) + +// Sets the base fonts for a page, this should be mixed into the top level of a stylesheet. +=yui-base-fonts(!family = !yui_default_font_family, !size = !yui_default_base_font_size, !line_height = !yui_default_base_line_height) + body + :font + :size= !size + :family= !family + :line-height= !line_height + :*font-size small + :*font x-small + + select, + input, + button, + textarea, + button + :font 99% arial,helvetica,clean,sans-serif + + table + :font-size inherit + :font 100% + + pre, code, kbd, samp, tt + :font-family monospace + :*font-size 108% + :line-height 100% diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/extensions/yui/stylesheets/yui/modules/_grids.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/extensions/yui/stylesheets/yui/modules/_grids.sass new file mode 100644 index 00000000..a90f26b5 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/extensions/yui/stylesheets/yui/modules/_grids.sass @@ -0,0 +1,385 @@ +// This is a port of YUI Grids version 2.6.0 +// Note: This is not really tested yet. Use at your own risk. + +@import compass/utilities/general/float.sass +@import fonts.sass + +=yui-grids + +yui-grids-init + +yui-grid-templates + +yui-grid-divisions + +=yui-grid-templates + #doc + +yui-document(750px) + #doc2 + +yui-document(950px) + #doc3 + +yui-document("fluid") + #doc4 + +yui-document(974px) + /* Section: Preset Template Rules (.yui-t[1-6]) + .yui-t1 + +yui-two-column-left-template(160px) + .yui-t2 + +yui-two-column-left-template(180px) + .yui-t3 + +yui-two-column-left-template(300px) + .yui-t4 + +yui-two-column-right-template(180px) + .yui-t5 + +yui-two-column-right-template(240px) + .yui-t6 + +yui-two-column-right-template(300px) + .yui-t7 + +yui-one-column-template + +=yui-group-clearing + zoom: 1 + &:after + content: "." + display: block + height: 0 + clear: both + visibility: hidden + +=yui-grids-init(!header = "#hd", !footer = "#ft", !body = "#bd") + /* Section: General Rules + body + :text-align center + @if !header + #{!header} + +yui-group-clearing + @if !footer + #{!footer} + +yui-group-clearing + @if !body + #{!body} + +yui-group-clearing + +=em-size(!style, !px_size, !base_font_size = !yui_default_base_font_size) + :#{!style}= 1em * !px_size / !base_font_size + +=em-size-hacked(!style, !px_size, !base_font_size = !yui_default_base_font_size) + +em-size(!style, !px_size, !base_font_size) + +em-size("*"+!style, !px_size * 39 / 40, !base_font_size) + +// All documents must have these styles +=yui-document-base(!min_width = false) + :margin auto + :text-align left + @if !min_width + :min-width= !min_width + +=yui-block-base + :position relative + :_position static + +=yui-main-block + :float none + :width auto + +// Creates a fixed width document container +// Pass "fluid" for the width to create a document that grows with the width of the browser. +=yui-document(!width, !min_width = false, !base_font_size = !yui_default_base_font_size) + +yui-document-base(!min_width) + @if !width == "fluid" + :margin auto 10px + :width auto + @else + +em-size-hacked("width", !width, !base_font_size) + +=yui-two-column-left-template(!column_width, !main_selector = "#yui-main", !block_selector = ".yui-b", !document_width = 750px, !min_width = false, !base_font_size = !yui_default_base_font_size) + +yui-document(!document_width, !min_width, !base_font_size) + #{!block_selector} + +yui-block-base + :float left + +em-size-hacked("width", !column_width, !base_font_size) + #{!main_selector} + :width 100% + :float right + :margin-left -25em + #{!block_selector} + +yui-main-block + +em-size("margin-left", !column_width + 13px, !base_font_size) + // t3 is 15px for IE for some reason - seems like this should be some formula based on the column width and not a fixed number - need to do more research + @if !column_width > 180px + +em-size("*margin-left", (!column_width + 15px) * 39 / 40, !base_font_size) + @else + +em-size("*margin-left", (!column_width + 14px) * 39 / 40, !base_font_size) + +=yui-two-column-right-template(!column_width, !main_selector = "#yui-main", !block_selector = ".yui-b", !document_width = 750px, !min_width = false, !base_font_size = !yui_default_base_font_size) + +yui-document(!document_width, !min_width, !base_font_size) + #{!block_selector} + +yui-block-base + :float right + +em-size-hacked("width", !column_width, !base_font_size) + #{!main_selector} + :width 100% + :float left + :margin-right -25em + #{!block_selector} + +yui-main-block + +em-size("margin-right", !column_width + 13px, !base_font_size) + // t5 is 15px for IE for some reason - seems like this should be some formula based on the column width and not a fixed number - need to do more research + @if !column_width > 180px + +em-size("*margin-right", (!column_width + 15px) * 39 / 40, !base_font_size) + @else + +em-size("*margin-right", (!column_width + 14px) * 39 / 40, !base_font_size) + +=yui-one-column-template(!main_selector = "#yui-main", !block_selector = ".yui-b", !document_width = 750px, !min_width = false, !base_font_size = !yui_default_base_font_size) + +yui-document(!document_width, !min_width, !base_font_size) + #{!main_selector} + #{!block_selector} + +yui-main-block + :display block + :margin 0 0 1em 0 + +=yui-custom-template(!main_selector = "#yui-main", !block_selector = ".yui-b") + #{!block_selector} + +yui-block-base + #{!main_selector} + :width 100% + #{!block_selector} + +yui-main-block + +=yui-grid-divisions(!unit = ".yui-u", !g_50_50 = ".yui-g", !g_33_33_33 = ".yui-gb", !g_67_33 = ".yui-gc", !g_33_67 = ".yui-gd", !g_75_25 = ".yui-ge", !g_25_75 = ".yui-gf") + + /* Section: Grids and Nesting Grids + + /* from #yui-main, .yui-g .yui-u .yui-g + #{nest(!g_50_50, !unit, !g_50_50)} + width: 100% + + /* Children generally take half the available space + #{nest(!g_33_33_33, !unit)}, + #{nest(!g_50_50, !g_33_33_33, !unit)}, + #{nest(!g_33_33_33, !g_50_50)}, + #{nest(!g_33_33_33, !g_33_33_33)}, + #{nest(!g_33_33_33, !g_67_33)}, + #{nest(!g_33_33_33, !g_33_67)}, + #{nest(!g_33_33_33, !g_75_25)}, + #{nest(!g_33_33_33, !g_25_75)}, + #{nest(!g_67_33, !unit)}, + #{nest(!g_67_33, !g_50_50)}, + #{nest(!g_33_67, !unit)} + float: left + + /* Float units (and sub grids) to the right + #{nest(!g_50_50, !unit)}, + #{nest(!g_50_50, !g_50_50)}, + #{nest(!g_50_50, !g_33_33_33)}, + #{nest(!g_50_50, !g_67_33)}, + #{nest(!g_50_50, !g_33_67)}, + #{nest(!g_50_50, !g_75_25)}, + #{nest(!g_50_50, !g_25_75)}, + #{nest(!g_67_33, !unit)}, + #{nest(!g_33_67, !g_50_50)}, + #{nest(!g_50_50, !g_67_33, !unit)}, + #{nest(!g_75_25, !unit)}, + #{nest(!g_75_25, !g_50_50)}, + #{nest(!g_25_75, !g_50_50)}, + #{nest(!g_25_75, !unit)} + float: right + + /* Float units (and sub grids) to the left + #{!g_50_50}, + #{!g_33_33_33}, + #{!g_67_33}, + #{!g_33_67}, + #{!g_75_25}, + #{!g_25_75}, + #{nest(!g_50_50, !g_67_33)}, + #{nest(!g_50_50, !g_75_25)}, + #{nest(!g_67_33, "div.first")} + div.first + float: left + + #{!g_50_50} + #{!unit}, + #{!g_50_50}, + #{!g_33_33_33}, + #{!g_67_33}, + #{!g_33_67}, + #{!g_75_25}, + #{!g_25_75} + width: 49.1% + + #{nest(!g_33_33_33, !unit)}, + #{nest(!g_50_50, !g_33_33_33, !unit)}, + #{nest(!g_33_33_33, !g_50_50)}, + #{nest(!g_33_33_33, !g_33_33_33)}, + #{nest(!g_33_33_33, !g_67_33)}, + #{nest(!g_33_33_33, !g_33_67)}, + #{nest(!g_33_33_33, !g_75_25)}, + #{nest(!g_33_33_33, !g_25_75)}, + #{nest(!g_67_33, !unit)}, + #{nest(!g_67_33, !g_50_50)}, + #{nest(!g_33_67, !unit)} + width: 32% + margin-left: 1.99% + + /* Give IE some extra breathing room for 1/3-based rounding issues + #{nest(!g_33_33_33, !unit)} + *margin-left: 1.9% + *width: 31.9% + + #{nest(!g_50_50, !g_33_33_33)}, + #{!g_33_33_33}, + #{!g_67_33}, + #{!g_33_67} + div.first + margin-left: 0 + + /* Section: Deep Nesting + #{!g_50_50}, + #{!g_33_33_33}, + #{!g_67_33}, + #{!g_33_67}, + #{!g_75_25}, + #{!g_25_75} + #{!g_50_50} + #{!unit} + width: 49% + *width: 48.1% + *margin-left: 0 + + #{nest(!g_50_50, !g_50_50, !unit)} + width: 48.1% + + #{!g_50_50}, + #{!g_33_33_33} + #{!g_33_33_33} + div.first + *margin-right: 0 + *width: 32% + _width: 31.7% + + #{nest(!g_50_50, !g_67_33, "div.first")}, + #{nest(!g_67_33, "div.first")}, + #{nest(!g_33_67, !g_50_50)}, + #{nest(!g_33_67, !unit)} + width: 66% + + #{nest(!g_33_33_33, !g_50_50, "div.first")} + *margin-right: 4% + _margin-right: 1.3% + + #{!g_33_33_33} + #{!g_67_33}, + #{!g_33_67} + div.first + *margin-right: 0 + + #{!g_33_33_33} + #{!g_33_33_33}, + #{!g_67_33} + #{!unit} + *margin-left: 1.8% + _margin-left: 4% + + #{nest(!g_50_50, !g_33_33_33, !unit)} + _margin-left: 1.0% + + #{nest(!g_33_33_33, !g_33_67, !unit)} + *width: 66% + _width: 61.2% + + #{nest(!g_33_33_33, !g_33_67, "div.first")} + *width: 31% + _width: 29.5% + + #{!g_50_50}, + #{!g_33_33_33} + #{!g_67_33} + #{!unit} + width: 32% + _float: right + margin-right: 0 + _margin-left: 0 + + #{nest(!g_33_33_33, !g_67_33, "div.first")} + width: 66% + *float: left + *margin-left: 0 + + #{!g_33_33_33} + #{!g_75_25}, + #{!g_25_75} + #{!unit} + margin: 0 + + #{nest(!g_33_33_33, !g_33_33_33, !unit)} + _margin-left: .7% + + #{nest(!g_33_33_33, !g_50_50)}, + #{nest(!g_33_33_33, !g_33_33_33)} + div.first + *margin-left: 0 + + #{!g_67_33}, + #{!g_33_67} + #{!g_50_50} + #{!unit} + *width: 48.1% + *margin-left: 0 + + #{!g_33_67}, + #{nest(!g_33_33_33, !g_33_67)} + div.first + width: 32% + + #{nest(!g_50_50, !g_33_67, "div.first")} + _width: 29.9% + + #{nest(!g_75_25, !unit)}, + #{nest(!g_75_25, !g_50_50)}, + #{nest(!g_25_75, "div.first")} + width: 24% + + #{nest(!g_75_25, "div.first")}, + #{nest(!g_25_75, !g_50_50)}, + #{nest(!g_25_75, !unit)} + width: 74.2% + + #{!g_33_33_33} + #{!g_75_25}, + #{!g_25_75} + div#{!unit} + float: right + + #{!g_33_33_33} + #{!g_75_25}, + #{!g_25_75} + div.first + float: left + + /* Width Accommodation for Nested Contexts + #{!g_33_33_33} + #{nest(!g_75_25, !unit)}, + #{nest(!g_25_75, "div.first")} + *width: 24% + _width: 20% + + /* Width Accommodation for Nested Contexts + #{!g_33_33_33} + #{nest(!g_75_25, "div.first")}, + #{nest(!g_25_75, !unit)} + *width: 73.5% + _width: 65.5% + + /* Patch for GD within GE + #{nest(!g_75_25, "div.first", !g_33_67, !unit)} + width: 65% + + #{nest(!g_75_25, "div.first", !g_33_67, "div.first")} + width: 32% + + /* @group Clearing + #{!g_50_50}, + #{!g_33_33_33}, + #{!g_67_33}, + #{!g_33_67}, + #{!g_75_25}, + #{!g_25_75} + +yui-group-clearing diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/extensions/yui/stylesheets/yui/modules/_reset.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/extensions/yui/stylesheets/yui/modules/_reset.sass new file mode 100644 index 00000000..bf706e81 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/extensions/yui/stylesheets/yui/modules/_reset.sass @@ -0,0 +1,61 @@ +/* + Copyright (c) 2008, Yahoo! Inc. All rights reserved. + Code licensed under the BSD License: + http://developer.yahoo.net/yui/license.txt + version: 3.0.0pr2 + +=reset + html + :color #000 + :background #FFF + + body, div, dl, dt, dd, ul, ol, li, + h1, h2, h3, h4, h5, h6, pre, code, + form, fieldset, legend,input, + textarea, p, blockquote, th, td + :margin 0 + :padding 0 + + li + :list-style none + + h1, h2, h3, h4, h5, h6 + :font-size 100% + :font-weight normal + + code, th, address, caption, + cite, dfn, em, strong, var + :font-style normal + :font-weight normal + + fieldset, img, abbr, acronym + :border 0 + + legend + :color #000 + + input, textarea, select + :font-family inherit + :font-size inherit + :font-weight inherit + :*font-size 100% + + th, caption + :text-align left + + table + :border-collapse collapse + :border-spacing 0 + + q + &:before, &:after + :content '' + + abbr, acronym + :font-variant normal + + sup + :vertical-align text-top + + sub + :vertical-align text-bottom diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/extensions/yui/templates/project/manifest.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/extensions/yui/templates/project/manifest.rb new file mode 100644 index 00000000..c7af4356 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/extensions/yui/templates/project/manifest.rb @@ -0,0 +1 @@ +stylesheet 'screen.sass', :media => "screen, projection" diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/extensions/yui/templates/project/screen.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/extensions/yui/templates/project/screen.sass new file mode 100644 index 00000000..40dab7fa --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/extensions/yui/templates/project/screen.sass @@ -0,0 +1,4 @@ +@import yui.sass +@import compass/reset.sass + ++yui diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/index.html.haml b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/index.html.haml similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/index.html.haml rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/index.html.haml diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/src/screen.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/src/screen.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/src/screen.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/src/screen.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/sub_divisions.html.haml b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/sub_divisions.html.haml similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/sub_divisions.html.haml rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/sub_divisions.html.haml diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/templates.html.haml b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/templates.html.haml similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/templates.html.haml rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/templates.html.haml diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/test.jpg b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/test.jpg similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/test.jpg rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/test.jpg diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/typography.html.haml b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/typography.html.haml similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/typography.html.haml rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/examples/yui/typography.html.haml diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/features/command_line.feature b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/features/command_line.feature new file mode 100644 index 00000000..03424ddd --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/features/command_line.feature @@ -0,0 +1,226 @@ +Feature: Command Line + In order to manage my stylesheets + As a user on the command line + I want to create a new project + + Scenario: Install a project without a framework + When I create a project using: compass create my_project + Then a directory my_project/ is created + And a configuration file my_project/config.rb is created + And a sass file my_project/src/screen.sass is created + And a sass file my_project/src/print.sass is created + And a sass file my_project/src/ie.sass is created + And a sass file my_project/src/screen.sass is compiled + And a sass file my_project/src/print.sass is compiled + And a sass file my_project/src/ie.sass is compiled + And a css file my_project/stylesheets/screen.css is created + And a css file my_project/stylesheets/print.css is created + And a css file my_project/stylesheets/ie.css is created + And I am told how to link to /stylesheets/screen.css for media "screen, projection" + And I am told how to link to /stylesheets/print.css for media "print" + And I am told how to conditionally link "IE" to /stylesheets/ie.css for media "screen, projection" + + Scenario: Install a project with blueprint + When I create a project using: compass create bp_project --using blueprint + Then a directory bp_project/ is created + And a configuration file bp_project/config.rb is created + And a sass file bp_project/src/screen.sass is created + And a sass file bp_project/src/print.sass is created + And a sass file bp_project/src/ie.sass is created + And a sass file bp_project/src/screen.sass is compiled + And a sass file bp_project/src/print.sass is compiled + And a sass file bp_project/src/ie.sass is compiled + And a css file bp_project/stylesheets/screen.css is created + And a css file bp_project/stylesheets/print.css is created + And a css file bp_project/stylesheets/ie.css is created + And an image file bp_project/images/grid.png is created + And I am told how to link to /stylesheets/screen.css for media "screen, projection" + And I am told how to link to /stylesheets/print.css for media "print" + And I am told how to conditionally link "lt IE 8" to /stylesheets/ie.css for media "screen, projection" + + Scenario: Install a project with specific directories + When I create a project using: compass create custom_project --using blueprint --sass-dir sass --css-dir css --images-dir assets/imgs + Then a directory custom_project/ is created + And a directory custom_project/sass/ is created + And a directory custom_project/css/ is created + And a directory custom_project/assets/imgs/ is created + And a sass file custom_project/sass/screen.sass is created + And a css file custom_project/css/screen.css is created + And an image file custom_project/assets/imgs/grid.png is created + + Scenario: Perform a dry run of creating a project + When I create a project using: compass create my_project --dry-run + Then a directory my_project/ is not created + But a configuration file my_project/config.rb is reported created + And a sass file my_project/src/screen.sass is reported created + And a sass file my_project/src/print.sass is reported created + And a sass file my_project/src/ie.sass is reported created + And I am told how to link to /stylesheets/screen.css for media "screen, projection" + And I am told how to link to /stylesheets/print.css for media "print" + And I am told how to conditionally link "IE" to /stylesheets/ie.css for media "screen, projection" + + Scenario: Creating a bare project + When I create a project using: compass create bare_project --bare + Then a directory bare_project/ is created + And a configuration file bare_project/config.rb is created + And a directory bare_project/src/ is created + And a directory bare_project/stylesheets/ is not created + And I am congratulated + And I am told that I can place stylesheets in the src subdirectory + And I am told how to compile my sass stylesheets + + Scenario: Creating a bare project with a framework + When I create a project using: compass create bare_project --using blueprint --bare + Then an error message is printed out: A bare project cannot be created when a framework is specified. + And the command exits with a non-zero error code + + Scenario: Initializing a rails project + Given I'm in a newly created rails project: my_rails_project + When I initialize a project using: compass init rails --sass-dir app/stylesheets --css-dir public/stylesheets/compiled + Then a config file config/compass.rb is reported created + Then a config file config/compass.rb is created + And a sass file config/initializers/compass.rb is created + And a sass file app/stylesheets/screen.sass is created + And a sass file app/stylesheets/print.sass is created + And a sass file app/stylesheets/ie.sass is created + + Scenario: Compiling an existing project. + Given I am using the existing project in test/fixtures/stylesheets/compass + When I run: compass compile + Then a directory tmp/ is created + And a sass file sass/layout.sass is reported compiled + And a sass file sass/print.sass is reported compiled + And a sass file sass/reset.sass is reported compiled + And a sass file sass/utilities.sass is reported compiled + And a css file tmp/layout.css is created + And a css file tmp/print.css is created + And a css file tmp/reset.css is created + And a css file tmp/utilities.css is created + + Scenario: Compiling an existing project with a specified project + Given I am using the existing project in test/fixtures/stylesheets/compass + And I am in the parent directory + When I run: compass compile tmp_compass + Then a directory tmp_compass/tmp/ is created + And a sass file tmp_compass/sass/layout.sass is reported compiled + And a sass file tmp_compass/sass/print.sass is reported compiled + And a sass file tmp_compass/sass/reset.sass is reported compiled + And a sass file tmp_compass/sass/utilities.sass is reported compiled + And a css file tmp_compass/tmp/layout.css is created + And a css file tmp_compass/tmp/print.css is created + And a css file tmp_compass/tmp/reset.css is created + And a css file tmp_compass/tmp/utilities.css is created + + Scenario: Recompiling a project with no changes + Given I am using the existing project in test/fixtures/stylesheets/compass + When I run: compass compile + And I run: compass compile + Then a sass file sass/layout.sass is reported unchanged + And a sass file sass/print.sass is reported unchanged + And a sass file sass/reset.sass is reported unchanged + And a sass file sass/utilities.sass is reported unchanged + + Scenario: Installing a pattern into a project + Given I am using the existing project in test/fixtures/stylesheets/compass + When I run: compass install blueprint/buttons + Then a sass file sass/buttons.sass is created + And an image file images/buttons/cross.png is created + And an image file images/buttons/key.png is created + And an image file images/buttons/tick.png is created + And a css file tmp/buttons.css is created + + @now + Scenario: Basic help + When I run: compass help + Then I should see the following "primary" commands: + | compile | + | create | + | init | + | watch | + And I should see the following "other" commands: + | config | + | grid-img | + | help | + | install | + | interactive | + | stats | + | validate | + | version | + + Scenario: Recompiling a project with no material changes + Given I am using the existing project in test/fixtures/stylesheets/compass + When I run: compass compile + And I wait 1 second + And I touch sass/layout.sass + And I run: compass compile + Then a sass file sass/layout.sass is reported compiled + Then a css file tmp/layout.css is reported identical + And a sass file sass/print.sass is reported unchanged + And a sass file sass/reset.sass is reported unchanged + And a sass file sass/utilities.sass is reported unchanged + + Scenario: Recompiling a project with changes + Given I am using the existing project in test/fixtures/stylesheets/compass + When I run: compass compile + And I wait 1 second + And I add some sass to sass/layout.sass + And I run: compass compile + Then a sass file sass/layout.sass is reported compiled + And a css file tmp/layout.css is reported overwritten + And a sass file sass/print.sass is reported unchanged + And a sass file sass/reset.sass is reported unchanged + And a sass file sass/utilities.sass is reported unchanged + + Scenario: Watching a project for changes + Given I am using the existing project in test/fixtures/stylesheets/compass + When I run: compass compile + And I run in a separate process: compass watch + And I wait 1 second + And I touch sass/layout.sass + And I wait 2 seconds + And I shutdown the other process + Then a css file tmp/layout.css is reported identical + + Scenario: Generating a grid image so that I can debug my grid alignments + Given I am using the existing project in test/fixtures/stylesheets/compass + When I run: compass grid-img 30+10x24 + Then a png file images/grid.png is created + + Scenario: Generating a grid image to a specified path with custom dimensions + Given I am using the existing project in test/fixtures/stylesheets/compass + When I run: compass grid-img 50+10x24 assets/wide_grid.png + Then a directory assets is created + Then a png file assets/wide_grid.png is created + + Scenario: Generating a grid image with invalid dimensions + Given I am using the existing project in test/fixtures/stylesheets/compass + When I run: compass grid-img 50x24 assets/wide_grid.png + Then a directory assets is not created + And a png file assets/wide_grid.png is not created + + Scenario: Generate a compass configuration file + Given I should clean up the directory: config + When I run: compass config config/compass.rb --sass-dir sass --css-dir assets/css + Then a configuration file config/compass.rb is created + And the following configuration properties are set in config/compass.rb: + | property | value | + | sass_dir | sass | + | css_dir | assets/css | + + Scenario: Validate the generated CSS + Given I am using the existing project in test/fixtures/stylesheets/compass + When I run: compass validate + Then my css is validated + And I am informed that my css is valid. + + Scenario: Get stats for my project + Given I am using the existing project in test/fixtures/stylesheets/compass + When I run: compass stats + Then I am told statistics for each file: + | Filename | Rules | Properties | Mixins Defs | Mixins Used | CSS Rules | CSS Properties | + | sass/layout.sass | 0 | 0 | 0 | 1 | 5 | 9 | + | sass/print.sass | 0 | 0 | 0 | 2 | 61 | 61 | + | sass/reset.sass | 4 | 1 | 0 | 2 | 191 | 665 | + | sass/utilities.sass | 2 | 0 | 0 | 2 | 5 | 11 | + | Total.* | 6 | 1 | 0 | 7 | 262 | 746 | + diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/features/extensions.feature b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/features/extensions.feature new file mode 100644 index 00000000..34c8c1e8 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/features/extensions.feature @@ -0,0 +1,20 @@ +Feature: Extensions + In order to have an open source ecosystem for stylesheets + As a compass user + I can install extensions that others have created + And I can create and publish my own extensions + + Scenario: Extensions directory for stand_alone projects + Given I am using the existing project in test/fixtures/stylesheets/compass + And the "extensions" directory exists + And and I have a fake extension at extensions/testing + When I run: compass --list-frameworks + Then the list of frameworks includes "testing" + + Scenario: Extensions directory for rails projects + Given I'm in a newly created rails project: my_rails_project + And the "my_rails_project/vendor/plugins/compass/extensions" directory exists + And and I have a fake extension at my_rails_project/vendor/plugins/compass/extensions/testing + When I run: compass --list-frameworks + Then the list of frameworks includes "testing" + diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/features/step_definitions/command_line_steps.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/features/step_definitions/command_line_steps.rb new file mode 100644 index 00000000..c0c19f00 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/features/step_definitions/command_line_steps.rb @@ -0,0 +1,223 @@ +require 'spec/expectations' +$:.unshift(File.expand_path(File.join(File.dirname(__FILE__), '../../test'))) + +require 'test_helper' + +require 'compass/exec' + +include Compass::CommandLineHelper +include Compass::IoHelper +include Compass::RailsHelper + +Before do + Compass.reset_configuration! + @cleanup_directories = [] + @original_working_directory = Dir.pwd +end + +After do + Dir.chdir @original_working_directory + @cleanup_directories.each do |dir| + FileUtils.rm_rf dir + end +end + +# Given Preconditions +Given %r{^I am using the existing project in ([^\s]+)$} do |project| + tmp_project = "tmp_#{File.basename(project)}" + @cleanup_directories << tmp_project + FileUtils.cp_r project, tmp_project + Dir.chdir tmp_project +end + +Given %r{^I am in the parent directory$} do + Dir.chdir ".." +end + +Given /^I'm in a newly created rails project: (.+)$/ do |project_name| + @cleanup_directories << project_name + begin + generate_rails_app project_name + Dir.chdir project_name + rescue LoadError + pending "Missing Ruby-on-rails gems: sudo gem install rails" + end +end + +Given /^I should clean up the directory: (\w+)$/ do |directory| + @cleanup_directories << directory +end + +# When Actions are performed +When /^I create a project using: compass create ([^\s]+) ?(.+)?$/ do |dir, args| + @cleanup_directories << dir + compass 'create', dir, *(args || '').split +end + +When /^I initialize a project using: compass init ?(.+)?$/ do |args| + compass 'init', *(args || '').split +end + +When /^I run: compass ([^\s]+) ?(.+)?$/ do |command, args| + compass command, *(args || '').split +end + +When /^I run in a separate process: compass ([^\s]+) ?(.+)?$/ do |command, args| + unless @other_process = fork + @last_result = '' + @last_error = '' + Signal.trap("HUP") do + open('/tmp/last_result.compass_test.txt', 'w') do |file| + file.puts $stdout.string + end + open('/tmp/last_error.compass_test.txt', 'w') do |file| + file.puts @stderr.string + end + exit! + end + # this command will run forever + # we kill it with a HUP signal from the parent process. + args = (args || '').split + args << { :wait => 5 } + compass command, *args + exit! + end +end + +When /^I shutdown the other process$/ do + Process.kill("HUP", @other_process) + Process.wait + @last_result = File.read('/tmp/last_result.compass_test.txt') + @last_error = File.read('/tmp/last_error.compass_test.txt') +end + +When /^I touch ([^\s]+)$/ do |filename| + FileUtils.touch filename +end + +When /^I wait ([\d.]+) seconds?$/ do |count| + sleep count.to_f +end + +When /^I add some sass to ([^\s]+)$/ do |filename| + open(filename, "w+") do |file| + file.puts ".added .some .arbitrary" + file.puts " sass: code" + end +end + +# Then postconditions +Then /^a directory ([^ ]+) is (not )?created$/ do |directory, negated| + File.directory?(directory).should == !negated +end + +Then /an? \w+ file ([^ ]+) is (not )?created/ do |filename, negated| + File.exists?(filename).should == !negated +end + +Then /an? \w+ file ([^ ]+) is reported created/ do |filename| + @last_result.should =~ /create #{Regexp.escape(filename)}/ +end + +Then /a \w+ file ([^ ]+) is (?:reported )?compiled/ do |filename| + @last_result.should =~ /compile #{Regexp.escape(filename)}/ +end + +Then /a \w+ file ([^ ]+) is reported unchanged/ do |filename| + @last_result.should =~ /unchanged #{Regexp.escape(filename)}/ +end + +Then /a \w+ file ([^ ]+) is reported identical/ do |filename| + @last_result.should =~ /identical #{Regexp.escape(filename)}/ +end + +Then /a \w+ file ([^ ]+) is reported overwritten/ do |filename| + @last_result.should =~ /overwrite #{Regexp.escape(filename)}/ +end + +Then /I am told how to link to ([^ ]+) for media "([^"]+)"/ do |stylesheet, media| + @last_result.should =~ %r{} +end + +Then /I am told how to conditionally link "([^"]+)" to ([^ ]+) for media "([^"]+)"/ do |condition, stylesheet, media| + @last_result.should =~ %r{}mi +end + +Then /^an error message is printed out: (.+)$/ do |error_message| + @last_error.should =~ Regexp.new(Regexp.escape(error_message)) +end + +Then /^the command exits with a non\-zero error code$/ do + @last_exit_code.should_not == 0 +end + + +Then /^I am congratulated$/ do + @last_result.should =~ /Congratulations!/ +end + +Then /^I am told that I can place stylesheets in the ([^\s]+) subdirectory$/ do |subdir| + @last_result.should =~ /You may now add sass stylesheets to the #{subdir} subdirectory of your project./ +end + +Then /^I am told how to compile my sass stylesheets$/ do + @last_result.should =~ /You must compile your sass stylesheets into CSS when they change.\nThis can be done in one of the following ways:/ +end + +Then /^I should be shown a list of "([^"]+)" commands$/ do |kind| + @last_result.should =~ /^#{kind.capitalize} Commands:$/ + @last_command_list = [] + found = false + indent = nil + @last_result.split("\n").each do |line| + if line =~ /^#{kind.capitalize} Commands:$/ + found = true + elsif found && line =~ /^\s+/ + @last_command_list << line + elsif found && line =~ /^$|^\w/ + break + end + end + +end + +Then /^the list of commands should describe the ([^ ]+) command$/ do |command| + @last_result.should =~ /^\s+\* #{command}\s+- [A-Z].+$/ +end + +Then /^the following configuration properties are set in ([^ ]+):$/ do |config_file, table| + + config = Compass::Configuration::Data.new_from_file(config_file) + table.hashes.each do |hash| + config.send(hash['property']).should == hash['value'] + end +end + +Then /^my css is validated$/ do + if @last_error =~ /The Compass CSS Validator could not be loaded/ + pending "Missing Dependency: sudo gem install chriseppstein-compass-validator" + else + @last_result.should =~ /Compass CSS Validator/ + end +end + +Then /^I am informed that my css is valid.$/ do + @last_result.should =~ /Your CSS files are valid\./ +end + +Then /^I am told statistics for each file:$/ do |table| + # table is a Cucumber::Ast::Table + table.raw.each do |row| + re = Regexp.new row.join(' *\| *') + @last_result.should =~ re + end +end + +Then /^I should see the following "([^"]+)" commands:$/ do |kind, table| + + + Then %Q{I should be shown a list of "#{kind}" commands} + + commands = @last_command_list.map{|c| c =~ /^\s+\* ([^ ]+)\s+- [A-Z].+$/; [$1]} + table.diff!(commands) +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/features/step_definitions/extension_steps.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/features/step_definitions/extension_steps.rb new file mode 100644 index 00000000..f6216c1e --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/features/step_definitions/extension_steps.rb @@ -0,0 +1,13 @@ +Given /^the "([^\"]*)" directory exists$/ do |directory| + FileUtils.mkdir_p directory +end + +Given /^and I have a fake extension at (.*)$/ do |directory| + FileUtils.mkdir_p File.join(directory, 'stylesheets') + FileUtils.mkdir_p File.join(directory, 'templates/project') +end + +Then /^the list of frameworks includes "([^\"]*)"$/ do |framework| + @last_result.split("\n").map{|f| f.strip}.should include(framework) +end + diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass.rb new file mode 100644 index 00000000..aeae12dd --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass.rb @@ -0,0 +1,22 @@ +module Compass +end + +%w(dependencies sass_extensions core_ext version errors).each do |lib| + require "compass/#{lib}" +end + +module Compass + extend Compass::Version + VERSION = "#{version[:major]}.#{version[:minor]}.#{version[:patch]}" + def base_directory + File.expand_path(File.join(File.dirname(__FILE__), '..')) + end + def lib_directory + File.expand_path(File.join(File.dirname(__FILE__))) + end + module_function :base_directory, :lib_directory +end + +%w(configuration frameworks app_integration).each do |lib| + require "compass/#{lib}" +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/actions.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/actions.rb similarity index 92% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/actions.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/actions.rb index 3959f7a2..2d2875d0 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/actions.rb +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/actions.rb @@ -32,6 +32,7 @@ module Compass def write_file(file_name, contents, options = nil, binary = false) options ||= self.options if self.respond_to?(:options) skip_write = options[:dry_run] + contents = process_erb(contents, options[:erb]) if options[:erb] if File.exists?(file_name) existing_contents = IO.read(file_name) if existing_contents == contents @@ -47,7 +48,7 @@ module Compass logger.record :create, basename(file_name) end if skip_write - FileUtils.touch file_name + FileUtils.touch file_name unless options[:dry_run] else mode = "w" mode << "b" if binary @@ -57,6 +58,11 @@ module Compass end end + def process_erb(contents, ctx = nil) + ctx = Object.new.instance_eval("binding") unless ctx.is_a? Binding + ERB.new(contents).result(ctx) + end + # Compile one Sass file def compile(sass_filename, css_filename, options) if options[:force] || Sass::Plugin.exact_stylesheet_needs_update?(css_filename, sass_filename) diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration.rb new file mode 100644 index 00000000..bede6075 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration.rb @@ -0,0 +1,24 @@ +%w(stand_alone rails merb).each do |lib| + require "compass/app_integration/#{lib}" +end + +module Compass + module AppIntegration + module Helpers + def lookup(project_type) + eval "Compass::AppIntegration::#{camelize(project_type)}" + rescue NameError + raise Compass::Error, "No application integration exists for #{project_type}" + end + + protected + + # Stolen from ActiveSupport + def camelize(s) + s.to_s.gsub(/\/(.?)/) { "::#{$1.upcase}" }.gsub(/(?:^|_)(.)/) { $1.upcase } + end + + end + extend Helpers + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/merb.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/merb.rb new file mode 100644 index 00000000..546ac987 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/merb.rb @@ -0,0 +1 @@ +require 'compass/app_integration/merb/runtime' if defined?(Merb::Plugins) diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/merb/runtime.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/merb/runtime.rb new file mode 100644 index 00000000..883c4de7 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/merb/runtime.rb @@ -0,0 +1,63 @@ +# To configure Merb to use compass do the following: +# +# Add dependencies to config/dependencies.rb +# +# dependency "haml", ">=2.2.0" +# dependency "merb-haml", merb_gems_version +# dependency "chriseppstein-compass", :require_as => 'compass' +# +# +# To use a different sass stylesheets locations as is recommended by compass +# add this configuration to your configuration block: +# +# Merb::BootLoader.before_app_loads do +# Merb::Plugins.config[:compass] = { +# :stylesheets => "app/stylesheets", +# :compiled_stylesheets => "public/stylesheets/compiled" +# } +# end +# +module Compass + def self.setup_template_location + # default the compass configuration if they didn't set it up yet. + Merb::Plugins.config[:compass] ||= {} + + # default sass stylesheet location unless configured to something else + Merb::Plugins.config[:compass][:stylesheets] ||= Merb.dir_for(:stylesheet) / "sass" + + # default sass css location unless configured to something else + Merb::Plugins.config[:compass][:compiled_stylesheets] ||= Merb.dir_for(:stylesheet) + + #define the template hash for the project stylesheets as well as the framework stylesheets. + template_location = { + Merb::Plugins.config[:compass][:stylesheets] => Merb::Plugins.config[:compass][:compiled_stylesheets] + } + Compass::Frameworks::ALL.each do |framework| + template_location[framework.stylesheets_directory] = Merb::Plugins.config[:compass][:compiled_stylesheets] + end + + # merge existing template locations if present + if Merb::Plugins.config[:sass][:template_location].is_a?(Hash) + template_location.merge!(Merb::Plugins.config[:sass][:template_location]) + Merb::Plugins.config[:sass][:template_location] = template_location + end + + #configure Sass to know about all these sass locations. + Sass::Plugin.options[:template_location] = template_location + end +end + +Merb::BootLoader.after_app_loads do + #set up sass if haml load didn't do it -- this happens when using a non-default stylesheet location. + unless defined?(Sass::Plugin) + require "sass/plugin" + if Merb::Plugins.config[:sass] + Sass::Plugin.options = Merb::Plugins.config[:sass] + # support old (deprecatd Merb::Config[:sass] option) + elsif Merb::Config[:sass] + Sass::Plugin.options = Merb::Config[:sass] + end + end + + Compass.setup_template_location +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/rails.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/rails.rb new file mode 100644 index 00000000..668fbd42 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/rails.rb @@ -0,0 +1,26 @@ +%w(configuration_defaults installer).each do |lib| + require "compass/app_integration/rails/#{lib}" +end + +require 'compass/app_integration/rails/runtime' if defined?(ActionController::Base) + + +module Compass + module AppIntegration + module Rails + + extend self + + def installer(*args) + Installer.new(*args) + end + + def configuration + Compass::Configuration::Data.new('rails'). + extend(ConfigurationDefaults) + end + + end + end +end + diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/rails/action_controller.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/rails/action_controller.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/rails/action_controller.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/rails/action_controller.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/rails/configuration_defaults.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/rails/configuration_defaults.rb new file mode 100644 index 00000000..0225cb07 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/rails/configuration_defaults.rb @@ -0,0 +1,45 @@ +module Compass + module AppIntegration + module Rails + module ConfigurationDefaults + + def project_type_without_default + :rails + end + + def default_images_dir + File.join("public", "images") + end + + def default_fonts_dir + File.join("public", "fonts") + end + + def default_javascripts_dir + File.join("public", "javascripts") + end + + def default_http_images_path + "/images" + end + + def default_http_javascripts_path + "/javascripts" + end + + def default_http_fonts_path + "/fonts" + end + + def default_http_stylesheets_path + "/stylesheets" + end + + def default_extensions_dir + "vendor/plugins/compass/extensions" + end + + end + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/rails/installer.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/rails/installer.rb new file mode 100644 index 00000000..4b06a2a7 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/rails/installer.rb @@ -0,0 +1,127 @@ +module Compass + module Installers + class Base + end + class ManifestInstaller < Base + end + end + + module AppIntegration + module Rails + class Installer < Compass::Installers::ManifestInstaller + + def completed_configuration + config = {} + config[:sass_dir] = prompt_sass_dir unless sass_dir_without_default + config[:css_dir] = prompt_css_dir unless css_dir_without_default + config unless config.empty? + end + + def write_configuration_files(config_file = nil) + config_file ||= targetize('config/compass.rb') + directory File.dirname(config_file) + write_file config_file, config_contents + directory File.dirname(targetize('config/initializers/compass.rb')) + write_file targetize('config/initializers/compass.rb'), initializer_contents + end + + def config_files_exist? + File.exists?(targetize('config/compass.config')) && + File.exists?(targetize('config/initializers/compass.rb')) + end + + def prepare + write_configuration_files unless config_files_exist? + end + + def finalize(options = {}) + if options[:create] + puts <<-NEXTSTEPS + + Congratulations! Your rails project has been configured to use Compass. + Sass will automatically compile your stylesheets during the next + page request and keep them up to date when they change. + Make sure you restart your server! + NEXTSTEPS + end + if manifest.has_stylesheet? + puts "\nNext add these lines to the head of your layouts:\n\n" + puts stylesheet_links + puts "\n(You are using haml, aren't you?)" + end + end + + + def install_location_for_html(to, options) + separate("public/#{pattern_name_as_dir}#{to}") + end + + def prompt_sass_dir + recommended_location = separate('app/stylesheets') + default_location = separate('public/stylesheets/sass') + print %Q{Compass recommends that you keep your stylesheets in #{recommended_location} + instead of the Sass default location of #{default_location}. + Is this OK? (Y/n) } + answer = gets.downcase[0] + answer == ?n ? default_location : recommended_location + end + + def prompt_css_dir + recommended_location = separate("public/stylesheets/compiled") + default_location = separate("public/stylesheets") + puts + print %Q{Compass recommends that you keep your compiled css in #{recommended_location}/ + instead the Sass default of #{default_location}/. + However, if you're exclusively using Sass, then #{default_location}/ is recommended. + Emit compiled stylesheets to #{recommended_location}/? (Y/n) } + answer = gets.downcase[0] + answer == ?n ? default_location : recommended_location + end + + def config_contents + Compass.configuration.serialize do |prop, value| + if prop == :project_path + "project_path = RAILS_ROOT if defined?(RAILS_ROOT)\n" + elsif prop == :output_style + "" + end + end + end + + def initializer_contents + %Q{require 'compass' + # If you have any compass plugins, require them here. + Compass.configuration.parse(File.join(RAILS_ROOT, "config", "compass.config")) + Compass.configuration.environment = RAILS_ENV.to_sym + Compass.configure_sass_plugin! + } + end + + def stylesheet_prefix + if css_dir.length >= 19 + "#{css_dir[19..-1]}/" + else + nil + end + end + + def stylesheet_links + html = "%head\n" + manifest.each_stylesheet do |stylesheet| + # Skip partials. + next if File.basename(stylesheet.from)[0..0] == "_" + ss_line = " = stylesheet_link_tag '#{stylesheet_prefix}#{stylesheet.to.sub(/\.sass$/,'.css')}'" + if stylesheet.options[:media] + ss_line += ", :media => '#{stylesheet.options[:media]}'" + end + if stylesheet.options[:condition] + ss_line = " /[if #{stylesheet.options[:condition]}]\n " + ss_line + end + html << ss_line + "\n" + end + html + end + end + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/rails.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/rails/runtime.rb similarity index 59% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/rails.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/rails/runtime.rb index 904be241..82a353d1 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/rails.rb +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/rails/runtime.rb @@ -1,8 +1,10 @@ unless defined?(Compass::RAILS_LOADED) Compass::RAILS_LOADED = true - require File.join(File.dirname(__FILE__), 'rails', 'action_controller') - require File.join(File.dirname(__FILE__), 'rails', 'sass_plugin') - require File.join(File.dirname(__FILE__), 'rails', 'urls') + + %w(action_controller sass_plugin urls).each do |lib| + require "compass/app_integration/rails/#{lib}" + end + # Wierd that this has to be re-included to pick up sub-modules. Ruby bug? class Sass::Script::Functions::EvaluationContext include Sass::Script::Functions diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/rails/sass_plugin.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/rails/sass_plugin.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/rails/sass_plugin.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/rails/sass_plugin.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/rails/templates/compass-install-rails.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/rails/templates/compass-install-rails.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/rails/templates/compass-install-rails.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/rails/templates/compass-install-rails.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/rails/urls.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/rails/urls.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/rails/urls.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/rails/urls.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/stand_alone.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/stand_alone.rb new file mode 100644 index 00000000..2a00d195 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/stand_alone.rb @@ -0,0 +1,22 @@ +%w(configuration_defaults installer).each do |lib| + require "compass/app_integration/stand_alone/#{lib}" +end + +module Compass + module AppIntegration + module StandAlone + + extend self + + def installer(*args) + Installer.new(*args) + end + + def configuration + Compass::Configuration::Data.new('stand_alone'). + extend(ConfigurationDefaults) + end + + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/stand_alone/configuration_defaults.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/stand_alone/configuration_defaults.rb new file mode 100644 index 00000000..5eb364fa --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/stand_alone/configuration_defaults.rb @@ -0,0 +1,28 @@ +module Compass + module AppIntegration + module StandAlone + module ConfigurationDefaults + def default_project_type + :stand_alone + end + + def sass_dir_without_default + "src" + end + + def javascripts_dir_without_default + "javascripts" + end + + def css_dir_without_default + "stylesheets" + end + + def images_dir_without_default + "images" + end + end + + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/stand_alone/installer.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/stand_alone/installer.rb new file mode 100644 index 00000000..84dc19dc --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/app_integration/stand_alone/installer.rb @@ -0,0 +1,83 @@ +module Compass + module Installers + class Base + end + class ManifestInstaller < Base + end + end + + module AppIntegration + module StandAlone + class Installer < Compass::Installers::ManifestInstaller + + def init + directory targetize("") + super + end + + def write_configuration_files(config_file = nil) + config_file ||= targetize('config.rb') + write_file config_file, config_contents + end + + def config_files_exist? + File.exists? targetize('config.rb') + end + + def config_contents + project_path, Compass.configuration.project_path = Compass.configuration.project_path, nil + Compass.configuration.serialize + ensure + Compass.configuration.project_path = project_path + end + + def prepare + write_configuration_files unless config_files_exist? || !@manifest.generate_config? + end + + def completed_configuration + nil + end + + def finalize(options = {}) + if options[:create] && !manifest.welcome_message_options[:replace] + puts <<-NEXTSTEPS + +********************************************************************* +Congratulations! Your compass project has been created. + +You may now add and edit sass stylesheets in the #{Compass.configuration.sass_dir} subdirectory of your project. + +Sass files beginning with an underscore are called partials and won't be +compiled to CSS, but they can be imported into other sass stylesheets. + +You can configure your project by editing the config.rb configuration file. + +You must compile your sass stylesheets into CSS when they change. +This can be done in one of the following ways: + 1. To compile on demand: + compass compile [path/to/project] + 2. To monitor your project for changes and automatically recompile: + compass watch [path/to/project] + +More Resources: + * Wiki: http://wiki.github.com/chriseppstein/compass + * Sass: http://sass-lang.com + * Community: http://groups.google.com/group/compass-users/ + +NEXTSTEPS + end + puts manifest.welcome_message if manifest.welcome_message + if manifest.has_stylesheet? && !manifest.welcome_message_options[:replace] + puts "\nTo import your new stylesheets add the following lines of HTML (or equivalent) to your webpage:" + puts stylesheet_links + end + end + + def compilation_required? + @manifest.compile? + end + end + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands.rb new file mode 100644 index 00000000..ce22e296 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands.rb @@ -0,0 +1,11 @@ +module Compass::Commands +end + +require 'compass/commands/registry' + +%w(base generate_grid_background help list_frameworks project_base + update_project watch_project create_project installer_command + print_version project_stats stamp_pattern validate_project + write_configuration interactive).each do |lib| + require "compass/commands/#{lib}" +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/base.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/base.rb similarity index 86% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/base.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/base.rb index 94c17d57..91a0850f 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/base.rb +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/base.rb @@ -1,6 +1,9 @@ module Compass module Commands class Base + def self.register(command_name) + Compass::Commands[command_name] = self + end include Actions @@ -30,4 +33,4 @@ module Compass end end -end \ No newline at end of file +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/create_project.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/create_project.rb new file mode 100644 index 00000000..fa3d2dbe --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/create_project.rb @@ -0,0 +1,122 @@ +require 'fileutils' +require 'compass/commands/stamp_pattern' + +module Compass + module Commands + module CreateProjectOptionsParser + def set_options(opts) + + if $command == "create" + opts.banner = %Q{ + Usage: compass create path/to/project [options] + + Description: + Create a new compass project at the path specified. + + Options: + }.split("\n").map{|l| l.gsub(/^ */,'')}.join("\n") + + opts.on_tail("--bare", "Don't generate any Sass or CSS files.") do + self.options[:bare] = true + end + else + opts.banner = %Q{ + Usage: compass init project_type path/to/project [options] + + Description: + Initialize an existing project at the path specified. + + Supported Project Types: + * rails + + Options: + }.split("\n").map{|l| l.gsub(/^ */,'')}.join("\n").strip + end + + opts.on("--using FRAMEWORK", "Framework to use when creating the project.") do |framework| + framework = framework.split('/', 2) + self.options[:framework] = framework[0] + self.options[:pattern] = framework[1] + end + + super + end + end + + class CreateProject < StampPattern + + register :create + register :init + + class << self + def option_parser(arguments) + parser = Compass::Exec::CommandOptionParser.new(arguments) + parser.extend(Compass::Exec::GlobalOptionsParser) + parser.extend(Compass::Exec::ProjectOptionsParser) + parser.extend(CreateProjectOptionsParser) + end + + def usage + option_parser([]).to_s + end + + def description(command) + if command.to_sym == :create + "Create a new compass project" + else + "Initialize an existing project" + end + end + + def primary; true; end + + def parse!(arguments) + parser = option_parser(arguments) + parse_options!(parser, arguments) + parse_arguments!(parser, arguments) + if parser.options[:framework] && parser.options[:bare] + raise Compass::Error, "A bare project cannot be created when a framework is specified." + end + set_default_arguments(parser) + parser.options + end + + def parse_init!(arguments) + parser = option_parser(arguments) + parse_options!(parser, arguments) + if arguments.size > 0 + parser.options[:project_type] = arguments.shift.to_sym + end + parse_arguments!(parser, arguments) + set_default_arguments(parser) + parser.options + end + + def parse_options!(parser, arguments) + parser.parse! + parser + end + + def parse_arguments!(parser, arguments) + if arguments.size == 1 + parser.options[:project_name] = arguments.shift + elsif arguments.size == 0 + # default to the current directory. + else + raise Compass::Error, "Too many arguments were specified." + end + end + + def set_default_arguments(parser) + parser.options[:framework] ||= :compass + parser.options[:pattern] ||= "project" + end + end + + def is_project_creation? + true + end + + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/generate_grid_background.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/generate_grid_background.rb new file mode 100644 index 00000000..2bd16d9a --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/generate_grid_background.rb @@ -0,0 +1,91 @@ +require 'compass/commands/project_base' +require 'compass/commands/update_project' +require 'compass/grid_builder' + +module Compass + module Commands + module GridBackgroundOptionsParser + def set_options(opts) + banner = %Q{Usage: compass grid-img W+GxH [path/to/grid.png] + +Description: + Generates a background image that can be used to check grid alignment. + + Height is optional and defaults to 20px + + By default, the image generated will be named "grid.png" + and be found in the images directory. + + This command requires that you have both ImageMagick and RMagick installed. + +Examples: + + compass grid-img 40+10 # 40px column, 10px gutter, 20px height + compass grid-img 40+20x28 # 40px column, 20px gutter, 28px height + compass grid-img 60+20x28 images/wide_grid.png + +Options: +} + opts.banner = banner + + super + end + end + class GenerateGridBackground < ProjectBase + + include Actions + + register :"grid-img" + + class << self + def option_parser(arguments) + parser = Compass::Exec::CommandOptionParser.new(arguments) + parser.extend(Compass::Exec::GlobalOptionsParser) + parser.extend(GridBackgroundOptionsParser) + end + + def usage + option_parser([]).to_s + end + + def description(command) + "Generates a grid background image." + end + + def parse!(arguments) + parser = option_parser(arguments) + parser.parse! + if arguments.size == 0 + raise OptionParser::ParseError, "Please specify the grid dimensions." + end + parser.options[:grid_dimensions] = arguments.shift + parser.options[:grid_filename] = arguments.shift + parser.options + end + end + def initialize(working_path, options) + super + assert_project_directory_exists! + Compass.add_configuration(options, 'command_line') + end + + def perform + unless options[:grid_dimensions] =~ /^(\d+)\+(\d+)(?:x(\d+))?$/ + puts "ERROR: '#{options[:grid_dimensions]}' is not valid." + puts "Dimensions should be specified like: 30+10x20" + puts "where 30 is the column width, 10 is the gutter width, and 20 is the (optional) height." + return + end + column_width = $1.to_i + gutter_width = $2.to_i + height = $3.to_i if $3 + filename = options[:grid_filename] || projectize("#{project_images_subdirectory}/grid.png") + unless GridBuilder.new(options.merge(:column_width => column_width, :gutter_width => gutter_width, :height => height, :filename => filename, :working_path => self.working_path)).generate! + puts "ERROR: Some library dependencies appear to be missing." + puts "Have you installed rmagick? If not, please run:" + puts "sudo gem install rmagick" + end + end + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/help.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/help.rb new file mode 100644 index 00000000..2f5067e2 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/help.rb @@ -0,0 +1,89 @@ +module Compass + module Commands + module HelpOptionsParser + def set_options(opts) + banner = %Q{Usage: compass help [command] + +Description: + The Compass Stylesheet Authoring Framework helps you + build and maintain your stylesheets and makes it easy + for you to use stylesheet libraries provided by others. + +To get help on a particular command please specify the command. + +} + + primary_commands = Compass::Commands.all.select do |c| + cmd = Compass::Commands[c] + cmd.respond_to?(:primary) && cmd.primary + end + other_commands = Compass::Commands.all - primary_commands + + banner << command_list("Primary Commands:", primary_commands) + banner << command_list("Other Commands:", other_commands) + + banner << "\nAvailable Frameworks & Patterns:\n\n" + Compass::Frameworks::ALL.each do |framework| + banner << " * #{framework.name}\n" + framework.template_directories.each do |pattern| + banner << " - #{framework.name}/#{pattern}" + if description = framework.manifest(pattern).description + banner << "\t- #{description}" + end + banner << "\n" + end + end + + opts.banner = banner + + super + end + + def command_list(header, commands) + list = "#{header}\n" + commands.sort_by{|c| c.to_s}.each do |command| + list << " * #{command}" + if Compass::Commands[command].respond_to? :description + list << "\t- #{Compass::Commands[command].description(command)}" + end + list << "\n" + end + list + end + end + class Help < Base + register :help + + class << self + def option_parser(arguments) + parser = Compass::Exec::CommandOptionParser.new(arguments) + parser.extend(HelpOptionsParser) + end + def usage + option_parser([]).to_s + end + def description(command) + "Get help on a compass command or extension" + end + def parse!(arguments) + parser = option_parser(arguments) + parser.parse! + parser.options[:help_command] = arguments.shift || 'help' + parser.options + end + end + + def execute + if Compass::Commands.command_exists? options[:help_command] + $command = options[:help_command] + puts Compass::Commands[options[:help_command]].usage + $command = "help" + elsif Compass::Frameworks.template_exists? options[:help_command] + puts Compass::Frameworks.template_usage(options[:help_command]) + else + raise OptionParser::ParseError, "No such command: #{options[:help_command]}" + end + end + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/installer_command.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/installer_command.rb new file mode 100644 index 00000000..b7245ec2 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/installer_command.rb @@ -0,0 +1,38 @@ +require 'compass/installers' + +module Compass + module Commands + module InstallerCommand + include Compass::Installers + + def configure! + if respond_to?(:is_project_creation?) && is_project_creation? + Compass.add_configuration(options.delete(:project_type) || :stand_alone) + else + Compass.add_project_configuration(:project_type => options.delete(:project_type)) + end + Compass.add_configuration(options, 'command_line') + if File.exists?(Compass.configuration.extensions_path) + Compass::Frameworks.discover(Compass.configuration.extensions_path) + end + Compass.add_configuration(installer.completed_configuration, 'installer') + end + + def app + @app ||= Compass::AppIntegration.lookup(Compass.configuration.project_type) + end + + def installer + @installer ||= if options[:bare] + Compass::Installers::BareInstaller.new(*installer_args) + else + app.installer(*installer_args) + end + end + + def installer_args + [template_directory(options[:pattern] || "project"), project_directory, options] + end + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/interactive.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/interactive.rb new file mode 100644 index 00000000..c0a0d46f --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/interactive.rb @@ -0,0 +1,61 @@ + +require 'compass/commands/project_base' +require 'compass/commands/update_project' + +module Compass + module Commands + module InteractiveOptionsParser + def set_options(opts) + opts.banner = %Q{ + Usage: compass interactive [path/to/project] [options] + + Description: + Interactively evaluate SassScript + + Options: + }.strip.split("\n").map{|l| l.gsub(/^ {0,10}/,'')}.join("\n") + + super + end + end + class Interactive < ProjectBase + + register :interactive + + def initialize(working_path, options) + super + end + + def perform + require 'sass/repl' + Sass::Repl.new.run + end + + class << self + + def option_parser(arguments) + parser = Compass::Exec::CommandOptionParser.new(arguments) + parser.extend(Compass::Exec::GlobalOptionsParser) + parser.extend(Compass::Exec::ProjectOptionsParser) + parser.extend(InteractiveOptionsParser) + end + + def usage + option_parser([]).to_s + end + + def description(command) + "Interactively evaluate SassScript" + end + + def parse!(arguments) + parser = option_parser(arguments) + parser.parse! + parser.options + end + + end + + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/list_frameworks.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/list_frameworks.rb similarity index 82% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/list_frameworks.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/list_frameworks.rb index 27801945..e9ffb409 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/list_frameworks.rb +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/list_frameworks.rb @@ -1,9 +1,9 @@ module Compass module Commands - class ListFrameworks + class ListFrameworks < ProjectBase attr_accessor :options def initialize(working_path, options) - self.options = options + super end def execute diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/print_version.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/print_version.rb new file mode 100644 index 00000000..9ca5381d --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/print_version.rb @@ -0,0 +1,91 @@ +module Compass + module Commands + module VersionOptionsParser + def set_options(opts) + opts.banner = %Q{Usage: compass version [options] + +Options: +} + opts.on_tail("-?", "-h", "--help", "Print out this message.") do + puts opts + exit + end + opts.on("-q", "--quiet", "Just print the version string.") do + self.options[:quiet] = true + end + opts.on("--major", "Print the major version number") do + self.options[:major] = true + self.options[:custom] = true + end + opts.on("--minor", "Print up to the minor version number") do + self.options[:major] = true + self.options[:minor] = true + self.options[:custom] = true + end + opts.on("--patch", "Print up to the patch version number") do + self.options[:major] = true + self.options[:minor] = true + self.options[:patch] = true + self.options[:custom] = true + end + opts.on("--revision", "Include the source control revision") do + self.options[:revision] = true + self.options[:custom] = true + end + end + end + + class PrintVersion < Base + register :version + + class << self + def option_parser(arguments) + parser = Compass::Exec::CommandOptionParser.new(arguments) + parser.extend(VersionOptionsParser) + end + def usage + option_parser([]).to_s + end + def description(command) + "Print out version information" + end + def parse!(arguments) + parser = option_parser(arguments) + parser.parse! + parser.options + end + end + + attr_accessor :options + + def initialize(working_path, options) + self.options = options + end + + def execute + if options[:custom] + version = "" + version << "#{Compass.version[:major]}" if options[:major] + version << ".#{Compass.version[:minor]}" if options[:minor] + version << ".#{Compass.version[:teeny]}" if options[:patch] + if options[:revision] + if version.size > 0 + version << " [#{Compass.version[:rev][0..6]}]" + else + version << Compass.version[:rev] + end + end + puts version + elsif options[:quiet] + puts ::Compass.version[:string] + else + lines = [] + lines << "Compass #{::Compass.version[:string]}" + lines << "Copyright (c) 2008-2009 Chris Eppstein" + lines << "Released under the MIT License." + puts lines.join("\n") + end + end + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/project_base.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/project_base.rb similarity index 59% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/project_base.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/project_base.rb index dc082eeb..5d5c3312 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/project_base.rb +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/project_base.rb @@ -1,7 +1,7 @@ require 'fileutils' require 'pathname' -require File.join(File.dirname(__FILE__), 'base') -require File.join(File.dirname(__FILE__), 'installer_command') +require 'compass/commands/base' +require 'compass/commands/installer_command' module Compass module Commands @@ -11,24 +11,29 @@ module Compass def initialize(working_path, options = {}) super(working_path, options) self.project_name = determine_project_name(working_path, options) - Compass.configuration.project_path = determine_project_directory(working_path, options) + Compass.add_configuration({:project_path => determine_project_directory(working_path, options)}, "implied") + configure! end def execute - configure! super end protected def configure! - read_project_configuration - Compass.configuration.set_maybe(options) - Compass.configuration.set_defaults! + add_project_configuration + if File.exists?(Compass.configuration.extensions_path) + Compass::Frameworks.discover(Compass.configuration.extensions_path) + end + end + + def add_project_configuration + Compass.add_project_configuration(options[:configuration_file]) end def projectize(path) - File.join(project_directory, separate(path)) + Compass.projectize(path) end def project_directory @@ -47,31 +52,6 @@ module Compass Compass.configuration.images_dir end - # Read the configuration file for this project - def read_project_configuration - if file = detect_configuration_file - Compass.configuration.parse(file) if File.readable?(file) - end - end - - def explicit_config_file_must_be_readable? - true - end - - # TODO: Deprecate the src/config.rb location. - KNOWN_CONFIG_LOCATIONS = [".compass/config.rb", "config/compass.config", "config.rb", "src/config.rb"] - - # Finds the configuration file, if it exists in a known location. - def detect_configuration_file - if options[:configuration_file] - if explicit_config_file_must_be_readable? && !File.readable?(options[:configuration_file]) - raise Compass::Error, "Configuration file, #{file}, not found or not readable." - end - return options[:configuration_file] - end - KNOWN_CONFIG_LOCATIONS.map{|f| projectize(f)}.detect{|f| File.exists?(f)} - end - def assert_project_directory_exists! if File.exists?(project_directory) && !File.directory?(project_directory) raise Compass::FilesystemConflict.new("#{project_directory} is not a directory.") @@ -109,4 +89,4 @@ module Compass end end -end \ No newline at end of file +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/project_stats.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/project_stats.rb new file mode 100644 index 00000000..81f958c9 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/project_stats.rb @@ -0,0 +1,162 @@ +require 'compass/commands/project_base' +require 'compass/commands/update_project' + +module Compass + module Commands + module StatsOptionsParser + def set_options(opts) + opts.banner = %Q{ + Usage: compass stats [path/to/project] [options] + + Description: + Compile project at the path specified (or the current + directory if not specified) and then compute statistics + for the sass and css files in the project. + + Options: + }.strip.split("\n").map{|l| l.gsub(/^ {0,10}/,'')}.join("\n") + + super + end + end + class ProjectStats < UpdateProject + + register :stats + + def initialize(working_path, options) + super + assert_project_directory_exists! + end + + def perform + super + require 'compass/stats' + compiler = new_compiler_instance + sass_files = sorted_sass_files(compiler) + rows = [[ :-, :-, :-, :-, :-, :-, :- ], + [ 'Filename', 'Rules', 'Properties', 'Mixins Defs', 'Mixins Used', 'CSS Rules', 'CSS Properties' ], + [ :-, :-, :-, :-, :-, :-, :- ]] + maximums = [ 8, 5, 10, 14, 11, 9, 14 ] + alignments = [ :left, :right, :right, :right, :right, :right, :right ] + delimiters = [ ['| ', ' |'], [' ', ' |'], [' ', ' |'], [' ', ' |'], [' ', ' |'], [' ', ' |'], [' ', ' |'] ] + totals = [ "Total (#{sass_files.size} files):", 0, 0, 0, 0, 0, 0 ] + + sass_files.each do |sass_file| + css_file = compiler.corresponding_css_file(sass_file) unless sass_file[0..0] == '_' + row = filename_columns(sass_file) + row += sass_columns(sass_file) + row += css_columns(css_file) + row.each_with_index do |c, i| + maximums[i] = [maximums[i].to_i, c.size].max + totals[i] = totals[i] + c.to_i if i > 0 + end + rows << row + end + rows << [:-] * 7 + rows << totals.map{|t| t.to_s} + rows << [:-] * 7 + rows.each do |row| + row.each_with_index do |col, i| + print pad(col, maximums[i], :align => alignments[i], :left => delimiters[i].first, :right => delimiters[i].last) + end + print "\n" + end + if @missing_css_parser + puts "\nInstall css_parser to enable stats on your css files:\n\n\tgem install css_parser" + end + end + + def pad(c, max, options = {}) + options[:align] ||= :left + if c == :- + filler = '-' + c = '' + else + filler = ' ' + end + spaces = max - c.size + filled = filler * [spaces,0].max + "#{options[:left]}#{filled if options[:align] == :right}#{c}#{filled if options[:align] == :left}#{options[:right]}" + end + + def sorted_sass_files(compiler) + sass_files = compiler.sass_files(:exclude_partials => false) + sass_files.map! do |s| + filename = Compass.deprojectize(s, File.join(Compass.configuration.project_path, Compass.configuration.sass_dir)) + [s, File.dirname(filename), File.basename(filename)] + end + sass_files = sass_files.sort_by do |s,d,f| + File.join(d, f[0] == ?_ ? f[1..-1] : f) + end + sass_files.map!{|s,d,f| s} + end + + def filename_columns(sass_file) + filename = Compass.deprojectize(sass_file, working_path) + [filename] + end + + def sass_columns(sass_file) + sf = Compass::Stats::SassFile.new(sass_file) + sf.analyze! + %w(rule_count prop_count mixin_def_count mixin_count).map do |t| + sf.send(t).to_s + end + end + + def css_columns(css_file) + if File.exists?(css_file) + cf = Compass::Stats::CssFile.new(css_file) + cf.analyze! + %w(selector_count prop_count).map do |t| + cf.send(t).to_s + end + else + return [ '--', '--' ] + end + rescue LoadError + @missing_css_parser = true + return [ 'DISABLED', 'DISABLED' ] + end + + class << self + + def option_parser(arguments) + parser = Compass::Exec::CommandOptionParser.new(arguments) + parser.extend(Compass::Exec::GlobalOptionsParser) + parser.extend(Compass::Exec::ProjectOptionsParser) + parser.extend(StatsOptionsParser) + end + + def usage + option_parser([]).to_s + end + + def description(command) + "Report statistics about your stylesheets" + end + + def primary; false; end + + def parse!(arguments) + parser = option_parser(arguments) + parser.parse! + parse_arguments!(parser, arguments) + parser.options + end + + def parse_arguments!(parser, arguments) + if arguments.size == 1 + parser.options[:project_name] = arguments.shift + elsif arguments.size == 0 + # default to the current directory. + else + raise Compass::Error, "Too many arguments were specified." + end + end + + end + + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/registry.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/registry.rb new file mode 100644 index 00000000..ac3654d9 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/registry.rb @@ -0,0 +1,22 @@ +module Compass::Commands + module Registry + def register(name, command_class) + @commands ||= Hash.new + @commands[name.to_sym] = command_class + end + def get(name) + @commands ||= Hash.new + @commands[name.to_sym] + end + def command_exists?(name) + @commands ||= Hash.new + name && @commands.has_key?(name.to_sym) + end + def all + @commands.keys + end + alias_method :[], :get + alias_method :[]=, :register + end + extend Registry +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/stamp_pattern.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/stamp_pattern.rb new file mode 100644 index 00000000..97199a3c --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/stamp_pattern.rb @@ -0,0 +1,86 @@ +require 'fileutils' +require 'compass/commands/base' +require 'compass/commands/update_project' + +module Compass + module Commands + module StampPatternOptionsParser + def set_options(opts) + opts.banner = %Q{Usage: compass install extension/pattern [path/to/project] [options] + +Description: + Install an extension's pattern into your compass project + +Example: + compass install blueprint/buttons + +Options: +} + super + end + end + + class StampPattern < ProjectBase + + register :install + + class << self + def option_parser(arguments) + parser = Compass::Exec::CommandOptionParser.new(arguments) + parser.extend(Compass::Exec::GlobalOptionsParser) + parser.extend(Compass::Exec::ProjectOptionsParser) + parser.extend(StampPatternOptionsParser) + end + def usage + option_parser([]).to_s + end + def description(command) + "Install an extension's pattern into your compass project" + end + def parse!(arguments) + parser = option_parser(arguments) + parser.parse! + parse_arguments!(parser, arguments) + parser.options + end + def parse_arguments!(parser, arguments) + if arguments.size == 0 + raise OptionParser::ParseError, "Please specify a pattern." + end + pattern = arguments.shift.split('/', 2) + parser.options[:framework] = pattern[0] + parser.options[:pattern] = pattern[1] + if arguments.size > 0 + parser.options[:project_name] = arguments.shift + end + if arguments.size > 0 + raise OptionParser::ParseError, "Unexpected trailing arguments: #{arguments.join(" ")}" + end + end + + end + include InstallerCommand + + def initialize(working_path, options) + super(working_path, options) + end + + # all commands must implement perform + def perform + installer.init + installer.run(:skip_finalization => true) + UpdateProject.new(working_path, options).perform if installer.compilation_required? + installer.finalize(:create => is_project_creation?) + end + + def is_project_creation? + false + end + + def template_directory(pattern) + File.join(framework.templates_directory, pattern) + end + + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/update_project.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/update_project.rb new file mode 100644 index 00000000..9ab8814b --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/update_project.rb @@ -0,0 +1,88 @@ +require 'compass/commands/project_base' +require 'compass/compiler' + +module Compass + module Commands + module CompileProjectOptionsParser + def set_options(opts) + opts.banner = %Q{ + Usage: compass compile [path/to/project] [options] + + Description: + compile project at the path specified or the current director if not specified. + + Options: + }.split("\n").map{|l| l.gsub(/^ */,'')}.join("\n") + + super + end + end + + class UpdateProject < ProjectBase + + register :compile + + def initialize(working_path, options) + super + assert_project_directory_exists! unless dry_run? + end + + def perform + compiler = new_compiler_instance + if compiler.sass_files.empty? && !dry_run? + message = "Nothing to compile. If you're trying to start a new project, you have left off the directory argument.\n" + message << "Run \"compass -h\" to get help." + raise Compass::Error, message + else + compiler.run + end + end + + def dry_run? + options[:dry_run] + end + + def new_compiler_instance(additional_options = {}) + Compass::Compiler.new(working_path, + projectize(Compass.configuration.sass_dir), + projectize(Compass.configuration.css_dir), + Compass.sass_engine_options.merge(:quiet => options[:quiet], + :force => options[:force]).merge(additional_options)) + end + + class << self + def option_parser(arguments) + parser = Compass::Exec::CommandOptionParser.new(arguments) + parser.extend(Compass::Exec::GlobalOptionsParser) + parser.extend(Compass::Exec::ProjectOptionsParser) + parser.extend(CompileProjectOptionsParser) + end + + def usage + option_parser([]).to_s + end + + def primary; true; end + + def description(command) + "Compile Sass stylesheets to CSS" + end + + def parse!(arguments) + parser = option_parser(arguments) + parser.parse! + parse_arguments!(parser, arguments) + parser.options + end + + def parse_arguments!(parser, arguments) + if arguments.size == 1 + parser.options[:project_name] = arguments.shift + elsif arguments.size > 1 + raise Compass::Error, "Too many arguments were specified." + end + end + end + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/validate_project.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/validate_project.rb new file mode 100644 index 00000000..2f024d36 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/validate_project.rb @@ -0,0 +1,77 @@ +require 'compass/commands/project_base' +require 'compass/commands/update_project' + +module Compass + module Commands + module ValidationOptionsParser + def set_options(opts) + opts.banner = %Q{ + Usage: compass validate [path/to/project] [options] + + Description: + Compile project at the path specified or the current + directory if not specified and then validate the + generated CSS. + + Options: + }.strip.split("\n").map{|l| l.gsub(/^ {0,10}/,'')}.join("\n") + + super + end + end + class ValidateProject < ProjectBase + + register :validate + + def initialize(working_path, options) + super + assert_project_directory_exists! + end + + def perform + require 'compass/validator' + UpdateProject.new(working_path, options).perform + Dir.chdir Compass.configuration.project_path do + Validator.new(project_css_subdirectory).validate() + end + end + + class << self + + def option_parser(arguments) + parser = Compass::Exec::CommandOptionParser.new(arguments) + parser.extend(Compass::Exec::GlobalOptionsParser) + parser.extend(Compass::Exec::ProjectOptionsParser) + parser.extend(ValidationOptionsParser) + end + + def usage + option_parser([]).to_s + end + + def description(command) + "Validate your generated css." + end + + def parse!(arguments) + parser = option_parser(arguments) + parser.parse! + parse_arguments!(parser, arguments) + parser.options + end + + def parse_arguments!(parser, arguments) + if arguments.size == 1 + parser.options[:project_name] = arguments.shift + elsif arguments.size == 0 + # default to the current directory. + else + raise Compass::Error, "Too many arguments were specified." + end + end + + end + + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/watch_project.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/watch_project.rb similarity index 83% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/watch_project.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/watch_project.rb index ee0528d8..96b291bb 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/watch_project.rb +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/watch_project.rb @@ -1,12 +1,14 @@ require 'fileutils' require 'pathname' -require File.join(File.dirname(__FILE__), 'base') -require File.join(File.dirname(__FILE__), 'update_project') +require 'compass/commands/base' +require 'compass/commands/update_project' module Compass module Commands class WatchProject < UpdateProject + register :watch + attr_accessor :last_update_time, :last_sass_files def perform @@ -19,7 +21,12 @@ module Compass puts ">>> Compass is watching for changes. Press Ctrl-C to Stop." - require File.join(Compass.lib_directory, 'vendor', 'fssm') + begin + require 'fssm' + rescue LoadError + $: << File.join(Compass.lib_directory, 'vendor') + retry + end FSSM.monitor do |monitor| Compass.configuration.sass_load_paths.each do |load_path| @@ -54,11 +61,11 @@ module Compass puts ">>> Change detected to: #{file}" compiler.run rescue StandardError => e - ::Compass::Exec.report_error(e, options) + ::Compass::Exec::Helpers.report_error(e, options) end end end end end -end \ No newline at end of file +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/write_configuration.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/write_configuration.rb new file mode 100644 index 00000000..acf60301 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/commands/write_configuration.rb @@ -0,0 +1,113 @@ +require 'compass/commands/project_base' + +module Compass + module Commands + module ConfigurationOptionsParser + def set_options(opts) + opts.banner = %Q{ + Usage: compass config [path/to/config_file.rb] [options] + + Description: + Generate a configuration file for the options specified. + Compass will recognize configuration files in the + following locations relative to the project root: + * #{Compass::Configuration::Helpers::KNOWN_CONFIG_LOCATIONS.join(" + * ")} + Any other location, and you'll need to specify it when working with the command line tool using the -c option. + + Options: + }.strip.split("\n").map{|l| l.gsub(/^ {0,10}/,'')}.join("\n") + opts.on("--debug [PROPERTY]", "Debug your configuration by printing out details.") do |prop| + self.options[:debug] = prop.nil? ? true : prop.to_sym + end + + super + end + end + class WriteConfiguration < ProjectBase + + register :config + + include InstallerCommand + + def initialize(working_path, options) + super + assert_project_directory_exists! + end + + def add_project_configuration + Compass.add_project_configuration + end + + def perform + if options[:debug] + puts "Configuration sources:" + c = Compass.configuration + while c + print c.name + c = c.inherited_data + print ", " if c + end + print "\n" + Compass.configuration.debug.each do |prop, values| + if options[:debug].is_a?(Symbol) + next unless prop == options[:debug] + end + puts "***** #{prop} = #{values.first[:resolved].inspect} *****" + [:default, :value, :raw, :resolved].each do |kind| + puts "#{kind}: " + values.inject([]){|m, v| m << v[kind]}.map{|v| v.nil? ? '-' : v.inspect}.join(", ") + end + end + else + directory File.dirname(options[:configuration_file]) + installer.write_configuration_files(options[:configuration_file]) + end + end + + def installer_args + [nil, project_directory, options] + end + + def explicit_config_file_must_be_readable? + false + end + + class << self + + def option_parser(arguments) + parser = Compass::Exec::CommandOptionParser.new(arguments) + parser.extend(Compass::Exec::GlobalOptionsParser) + parser.extend(Compass::Exec::ProjectOptionsParser) + parser.extend(ConfigurationOptionsParser) + end + + def usage + option_parser([]).to_s + end + + def description(command) + "Generate a configuration file for the provided command line options." + end + + def parse!(arguments) + parser = option_parser(arguments) + parser.parse! + parse_arguments!(parser, arguments) + parser.options + end + + def parse_arguments!(parser, arguments) + if arguments.size == 1 + parser.options[:configuration_file] = arguments.shift + elsif arguments.size == 0 + # default to the current directory. + else + raise Compass::Error, "Too many arguments were specified." + end + end + + end + + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/compiler.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/compiler.rb similarity index 67% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/compiler.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/compiler.rb index c48b2b63..b791471e 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/compiler.rb +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/compiler.rb @@ -13,8 +13,9 @@ module Compass self.options[:cache_location] ||= File.join(from, ".sass-cache") end - def sass_files - @sass_files || Dir.glob(separate("#{from}/**/[^_]*.sass")) + def sass_files(options = {}) + exclude_partials = options.fetch(:exclude_partials, true) + @sass_files || Dir.glob(separate("#{from}/**/#{'[^_]' if exclude_partials}*.sass")) end def stylesheet_name(sass_file) @@ -47,8 +48,16 @@ module Compass directory dir end sass_files.zip(css_files).each do |sass_filename, css_filename| - compile sass_filename, css_filename, options + begin + compile sass_filename, css_filename, options + rescue Sass::SyntaxError => e + full_exception = Compass.configuration.environment == :development + logger.record :error, basename(sass_filename), "(Line #{e.sass_line}: #{e.message})" + write_file(css_filename, + Sass::SyntaxError.exception_to_css(e, :full_exception => full_exception), + options.merge(:force => true)) + end end end end -end \ No newline at end of file +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/configuration.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/configuration.rb new file mode 100644 index 00000000..25c300b5 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/configuration.rb @@ -0,0 +1,43 @@ +module Compass + module Configuration + + def self.attributes_for_directory(dir_name, http_dir_name = dir_name) + [ + "#{dir_name}_dir", + "#{dir_name}_path", + ("http_#{http_dir_name}_dir" if http_dir_name), + ("http_#{http_dir_name}_path" if http_dir_name) + ].compact.map{|a| a.to_sym} + end + + ATTRIBUTES = [ + # What kind of project? + :project_type, + # Where is the project? + :project_path, + :http_path, + # Where are the various bits of the project + attributes_for_directory(:css, :stylesheets), + attributes_for_directory(:sass, nil), + attributes_for_directory(:images), + attributes_for_directory(:javascripts), + attributes_for_directory(:fonts), + attributes_for_directory(:extensions, nil), + # Compilation options + :output_style, + :environment, + :relative_assets, + :additional_import_paths, + :sass_options, + :asset_host, + :asset_cache_buster, + :line_comments, + :color_output + ].flatten + + end +end + +['adapters', 'comments', 'defaults', 'helpers', 'inheritance', 'serialization', 'data'].each do |lib| + require "compass/configuration/#{lib}" +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/configuration/adapters.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/configuration/adapters.rb new file mode 100644 index 00000000..d15c0079 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/configuration/adapters.rb @@ -0,0 +1,59 @@ +module Compass + module Configuration + # The adapters module provides methods that make configuration data from a compass project + # adapt to various consumers of configuration data + module Adapters + def to_compiler_arguments(additional_options) + [project_path, sass_path, css_path, to_sass_engine_options.merge(additional_options)] + end + + def to_sass_plugin_options + locations = {} + locations[sass_path] = css_path if sass_path && css_path + Compass::Frameworks::ALL.each do |framework| + locations[framework.stylesheets_directory] = css_path || css_dir || "." + end + resolve_additional_import_paths.each do |additional_path| + locations[additional_path] = File.join(css_path || css_dir || ".", File.basename(additional_path)) + end + plugin_opts = {:template_location => locations} + plugin_opts[:style] = output_style if output_style + plugin_opts[:line_comments] = line_comments if environment + plugin_opts.merge!(sass_options || {}) + plugin_opts + end + + def resolve_additional_import_paths + (additional_import_paths || []).map do |path| + if project_path && !absolute_path?(path) + File.join(project_path, path) + else + path + end + end + end + + def absolute_path?(path) + # This is only going to work on unix, gonna need a better implementation. + path.index(File::SEPARATOR) == 0 + end + + def to_sass_engine_options + engine_opts = {:load_paths => sass_load_paths} + engine_opts[:style] = output_style if output_style + engine_opts[:line_comments] = line_comments if environment + engine_opts.merge!(sass_options || {}) + end + + def sass_load_paths + load_paths = [] + load_paths << sass_path if sass_path + Compass::Frameworks::ALL.each do |framework| + load_paths << framework.stylesheets_directory if File.exists?(framework.stylesheets_directory) + end + load_paths += resolve_additional_import_paths + load_paths + end + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/configuration/comments.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/configuration/comments.rb new file mode 100644 index 00000000..b62f6a92 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/configuration/comments.rb @@ -0,0 +1,22 @@ +module Compass + module Configuration + # Comments are emitted into the configuration file when serialized and make it easier to understand for new users. + module Comments + + def comment_for_http_path + "# Set this to the root of your project when deployed:\n" + end + + def comment_for_relative_assets + unless relative_assets + %q{# To enable relative paths to assets via compass helper functions. Uncomment: +# relative_assets = true +} + else + "" + end + end + + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/configuration/data.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/configuration/data.rb new file mode 100644 index 00000000..42936045 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/configuration/data.rb @@ -0,0 +1,106 @@ +module Compass + module Configuration + # The Compass configuration data storage class manages configuration data that comes from a variety of + # different sources and aggregates them together into a consistent API + # Some of the possible sources of configuration data: + # * Compass default project structure for stand alone projects + # * App framework specific project structures for rails, etc. + # * User supplied explicit configuration + # * Configuration data provided via the command line interface + # + # There are two kinds of configuration data that doesn't come from the user: + # + # 1. Configuration data that is defaulted as if the user had provided it themselves. + # This is useful for providing defaults that the user is likely to want to edit + # but shouldn't have to provide explicitly when getting started + # 2. Configuration data that is defaulted behind the scenes because _some_ value is + # required. + class Data + + attr_accessor :required_libraries + attr_reader :name + + include Compass::Configuration::Inheritance + include Compass::Configuration::Serialization + include Compass::Configuration::Adapters + + inherited_accessor *ATTRIBUTES + + def initialize(name, attr_hash = nil) + raise "I need a name!" unless name + @name = name + self.required_libraries = [] + set_all(attr_hash) if attr_hash + self.top_level = self + end + + def set_all(attr_hash) + # assert_valid_keys!(attr_hash) + attr_hash.each do |a, v| + if self.respond_to?("#{a}=") + self.send("#{a}=", v) + end + end + end + + def add_import_path(*paths) + # The @added_import_paths variable works around an issue where + # the additional_import_paths gets overwritten during parse + @added_import_paths ||= [] + @added_import_paths += paths + self.additional_import_paths ||= [] + self.additional_import_paths += paths + end + + # When called with a block, defines the asset host url to be used. + # The block must return a string that starts with a protocol (E.g. http). + # The block will be passed the root-relative url of the asset. + # When called without a block, returns the block that was previously set. + def asset_host(&block) + if block_given? + @asset_host = block + else + @asset_host + end + end + + # When called with a block, defines the cache buster strategy to be used. + # The block must return nil or a string that can be appended to a url as a query parameter. + # The returned string must not include the starting '?'. + # The block will be passed the root-relative url of the asset. + # If the block accepts two arguments, it will also be passed a File object + # that points to the asset on disk -- which may or may not exist. + # When called without a block, returns the block that was previously set. + def asset_cache_buster(&block) + if block_given? + @asset_cache_buster = block + else + @asset_cache_buster + end + end + + # Require a compass plugin and capture that it occured so that the configuration serialization works next time. + def require(lib) + required_libraries << lib + super + end + + def relative_assets? + # the http_images_path is deprecated, but here for backwards compatibility. + relative_assets || http_images_path == :relative + end + + private + + def assert_valid_keys!(attr_hash) + illegal_attrs = attr_hash.keys - ATTRIBUTES + if illegal_attrs.size == 1 + raise Error, "#{illegal_attrs.first.inspect} is not a valid configuration attribute." + elsif illegal_attrs.size > 0 + raise Error, "Illegal configuration attributes: #{illegal_attrs.map{|a| a.inspect}.join(", ")}" + end + end + + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/configuration/defaults.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/configuration/defaults.rb new file mode 100644 index 00000000..d511d869 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/configuration/defaults.rb @@ -0,0 +1,138 @@ +module Compass + module Configuration + module Defaults + + def default_project_type + :stand_alone + end + + def http_path_without_default + "/" + end + + def default_extensions_dir + "extensions" + end + + def default_fonts_dir + File.join(top_level.css_dir, "fonts") + end + + def default_environment + :development + end + + def default_output_style + if top_level.environment == :development + :expanded + else + :compact + end + end + + def default_line_comments + top_level.environment == :development + end + + def default_color_output + true + end + + def default_sass_path + if (pp = top_level.project_path) && (dir = top_level.sass_dir) + File.join(pp, dir) + end + end + + def default_css_path + if (pp = top_level.project_path) && (dir = top_level.css_dir) + File.join(pp, dir) + end + end + + def default_images_path + if (pp = top_level.project_path) && (dir = top_level.images_dir) + File.join(pp, dir) + end + end + + def default_javascripts_path + if (pp = top_level.project_path) && (dir = top_level.javascripts_dir) + File.join(pp, dir) + end + end + + def default_extensions_path + if (pp = top_level.project_path) && (dir = top_level.extensions_dir) + File.join(pp, dir) + end + end + + def default_fonts_path + if (pp = top_level.project_path) && (dir = top_level.fonts_dir) + File.join(pp, dir) + end + end + + + def default_http_images_dir + top_level.images_dir + end + + def default_http_images_path + http_root_relative top_level.http_images_dir + end + + def default_http_stylesheets_dir + top_level.css_dir + end + + def default_http_stylesheets_path + http_root_relative top_level.http_stylesheets_dir + end + + def default_http_fonts_dir + if fd = top_level.fonts_dir_without_default + fd + else + "#{top_level.http_stylesheets_dir}/fonts" + end + end + + def default_http_fonts_path + http_root_relative top_level.http_fonts_dir + end + + def default_http_javascripts_dir + top_level.javascripts_dir + end + + def default_http_javascripts_path + http_root_relative top_level.http_javascripts_dir + end + + # helper functions + + def http_join(*segments) + segments.map do |segment| + next unless segment + segment = http_pathify(segment) + segment[-1..-1] == "/" ? segment[0..-2] : segment + end.join("/") + end + + def http_pathify(path) + if File::SEPARATOR == "/" + path + else + path.gsub(File::SEPARATOR, "/") + end + end + + def http_root_relative(path) + http_join top_level.http_path, path + end + + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/configuration/helpers.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/configuration/helpers.rb new file mode 100644 index 00000000..d1d983bb --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/configuration/helpers.rb @@ -0,0 +1,120 @@ +module Compass + module Configuration + # The helpers are available as methods on the Compass module. E.g. Compass.configuration + module Helpers + def configuration + @configuration ||= default_configuration + if block_given? + yield @configuration + end + @configuration + end + + def default_configuration + Data.new('defaults').extend(Defaults).extend(Comments) + end + + def add_configuration(config, filename = nil) + return if config.nil? + + + data = configuration_for(config, filename) + + # puts "New configuration: #{data.name}" + # puts caller.join("\n") + data.inherit_from!(configuration) + data.on_top! + @configuration = data + end + + def configuration_for(config, filename = nil) + if config.is_a?(Compass::Configuration::Data) + config + elsif config.respond_to?(:read) + Compass::Configuration::Data.new_from_string(config.read, filename) + elsif config.is_a?(Hash) + Compass::Configuration::Data.new(filename, config) + elsif config.is_a?(String) + Compass::Configuration::Data.new_from_file(config) + elsif config.is_a?(Symbol) + Compass::AppIntegration.lookup(config).configuration + else + raise "I don't know what to do with: #{config.inspect}" + end + end + + # Support for testing. + def reset_configuration! + @configuration = nil + end + + def sass_plugin_configuration + configuration.to_sass_plugin_options + end + + def configure_sass_plugin! + @sass_plugin_configured = true + Sass::Plugin.options.merge!(sass_plugin_configuration) + end + + def sass_plugin_configured? + @sass_plugin_configured + end + + def sass_engine_options + configuration.to_sass_engine_options + end + + # Read the configuration file for this project + def add_project_configuration(*args) + options = args.last.is_a?(Hash) ? args.pop : {} + configuration_file_path = args.shift || detect_configuration_file + raise ArgumentError, "Too many arguments" if args.any? + if configuration_file_path + + data = configuration_for(configuration_file_path) + + if data.raw_project_type + add_configuration(data.raw_project_type.to_sym) + elsif options[:project_type] + add_configuration(options[:project_type]) + else + add_configuration(:stand_alone) + end + + add_configuration(data) + else + add_configuration(options[:project_type] || configuration.project_type || :stand_alone) + end + end + + # Returns a full path to the relative path to the project directory + def projectize(path, project_path = nil) + project_path ||= configuration.project_path + File.join(project_path, *path.split('/')) + end + + def deprojectize(path, project_path = nil) + project_path ||= configuration.project_path + if path[0..(project_path.size - 1)] == project_path + path[(project_path.size + 1)..-1] + else + path + end + end + + # TODO: Deprecate the src/config.rb location. + KNOWN_CONFIG_LOCATIONS = ['config/compass.rb', ".compass/config.rb", "config/compass.config", "config.rb", "src/config.rb"] + + # Finds the configuration file, if it exists in a known location. + def detect_configuration_file(project_path = nil) + possible_files = KNOWN_CONFIG_LOCATIONS.map{|f| projectize(f, project_path) } + possible_files.detect{|f| File.exists?(f)} + end + + end + end + + extend Configuration::Helpers + +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/configuration/inheritance.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/configuration/inheritance.rb new file mode 100644 index 00000000..255749c2 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/configuration/inheritance.rb @@ -0,0 +1,170 @@ +module Compass + module Configuration + # The inheritance module makes it easy for configuration data to inherit from + # other instances of configuration data. This makes it easier for external code to layer + # bits of configuration from various sources. + module Inheritance + + def self.included(base) + # inherited_data stores configuration data that this configuration object will + # inherit if not provided explicitly. + base.send :attr_accessor, :inherited_data, :set_attributes, :top_level + + base.send(:include, InstanceMethods) + base.extend(ClassMethods) + end + + module ClassMethods + def inherited_writer(*attributes) + attributes.each do |attribute| + line = __LINE__ + 1 + class_eval %Q{ + def #{attribute}=(value) # def css_dir=(value) + @set_attributes ||= {} # @set_attributes ||= {} + @set_attributes[#{attribute.inspect}] = true # @set_attributes[:css_dir] = true + @#{attribute} = value # @css_dir = value + end # end + + def unset_#{attribute}! # def unset_css_dir! + unset!(#{attribute.inspect}) # unset!(:css_dir) + end # end + + def #{attribute}_set? # def css_dir_set? + set?(#{attribute.inspect}) # set?(:css_dir) + end # end + }, __FILE__, line + end + end + + # Defines the default reader to be an inherited_reader that will look at the inherited_data for its + # value when not set. The inherited reader calls to a raw reader that acts like a normal attribute + # reader but prefixes the attribute name with "raw_". + def inherited_reader(*attributes) + attributes.each do |attribute| + line = __LINE__ + 1 + class_eval %Q{ + def raw_#{attribute} # def raw_css_dir + @#{attribute} # @css_dir + end # end + def #{attribute}_without_default # def css_dir_without_default + read_without_default(#{attribute.inspect}) # read_without_default(:css_dir) + end # end + def #{attribute} # def css_dir + read(#{attribute.inspect}) # read(:css_dir) + end # end + }, __FILE__, line + end + end + + def inherited_accessor(*attributes) + inherited_reader(*attributes) + inherited_writer(*attributes) + end + + + end + + module InstanceMethods + + def on_top! + self.set_top_level(self) + end + + def set_top_level(new_top) + self.top_level = new_top + if self.inherited_data.respond_to?(:set_top_level) + self.inherited_data.set_top_level(new_top) + end + end + + + def inherit_from!(data) + if self.inherited_data + self.inherited_data.inherit_from!(data) + else + self.inherited_data = data + end + self + end + + def unset!(attribute) + @set_attributes ||= {} + send("#{attribute}=", nil) + @set_attributes.delete(attribute) + nil + end + + def set?(attribute) + @set_attributes ||= {} + @set_attributes[attribute] + end + + def default_for(attribute) + method = "default_#{attribute}".to_sym + if respond_to?(method) + send(method) + end + end + + # Read an explicitly set value that is either inherited or set on this instance + def read_without_default(attribute) + if set?(attribute) + send("raw_#{attribute}") + elsif inherited_data.respond_to?("#{attribute}_without_default") + inherited_data.send("#{attribute}_without_default") + elsif inherited_data.respond_to?(attribute) + inherited_data.send(attribute) + end + end + + # Read a value that is either inherited or set on this instance, if we get to the bottom-most configuration instance, + # we ask for the default starting at the top level. + def read(attribute) + if !(v = send("#{attribute}_without_default")).nil? + v + else + top_level.default_for(attribute) + end + end + + def method_missing(meth) + if inherited_data + inherited_data.send(meth) + else + raise NoMethodError, meth.to_s + end + end + + def respond_to?(meth) + if super + true + elsif inherited_data + inherited_data.respond_to?(meth) + else + false + end + end + + def debug + instances = [self] + instances << instances.last.inherited_data while instances.last.inherited_data + normalized_attrs = {} + ATTRIBUTES.each do |prop| + values = [] + instances.each do |instance| + values << { + :raw => (instance.send("raw_#{prop}") rescue nil), + :value => (instance.send("#{prop}_without_default") rescue nil), + :default => (instance.send("default_#{prop}") rescue nil), + :resolved => instance.send(prop) + } + end + normalized_attrs[prop] = values + end + normalized_attrs + end + + end + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/configuration/serialization.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/configuration/serialization.rb new file mode 100644 index 00000000..829e3bb6 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/configuration/serialization.rb @@ -0,0 +1,86 @@ +module Compass + module Configuration + # The serialization module manages reading and writing the configuration file(s). + module Serialization + def self.included(base) + base.send(:include, InstanceMethods) + base.extend ClassMethods + end + + module ClassMethods + def new_from_file(config_file) + data = Data.new(config_file) + data.parse(config_file) + data + end + + def new_from_string(contents, filename) + data = Data.new(filename) + data.parse_string(contents, filename) + data + end + end + + module InstanceMethods + # parses a configuration file which is a ruby script + def parse(config_file) + unless File.readable?(config_file) + raise Compass::Error, "Configuration file, #{config_file}, not found or not readable." + end + open(config_file) do |f| + parse_string(f.read, config_file) + end + end + + def parse_string(contents, filename) + bind = binding + eval(contents, bind, filename) + ATTRIBUTES.each do |prop| + value = eval(prop.to_s, bind) rescue nil + self.send("#{prop}=", value) if value + end + if @added_import_paths + self.additional_import_paths ||= [] + self.additional_import_paths += @added_import_paths + end + issue_deprecation_warnings + end + + def serialize + contents = "" + required_libraries.each do |lib| + contents << %Q{require '#{lib}'\n} + end + contents << "# Require any additional compass plugins here.\n" + contents << "\n" if required_libraries.any? + ATTRIBUTES.each do |prop| + value = send("#{prop}_without_default") + if value.is_a?(Proc) + $stderr.puts "WARNING: #{prop} is code and cannot be written to a file. You'll need to copy it yourself." + end + if respond_to?("comment_for_#{prop}") + contents << send("comment_for_#{prop}") + end + if block_given? && (to_emit = yield(prop, value)) + contents << to_emit + else + contents << serialize_property(prop, value) unless value.nil? + end + end + contents + end + + def serialize_property(prop, value) + %Q(#{prop} = #{value.inspect}\n) + end + + def issue_deprecation_warnings + if http_images_path == :relative + $stderr.puts "DEPRECATION WARNING: Please set relative_assets = true to enable relative paths." + end + end + + end + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/core_ext.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/core_ext.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/core_ext.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/core_ext.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/dependencies.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/dependencies.rb new file mode 100644 index 00000000..5c697b3c --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/dependencies.rb @@ -0,0 +1,6 @@ +begin + require 'sass' +rescue LoadError + require 'rubygems' + require 'sass' +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/errors.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/errors.rb similarity index 67% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/errors.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/errors.rb index d0dccfcd..96695e34 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/errors.rb +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/errors.rb @@ -4,4 +4,7 @@ module Compass class FilesystemConflict < Error end -end \ No newline at end of file + + class MissingDependency < Error + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/exec.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/exec.rb new file mode 100644 index 00000000..2547d376 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/exec.rb @@ -0,0 +1,16 @@ +require 'compass/dependencies' +require 'optparse' +require 'compass/logger' +require 'compass/errors' +require 'compass/actions' +require 'compass/installers' +require 'compass/commands' + +module Compass::Exec +end + +%w(helpers switch_ui sub_command_ui + global_options_parser project_options_parser + command_option_parser).each do |lib| + require "compass/exec/#{lib}" +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/exec/command_option_parser.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/exec/command_option_parser.rb new file mode 100644 index 00000000..0475a8a5 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/exec/command_option_parser.rb @@ -0,0 +1,23 @@ +module Compass::Exec + class CommandOptionParser + attr_accessor :options, :arguments, :opts + def initialize(arguments) + self.arguments = arguments + self.options = {} + end + def parse! + opts.parse!(arguments) + end + def opts + OptionParser.new do |opts| + self.set_options(opts) + end + end + def set_options(opts) + + end + def to_s + opts.to_s + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/exec/global_options_parser.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/exec/global_options_parser.rb new file mode 100644 index 00000000..955ee8e0 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/exec/global_options_parser.rb @@ -0,0 +1,37 @@ +module Compass::Exec::GlobalOptionsParser + def set_options(opts) + super + set_global_options(opts) + end + def set_global_options(opts) + opts.on('-r LIBRARY', '--require LIBRARY', + "Require the given ruby LIBRARY before running commands.", + " This is used to access compass plugins without having a", + " project configuration file.") do |library| + ::Compass.configuration.require library + end + + opts.on('-q', '--quiet', :NONE, 'Quiet mode.') do + self.options[:quiet] = true + end + + opts.on('--trace', :NONE, 'Show a full stacktrace on error') do + self.options[:trace] = true + end + + opts.on('--force', :NONE, 'Allows some failing commands to succeed instead.') do + self.options[:force] = true + end + + opts.on('--dry-run', :NONE, 'Dry Run. Tells you what it plans to do.') do + self.options[:dry_run] = true + end + + opts.on_tail("-?", "-h", "--help", "Show this message") do + puts opts + exit + end + + end + +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/exec/helpers.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/exec/helpers.rb new file mode 100644 index 00000000..b10e2311 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/exec/helpers.rb @@ -0,0 +1,28 @@ +module Compass::Exec + module Helpers + extend self + def select_appropriate_command_line_ui(arguments) + if Compass::Commands.command_exists? arguments.first + SubCommandUI + else + SwitchUI + end + end + def report_error(e, options) + $stderr.puts "#{e.class} on line #{get_line e} of #{get_file e}: #{e.message}" + if options[:trace] + e.backtrace[1..-1].each { |t| $stderr.puts " #{t}" } + else + $stderr.puts "Run with --trace to see the full backtrace" + end + end + + def get_file(exception) + exception.backtrace[0].split(/:/, 2)[0] + end + + def get_line(exception) + exception.backtrace[0].scan(/:(\d+)/)[0] + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/exec/project_options_parser.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/exec/project_options_parser.rb new file mode 100644 index 00000000..6ef5471a --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/exec/project_options_parser.rb @@ -0,0 +1,46 @@ +module Compass::Exec::ProjectOptionsParser + def set_options(opts) + super + set_project_options(opts) + end + def set_project_options(opts) + opts.on('-c', '--config CONFIG_FILE', 'Specify the location of the configuration file explicitly.') do |configuration_file| + self.options[:configuration_file] = configuration_file + end + + opts.on('--app APP', 'Tell compass what kind of application it is integrating with. E.g. rails') do |project_type| + self.options[:project_type] = project_type.to_sym + end + + opts.on('--sass-dir SRC_DIR', "The source directory where you keep your sass stylesheets.") do |sass_dir| + self.options[:sass_dir] = sass_dir + end + + opts.on('--css-dir CSS_DIR', "The target directory where you keep your css stylesheets.") do |css_dir| + self.options[:css_dir] = css_dir + end + + opts.on('--images-dir IMAGES_DIR', "The directory where you keep your images.") do |images_dir| + self.options[:images_dir] = images_dir + end + + opts.on('--javascripts-dir JS_DIR', "The directory where you keep your javascripts.") do |javascripts_dir| + self.options[:javascripts_dir] = javascripts_dir + end + + opts.on('-e ENV', '--environment ENV', [:development, :production], 'Use sensible defaults for your current environment.', + ' One of: development, production (default)') do |env| + self.options[:environment] = env + end + + opts.on('-s STYLE', '--output-style STYLE', [:nested, :expanded, :compact, :compressed], 'Select a CSS output mode.', + ' One of: nested, expanded, compact, compressed') do |style| + self.options[:output_style] = style + end + + opts.on('--relative-assets', :NONE, 'Make compass asset helpers generate relative urls to assets.') do + self.options[:relative_assets] = true + end + end + +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/exec/sub_command_ui.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/exec/sub_command_ui.rb new file mode 100644 index 00000000..45ff9c84 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/exec/sub_command_ui.rb @@ -0,0 +1,45 @@ +require 'compass/exec/global_options_parser' +require 'compass/exec/project_options_parser' + +module Compass::Exec + class SubCommandUI + + attr_accessor :args + + def initialize(args) + self.args = args + end + + def run! + begin + perform! + rescue Exception => e + raise e if e.is_a? SystemExit + if e.is_a?(::Compass::Error) || e.is_a?(OptionParser::ParseError) + $stderr.puts e.message + else + ::Compass::Exec::Helpers.report_error(e, @options || {}) + end + return 1 + end + return 0 + end + + protected + + def perform! + $command = args.shift + command_class = Compass::Commands[$command] + @options = if command_class.respond_to?("parse_#{$command}!") + command_class.send("parse_#{$command}!", args) + else + command_class.parse!(args) + end + command_class.new(Dir.getwd, @options).execute + rescue OptionParser::ParseError => e + puts "Error: #{e.message}" + puts command_class.usage + end + + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/exec/switch_ui.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/exec/switch_ui.rb new file mode 100644 index 00000000..384092cd --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/exec/switch_ui.rb @@ -0,0 +1,166 @@ +require 'compass/exec/global_options_parser' +require 'compass/exec/project_options_parser' + +module Compass::Exec + class SwitchUI + include GlobalOptionsParser + include ProjectOptionsParser + attr_accessor :args, :options, :opts + + def initialize(args) + self.args = args + self.options = {} + parse! + end + + def run! + begin + perform! + rescue Exception => e + raise e if e.is_a? SystemExit + if e.is_a?(::Compass::Error) || e.is_a?(OptionParser::ParseError) + $stderr.puts e.message + else + ::Compass::Exec::Helpers.report_error(e, @options) + end + return 1 + end + return 0 + end + + protected + + def perform! + if options[:command] + do_command(options[:command]) + else + puts self.opts + end + end + + def parse! + self.opts = OptionParser.new(&method(:set_opts)) + self.opts.parse!(self.args) + if self.args.size > 0 + self.options[:project_name] = trim_trailing_separator(self.args.shift) + end + self.options[:command] ||= self.options[:project_name] ? :create_project : :update_project + self.options[:framework] ||= :compass + end + + def trim_trailing_separator(path) + path[-1..-1] == File::SEPARATOR ? path[0..-2] : path + end + + def set_opts(opts) + opts.banner = <+x.', + ' Defaults to 30+10x20. Height is optional.') do |dimensions| + self.options[:grid_dimensions] = dimensions || "30+10" + self.options[:command] = :generate_grid_background + end + + opts.separator '' + opts.separator 'Install/Pattern Options:' + + opts.on('-f FRAMEWORK', '--framework FRAMEWORK', 'Use the specified framework. Only one may be specified.') do |framework| + self.options[:framework] = framework + end + + opts.on('-n', '--pattern-name NAME', 'The name to use when stamping a pattern.', + ' Must be used in combination with -p.') do |name| + self.options[:pattern_name] = name + end + + opts.on('--rails', "Sets the app type to a rails project (same as --app rails).") do + self.options[:project_type] = :rails + end + + opts.on('--app APP_TYPE', 'Specify the kind of application to integrate with.') do |project_type| + self.options[:project_type] = project_type.to_sym + end + + opts.separator '' + opts.separator 'Configuration Options:' + + set_project_options(opts) + + opts.separator '' + opts.separator 'General Options:' + + set_global_options(opts) + + opts.on('--imports', :NONE, 'Emit an imports suitable for passing to the sass command-line.', + ' Example: sass `compass --imports`', + ' Note: Compass\'s Sass extensions will not be available.') do + print ::Compass::Frameworks::ALL.map{|f| "-I #{f.stylesheets_directory}"}.join(' ') + exit + end + + opts.on('--install-dir', :NONE, 'Emit the location where compass is installed.') do + puts ::Compass.base_directory + exit + end + + opts.on_tail("-v", "--version", "Print version") do + self.options[:command] = :print_version + end + + end + + def do_command(command) + command_class_name = command.to_s.split(/_/).map{|p| p.capitalize}.join('') + command_class = eval("::Compass::Commands::#{command_class_name}") + command_class.new(Dir.getwd, options).execute + end + + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks.rb new file mode 100644 index 00000000..b818b715 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks.rb @@ -0,0 +1,92 @@ +module Compass + module Frameworks + extend self + + ALL = [] + DEFAULT_FRAMEWORKS_PATH = File.join(Compass.lib_directory, 'compass', 'frameworks') + + class Framework + attr_accessor :name + attr_accessor :templates_directory, :stylesheets_directory + def initialize(name, *arguments) + options = arguments.last.is_a?(Hash) ? arguments.pop : {} + path = options[:path] || arguments.shift + @name = name + @templates_directory = options[:templates_directory] || File.join(path, 'templates') + @stylesheets_directory = options[:stylesheets_directory] || File.join(path, 'stylesheets') + end + def template_directories + Dir.glob(File.join(templates_directory, "*")).map{|f| File.basename(f)} + end + def manifest_file(pattern) + File.join(templates_directory, pattern.to_s, "manifest.rb") + end + def manifest(pattern, options = {}) + options[:pattern_name] ||= pattern + Compass::Installers::Manifest.new(manifest_file(pattern), options) + end + end + + def register(name, *arguments) + if idx = ALL.index(self[name]) + ALL[idx] = Framework.new(name, *arguments) + else + ALL << Framework.new(name, *arguments) + end + end + + def [](name) + ALL.detect{|f| f.name.to_s == name.to_s} + end + + def discover(frameworks_directory) + frameworks_directory = DEFAULT_FRAMEWORKS_PATH if frameworks_directory == :defaults + frameworks_directory = Dir.new(frameworks_directory) unless frameworks_directory.is_a?(Dir) + frameworks_directory.entries.reject{|e| e[0] == ?.}.each do |framework| + register_directory File.join(frameworks_directory.path, framework) + end + end + + def register_directory(directory) + loaders = [ + File.join(directory, "compass_init.rb"), + File.join(directory, 'lib', File.basename(directory)+".rb"), + File.join(directory, File.basename(directory)+".rb") + ] + loader = loaders.detect{|l| File.exists?(l)} + if loader + require loader + else + register File.basename(directory), directory + end + end + + def template_exists?(template) + framework_name, template = template.split(%r{/}, 2) + template ||= "project" + if framework = self[framework_name] + return File.directory?(File.join(framework.templates_directory, template)) + end + false + end + + def template_usage(template) + framework_name, template = template.split(%r{/}, 2) + framework = self[framework_name] + template ||= "project" + usage_file = File.join(framework.templates_directory, template, "USAGE.markdown") + if File.exists?(usage_file) + File.read(usage_file) + elsif help = framework.manifest(template).help + help + else + <<-END.gsub(/^ {8}/, '') + No Usage! + END + end + end + + end +end + +Compass::Frameworks.discover(:defaults) diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/_blueprint.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/_blueprint.sass new file mode 100644 index 00000000..bd336ece --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/_blueprint.sass @@ -0,0 +1,31 @@ +@import blueprint/colors.sass +@import blueprint/grid.sass +@import blueprint/typography.sass +@import blueprint/utilities.sass +@import blueprint/form.sass +@import blueprint/interaction.sass +@import blueprint/debug.sass +@import blueprint/print.sass +@import blueprint/ie.sass + +// Usage examples: +// As a top-level mixin, apply to any page that includes the stylesheet: +// +blueprint +// Scoped by a presentational class: +// body.blueprint +// +blueprint(true) +// Scoped by semantic selectors: +// body#page-1, body#page-2, body.a-special-page-type +// +blueprint(true) +// Deprecated: +// You can pass the body selector as the first argument when used as a top-level mixin +// +blueprint("body#page-1, body#page-2, body.a-special-page-type") +=blueprint(!body_selector = "body") + @if not (!body_selector == "body" or !body_selector == true) + @debug "[DEPRECATED] To specify a the selector \"#{!body_selector}\" to +blueprint, pass true as the first argument and mix it into #{!body_selector}." + +blueprint-typography(!body_selector) + +blueprint-utilities + +blueprint-grid + +blueprint-debug + +blueprint-interaction + +blueprint-form diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_buttons.sass similarity index 76% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_buttons.sass index a59338a3..11932cfd 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_buttons.sass @@ -1,4 +1,4 @@ -@import compass/utilities/general/inline_block.sass +@import compass/css3/inline_block.sass @import compass/utilities/general/float.sass // Button Font @@ -24,9 +24,9 @@ @param border_highlight_color The highlight color defaults to whatever is the value of the border_color but it's one shade lighter. =button-colors(!font_color = !blueprint_button_font_color, !bg_color = !blueprint_button_background_color, !border_color = !blueprint_button_border_color, !border_highlight_color = !border_color + #101010) - :background-color= !bg_color - :border-color= !border_highlight_color !border_color !border_color !border_highlight_color - :color= !font_color + background-color= !bg_color + border-color= !border_highlight_color !border_color !border_color !border_highlight_color + color= !font_color //** Sets the colors for a button in the active state @@ -46,39 +46,39 @@ =button-base(!float = false) @if !float - :display block + display: block +float(!float) @else +inline-block - :margin 0.7em 0.5em 0.7em 0 - :border-width 1px - :border-style solid - :font-family= !blueprint_button_font_family - :font-size 100% - :line-height 130% - :text-decoration none - :font-weight bold - :cursor pointer + margin: 0.7em 0.5em 0.7em 0 + border-width: 1px + border-style: solid + font-family= !blueprint_button_font_family + font-size: 100% + line-height: 130% + text-decoration: none + font-weight: bold + cursor: pointer img - :margin 0 3px -3px 0 !important - :padding 0 - :border none - :width 16px - :height 16px - :float none + margin: 0 3px -3px 0 !important + padding: 0 + border: none + width: 16px + height: 16px + float: none =anchor-button(!float = false) +button-base(!float) - :padding 5px 10px 5px 7px + padding: 5px 10px 5px 7px =button-button(!float = false) +button-base(!float) - :width auto - :overflow visible - :padding 4px 10px 3px 7px + width: auto + overflow: visible + padding: 4px 10px 3px 7px &[type] - :padding 4px 10px 4px 7px - :line-height 17px + padding: 4px 10px 4px 7px + line-height: 17px *:first-child+html &[type] - :padding 4px 10px 3px 7px + padding: 4px 10px 3px 7px diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_colors.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_colors.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_debug.sass similarity index 86% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_debug.sass index 8a4b5bc8..4b93f23f 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_debug.sass @@ -1,9 +1,9 @@ =showgrid(!image = "grid.png") - :background= image_url(!image) + background= image_url(!image) =blueprint-debug(!grid_image = "grid.png") // Use this class on any column or container to see the grid. // TODO: prefix this with the project path. .showgrid +showgrid(!grid_image) - \ No newline at end of file + diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_fancy_type.sass similarity index 77% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_fancy_type.sass index 77ae86d1..12ff4eaa 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_fancy_type.sass @@ -2,7 +2,7 @@ // To install the fancy type plugin: - 1. import the fancy_type module: @import blueprint/modules/fancy_type + 1. import the fancy_type module: @import blueprint/fancy_type 2. mixin +fancy-type to your project's body or at the top level of your stylesheet: body +fancy-type @@ -18,11 +18,11 @@ // Indentation instead of line shifts for sibling paragraphs. Mixin to a style like p + p =sibling-indentation - :text-indent 2em - :margin-top -1.5em + text-indent: 2em + margin-top: -1.5em /* Don't want this in forms. form & - :text-indent 0 + text-indent: 0 // For great looking type, use this code instead of asdf: @@ -30,10 +30,10 @@ Best used on prepositions and ampersands. =alt - :color #666 - :font-family "Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua", Georgia, serif - :font-style italic - :font-weight normal + color: #666 + font-family: "Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua", Georgia, serif + font-style: italic + font-weight: normal // For great looking quote marks in titles, replace "asdf" with: @@ -41,7 +41,7 @@ (That is, when the title starts with a quote mark). (You may have to change this value depending on your font size). =dquo(!offset = 0.5em) - :margin-left -!offset + margin-left: -!offset // Reduced size type with incremental leading @@ -58,21 +58,21 @@ base_font_size - The base font size in pixels. Defaults to 12px old_line_height - The old line height. Defaults to 1.5 times the base_font_size =incr(!font_size = 10px, !base_font_size = !blueprint_font_size, !old_line_height = !base_font_size * 1.5) - :font-size= 1em * !font_size / !base_font_size - :line-height= 1em * !old_line_height / !font_size * 4 / 5 - :margin-bottom 1.5em + font-size= 1em * !font_size / !base_font_size + line-height= 1em * !old_line_height / !font_size * 4 / 5 + margin-bottom: 1.5em // Surround uppercase words and abbreviations with this class. Based on work by Jørgen Arnor Gårdsø Lom [http://twistedintellect.com/] =caps - :font-variant small-caps - :letter-spacing 1px - :text-transform lowercase - :font-size 1.2em - :line-height 1% - :font-weight bold - :padding 0 2px + font-variant: small-caps + letter-spacing: 1px + text-transform: lowercase + font-size: 1.2em + line-height: 1% + font-weight: bold + padding: 0 2px =fancy-paragraphs p + p diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_form.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_form.sass new file mode 100644 index 00000000..82d86d34 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_form.sass @@ -0,0 +1,56 @@ +@import colors.sass + +// Mixin for producing Blueprint "inline" forms. Should be used with the blueprint-form mixin. +=blueprint-inline-form + line-height: 3 + p + margin-bottom: 0 + +=blueprint-form + +blueprint-form-layout + +blueprint-form-borders + +blueprint-form-sizes + +=blueprint-form-layout + label + font-weight: bold + fieldset + padding: 1.4em + margin: 0 0 1.5em 0 + legend + font-weight: bold + font-size: 1.2em + input + &.text, &.title, &[type=text], &[type=password] + margin: 0.5em 0 + background-color: #fff + padding: 5px + &.title + font-size: 1.5em + &[type=checkbox], &.checkbox, + &[type=radio], &.radio + position: relative + top: 0.25em + textarea + margin: 0.5em 0 + padding: 5px + select + margin: 0.5em 0 + +=blueprint-form-sizes(!input_width = 300px, !textarea_width = 390px, !textarea_height = 250px) + input + &.text, &.title, &[type=text], &[type=password] + width= !input_width + textarea + width= !textarea_width + height= !textarea_height + +=blueprint-form-borders(!unfocused_border_color = #bbb, !focus_border_color = #666, !fieldset_border_color = #ccc) + fieldset + border= 1px "solid" !fieldset_border_color + input.text, input.title, input[type=text], input[type=password], + textarea, + select + border= 1px "solid" !unfocused_border_color + &:focus + border= 1px "solid" !focus_border_color diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_grid.sass similarity index 77% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_grid.sass index c9ca5bec..76759a99 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_grid.sass @@ -41,7 +41,7 @@ +span(!n) .span-#{!blueprint_grid_columns}, div.span-#{!blueprint_grid_columns} +span(!blueprint_grid_columns) - :margin 0 + margin: 0 input, textarea, select @for !n from 1 through !blueprint_grid_columns &.span-#{!n} @@ -76,30 +76,30 @@ // Note: If you use this mixin without the class and want to support ie6 // you must set text-align left on your container element in an IE stylesheet. =container - :width = !blueprint_container_size - :margin 0 auto + width= !blueprint_container_size + margin: 0 auto +clearfix // The last column in a row needs this mixin or it will end up on the next row. // TODO add this to span mixin when we have optional arguments =last - :margin-right 0 + margin-right: 0 =span(!n, !override = false) !width = !blueprint_grid_width * !n + (!blueprint_grid_margin * (!n - 1)) @if !override - :width = !width !important + width= !width !important @else - :width = !width + width= !width =column-base(!last = false) +float-left @if !last +last @else - :margin-right = !blueprint_grid_margin + margin-right= !blueprint_grid_margin * html & - :overflow-x hidden + overflow-x: hidden // Use this mixins to set the width of n columns. =column(!n, !last = false) @@ -109,27 +109,27 @@ // Mixin to a column to append n empty cols. =append(!n) - :padding-right = (!blueprint_grid_outer_width) * !n + padding-right= (!blueprint_grid_outer_width) * !n // Mixin to a column to prepend n empty cols. =prepend(!n) - :padding-left = (!blueprint_grid_outer_width) * !n + padding-left= (!blueprint_grid_outer_width) * !n =append-bottom(!amount = 1.5em) - :margin-bottom= !amount + margin-bottom= !amount =prepend-top(!amount = 1.5em) - :margin-top= !amount + margin-top= !amount =pull-base +float-left - :position relative + position: relative =pull-margins(!n, !last = false) @if !last - :margin-left = (-!blueprint_grid_outer_width * !n) + !blueprint_grid_margin + margin-left= (-!blueprint_grid_outer_width * !n) + !blueprint_grid_margin @else - :margin-left = -!blueprint_grid_outer_width * !n + margin-left= -!blueprint_grid_outer_width * !n // mixin to a column to move it n columns to the left =pull(!n, !last = false) @@ -138,10 +138,10 @@ =push-base +float-right - :position relative + position: relative =push-margins(!n) - :margin= 0 (-!blueprint_grid_outer_width * !n) 1.5em (!blueprint_grid_outer_width * !n) + margin= 0 (-!blueprint_grid_outer_width * !n) 1.5em (!blueprint_grid_outer_width * !n) // mixin to a column to push it n columns to the right =push(!n) @@ -150,29 +150,30 @@ // Border on right hand side of a column. =border(!border_color = #eee, !border_width = 1px) - :padding-right = !blueprint_grid_margin / 2 - !border_width - :margin-right = !blueprint_grid_margin / 2 - :border-right #{!border_width} solid #{!border_color} + padding-right= !blueprint_grid_margin / 2 - !border_width + margin-right= !blueprint_grid_margin / 2 + border-right: #{!border_width} solid #{!border_color} // Border with more whitespace, spans one column. =colborder(!border_color = #eee, !border_width = 1px) - :padding-right= floor((!blueprint_grid_width + 2 * !blueprint_grid_margin - !border_width)/2) - :margin-right= ceil((!blueprint_grid_width + 2 * !blueprint_grid_margin - !border_width)/2) - :border-right #{!border_width} solid #{!border_color} + padding-right= floor((!blueprint_grid_width + 2 * !blueprint_grid_margin - !border_width)/2) + margin-right= ceil((!blueprint_grid_width + 2 * !blueprint_grid_margin - !border_width)/2) + border-right: #{!border_width} solid #{!border_color} // Mixin this to an hr to make a horizontal ruler across a column. =colruler(!border_color = #ddd) - :background= !border_color - :color= !border_color - :clear both - :float none - :width 100% - :height .1em - :margin 0 0 1.45em - :border none + background= !border_color + color= !border_color + clear: both + float: none + width: 100% + height: .1em + margin: 0 0 1.45em + border: none // Mixin this to an hr to make a horizontal spacer across a column. =colspacer +colruler - :background #fff - :color #fff + background: #fff + color: #fff + visibility: hidden diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_ie.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_ie.sass new file mode 100644 index 00000000..44d9f5e7 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_ie.sass @@ -0,0 +1,99 @@ +// The blueprint IE mixins should be mixed into a stylesheet that gets conditionally included +// into IE like so: +// + + +// Usage examples: +// As a top-level mixin, apply to any page that includes the stylesheet: +// +blueprint-ie +// Scoped by a presentational class: +// body.blueprint +// +blueprint-ie(true) +// Scoped by semantic selectors: +// body#page-1, body#page-2, body.a-special-page-type +// +blueprint-ie(true) +// Deprecated: +// You can pass the body selector as the first argument when used as a top-level mixin +// +blueprint-ie("body#page-1, body#page-2, body.a-special-page-type") +=blueprint-ie(!body_selector = "body") + @if !body_selector == true + +blueprint-ie-body + +blueprint-ie-defaults + @else + #{!body_selector} + +blueprint-ie-body + @if !body_selector != "body" + @debug "[DEPRECATED] To specify a the selector \"#{!body_selector}\" to +blueprint-ie, pass true as the first argument and mix it into #{!body_selector}." + +blueprint-ie-defaults + @if !body_selector == "body" + +blueprint-ie-defaults + +=blueprint-ie-body + text-align: center + +blueprint-ie-hacks + +=blueprint-ie-hacks + * html & + legend + margin: 0px -8px 16px 0 + padding: 0 + html>& + p code + *white-space: normal + +// Fixes for Blueprint "inline" forms in IE +=blueprint-inline-form-ie + div, p + vertical-align: middle + label + position: relative + top: -0.25em + input + &.checkbox, &.radio, &.button, button + margin: 0.5em 0 + +=blueprint-ie-defaults + .container + text-align: left + sup + vertical-align: text-top + sub + vertical-align: text-bottom + hr + margin: -8px auto 11px + img + -ms-interpolation-mode: bicubic + fieldset + padding-top: 0 + textarea + overflow: auto + input + &.text + margin: 0.5em 0 + background-color: #fff + border: 1px solid #bbb + &:focus + border: 1px solid #666 + &.title + margin: 0.5em 0 + background-color: #fff + border: 1px solid #bbb + &:focus + border: 1px solid #666 + &.checkbox + position: relative + top: 0.25em + &.radio + position: relative + top: 0.25em + &.button + position: relative + top: 0.25em + textarea + margin: 0.5em 0 + select + margin: 0.5em 0 + button + position: relative + top: 0.25em diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_interaction.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_interaction.sass new file mode 100644 index 00000000..ff5e4054 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_interaction.sass @@ -0,0 +1,58 @@ +@import colors.sass + + +=blueprint-interaction + .error + +error + .notice + +notice + .success + +success + .hide + display: none + .highlight + +highlight + .added + +added + .removed + +removed + +=feedback-base + padding: .8em + margin-bottom: 1em + border= 2px "solid" !feedback_border_color + +=error + +feedback-base + background= !error_bg_color + color= !error_color + border-color= !error_border_color + a + color= !error_color + +=notice + +feedback-base + background= !notice_bg_color + color= !notice_color + border-color= !notice_border_color + a + color= !notice_color + +=success + +feedback-base + background= !success_bg_color + color= !success_color + border-color= !success_border_color + a + color= !success_color + +=highlight + background= !highlight_color + +=added + background= !added_bg_color + color= !added_color + +=removed + background= !removed_bg_color + color= !removed_color diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_link_icons.sass similarity index 72% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_link_icons.sass index dd50ebf7..58933fed 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_link_icons.sass @@ -1,18 +1,18 @@ =no-link-icon - :background transparent none !important - :padding 0 !important - :margin 0 !important + background: transparent none !important + padding: 0 !important + margin: 0 !important =link-icon-base - :padding 2px 22px 2px 0 - :margin -2px 0 - :background-repeat no-repeat - :background-position right center + padding: 2px 22px 2px 0 + margin: -2px 0 + background-repeat: no-repeat + background-position: right center =link-icon(!name, !include_base = true) @if !include_base +link-icon-base - :background-image= image_url("link_icons/#{!name}") + background-image= image_url("link_icons/#{!name}") =link-icons a[href^="http:"], @@ -41,4 +41,4 @@ a[href$=".rdf"] +link-icon("feed.png", false) a[href^="aim:"] - +link-icon("im.png", false) \ No newline at end of file + +link-icon("im.png", false) diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_liquid.sass similarity index 79% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_liquid.sass index 87043942..0e41d32e 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_liquid.sass @@ -28,7 +28,7 @@ // To use: // This module is a REPLACEMENT for the grid module. Simply import it: // @import blueprint.sass -// @import blueprint/modules/liquid.sass +// @import blueprint/liquid.sass // ------------------------------------------------------------------- @import compass/utilities/general/float.sass @@ -76,66 +76,66 @@ +push(!n) =container - :min-width= !blueprint_liquid_container_min_width - :width = !blueprint_liquid_container_width - :margin 0 auto + min-width= !blueprint_liquid_container_min_width + width= !blueprint_liquid_container_width + margin: 0 auto +clearfix =span(!n, !override = false) !width = (!blueprint_liquid_grid_width * !n) - ((!blueprint_liquid_grid_width * !n) % 1) @if !override - :width = !width !important + width= !width !important @else - :width = !width + width= !width =last - :margin-right 0 + margin-right: 0 =column(!n, !last = false) +float-left - :overflow hidden + overflow: hidden +span(!n) @if !last +last @else - :margin-right = !blueprint_liquid_grid_margin + margin-right= !blueprint_liquid_grid_margin =append(!n) - :padding-right= (!blueprint_liquid_grid_width * !n) - ((!blueprint_liquid_grid_width * !n) % 1) + padding-right= (!blueprint_liquid_grid_width * !n) - ((!blueprint_liquid_grid_width * !n) % 1) =prepend(!n) - :padding-left= (!blueprint_liquid_grid_width * !n) - ((!blueprint_liquid_grid_width * !n) % 1) + padding-left= (!blueprint_liquid_grid_width * !n) - ((!blueprint_liquid_grid_width * !n) % 1) =pull(!n, !last = false) - :margin-left= (!blueprint_liquid_grid_push_pull * !n) + margin-left= (!blueprint_liquid_grid_push_pull * !n) =push(!n) +float-right - :margin - :top 0 - :left 1.5em - :right= (!blueprint_liquid_grid_push_pull * !n) - :bottom 0 + margin: + top: 0 + left: 1.5em + right= (!blueprint_liquid_grid_push_pull * !n) + bottom: 0 =border - :border-right 1px solid #eee + border-right: 1px solid #eee =colborder - :padding-right 2% - :margin-right 2% + padding-right: 2% + margin-right: 2% +border =colruler - :background #ddd - :color #ddd - :clear both - :width 100% - :height 0.083em - :margin 0 0 1.583em - :border none + background: #ddd + color: #ddd + clear: both + width: 100% + height: 0.083em + margin: 0 0 1.583em + border: none =colspacer +colruler - :background #fff - :color #fff + background: #fff + color: #fff diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_print.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_print.sass new file mode 100644 index 00000000..25424725 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_print.sass @@ -0,0 +1,87 @@ +@import typography.sass +@import compass/utilities/general/float.sass + + + +// Usage examples: +// As a top-level mixin, apply to any page that includes the stylesheet: +// +blueprint-print +// Scoped by a presentational class: +// body.blueprint +// +blueprint-print(true) +// Scoped by semantic selectors: +// body#page-1, body#page-2, body.a-special-page-type +// +blueprint-print(true) +// Deprecated: +// You can pass the body selector as the first argument when used as a top-level mixin +// +blueprint-print("body#page-1, body#page-2, body.a-special-page-type") +=blueprint-print(!body_selector = "body") + @if !body_selector == true + +blueprint-print-body + +blueprint-print-defaults + @else + #{!body_selector} + +blueprint-print-body + @if !body_selector != "body" + @debug "[DEPRECATED] To specify a the selector \"#{!body_selector}\" to +blueprint-print, pass true as the first argument and mix it into #{!body_selector}." + +blueprint-print-defaults + @if !body_selector == "body" + +blueprint-print-defaults + +// This style is in blueprint, but I think it's annoying and it doesn't work in all browsers. +// Feel free to mix it into anchors where you want it. +=blueprint-show-link-urls + &:after + content: " (" attr(href) ")" + font-size: 90% + +=blueprint-print-body + line-height: 1.5 + font-family= !blueprint_font_family + color: #000 + background: none + font-size: 10pt + +=blueprint-print-defaults + .container + background: none + hr + background: #ccc + color: #ccc + width: 100% + height: 2px + margin: 2em 0 + padding: 0 + border: none + &.space + background: #fff + color: #fff + h1, h2, h3, h4, h5, h6 + font-family= !blueprint_font_family + code + font: + size: .9em + family= !blueprint_fixed_font_family + a + img + border: none + &:link, + &:visited + background: transparent + font-weight: 700 + text-decoration: underline + p img.top + margin-top: 0 + blockquote + margin: 1.5em + padding: 1em + font-style: italic + font-size: .9em + .small + font-size: .9em + .large + font-size: 1.1em + .quiet + color: #999 + .hide + display: none diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_reset.sass similarity index 74% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_reset.sass index fff5f3f5..a821fb48 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_reset.sass @@ -3,6 +3,8 @@ =blueprint-global-reset html, body +blueprint-reset + html + font-size: 100.01% +blueprint-nested-reset // Reset all elements within some selector scope.To reset the selector itself, @@ -20,37 +22,37 @@ table +blueprint-reset-table a img - :border none + border: none =blueprint-reset-box-model - :margin 0 - :padding 0 - :border 0 + margin: 0 + padding: 0 + border: 0 =blueprint-reset +blueprint-reset-box-model - :font - :weight inherit - :style inherit - :size 100% - :family inherit - :vertical-align baseline + font: + weight: inherit + style: inherit + size: 100% + family: inherit + vertical-align: baseline =blueprint-reset-quotation +blueprint-reset - :quotes "" "" + quotes: "" "" &:before, &:after - :content "" + content: "" =blueprint-reset-table-cell +blueprint-reset - :text-align left - :font-weight normal - :vertical-align middle + text-align: left + font-weight: normal + vertical-align: middle =blueprint-reset-table +blueprint-reset - :border-collapse separate - :border-spacing 0 - :vertical-align middle + border-collapse: separate + border-spacing: 0 + vertical-align: middle diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_rtl.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_rtl.sass new file mode 100644 index 00000000..eab6ccc1 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_rtl.sass @@ -0,0 +1,123 @@ +@import grid.sass +@import compass/utilities/general/float.sass + +// Main layout grid, override these constants to build your grid and container sizes. +!blueprint_grid_columns ||= 24 +!blueprint_grid_width ||= 30px +!blueprint_grid_margin ||= 10px + +!blueprint_grid_outer_width = !blueprint_grid_width + !blueprint_grid_margin +!blueprint_container_size = !blueprint_grid_outer_width * !blueprint_grid_columns - !blueprint_grid_margin + +// Columns +// Note: If you use this mixin without the class and want to support ie6 +// you must set text-align left on your container element in an IE stylesheet. +=container + width= !blueprint_container_size + margin: 0 auto + direction: rtl + +clearfix + +// The last column in a row needs this mixin or it will end up on the next row. +// TODO add this to span mixin when we have optional arguments +=last + margin-left: 0 + +=column-base(!last = false) + +float-right + @if !last + +last + @else + margin-left= !blueprint_grid_margin + text-align: right + * html & + overflow-x: hidden + +// Mixin to a column to append n empty cols. +=append(!n) + padding-left= (!blueprint_grid_outer_width) * !n + +// Mixin to a column to prepend n empty cols. +=prepend(!n) + padding-right= (!blueprint_grid_outer_width) * !n + +// mixin to a column to move it n columns to the left +=pull(!n, !last = false) + position: relative + @if !last + margin-right= (-!blueprint_grid_outer_width * !n) + !blueprint_grid_margin + @else + margin-right= -!blueprint_grid_outer_width * !n + +// mixin to a column to push it n columns to the right +=push(!n) + +float-right + position: relative + margin: + top: 0 + left= -!blueprint_grid_outer_width * !n + bottom: 1.5em + right= !blueprint_grid_outer_width * !n + +// Border on left hand side of a column. +=border + padding-left= !blueprint_grid_margin / 2 - 1 + margin-left= !blueprint_grid_margin / 2 + border-left: 1px solid #eee + +// Border with more whitespace, spans one column. +=colborder + padding-left= (!blueprint_grid_width - 2 * !blueprint_grid_margin - 1)/2 + margin-left= (!blueprint_grid_width - 2 * !blueprint_grid_margin)/2 + border-left: 1px solid #eee + +// Usage examples: +// As a top-level mixin, apply to any page that includes the stylesheet: +// +rtl-typography +// Scoped by a presentational class: +// body.blueprint +// +rtl-typography(true) +// Scoped by semantic selectors: +// body#page-1, body#page-2, body.a-special-page-type +// +rtl-typography(true) +// Deprecated: +// You can pass the body selector as the first argument when used as a top-level mixin +// +rtl-typography("body#page-1, body#page-2, body.a-special-page-type") +=rtl-typography(!body_selector = "body") + @if !body_selector == true + html & + font-family: Arial, sans-serif + +rtl-typography-defaults + @else + html #{!body_selector} + font-family: Arial, sans-serif + @if !body_selector != "body" + @debug "[DEPRECATED] To specify a the selector \"#{!body_selector}\" to +rtl-typography, pass true as the first argument and mix it into #{!body_selector}." + +rtl-typography-defaults + @if !body_selector == "body" + body + +rtl-typography-defaults + +=rtl-typography-defaults + h1, h2, h3, h4, h5, h6 + font-family: Arial, sans-serif + + pre, code, tt + font-family: monospace + + p + img.right + +float-left + margin: 1.5em 1.5em 1.5em 0 + padding: 0 + img.left + +float-right + margin: 1.5em 0 1.5em 1.5em + padding: 0 + + dd, ul, ol + margin-left: 0 + margin-right: 1.5em + + td, th + text-align: right diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_scaffolding.sass similarity index 92% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_scaffolding.sass index a61c8ee8..276f4601 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_scaffolding.sass @@ -24,13 +24,13 @@ // The styles this mixin provides were deprecated in Blueprint 0.9 and is no longer part of the // main scaffolding, but the mixin is still available if you want to use it. =blueprint-scaffolding-body - :margin 1.5em 0 + margin: 1.5em 0 // Mixin +box to create a padded box inside a column. =box - :padding 1.5em - :margin-bottom 1.5em - :background #E5ECF9 + padding: 1.5em + margin-bottom: 1.5em + background: #E5ECF9 =blueprint-scaffolding-defaults .box @@ -45,3 +45,5 @@ +colruler hr.space +colspacer + form.inline + +blueprint-inline-form diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_screen.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_screen.sass new file mode 100644 index 00000000..6f585429 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_screen.sass @@ -0,0 +1,2 @@ +@debug "DEPRECATION WARNING: The blueprint/screen.sass will be removed. Please import blueprint.sass instead." +@import blueprint.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_typography.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_typography.sass new file mode 100644 index 00000000..a244087a --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_typography.sass @@ -0,0 +1,162 @@ +@import colors.sass +@import compass/utilities/links/link_colors.sass +@import compass/utilities/general/float.sass + +!blueprint_font_family ||= "Helvetica Neue, Arial, Helvetica, sans-serif" +!blueprint_fixed_font_family ||= "'andale mono', 'lucida console', monospace" +!blueprint_font_size ||= 12px + +// Usage examples: +// As a top-level mixin, apply to any page that includes the stylesheet: +// +blueprint-typography +// Scoped by a presentational class: +// body.blueprint +// +blueprint-typography(true) +// Scoped by semantic selectors: +// body#page-1, body#page-2, body.a-special-page-type +// +blueprint-typography(true) +// Deprecated: +// You can pass the body selector as the first argument when used as a top-level mixin +// +blueprint-typography("body#page-1, body#page-2, body.a-special-page-type") +=blueprint-typography(!body_selector = "body") + @if !body_selector == true + +blueprint-typography-body + +blueprint-typography-defaults + @else + #{!body_selector} + +blueprint-typography-body + @if !body_selector != "body" + @debug "[DEPRECATED] To specify a the selector \"#{!body_selector}\" to +blueprint-typography, pass true as the first argument and mix it into #{!body_selector}." + +blueprint-typography-defaults + @if !body_selector == "body" + +blueprint-typography-defaults + +=normal-text + font-family= !blueprint_font_family + color= !font_color + +=fixed-width-text + font= 1em !blueprint_fixed_font_family + line-height: 1.5 + +=header-text + font-weight: normal + color= !header_color + +=quiet + color= !quiet_color + +=loud + color= !loud_color + +=blueprint-typography-body(!font_size = !blueprint_font_size) + line-height: 1.5 + +normal-text + font-size= 100% * !font_size / 16px + +=blueprint-typography-defaults + h1 + +header-text + font-size: 3em + line-height: 1 + margin-bottom: 0.5em + img + margin: 0 + h2 + +header-text + font-size: 2em + margin-bottom: 0.75em + h3 + +header-text + font-size: 1.5em + line-height: 1 + margin-bottom: 1em + h4 + +header-text + font-size: 1.2em + line-height: 1.25 + margin-bottom: 1.25em + h5 + +header-text + font-size: 1em + font-weight: bold + margin-bottom: 1.5em + h6 + +header-text + font-size: 1em + font-weight: bold + h2 img, h3 img, h4 img, h5 img, h6 img + margin: 0 + p + margin: 0 0 1.5em + img.left + +float-left + margin: 1.5em 1.5em 1.5em 0 + padding: 0 + img.right + +float-right + margin: 1.5em 0 1.5em 1.5em + padding: 0 + a + text-decoration: underline + +link-colors(!link_color, !link_hover_color, !link_active_color, !link_visited_color, !link_focus_color) + blockquote + margin: 1.5em + color: #666 + font-style: italic + strong + font-weight: bold + em + font-style: italic + dfn + font-style: italic + font-weight: bold + sup, sub + line-height: 0 + abbr, acronym + border-bottom: 1px dotted #666 + address + margin: 0 0 1.5em + font-style: italic + del + color: #666 + pre + margin: 1.5em 0 + white-space: pre + pre, code, tt + +fixed-width-text + li + ul, ol + margin: 0 + ul, ol + margin: 0 1.5em 1.5em 0 + padding-left: 3.333em + ul + list-style-type: disc + ol + list-style-type: decimal + dl + margin: 0 0 1.5em 0 + dt + font-weight: bold + dd + margin-left: 1.5em + table + margin-bottom: 1.4em + width: 100% + th + font-weight: bold + thead th + background= !blueprint_table_header_color + th, td, caption + padding: 4px 10px 4px 5px + tr.even td + background= !blueprint_table_stripe_color + tfoot + font-style: italic + caption + background: #eee + .quiet + +quiet + .loud + +loud diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_utilities.sass similarity index 65% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_utilities.sass index b46b9b50..e7812d2d 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/_utilities.sass @@ -7,7 +7,7 @@ =blueprint-utilities // Regular clearing apply to column that should drop below previous ones. .clear - :clear both + clear: both // turn off text wrapping for the element. .nowrap +nowrap @@ -16,22 +16,22 @@ .clearfix +clearfix .small - :font-size .8em - :margin-bottom 1.875em - :line-height 1.875em + font-size: .8em + margin-bottom: 1.875em + line-height: 1.875em .large - :font-size 1.2em - :line-height 2.5em - :margin-bottom 1.25em + font-size: 1.2em + line-height: 2.5em + margin-bottom: 1.25em .first - :margin-left 0 - :padding-left 0 + margin-left: 0 + padding-left: 0 .last - :margin-right 0 - :padding-right 0 + margin-right: 0 + padding-right: 0 .top - :margin-top 0 - :padding-top 0 + margin-top: 0 + padding-top: 0 .bottom - :margin-bottom 0 - :padding-bottom 0 + margin-bottom: 0 + padding-bottom: 0 diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass new file mode 100644 index 00000000..04cd2ea3 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass @@ -0,0 +1,2 @@ +@debug "DEPRECATION WARINING: blueprint/modules/buttons.sass has moved to blueprint/buttons.sass" +@import blueprint/buttons.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass new file mode 100644 index 00000000..5dd98c92 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass @@ -0,0 +1,2 @@ +@debug "DEPRECATION WARINING: blueprint/modules/colors.sass has moved to blueprint/colors.sass" +@import blueprint/colors.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass new file mode 100644 index 00000000..a78c6e98 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass @@ -0,0 +1,2 @@ +@debug "DEPRECATION WARINING: blueprint/modules/debug.sass has moved to blueprint/debug.sass" +@import blueprint/debug.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass new file mode 100644 index 00000000..5a43f5f9 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass @@ -0,0 +1,2 @@ +@debug "DEPRECATION WARINING: blueprint/modules/fancy_type.sass has moved to blueprint/fancy_type.sass" +@import blueprint/fancy_type.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass new file mode 100644 index 00000000..7b455c81 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass @@ -0,0 +1,2 @@ +@debug "DEPRECATION WARINING: blueprint/modules/form.sass has moved to blueprint/form.sass" +@import blueprint/form.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass new file mode 100644 index 00000000..fd72b845 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass @@ -0,0 +1,2 @@ +@debug "DEPRECATION WARINING: blueprint/modules/grid.sass has moved to blueprint/grid.sass" +@import blueprint/grid.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass new file mode 100644 index 00000000..9b2ba76b --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass @@ -0,0 +1,2 @@ +@debug "DEPRECATION WARINING: blueprint/modules/interaction.sass has moved to blueprint/interaction.sass" +@import blueprint/interaction.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass new file mode 100644 index 00000000..7b38ceba --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass @@ -0,0 +1,2 @@ +@debug "DEPRECATION WARINING: blueprint/modules/link_icons.sass has moved to blueprint/link_icons.sass" +@import blueprint/link_icons.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass new file mode 100644 index 00000000..eed1e601 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass @@ -0,0 +1,3 @@ +@debug "DEPRECATION WARINING: blueprint/modules/liquid.sass has moved to blueprint/liquid.sass" +@import blueprint/liquid.sass + diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass new file mode 100644 index 00000000..297ea8b4 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass @@ -0,0 +1,2 @@ +@debug "DEPRECATION WARINING: blueprint/modules/reset.sass has moved to blueprint/reset.sass" +@import blueprint/reset.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass new file mode 100644 index 00000000..8cd4d0d8 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass @@ -0,0 +1,2 @@ +@debug "DEPRECATION WARINING: blueprint/modules/rtl.sass has moved to blueprint/rtl.sass" +@import blueprint/rtl.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass new file mode 100644 index 00000000..a68b8886 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass @@ -0,0 +1,2 @@ +@debug "DEPRECATION WARINING: blueprint/modules/scaffolding.sass has moved to blueprint/scaffolding.sass" +@import blueprint/scaffolding.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass new file mode 100644 index 00000000..d2f1a943 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass @@ -0,0 +1,2 @@ +@debug "DEPRECATION WARINING: blueprint/modules/typography.sass has moved to blueprint/typography.sass" +@import blueprint/typography.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass new file mode 100644 index 00000000..57994368 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass @@ -0,0 +1,2 @@ +@debug "DEPRECATION WARINING: blueprint/modules/utilities.sass has moved to blueprint/utilities.sass" +@import blueprint/utilities.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/buttons/buttons.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/buttons/buttons.sass similarity index 90% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/buttons/buttons.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/buttons/buttons.sass index e8ca96e6..2e4aa310 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/buttons/buttons.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/buttons/buttons.sass @@ -1,5 +1,5 @@ @import compass/utilities/general/float.sass -@import blueprint/modules/buttons.sass +@import blueprint/buttons.sass // Use the following HTML code to place the buttons on your site: @@ -23,7 +23,7 @@ a.button +anchor-button("left") // All the button color mixins take 4 optional arguments: // font color, background color, border color, border highlight color - // the first three default to constants set in blueprint/modules/buttons.sass + // the first three default to constants set in blueprint/buttons.sass // the last one defaults to a shade lighter than the border color. +button-colors +button-hover-colors @@ -38,12 +38,12 @@ button // We can change the colors for buttons of certain classes, etc. a.positive, button.positive - :color #529214 + color: #529214 +button-hover-colors(#529214, #E6EFC2, #C6D880) +button-active-colors(#FFF, #529214, #529214) a.negative, button.negative - :color #D12F19 + color: #D12F19 +button-hover-colors(#D12F19, #FBE3E4, #FBC2C4) +button-active-colors(#FFF, #D12F19, #D12F19) diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/buttons/buttons/cross.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/buttons/buttons/cross.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/buttons/buttons/cross.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/buttons/buttons/cross.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/buttons/buttons/key.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/buttons/buttons/key.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/buttons/buttons/key.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/buttons/buttons/key.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/buttons/buttons/tick.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/buttons/buttons/tick.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/buttons/buttons/tick.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/buttons/buttons/tick.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/buttons/manifest.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/buttons/manifest.rb new file mode 100644 index 00000000..e9821ca2 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/buttons/manifest.rb @@ -0,0 +1,17 @@ +description "Button Plugin" +stylesheet 'buttons.sass', :media => 'screen, projection' + +image 'buttons/cross.png' +image 'buttons/key.png' +image 'buttons/tick.png' + +help %Q{ +To install the button plugin: + compass init --using blueprint/buttons + +The buttons.sass file is just a recommendation to show you how to use the button mixins. +} + +welcome_message %Q{ +The buttons.sass file is just a recommendation to show you how to use the button mixins. +} diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/link_icons.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/link_icons/link_icons.sass similarity index 90% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/link_icons.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/link_icons/link_icons.sass index a095e833..5fe9a848 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/link_icons.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/link_icons/link_icons.sass @@ -1,4 +1,4 @@ -@import blueprint/modules/link_icons.sass +@import blueprint/link_icons.sass // This turns link icons on for all links. You can change the scoping selector from // body to something more specific if you prefer. diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/doc.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/doc.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/doc.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/doc.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/email.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/email.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/email.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/email.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/external.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/external.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/external.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/external.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/feed.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/feed.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/feed.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/feed.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/im.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/im.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/im.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/im.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/pdf.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/pdf.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/pdf.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/pdf.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/visited.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/visited.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/visited.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/visited.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/xls.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/xls.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/xls.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/xls.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/link_icons/manifest.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/link_icons/manifest.rb new file mode 100644 index 00000000..9d0dc09a --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/link_icons/manifest.rb @@ -0,0 +1,23 @@ +description "Icons for common types of links" + +stylesheet "link_icons.sass", :media => 'screen, projection' + +image 'link_icons/doc.png' +image 'link_icons/email.png' +image 'link_icons/external.png' +image 'link_icons/feed.png' +image 'link_icons/im.png' +image 'link_icons/pdf.png' +image 'link_icons/visited.png' +image 'link_icons/xls.png' + +help %Q{ +To install the link_icons plugin: + compass init --using blueprint/link_icons + +The link_icons.sass file is just a recommendation to show you how to use the link mixins. +} + +welcome_message %Q{ +The link_icons.sass file is just a recommendation to show you how to use the link mixins. +} diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/grid.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/project/grid.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/grid.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/project/grid.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/project/ie.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/project/ie.sass new file mode 100644 index 00000000..31aad76a --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/project/ie.sass @@ -0,0 +1,16 @@ +@import blueprint.sass + +// To generate css equivalent to the blueprint css but with your configuration applied, uncomment: +// +blueprint-ie + +//Recommended Blueprint configuration with scoping and semantic layout: +body.bp + +blueprint-ie(true) + // Note: Blueprint centers text to fix IE6 container centering. + // This means all your texts will be centered under all version of IE by default. + // If your container does not have the .container class, don't forget to restore + // the correct behavior to your main container (but not the body tag!) + // Example: + // .my-container + // text-align: left + diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/project/manifest.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/project/manifest.rb new file mode 100644 index 00000000..e637d521 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/project/manifest.rb @@ -0,0 +1,32 @@ +description "The blueprint framework." + +stylesheet 'screen.sass', :media => 'screen, projection' +stylesheet 'partials/_base.sass' +stylesheet 'print.sass', :media => 'print' +stylesheet 'ie.sass', :media => 'screen, projection', :condition => "lt IE 8" + +image 'grid.png' + +html 'welcome.html.haml', :erb => true + +help %Q{ +Please see the blueprint website for documentation on how blueprint works: + + http://blueprintcss.org/ + +Docs on the compass port of blueprint can be found on the wiki: + + http://wiki.github.com/chriseppstein/compass/blueprint-documentation +} + +welcome_message %Q{ +Please see the blueprint website for documentation on how blueprint works: + + http://blueprintcss.org/ + +Docs on the compass port of blueprint can be found on the wiki: + + http://wiki.github.com/chriseppstein/compass/blueprint-documentation + +To get started, edit the screen.sass file and read the comments and code there. +} diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/partials/_base.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/project/partials/_base.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/partials/_base.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/project/partials/_base.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/project/print.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/project/print.sass new file mode 100644 index 00000000..e3727d9e --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/project/print.sass @@ -0,0 +1,8 @@ +@import blueprint.sass + +// To generate css equivalent to the blueprint css but with your configuration applied, uncomment: +// +blueprint-print + +//Recommended Blueprint configuration with scoping and semantic layout: +body.bp + +blueprint-print(true) \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/screen.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/project/screen.sass similarity index 94% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/screen.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/project/screen.sass index e3588dcd..fff485eb 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/screen.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/project/screen.sass @@ -5,15 +5,15 @@ // Import all the default blueprint modules so that we can access their mixins. @import blueprint // Import the non-default scaffolding module. -@import blueprint/modules/scaffolding.sass +@import blueprint/scaffolding.sass // To generate css equivalent to the blueprint css but with your configuration applied, uncomment: // +blueprint //Recommended Blueprint configuration with scoping and semantic layout: -+blueprint-typography("body.bp") +blueprint-scaffolding("body.bp") body.bp + +blueprint-typography(true) +blueprint-utilities +blueprint-debug +blueprint-interaction @@ -38,3 +38,4 @@ body.three-col !content_columns = ceil(2 * !blueprint_grid_columns / 3) // true means it's the last column in the row +column(!content_columns, true) + diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/project/welcome.html.haml b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/project/welcome.html.haml new file mode 100644 index 00000000..89aec1c4 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/blueprint/templates/project/welcome.html.haml @@ -0,0 +1,21 @@ +!!! Transition +/ Feel free to delete this, it's just here to act as an example +%html(xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en") + %head + %title Welcome to Compass & Blueprint + %link(rel="stylesheet" href="<%= http_stylesheets_path %>/screen.css" type="text/css" media="screen, projection") + %link(href="<%= http_stylesheets_path %>/print.css" media="print" rel="stylesheet" type="text/css") + /[if lt IE 8] + %link(href="<%= http_stylesheets_path %>/ie.css" media="screen, projection" rel="stylesheet" type="text/css") + %style(type="text/css") + :sass + @import blueprint.sass + body#welcome + #container + +container + h1 + +column(24) + %body#welcome.bp + #container + %h1 Welcome to Compass! + %p This is <%= "ERB" %> diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/_compass.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/_compass.sass new file mode 100644 index 00000000..bbb7de73 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/_compass.sass @@ -0,0 +1,2 @@ +@import compass/utilities.sass +@import compass/css3.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/_css3.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/_css3.sass new file mode 100644 index 00000000..36aa9593 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/_css3.sass @@ -0,0 +1,14 @@ +@import css3/border_radius.sass +@import css3/inline_block.sass +@import css3/opacity.sass +@import css3/box_shadow.sass +@import css3/text_shadow.sass +@import css3/columns.sass +@import css3/box_sizing.sass +@import css3/gradient.sass +@import css3/background_clip.sass +@import css3/background_origin.sass +@import css3/background_size.sass +@import css3/font_face.sass +@import css3/transform.sass +@import css3/transition.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/_layout.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/_layout.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/_layout.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/_layout.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/_misc.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/_misc.sass similarity index 56% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/_misc.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/_misc.sass index ce332ca5..03a810d1 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/_misc.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/_misc.sass @@ -6,19 +6,19 @@ Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA. =unobtrusive-logo(!size = 1em) - :font-family Monaco, Courier, "Lucida Sans Unicode", monospace - :font-size= !size - :color #888 + font-family: Monaco, Courier, "Lucida Sans Unicode", monospace + font-size= !size + color: #888 .selector - :vertical-align middle - :font-size= 1.3em + vertical-align: middle + font-size= 1.3em .brace - :vertical-align middle - :font bold 1.7em Georgia, "Times New Roman", serif - :color #CCC - :margin= 0 -0.2em + vertical-align: middle + font: bold 1.7em Georgia, "Times New Roman", serif + color: #CCC + margin= 0 -0.2em .rule - :vertical-align middle - :margin= 0 -0.2em + vertical-align: middle + margin= 0 -0.2em - \ No newline at end of file + diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/_reset.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/_reset.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/_reset.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/_reset.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/_utilities.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/_utilities.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/_utilities.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/_utilities.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_clip.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_clip.sass new file mode 100644 index 00000000..49a3c289 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_clip.sass @@ -0,0 +1,16 @@ +// Background Clip +// clip the background (image and color) at the edge of the padding or border +// - [padding-box | border-box] +// - browser defaults to border-box, mixin defaults to padding-box + +// override constants to change defaults +!default_background_clip ||= "padding-box" + +=background-clip(!clip = !default_background_clip) + // webkit and mozilla use the deprecated short [border | padding | content] + !deprecated= "padding" + @if !clip == "border-box" + !deprecated= "border" + background-clip= !clip + -webkit-background-clip= !deprecated + -moz-background-clip= !deprecated \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_origin.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_origin.sass new file mode 100644 index 00000000..17684f65 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_origin.sass @@ -0,0 +1,18 @@ +// Background Origin +// position the background off the edge of the padding, border or content +// - [padding-box | border-box | content-box] +// - browser defaults to padding-box, mixin defaults to content-box + +// override constants to change defaults +!default_background_origin ||= "content-box" + +=background-origin(!origin = !default_background_origin) + // webkit and mozilla use the deprecated short [border | padding | content] + !deprecated= "padding" + @if !origin == "border-box" + !deprecated= "border" + @if !origin == "content-box" + !deprecated= "content" + background-origin= !origin + -webkit-background-origin= !deprecated + -moz-background-origin= !deprecated diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_size.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_size.sass new file mode 100644 index 00000000..4552ff9d --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_size.sass @@ -0,0 +1,14 @@ +// Background Size +// Set the size of background images using px, width and height, or percentages +// - percentages are relative to the background-origin (default = padding-box) +// - mixin defaults to "100% auto" + +// override constants to change defaults +!default_background_size ||= 100% "auto" + +=background-size(!size = !default_background_size) + background-size= !size + -webkit-background-size= !size + -o-background-size= !size + -khtml-background-size= !size + -moz-background-size= !size \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_border_radius.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_border_radius.sass new file mode 100644 index 00000000..475b66d5 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_border_radius.sass @@ -0,0 +1,47 @@ +!default_border_radius ||= 5px + +// Round all borders by amount +=border-radius(!radius = !default_border_radius) + border-radius= !radius + -moz-border-radius= !radius + -webkit-border-radius= !radius + +// Round radius at position by amount. +// values for !vert: "top", "bottom" +// values for !horz: "left", "right +=border-corner-radius(!vert, !horz, !radius = !default_border_radius) + border-#{!vert}-#{!horz}-radius= !radius + -moz-border-radius-#{!vert}#{!horz}= !radius + -webkit-border-#{!vert}-#{!horz}-radius= !radius + +=border-top-left-radius(!radius = !default_border_radius) + +border-corner-radius("top", "left", !radius) + +=border-top-right-radius(!radius = !default_border_radius) + +border-corner-radius("top", "right", !radius) + +=border-bottom-left-radius(!radius = !default_border_radius) + +border-corner-radius("bottom", "left", !radius) + +=border-bottom-right-radius(!radius = !default_border_radius) + +border-corner-radius("bottom", "right", !radius) + +// Round top corners by amount +=border-top-radius(!radius = !default_border_radius) + +border-top-left-radius(!radius) + +border-top-right-radius(!radius) + +// Round right corners by amount +=border-right-radius(!radius = !default_border_radius) + +border-top-right-radius(!radius) + +border-bottom-right-radius(!radius) + +// Round bottom corners by amount +=border-bottom-radius(!radius = !default_border_radius) + +border-bottom-left-radius(!radius) + +border-bottom-right-radius(!radius) + +// Round left corners by amount +=border-left-radius(!radius = !default_border_radius) + +border-top-left-radius(!radius) + +border-bottom-left-radius(!radius) \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_box_shadow.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_box_shadow.sass new file mode 100644 index 00000000..7b9242a9 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_box_shadow.sass @@ -0,0 +1,20 @@ +//** + Provides cross-browser css box shadows for Webkit, Gecko, and CSS3 standard + arguments are color, horizontal offset, vertical offset, and blur + +//** + These defaults make the arguments optional for this mixin + If you like, set different defaults in your project + +!default_box_shadow_color ||= #333 +!default_box_shadow_h_offset ||= 1px +!default_box_shadow_v_offset ||= 1px +!default_box_shadow_blur ||= 5px + +=box-shadow(!color = !default_box_shadow_color, !hoff = !default_box_shadow_h_offset, !voff = !default_box_shadow_v_offset, !blur = !default_box_shadow_blur) + /* Webkit (Safari, Chrome) */ + -webkit-box-shadow= !color !hoff !voff !blur + /* Gecko (Firefox, Camino) */ + -moz-box-shadow= !color !hoff !voff !blur + /* CSS3 */ + box-shadow= !color !hoff !voff !blur \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_box_sizing.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_box_sizing.sass new file mode 100644 index 00000000..c63076d4 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_box_sizing.sass @@ -0,0 +1,13 @@ +//** + Change the box model for Mozilla, Webkit, IE8 and the future + @param !bs + [ content-box | border-box ] +=box-sizing(!bs) + /* Mozilla (FireFox, Camino) + -moz-box-sizing= !bs + /* Webkit (Safari, Chrome) + -webkit-box-sizing= !bs + /* IE (8) + -ms-box-sizing= !bs + /* CSS3 + box-sizing= !bs \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_columns.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_columns.sass new file mode 100644 index 00000000..c2ef3c28 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_columns.sass @@ -0,0 +1,37 @@ +//** + CSS3 columns for Mozilla, Webkit and the Future + +=column-count(!n) + -moz-column-count= !n + -webkit-column-count= !n + column-count= !n + +=column-gap(!u) + -moz-column-gap= !u + -webkit-column-gap= !u + column-gap= !u + +=column-width(!u) + -moz-column-width= !u + -webkit-column-width= !u + column-width= !u + +=column-rule-width(!w) + -moz-column-rule-width= !w + -webkit-column-rule-width= !w + column-rule-width= !w + +=column-rule-style(!s) + -moz-column-rule-style= !s + -webkit-column-rule-style= !s + column-rule-style= !s + +=column-rule-color(!c) + -moz-column-rule-color= !c + -webkit-column-rule-color= !c + column-rule-color= !c + +=column-rule(!w, !s = "solid", !c = " ") + +column-rule-width(!w) + +column-rule-style(!s) + +column-rule-color(!c) diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_font_face.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_font_face.sass new file mode 100644 index 00000000..7be10200 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_font_face.sass @@ -0,0 +1,31 @@ +// @Font-Face +// Cross-browser support for @font-face +// - !name is required, arbitrary, and what you will use in font stacks. +// - !font_files is required using font_files('relative_location', 'format'). +// - for best results use this order: woff, opentype/truetype, svg +// - !eot is required by IE, and is a relative location of the eot file. +// - postscript name is required by some browsers to look for local fonts. +=font-face( !name, !font_files, !eot = false, !postscript = false, !style = false) + @font-face + font-family: '#{!name}' + @if !style + font-style= !style + @if !eot + src= stylesheet_url(!eot) + @if !postscript + src: local('#{!name}'), local('#{!postscript}'), #{!font_files} + @else + src: local('#{!name}'), #{!font_files} + +// EXAMPLE + +font-face("this name", font-files("this.woff", "woff", "this.otf", "opentype"), "fonts/this.eot", "thisname") + + will generate: + + @font-face { + font-family: 'this name'; + src: url('fonts/this.eot'); + src: local('this name'), local('thisname'), + url('this.otf') format('woff'), + url('this.woff') format('opentype'); + } diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_gradient.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_gradient.sass new file mode 100644 index 00000000..d67d863a --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_gradient.sass @@ -0,0 +1,40 @@ +=gradient(!type, !coords, !color_start, !color_end, !color_stop = false) + !gradient= "#{!coords}, from(#{!color_start}), to(#{!color_end})" + @if !color_stop + !gradient= !gradient + ", " + !color_stop + background: -webkit-gradient(#{!type}, #{!gradient}) + background: -moz-#{!type}-gradient(#{!gradient}) + +//* + // This will yeild a radial gradient with an apparent specular highlight + +radial-gradient("45 45, 10, 52 50, 30", Cyan, DodgerBlue) + +=radial-gradient(!coords, !color1, !color2, !color_stop = false) + +gradient("radial", !coords, !color1, !color2, !color_stop) + +//* + // This yields a linear gradient spanning from !start to !end coordinates + +linear-gradient("left top", "left bottom", #fff, #ddd) + +=linear-gradient(!start, !end, !color1, !color2, !color_stop = false) + !coords = !start + ", " + !end + +gradient("linear", !coords, !color1, !color2, !color_stop) + +//* + // This yields a gradient starting at the top with #fff, ending in #aaa + +v-gradient(#fff, #aaa) + // Same as above but with a #ccc at the halfway point + +v-gradient(#fff, #aaa, color_stop(50%, #ccc)) + // Same as the first example but with #ccc at the 30% from the top, and #bbb at 70% from the top + +v-gradient(#fff, #aaa, color_stop(30%, #ccc, 70%, #bbb)) + +=v-gradient(!color1, !color2, !color_stop = false) + +linear-gradient("left top", "left bottom", !color1, !color2, !color_stop) + +//* + // This yields a horizontal linear gradient spanning from left to right + // It can be used just like v-gradient above + h-gradient(#fff, #ddd) + +=h-gradient(!color1, !color2, !color_stop = false) + +linear-gradient("left top", "right top", !color1, !color2, !color_stop) \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_inline_block.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_inline_block.sass new file mode 100644 index 00000000..1ace87fd --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_inline_block.sass @@ -0,0 +1,7 @@ +=inline-block + display: -moz-inline-box + -moz-box-orient: vertical + display: inline-block + vertical-align: middle + #display: inline + #vertical-align: auto diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_opacity.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_opacity.sass new file mode 100644 index 00000000..e47ab9a7 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_opacity.sass @@ -0,0 +1,18 @@ +//** + Provides cross-browser css opacity. + @param !opacity + A number between 0 and 1, where 0 is transparent and 1 is opaque. +=opacity(!opacity) + opacity= !opacity + -moz-opacity= !opacity + -khtml-opacity= !opacity + -ms-filter= "progid:DXImageTransform.Microsoft.Alpha(Opacity=" + round(!opacity*100) + ")" + filter= "alpha(opacity=" + round(!opacity*100) + ")" + +// Make an element completely transparent. +=transparent + +opacity(0) + +// Make an element completely opaque. +=opaque + +opacity(1) diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_text_shadow.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_text_shadow.sass new file mode 100644 index 00000000..f76f4b9f --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_text_shadow.sass @@ -0,0 +1,15 @@ +//** + Provides css text shadows + arguments are color, horizontal offset, vertical offset, and blur + +//** + These defaults make the arguments optional for this mixin + If you like, set different defaults in your project + +!default_text_shadow_color ||= #aaa +!default_text_shadow_h_offset ||= 1px +!default_text_shadow_v_offset ||= 1px +!default_text_shadow_blur ||= 1px + +=text-shadow(!color = !default_text_shadow_color, !hoff = !default_text_shadow_h_offset, !voff = !default_text_shadow_v_offset, !blur = !default_text_shadow_blur) + text-shadow= !color !hoff !voff !blur \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_transform.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_transform.sass new file mode 100644 index 00000000..eeff2ec3 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_transform.sass @@ -0,0 +1,62 @@ +// CSS Transform and Transform-Origin + +// Apply a transform sent as a complete string +=apply-transform(!transform = false) + transform= !transform + -webkit-transform= !transform + -moz-transform= !transform + +// Apply a transform-origin sent as a complete string +=apply-origin(!origin = false) + transform-origin= !origin + -webkit-transform-origin= !origin + -moz-transform-origin= !origin + +// transform-origin requires x and y coordinates +// - only applies the coordinates if they are there +// so that it can be called by scale, rotate and skew safely +=transform-origin(!originx = 50%, !originy = 50%) + !origin = false + @if !originx and !originy + !origin = "#{!originx} #{!originy}" + @else if !originx + !origin = "#{!originx}" + @else if !originy + !origin = "#{!originy}" + @if !origin + +apply-origin(!origin) + +// A full transform mixin with everything you could want +// - including origin adjustments if you want them +// - scale, rotate and skew don't require units +// scale takes a multiplier, rotate and skew take degrees +=transform(!scale = 1, !rotate = 0, !transx = 0, !transy = 0, !skewx = 0, !skewy = 0, !originx = false, !originy = false) + !transform = "scale(#{!scale}) rotate(#{!rotate}deg) translate(#{!transx}, #{!transy}) skew(#{!skewx}deg, #{!skewy}deg)" + +apply-transform(!transform) + +transform-origin(!originx, !originy) + +// Transform Partials +// These work well on their own, but they don't add to each other, they override +// Use them with extra origin args, or along side +transform-origin + +// adjust only the scale +// - with optional origin coordinates +=scale(!scale = 1.25, !originx = false, !originy = false) + +apply-transform("scale(#{!scale})") + +transform-origin(!originx, !originy) + +// adjust only the rotation +// - with optional origin coordinates +=rotate(!rotate = 45, !originx = false, !originy = false) + +apply-transform("rotate(#{!rotate}deg)") + +transform-origin(!originx, !originy) + +// adjust only the translation +=translate(!transx = 0, !transy = 0) + +apply-transform("translate(#{!transx}, #{!transy})") + +// adjust only the skew +// - with optional origin coordinates +=skew(!skewx = 0, !skewy = 0, !originx = false, !originy = false) + +apply-transform("skew(#{!skewx}deg, #{!skewy}deg)") + +transform-origin(!originx, !originy) diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_transition.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_transition.sass new file mode 100644 index 00000000..5274e08a --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/css3/_transition.sass @@ -0,0 +1,57 @@ +// CSS Transitions +// Currently only works in Webkit +// - expected in CSS3, FireFox 3.6/7 and Opera Presto 2.3 +// - we'll be prepared. + +// Override these defaults with your own, if you like +// - timing-function and delay are set to false for browser defaults (ease, 0s) +!default_transition_property ||= "all" +!default_transition_duration ||= 1s +!default_transition_function ||= false +!default_transition_delay ||= false + +// One or more properties to transition +// - for multiple, use a comma-delimited list +// - also accepts "all" or "none" +=transition-property(!properties = !default_transition_property) + transition-property = !properties + -webkit-transition-property = !properties + -moz-transition-property = !properties + -o-transition-property = !properties + +// One or more durrations in seconds +// - for multiple, use a comma-delimited list +// - these durrations will effect the properties in the same list position +=transition-duration(!duration = !default_transition_duration) + transition-duration = !duration + -webkit-transition-duration = !duration + -moz-transition-duration = !duration + -o-transition-duration = !duration + +// One or more timing functions +// - [ ease | linear | ease-in | ease-out | ease-in-out | cubic-bezier(x1, y1, x2, y2)] +// - for multiple, use a comma-delimited list +// - these functions will effect the properties in the same list position +=transition-timing-function(!function = !default_transition_function) + transition-timing-function = !function + -webkit-transition-timing-function = !function + -moz-transition-timing-function = !function + -o-transition-timing-function = !function + +// One or more transition-delays in seconds +// - for multiple, use a comma-delimited list +// - these delays will effect the properties in the same list position +=transition-delay(!delay = !default_transition_delay) + transition-delay = !delay + -webkit-transition-delay = !delay + -moz-transition-delay = !delay + -o-transition-delay = !delay + +// Transition all-in-one shorthand +=transition(!properties = !default_transition_property, !duration = !default_transition_duration, !function = !default_transition_function, !delay = !default_transition_delay) + +transition-property(!properties) + +transition-duration(!duration) + @if !function + +transition-timing-function(!function) + @if !delay + +transition-delay(!delay) diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass similarity index 65% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass index 8b8c4b04..7ab874ca 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass @@ -5,13 +5,15 @@ =sticky-footer(!footer_height, !root_selector = "#root", !root_footer_selector = "#root_footer", !footer_selector = "#footer") html, body - :height 100% + height: 100% #{!root_selector} - :min-height 100% - :margin-bottom= -!footer_height + min-height: 100% + height: auto !important + height: 100% + margin-bottom= -!footer_height #{!root_footer_selector} - :height= !footer_height + height= !footer_height #{!footer_selector} - :clear both - :position relative - :height= !footer_height + clear: both + position: relative + height= !footer_height diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_general.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/_general.sass similarity index 80% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_general.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/_general.sass index a09b235a..3b105f8a 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_general.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/_general.sass @@ -2,5 +2,4 @@ @import general/clearfix.sass @import general/float.sass @import general/tag_cloud.sass -@import general/inline_block.sass @import general/hacks.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_links.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/_links.sass similarity index 64% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_links.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/_links.sass index afd4e369..41b15b45 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_links.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/_links.sass @@ -1,3 +1,3 @@ @import links/hover_link.sass @import links/link_colors.sass -@import links/unstyled_link.sass \ No newline at end of file +@import links/unstyled_link.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_lists.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/_lists.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_lists.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/_lists.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/_print.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/_print.sass new file mode 100644 index 00000000..77c2a13c --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/_print.sass @@ -0,0 +1,18 @@ +// Classes that are useful for controlling what gets printed. +// You must mix +print-utilities into your print stylesheet +// and +print-utilities("screen") into your screen stylesheet. +// Note: these aren't semantic. +=print-utilities(!media = "print") + @if !media == "print" + .noprint, + .no-print + display: none + #{elements_of_type("block")} + &.print-only + display: block + #{elements_of_type("inline")} + &.print-only + display: inline + @else + .print-only + display: none diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/_sprites.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/_sprites.sass new file mode 100644 index 00000000..b03e49c8 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/_sprites.sass @@ -0,0 +1 @@ +@import sprites/sprite_img.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_tables.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/_tables.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_tables.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/_tables.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_text.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/_text.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_text.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/_text.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass similarity index 84% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass index e64afef3..3399e591 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass @@ -6,7 +6,7 @@ Recommendations include using this in conjunction with a width: http://www.quirksmode.org/blog/archives/2005/03/clearing_floats.html =clearfix - :overflow hidden + overflow: hidden +has-layout //** @@ -15,10 +15,10 @@ http://www.positioniseverything.net/easyclearing.html =pie-clearfix &:after - :content " " - :display block - :height 0 - :clear both - :overflow hidden - :visibility hidden + content: " " + display: block + height: 0 + clear: both + overflow: hidden + visibility: hidden +has-layout diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_float.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_float.sass similarity index 89% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_float.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_float.sass index a0d58713..616765f6 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_float.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_float.sass @@ -13,5 +13,5 @@ // Available as alternate syntax with just +float =float(!side = "left") - :display inline - :float= !side + display: inline + float= !side diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass similarity index 65% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass index 19417ee1..e3c21fb5 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass @@ -1,6 +1,6 @@ =has-layout // This makes ie6 get layout - :display inline-block + display: inline-block // and this puts it back to block & - :display block + display: block diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass similarity index 84% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass index 8d968e53..4ade16ee 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass @@ -33,7 +33,7 @@ q, blockquote +reset-quotation - img a + a img +reset-image-anchor-border @@ -57,52 +57,52 @@ q, blockquote +reset-quotation - img a + a img +reset-image-anchor-border //Mixins partials =reset-box-model - :margin 0 - :padding 0 - :border 0 - :outline 0 + margin: 0 + padding: 0 + border: 0 + outline: 0 =reset-font - :font - :weight inherit - :style inherit - :size 100% - :family inherit - :vertical-align baseline + font: + weight: inherit + style: inherit + size: 100% + family: inherit + vertical-align: baseline =reset-focus - :outline 0 + outline: 0 =reset-body - :line-height 1em - :color = #000 - :background #fff + line-height: 1em + color: #000 + background: #fff =reset-list-style - :list-style none + list-style: none =reset-table - :border-collapse separate - :border-spacing 0 - :vertical-align middle + border-collapse: separate + border-spacing: 0 + vertical-align: middle =reset-table-cell - :text-align left - :font-weight normal - :vertical-align middle + text-align: left + font-weight: normal + vertical-align: middle =reset-quotation - :quotes "" "" + quotes: "" "" &:before, &:after - :content "" + content: "" =reset-image-anchor-border - :border none + border: none =reset-html5 section, article, aside, header, footer, nav, dialog, figure @@ -115,7 +115,7 @@ Usage Example: // Turn off the display for both of these classes .unregistered-only, .registered-only - :display none + display: none // Now turn only one of them back on depending on some other context. body.registered +reset-display(".registered-only") @@ -131,4 +131,4 @@ @if !important display: block !important @else - display: block \ No newline at end of file + display: block diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass new file mode 100644 index 00000000..132cb4d1 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass @@ -0,0 +1,19 @@ +// Emits styles for a tag cloud +=tag-cloud(!base_size = 1em) + font-size= !base_size + line-height= 1.2 * !base_size + .xxs, .xs, .s, .l, .xl, .xxl + line-height= 1.2 * !base_size + .xxs + font-size= !base_size / 2.0 + .xs + font-size= 2.0 * !base_size / 3.0 + .s + font-size= 3.0 * !base_size / 4.0 + .l + font-size= 4.0 * !base_size / 3.0 + .xl + font-size= 3.0 * !base_size / 2.0 + .xxl + font-size= 2.0 * !base_size + diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass similarity index 59% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass index a8b51545..44b99a63 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass @@ -1,5 +1,5 @@ // a link that only has an underline when you hover over it =hover-link - :text-decoration none + text-decoration: none &:hover - :text-decoration underline + text-decoration: underline diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass similarity index 79% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass index dcdae06d..9d40d320 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass @@ -7,18 +7,18 @@ // +link-colors(#00c, #0cc, #c0c, #ccc, #cc0) =link-colors(!normal, !hover = false, !active = false, !visited = false, !focus = false) - :color= !normal + color= !normal @if !visited &:visited - :color= !visited + color= !visited @if !focus &:focus - :color= !focus + color= !focus @if !hover &:hover - :color= !hover + color= !hover @if !active &:active - :color= !active + color= !active - \ No newline at end of file + diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass new file mode 100644 index 00000000..f274eb9e --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass @@ -0,0 +1,7 @@ +// A link that looks and acts like the text it is contained within +=unstyled-link + color: inherit + text-decoration: inherit + cursor: inherit + &:active, &:focus + outline: none diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass similarity index 63% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass index 86657098..fce89824 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass @@ -1,7 +1,7 @@ // Turn off the bullet for an element of a list =no-bullet - :list-style-type none - :margin-left 0px + list-style-type: none + margin-left: 0px // turns off the bullets for an entire list =no-bullets @@ -13,9 +13,9 @@ // ul.pretty // +pretty-bullets("my-icon.png", 5px, 7px) =pretty-bullets(!bullet_icon, !width, !height, !line_height = 18px, !padding = 14px) - :margin-left 0 + margin-left: 0 li - :padding-left= !padding - :background= image_url(!bullet_icon) "no-repeat" ((!padding - !width) / 2) ((!line_height - !height) / 2) - :list-style-type none + padding-left= !padding + background= image_url(!bullet_icon) "no-repeat" ((!padding - !width) / 2) ((!line_height - !height) / 2) + list-style-type: none diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass similarity index 91% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass index 49d21c7d..8c601d6c 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass @@ -32,15 +32,15 @@ Used to implement +horizontal-list. =horizontal-list-item(!padding = 4px) +no-bullet - :white-space nowrap + white-space: nowrap +float-left - :padding - :left= !padding - :right= !padding + padding: + left= !padding + right= !padding &.first - :padding-left 0px + padding-left: 0px &.last - :padding-right 0px + padding-right: 0px //** A list(ol,ul) that is layed out such that the elements are floated left and won't wrap. diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass similarity index 76% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass index e6d0a185..88ea604f 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass @@ -1,14 +1,14 @@ // makes a list inline. =inline-list - :list-style-type none - :margin 0px - :padding 0px - :display inline + list-style-type: none + margin: 0px + padding: 0px + display: inline li - :margin 0px - :padding 0px - :display inline + margin: 0px + padding: 0px + display: inline // makes an inlin list that is comma delimited. // use of this recipe is not recommended at this time due to browser support issues. @@ -23,7 +23,7 @@ +inline-list li &:after - :content ", " + content: ", " &:last-child, &.last &:after - :content "" + content: "" diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass new file mode 100644 index 00000000..b6b3caec --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass @@ -0,0 +1,52 @@ +//** + Example 1: + a.twitter + +sprite-img("icons-32.png", 1) + a.facebook + +sprite-img("icons-32png", 2) + ... + Example 2: + a + +sprite-background("icons-32.png") + a.twitter + +sprite-column(1) + a.facebook + +sprite-row(2) + ... + +!sprite_default_size ||= 32px +!sprite_default_margin ||= 0px +!sprite_image_default_width ||= !sprite_default_size +!sprite_image_default_height ||= !sprite_default_size + + +// Sets all the rules for a sprite from a given sprite image to show just one of the sprites. +// To reduce duplication use a sprite-bg mixin for common properties and a sprite-select mixin for positioning. +=sprite-img(!img, !col, !row = 1, !width = !sprite_image_default_width, !height = !sprite_image_default_height, !margin = !sprite_default_margin) + +sprite-background(!img, !width, !height) + +sprite-position(!col, !row, !width, !height, !margin) + +// Sets rules common for all sprites, assumes you want a square, but allows a rectangular region. +=sprite-background(!img, !width = !sprite_default_size, !height = !width) + +sprite-background-rectangle(!img, !width, !height) + +// Sets rules common for all sprites, assumes a rectangular region. +=sprite-background-rectangle(!img, !width = !sprite_image_default_width, !height = !sprite_image_default_height) + background= image_url(!img) "no-repeat" + width= !width + height= !height + overflow: hidden + +// Allows horizontal sprite positioning optimized for a single row of sprites. +=sprite-column(!col, !width = !sprite_image_default_width, !margin = !sprite_default_margin) + +sprite-position(!col, 1, !width, 0px, !margin) + +// Allows vertical sprite positioning optimized for a single column of sprites. +=sprite-row(!row, !height = !sprite_image_default_height, !margin = !sprite_default_margin) + +sprite-position(1, !row, 0px, !height, !margin) + +// Allows vertical and horizontal sprite positioning from a grid of equal dimensioned sprites. +=sprite-position(!col, !row = 1, !width = !sprite_image_default_width, !height = !sprite_image_default_height, !margin = !sprite_default_margin) + !x = ((!col - 1) * -!width) - ((!col - 1) * !margin) + !y = ((!row - 1) * -!height) - ((!row - 1) * !margin) + background-position= !x !y diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass new file mode 100644 index 00000000..cb086792 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass @@ -0,0 +1,20 @@ +=alternating-rows-and-columns(!even_row_color, !odd_row_color, !dark_intersection, !header_color = #FFF, !footer_color = #FFF) + th + background-color= !header_color + &.even + background-color= !header_color - !dark_intersection + tr.odd + td + background-color= !odd_row_color + &.even + background-color= !odd_row_color - !dark_intersection + tr.even + td + background-color= !even_row_color + &.even + background-color= !even_row_color - !dark_intersection + tfoot + th, td + background-color= !footer_color + &.even + background-color= !footer_color - !dark_intersection diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass new file mode 100644 index 00000000..7f21fecf --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass @@ -0,0 +1,27 @@ +=outer-table-borders(!width = 2px, !color = black) + border= !width "solid" !color + thead + th + border-bottom= !width "solid" !color + tfoot + th, td + border-top= !width "solid" !color + th + &:first-child + border-right= !width "solid" !color + +=inner-table-borders(!width = 2px, !color = black) + th, td + border: + right= !width "solid" !color + bottom= !width "solid" !color + left-width: 0px + top-width: 0px + &:last-child, + &.last + border-right-width: 0px + tbody, tfoot + tr:last-child, + tr.last + th, td + border-bottom-width: 0px diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass new file mode 100644 index 00000000..f55e6b0d --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass @@ -0,0 +1,9 @@ +=table-scaffolding + th + text-align: center + font-weight: bold + td, + th + padding: 2px + &.numeric + text-align: right diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/text/_ellipsis.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_ellipsis.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/text/_ellipsis.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_ellipsis.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass similarity index 79% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass index 1d5ada52..62294eac 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass @@ -1,3 +1,3 @@ // When remembering whether or not there's a hyphen in white-space is too hard =nowrap - :white-space nowrap + white-space: nowrap diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass similarity index 79% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass index 52f28103..e7c6a1b5 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass @@ -9,9 +9,9 @@ @param y the y position of the background image. =replace-text( !img, !x = 50%, !y = 50% ) - :text-indent -9999em - :overflow hidden - :background - :image= image_url(!img) - :repeat no-repeat - :position= !x !y + text-indent: -9999em + overflow: hidden + background: + image= image_url(!img) + repeat: no-repeat + position= !x !y diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/ellipsis/ellipsis.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/ellipsis/ellipsis.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/ellipsis/ellipsis.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/ellipsis/ellipsis.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/ellipsis/manifest.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/ellipsis/manifest.rb new file mode 100644 index 00000000..5de7d673 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/ellipsis/manifest.rb @@ -0,0 +1,27 @@ +description "Plugin for cross-browser ellipsis truncated text." + +file 'xml/ellipsis.xml', :like => :css +stylesheet 'ellipsis.sass' + +help %Q{ +First, install the plugin to get the xml file that makes this work in firfox: + + compass init --using blueprint/link_icons + +Then mix +ellipsis into your selectors to enable ellipsis +there when text gets too long. + +The ellipsis.sass file is just an example for how to use this plugin, +feel free to delete it. + +For more information see: + http://mattsnider.com/css/css-string-truncation-with-ellipsis/ +} + +welcome_message %Q{ +The ellipsis.sass file is just an example for how to use this plugin, +feel free to delete it. + +For more information see: + http://mattsnider.com/css/css-string-truncation-with-ellipsis/ +} \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/ellipsis/xml/ellipsis.xml b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/ellipsis/xml/ellipsis.xml similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/ellipsis/xml/ellipsis.xml rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/ellipsis/xml/ellipsis.xml diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/extension/manifest.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/extension/manifest.rb new file mode 100644 index 00000000..0f92706a --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/extension/manifest.rb @@ -0,0 +1,20 @@ +description "Generate a compass extension." + +file 'stylesheets/main.sass', :to => "stylesheets/_#{File.basename(options[:pattern_name]||options[:project_name]||'main')}.sass" +file 'templates/project/manifest.rb' +file 'templates/project/screen.sass' + +help %Q{ + To generate a compass extension: + compass create my_extension --using compass/extension +} + +welcome_message %Q{ +For a full tutorial on how to build your own extension see: + +http://github.com/chriseppstein/compass/blob/edge/docs/EXTENSIONS.markdown + +}, :replace => true + +no_configuration_file! +skip_compilation! diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/extension/stylesheets/main.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/extension/stylesheets/main.sass new file mode 100644 index 00000000..bcccf41f --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/extension/stylesheets/main.sass @@ -0,0 +1 @@ +// This is your framework's main stylesheet. Use it to import all default modules. diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/extension/templates/project/manifest.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/extension/templates/project/manifest.rb new file mode 100644 index 00000000..61591194 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/extension/templates/project/manifest.rb @@ -0,0 +1,2 @@ +# Make sure you list all the project template files here in the manifest. +stylesheet 'screen.sass', :media => 'screen, projection' diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/extension/templates/project/screen.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/extension/templates/project/screen.sass new file mode 100644 index 00000000..4558d133 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/extension/templates/project/screen.sass @@ -0,0 +1,2 @@ +// This is where you put the contents of the main stylesheet for the user's project. +// It should import your sass stylesheets and demonstrate how to use them. \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/project/USAGE.markdown b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/project/USAGE.markdown new file mode 100644 index 00000000..21b5fb61 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/project/USAGE.markdown @@ -0,0 +1,32 @@ +When no framework is specified, a new compass project is set up with three stylesheets: + +* screen.sass +* print.sass +* ie.sass + +It is expected that you will link your html to these like so: + + + + + + + +You don't have to use these three stylesheets, they are just a recommendation. +You can rename them, make new stylesheets, and delete them. Compass will +happily compile whatever sass files you place into your project. + +Any folders you create in your source directory with sass files in them will be folders +that get created with css files in them when compiled. + +Sass files beginning with an underscore are called partials, they are not directly +compiled to their own css file. You can use these partials by importing them +into other stylesheets. This is useful for keeping your stylesheets small and manageable +and single-focused. It is common to create a file called _base.sass at the top level +of your stylesheets and to import this to set up project-wide constants and mixins. + diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/project/ie.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/project/ie.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/project/ie.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/project/ie.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/project/manifest.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/project/manifest.rb similarity index 80% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/project/manifest.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/project/manifest.rb index 03604fe2..fade058b 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/project/manifest.rb +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/project/manifest.rb @@ -1,3 +1,4 @@ +description "The default project layout." stylesheet 'screen.sass', :media => 'screen, projection' stylesheet 'print.sass', :media => 'print' stylesheet 'ie.sass', :media => 'screen, projection', :condition => "IE" \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/project/print.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/project/print.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/project/print.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/project/print.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/project/screen.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/project/screen.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/project/screen.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/frameworks/compass/templates/project/screen.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/grid_builder.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/grid_builder.rb similarity index 67% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/grid_builder.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/grid_builder.rb index 0c91f60f..e81d1f6e 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/grid_builder.rb +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/grid_builder.rb @@ -16,19 +16,21 @@ module Compass rescue Exception => e end - attr_reader :column_width, :gutter_width, :output_path, :able_to_generate, :options + attr_reader :column_width, :gutter_width, :filename, :able_to_generate, :options # ==== Options # * options # * :column_width -- Width (in pixels) of current grid column # * :gutter_width -- Width (in pixels) of current grid gutter - # * :output_path -- Output path of grid.png file + # * :height -- Height (in pixels) of a row + # * :filename -- Output path of grid.png file def initialize(options={}) @able_to_generate = Magick::Long_version rescue false return unless @able_to_generate @column_width = options[:column_width] @gutter_width = options[:gutter_width] - @output_path = options[:output_path] + @height = options[:height] || 20 + @filename = options[:filename] @options = options end @@ -40,22 +42,20 @@ module Compass def generate! return false unless self.able_to_generate total_width = self.column_width + self.gutter_width - height = 20 RVG::dpi = 100 - rvg = RVG.new((total_width.to_f/RVG::dpi).in, (height.to_f/RVG::dpi).in).viewbox(0, 0, total_width, height) do |canvas| + rvg = RVG.new((total_width.to_f/RVG::dpi).in, (@height.to_f/RVG::dpi).in).viewbox(0, 0, total_width, @height) do |canvas| canvas.background_fill = 'white' canvas.g do |column| - column.rect(self.column_width, height).styles(:fill => "#e8effb") + column.rect(self.column_width - 1, @height).styles(:fill => "#e8effb") end canvas.g do |baseline| - baseline.line(0, (height - 1), total_width, (height- 1)).styles(:fill => "#e9e9e9") + baseline.line(0, (@height - 1), total_width, (@height- 1)).styles(:fill => "#e9e9e9") end end - filename = File.join(self.output_path, "grid.png") if File.exists?(filename) if options[:force] overwrite = true @@ -64,9 +64,13 @@ module Compass raise Compass::FilesystemConflict.new(msg) end end - directory self.output_path + directory File.dirname(filename) logger.record((overwrite ? :overwrite : :create), basename(filename)) - rvg.draw.write(filename) + unless options[:dry_run] + rvg.draw.write(filename) + else + true + end end end -end \ No newline at end of file +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/installers.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/installers.rb new file mode 100644 index 00000000..70b87cc8 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/installers.rb @@ -0,0 +1,3 @@ +%w(manifest template_context base manifest_installer bare_installer).each do |f| + require "compass/installers/#{f}" +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/installers/bare_installer.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/installers/bare_installer.rb new file mode 100644 index 00000000..96b017d3 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/installers/bare_installer.rb @@ -0,0 +1,58 @@ +module Compass + module Installers + + class BareInstaller < Base + def completed_configuration + nil + end + + def init + directory targetize("") + directory targetize(Compass.configuration.sass_dir) + end + + def prepare + end + + def install + config_file ||= targetize('config.rb') + write_file config_file, config_contents + end + + def config_contents + project_path, Compass.configuration.project_path = Compass.configuration.project_path, nil + Compass.configuration.serialize + ensure + Compass.configuration.project_path = project_path + end + + def finalize(options = {}) + puts <<-NEXTSTEPS + +********************************************************************* +Congratulations! Your compass project has been created. + +You may now add sass stylesheets to the #{Compass.configuration.sass_dir} subdirectory of your project. + +Sass files beginning with an underscore are called partials and won't be +compiled to CSS, but they can be imported into other sass stylesheets. + +You can configure your project by editing the config.rb configuration file. + +You must compile your sass stylesheets into CSS when they change. +This can be done in one of the following ways: + 1. To compile on demand: + compass compile [path/to/project] + 2. To monitor your project for changes and automatically recompile: + compass watch [path/to/project] + +More Resources: + * Wiki: http://wiki.github.com/chriseppstein/compass + * Sass: http://sass-lang.com + * Community: http://groups.google.com/group/compass-users/ +NEXTSTEPS + end + + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers/base.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/installers/base.rb similarity index 62% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers/base.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/installers/base.rb index fb1e26c3..28a2435f 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers/base.rb +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/installers/base.rb @@ -7,40 +7,21 @@ module Compass attr_accessor :template_path, :target_path, :working_path attr_accessor :options - attr_accessor :manifest def initialize(template_path, target_path, options = {}) @template_path = template_path @target_path = target_path @working_path = Dir.getwd @options = options - @manifest = Manifest.new(manifest_file) if template_path self.logger = options[:logger] end - def manifest_file - @manifest_file ||= File.join(template_path, "manifest.rb") - end - - [:css_dir, :sass_dir, :images_dir, :javascripts_dir].each do |dir| + [:css_dir, :sass_dir, :images_dir, :javascripts_dir, :http_stylesheets_path, :fonts_dir].each do |dir| define_method dir do Compass.configuration.send(dir) end - end - - # Initializes the project to work with compass - def init - dirs = manifest.map do |entry| - File.dirname(send("install_location_for_#{entry.type}", entry.to, entry.options)) - end - - if manifest.has_stylesheet? - dirs << sass_dir - dirs << css_dir - end - - dirs.uniq.sort.each do |dir| - directory targetize(dir) + define_method "#{dir}_without_default" do + Compass.configuration.send("#{dir}_without_default") end end @@ -50,7 +31,7 @@ module Compass def run(options = {}) prepare install - finalize unless options[:skip_finalization] + finalize(options) unless options[:skip_finalization] end # The default prepare method -- it is a no-op. @@ -58,25 +39,14 @@ module Compass def prepare end - def configure_option_with_default(opt) - value = options[opt] - value ||= begin - default_method = "default_#{opt}".to_sym - send(default_method) if respond_to?(default_method) - end - send("#{opt}=", value) - end - - # The default install method. Calls install_ methods in the order specified by the manifest. + # The install method override this to install def install - manifest.each do |entry| - send("install_#{entry.type}", entry.from, entry.to, entry.options) - end + raise "Not Yet Implemented" end # The default finalize method -- it is a no-op. # This could print out a message or something. - def finalize + def finalize(options = {}) end def compilation_required? @@ -121,10 +91,39 @@ module Compass "#{javascripts_dir}/#{to}" end + installer :font do |to| + "#{fonts_dir}/#{to}" + end + installer :file do |to| "#{pattern_name_as_dir}#{to}" end + installer :html do |to| + "#{pattern_name_as_dir}#{to}" + end + + alias install_html_without_haml install_html + def install_html(from, to, options) + if to =~ /\.haml$/ + require 'haml' + to = to[0..-(".haml".length+1)] + if respond_to?(:install_location_for_html) + to = install_location_for_html(to, options) + end + contents = File.read(templatize(from)) + if options.delete(:erb) + ctx = TemplateContext.ctx(:to => to, :options => options) + contents = process_erb(contents, ctx) + end + Compass.configure_sass_plugin! + html = Haml::Engine.new(contents, :filename => templatize(from)).render + write_file(targetize(to), html, options) + else + install_html_without_haml(from, to, options) + end + end + # returns an absolute path given a path relative to the current installation target. # Paths can use unix style "/" and will be corrected for the current platform. def targetize(path) @@ -137,22 +136,12 @@ module Compass strip_trailing_separator File.join(template_path, separate(path)) end + # Emits an HTML fragment that can be used to link to the compiled css files def stylesheet_links - html = "\n" - manifest.each_stylesheet do |stylesheet| - # Skip partials. - next if File.basename(stylesheet.from)[0..0] == "_" - media = if stylesheet.options[:media] - %Q{ media="#{stylesheet.options[:media]}"} - end - ss_line = %Q{ } - if stylesheet.options[:condition] - ss_line = " " - end - html << ss_line + "\n" - end - html << "" + "" end end end end +require 'compass/installers/bare_installer' +require 'compass/installers/manifest_installer' diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers/manifest.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/installers/manifest.rb similarity index 51% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers/manifest.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/installers/manifest.rb index bd5d9a34..4324be66 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers/manifest.rb +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/installers/manifest.rb @@ -11,8 +11,12 @@ module Compass end end - def initialize(manifest_file = nil) + attr_reader :options + def initialize(manifest_file = nil, options = {}) @entries = [] + @options = options + @generate_config = true + @compile_after_generation = true parse(manifest_file) if manifest_file end @@ -33,15 +37,64 @@ module Compass type :stylesheet type :image type :javascript + type :font type :file + type :html + + def help(value = nil) + if value + @help = value + else + @help + end + end + + attr_reader :welcome_message_options + + def welcome_message(value = nil, options = {}) + if value + @welcome_message = value + @welcome_message_options = options + else + @welcome_message + end + end + + def welcome_message_options + @welcome_message_options || {} + end + + def description(value = nil) + if value + @description = value + else + @description + end + end # Enumerates over the manifest files def each @entries.each {|e| yield e} end + def generate_config? + @generate_config + end + + def compile? + @compile_after_generation + end protected + + def no_configuration_file! + @generate_config = false + end + + def skip_compilation! + @compile_after_generation = false + end + # parses a manifest file which is a ruby script # evaluated in a Manifest instance context def parse(manifest_file) @@ -55,4 +108,4 @@ module Compass end end -end \ No newline at end of file +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/installers/manifest_installer.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/installers/manifest_installer.rb new file mode 100644 index 00000000..d48ff5ad --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/installers/manifest_installer.rb @@ -0,0 +1,59 @@ +module Compass + module Installers + + class ManifestInstaller < Base + + attr_accessor :manifest + + def initialize(template_path, target_path, options = {}) + super + @manifest = Manifest.new(manifest_file, options) if template_path + end + + def manifest_file + @manifest_file ||= File.join(template_path, "manifest.rb") + end + + # Initializes the project to work with compass + def init + dirs = manifest.map do |entry| + loc = send("install_location_for_#{entry.type}", entry.to, entry.options) + File.dirname(loc) + end + + if manifest.has_stylesheet? + dirs << sass_dir + dirs << css_dir + end + + dirs.uniq.sort.each do |dir| + directory targetize(dir) + end + end + + # The default install method. Calls install_ methods in the order specified by the manifest. + def install + manifest.each do |entry| + send("install_#{entry.type}", entry.from, entry.to, entry.options) + end + end + + def stylesheet_links + html = "\n" + manifest.each_stylesheet do |stylesheet| + # Skip partials. + next if File.basename(stylesheet.from)[0..0] == "_" + media = if stylesheet.options[:media] + %Q{ media="#{stylesheet.options[:media]}"} + end + ss_line = %Q{ } + if stylesheet.options[:condition] + ss_line = " " + end + html << ss_line + "\n" + end + html << "" + end + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/installers/template_context.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/installers/template_context.rb new file mode 100644 index 00000000..4df933fa --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/installers/template_context.rb @@ -0,0 +1,44 @@ +module Compass + module Installers + class TemplateContext + + def self.ctx(*arguments) + new(*arguments).send(:get_binding) + end + + def initialize(template, locals = {}) + @template = template + @locals = locals + end + + def http_stylesheets_path + config.http_stylesheets_path || + config.default_for(:http_stylesheets_path) || + config.http_root_relative(config.css_dir) + end + + Compass::Configuration::ATTRIBUTES.each do |attribute| + unless instance_methods.include?(attribute.to_s) + define_method attribute do + config.send(attribute) || config.default_for(attribute) + end + end + end + + def config + Compass.configuration + end + + alias configuration config + + protected + + def get_binding + @locals.each do |k, v| + eval("#{k} = v") + end + binding + end + end + end +end \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/logger.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/logger.rb similarity index 58% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/logger.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/logger.rb index d48eecaf..c5cb6801 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/logger.rb +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/logger.rb @@ -1,7 +1,20 @@ module Compass class Logger - DEFAULT_ACTIONS = [:directory, :exists, :remove, :create, :overwrite, :compile] + DEFAULT_ACTIONS = [:directory, :exists, :remove, :create, :overwrite, :compile, :error, :identical] + + ACTION_COLORS = { + :error => :red, + :compile => :green, + :overwrite => :yellow, + :create => :green, + :remove => :yellow, + :exists => :green, + :directory => :green, + :identical => :green + } + + COLORS = { :clear => 0, :red => 31, :green => 32, :yellow => 33 } attr_accessor :actions, :options @@ -13,9 +26,22 @@ module Compass # Record an action that has occurred def record(action, *arguments) + emit color(ACTION_COLORS[action]) if Compass.configuration.color_output log "#{action_padding(action)}#{action} #{arguments.join(' ')}" + emit color(:clear) if Compass.configuration.color_output end + def color(c) + if c && COLORS.has_key?(c.to_sym) + "\e[#{COLORS[c.to_sym]}m" + else + "" + end + end + + def emit(msg) + print msg + end # Emit a log message def log(msg) puts msg @@ -39,4 +65,4 @@ module Compass def log(msg) end end -end \ No newline at end of file +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions.rb new file mode 100644 index 00000000..182717b1 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions.rb @@ -0,0 +1,5 @@ +module Compass::SassExtensions +end + +require 'compass/sass_extensions/functions' +require 'compass/sass_extensions/monkey_patches' diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/functions.rb similarity index 67% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/functions.rb index 75c8eb2f..c33a3012 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions.rb +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/functions.rb @@ -1,8 +1,8 @@ module Compass::SassExtensions::Functions end -['selectors', 'enumerate', 'urls', 'display', 'inline_image'].each do |func| - require File.join(File.dirname(__FILE__), 'functions', func) +%w(selectors enumerate urls display inline_image color_stop font_files).each do |func| + require "compass/sass_extensions/functions/#{func}" end module Sass::Script::Functions @@ -11,6 +11,8 @@ module Sass::Script::Functions include Compass::SassExtensions::Functions::Urls include Compass::SassExtensions::Functions::Display include Compass::SassExtensions::Functions::InlineImage + include Compass::SassExtensions::Functions::ColorStop + include Compass::SassExtensions::Functions::FontFiles end # Wierd that this has to be re-included to pick up sub-modules. Ruby bug? diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/functions/color_stop.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/functions/color_stop.rb new file mode 100644 index 00000000..a0902dfe --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/functions/color_stop.rb @@ -0,0 +1,10 @@ +module Compass::SassExtensions::Functions::ColorStop + def color_stop(*args) + raise Sass::SyntaxError, "An even number of arguments must be passed to color-stop()" unless args.size % 2 == 0 + stops = [] + while args.size > 0 + stops << "color-stop(#{args.shift}, #{args.shift})" + end + Sass::Script::String.new(stops.join(", ")) + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/display.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/functions/display.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/display.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/functions/display.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/enumerate.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/functions/enumerate.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/enumerate.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/functions/enumerate.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/functions/font_files.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/functions/font_files.rb new file mode 100644 index 00000000..079e2a10 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/functions/font_files.rb @@ -0,0 +1,11 @@ +module Compass::SassExtensions::Functions::FontFiles + def font_files(*args) + raise Sass::SyntaxError, "An even number of arguments must be passed to font_files()" unless args.size % 2 == 0 + files = [] + while args.size > 0 + files << "#{font_url(args.shift)} format('#{args.shift}')" + end + Sass::Script::String.new(files.join(", ")) + end + +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/inline_image.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/functions/inline_image.rb similarity index 55% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/inline_image.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/functions/inline_image.rb index 97b7b0e2..257de327 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/inline_image.rb +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/functions/inline_image.rb @@ -3,11 +3,24 @@ module Compass::SassExtensions::Functions::InlineImage def inline_image(path, mime_type = nil) path = path.value - real_path = File.join(Compass.configuration.project_path, Compass.configuration.images_dir, path) + real_path = File.join(Compass.configuration.images_path, path) url = "url('data:#{compute_mime_type(path,mime_type)};base64,#{data(real_path)}')" Sass::Script::String.new(url) end + def inline_font_files(*args) + raise Sass::SyntaxError, "An even number of arguments must be passed to font_files()" unless args.size % 2 == 0 + path = path.value + files = [] + while args.size > 0 + path = args.shift.value + real_path = File.join(Compass.configuration.fonts_path, path) + url = "url('data:#{compute_mime_type(path,mime_type)};base64,#{data(real_path)}')" + files << "#{url} format('#{args.shift}')" + end + Sass::Script::String.new(files.join(", ")) + end + private def compute_mime_type(path, mime_type) return mime_type if mime_type @@ -18,6 +31,14 @@ private 'image/jpeg' when /\.gif$/i 'image/gif' + when /\.otf$/i + 'font/opentype' + when /\.ttf$/i + 'font/truetype' + when /\.woff$/i + 'font/woff' + when /\.off$/i + 'font/openfont' when /\.([a-zA-Z]+)$/ "image/#{Regexp.last_match(1).downcase}" else diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/selectors.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/functions/selectors.rb similarity index 85% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/selectors.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/functions/selectors.rb index fecaab73..34de7508 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/selectors.rb +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/functions/selectors.rb @@ -33,7 +33,10 @@ module Compass::SassExtensions::Functions::Selectors # #{append_selector(!selector, !to_append)} # width: 2px def append_selector(selector, to_append) - Sass::Script::String.new(selector.value.split(COMMA_SEPARATOR).map{|s| "#{s}#{to_append}"}.join(", ")) + ancestors = selector.value.split(COMMA_SEPARATOR) + descendants = to_append.value.split(COMMA_SEPARATOR) + nested = ancestors.map{|a| descendants.map{|d| "#{a}#{d}"}.join(", ")}.join(", ") + Sass::Script::String.new(nested) end end \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/urls.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/functions/urls.rb similarity index 79% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/urls.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/functions/urls.rb index 06103623..4b15c56b 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/urls.rb +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/functions/urls.rb @@ -8,14 +8,34 @@ module Compass::SassExtensions::Functions::Urls elsif Compass.configuration.http_stylesheets_path Compass.configuration.http_stylesheets_path else - Compass.configuration.root_relative(Compass.configuration.css_dir) + Compass.configuration.http_root_relative(Compass.configuration.css_dir) end url("#{http_stylesheets_path}/#{path}") end + def font_url(path) + path = path.value # get to the string value of the literal. + + # Short curcuit if they have provided an absolute url. + if absolute_path?(path) + return Sass::Script::String.new("url(#{path})") + end + + # Compute the path to the font file, either root relative or stylesheet relative + # or nil if the http_fonts_path cannot be determined from the configuration. + http_fonts_path = if relative? + compute_relative_path(Compass.configuration.fonts_dir) + else + Compass.configuration.http_fonts_path + end + + url("#{http_fonts_path}/#{path}") + end + def image_url(path) path = path.value # get to the string value of the literal. + # Short curcuit if they have provided an absolute url. if absolute_path?(path) return Sass::Script::String.new("url(#{path})") @@ -28,7 +48,7 @@ module Compass::SassExtensions::Functions::Urls elsif Compass.configuration.http_images_path Compass.configuration.http_images_path else - Compass.configuration.root_relative(Compass.configuration.images_dir) + Compass.configuration.http_root_relative(Compass.configuration.images_dir) end # Compute the real path to the image on the file stystem if the images_dir is set. diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/monkey_patches.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/monkey_patches.rb new file mode 100644 index 00000000..c612ea21 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/monkey_patches.rb @@ -0,0 +1,3 @@ +%w(stylesheet_updating traversal).each do |patch| + require "compass/sass_extensions/monkey_patches/#{patch}" +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/monkey_patches/stylesheet_updating.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/monkey_patches/stylesheet_updating.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/monkey_patches/stylesheet_updating.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/monkey_patches/stylesheet_updating.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/monkey_patches/traversal.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/monkey_patches/traversal.rb new file mode 100644 index 00000000..4b40e2ec --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/sass_extensions/monkey_patches/traversal.rb @@ -0,0 +1,23 @@ +module Sass + module Tree + class Node + unless method_defined?(:visit_depth_first) + def visit_depth_first(visitor) + visitor.visit(self) + visitor.down(self) if children.any? and visitor.respond_to?(:down) + if is_a?(ImportNode) && visitor.import?(self) + root = Sass::Files.tree_for(import, @options) + imported_children = root.children + end + + (imported_children || children).each do |child| + break if visitor.respond_to?(:stop?) && visitor.stop? + child.visit_depth_first(visitor) + end + visitor.up(self) if children.any? + end + end + end + end +end + diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/stats.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/stats.rb new file mode 100644 index 00000000..30f59093 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/stats.rb @@ -0,0 +1,92 @@ +module Compass + module Stats + class StatsVisitor + attr_accessor :rule_count, :prop_count, :mixin_def_count, :mixin_count + def initialize + self.rule_count = 0 + self.prop_count = 0 + self.mixin_def_count = 0 + self.mixin_count = 0 + end + def visit(node) + self.prop_count += 1 if node.is_a?(Sass::Tree::PropNode) && !node.children.any? + if node.is_a?(Sass::Tree::RuleNode) + self.rule_count += node.rules.map{|r| r.split(/,/)}.flatten.compact.size + end + self.mixin_def_count += 1 if node.is_a?(Sass::Tree::MixinDefNode) + self.mixin_count += 1 if node.is_a?(Sass::Tree::MixinNode) + end + def up(node) + end + def down(node) + end + def import?(node) + return false + full_filename = node.send(:import) + full_filename != Compass.deprojectize(full_filename) + end + end + class CssFile + attr_accessor :path, :css + attr_accessor :selector_count, :prop_count + def initialize(path) + require 'css_parser' + self.path = path + self.css = CssParser::Parser.new + self.css.add_block!(contents) + self.selector_count = 0 + self.prop_count = 0 + end + def contents + @contents ||= File.read(path) + end + def lines + contents.inject(0){|m,c| m + 1 } + end + def analyze! + css.each_selector do |selector, declarations, specificity| + sels = selector.split(/,/).size + props = declarations.split(/;/).size + self.selector_count += sels + self.prop_count += props + end + end + end + class SassFile + attr_accessor :path + attr_reader :visitor + def initialize(path) + self.path = path + end + def contents + @contents ||= File.read(path) + end + def tree + @tree = Sass::Engine.new(contents, Compass.configuration.to_sass_engine_options).to_tree + end + def visit_tree! + @visitor = StatsVisitor.new + tree.visit_depth_first(@visitor) + @visitor + end + def analyze! + visit_tree! + end + def lines + contents.inject(0){|m,c| m + 1 } + end + def rule_count + visitor.rule_count + end + def prop_count + visitor.prop_count + end + def mixin_def_count + visitor.mixin_def_count + end + def mixin_count + visitor.mixin_count + end + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/test_case.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/test_case.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/test_case.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/test_case.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/validator.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/validator.rb similarity index 59% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/validator.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/validator.rb index 8ddefafa..606f3420 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/validator.rb +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/validator.rb @@ -2,9 +2,8 @@ begin require 'rubygems' require 'compass-validator' rescue LoadError - puts %Q{The Compass CSS Validator could not be loaded. Please install it: + raise Compass::MissingDependency, %Q{The Compass CSS Validator could not be loaded. Please install it: sudo gem install chriseppstein-compass-validator --source http://gems.github.com/ } - exit(1) -end \ No newline at end of file +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/version.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/version.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/version.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/compass/version.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/vendor/fssm.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/vendor/fssm.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/backends/fsevents.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/vendor/fssm/backends/fsevents.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/backends/fsevents.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/vendor/fssm/backends/fsevents.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/backends/polling.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/vendor/fssm/backends/polling.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/backends/polling.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/vendor/fssm/backends/polling.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/cache.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/vendor/fssm/cache.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/cache.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/vendor/fssm/cache.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/ext.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/vendor/fssm/ext.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/ext.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/vendor/fssm/ext.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/fsevents.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/vendor/fssm/fsevents.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/fsevents.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/vendor/fssm/fsevents.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/monitor.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/vendor/fssm/monitor.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/monitor.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/vendor/fssm/monitor.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/path.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/vendor/fssm/path.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/path.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/vendor/fssm/path.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/state.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/vendor/fssm/state.rb similarity index 95% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/state.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/vendor/fssm/state.rb index 50fd1f71..910c74af 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/state.rb +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/vendor/fssm/state.rb @@ -46,7 +46,7 @@ class FSSM::State end def add_glob(base, glob) - Pathname.glob(base.join(glob)).each do |fn| + Pathname.glob(base.join(glob).to_s).each do |fn| @cache.set(fn) end end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/support.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/vendor/fssm/support.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/support.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/vendor/fssm/support.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/tree.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/vendor/fssm/tree.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/tree.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/lib/vendor/fssm/tree.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/command_line_helper.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/command_line_helper.rb similarity index 77% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/test/command_line_helper.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/command_line_helper.rb index 029994c3..a3363aa4 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/command_line_helper.rb +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/command_line_helper.rb @@ -1,3 +1,5 @@ +require 'timeout' + module Compass::CommandLineHelper def compass(*arguments) options = arguments.last.is_a?(Hash) ? arguments.pop : {} @@ -17,30 +19,38 @@ module Compass::CommandLineHelper else eof_at = nil timeout(1) do - output << io.readpartial(1024) + partial_output = io.readpartial(1024) + # puts "))))#{partial_output}(((((" + output << partial_output end - prompt = output.split("\n").last + prompt = output.split("\n").last.strip if response = responder.response_for(prompt) io.puts response end end end responder.assert_required_responses! - @last_result = output + @last_result = decolorize(output) else #child process execute *arguments end end else - @last_result = capture_output do - execute *arguments + @last_error = capture_warning do + @last_result = decolorize(capture_output do + @last_exit_code = execute *arguments + end) end end rescue Timeout::Error fail "Read from child process timed out" end + def decolorize(str) + str.gsub(/\e\[\d+m/,'') + end + class Responder Response = Struct.new(:prompt, :text, :required, :responded) def initialize @@ -73,7 +83,7 @@ module Compass::CommandLineHelper actions_found << line.first if line.last == path end message = "Action #{action.inspect} was not performed on: #{path}." - message += "The following actions were performed: #{actions_found.join(", ")}" if actions_found.any? + message += "The following actions were performed: #{actions_found.map{|a|a.inspect}.join(", ")}" if actions_found.any? puts @last_result fail message end @@ -88,15 +98,8 @@ module Compass::CommandLineHelper FileUtils.rm_rf(d) end - def capture_output - real_stdout, $stdout = $stdout, StringIO.new - yield - $stdout.string - ensure - $stdout = real_stdout - end - def execute(*arguments) - Compass::Exec::Compass.new(arguments).run! + command_line_class = Compass::Exec::Helpers.select_appropriate_command_line_ui(arguments) + command_line_class.new(arguments).run! end -end \ No newline at end of file +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/command_line_test.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/command_line_test.rb similarity index 92% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/test/command_line_test.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/command_line_test.rb index 8e621deb..d99f7378 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/command_line_test.rb +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/command_line_test.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__)+'/test_helper' +require 'test_helper' require 'fileutils' require 'compass' require 'compass/exec' @@ -7,9 +7,10 @@ require 'timeout' class CommandLineTest < Test::Unit::TestCase include Compass::TestCaseHelper include Compass::CommandLineHelper + include Compass::IoHelper def teardown - Compass.configuration.reset! + Compass.reset_configuration! end def test_print_version @@ -19,7 +20,7 @@ class CommandLineTest < Test::Unit::TestCase def test_list_frameworks compass "--list-frameworks" - assert_equal(%w(blueprint compass yui), @last_result.split.sort) + assert_equal(%w(blueprint compass), @last_result.split.sort) end def test_basic_install @@ -63,4 +64,4 @@ class CommandLineTest < Test::Unit::TestCase end end -end \ No newline at end of file +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/compass_test.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/compass_test.rb similarity index 87% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/test/compass_test.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/compass_test.rb index 89e3f988..aff2388a 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/compass_test.rb +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/compass_test.rb @@ -1,15 +1,15 @@ -require File.dirname(__FILE__)+'/test_helper' +require 'test_helper' require 'fileutils' require 'compass' class CompassTest < Test::Unit::TestCase include Compass::TestCaseHelper def setup - Compass.configuration.reset! + Compass.reset_configuration! end def teardown - teardown_fixtures :blueprint, :yui, :empty, :compass, :image_urls + teardown_fixtures :blueprint, :empty, :compass, :image_urls, :relative end def teardown_fixtures(*project_names) @@ -37,15 +37,6 @@ class CompassTest < Test::Unit::TestCase end end - def test_yui - within_project('yui') do |proj| - each_css_file(proj.css_path) do |css_file| - assert_no_errors css_file, 'yui' - end - assert_renders_correctly :mixins - end - end - def test_compass within_project('compass') do |proj| each_css_file(proj.css_path) do |css_file| @@ -64,6 +55,15 @@ class CompassTest < Test::Unit::TestCase end end + def test_image_urls + within_project('relative') do |proj| + each_css_file(proj.css_path) do |css_file| + assert_no_errors css_file, 'relative' + end + assert_renders_correctly :screen + end + end + private def assert_no_errors(css_file, project_name) file = css_file[(tempfile_path(project_name).size+1)..-1] @@ -77,7 +77,7 @@ private actual_result_file = "#{tempfile_path(@current_project)}/#{name}.css" expected_result_file = "#{result_path(@current_project)}/#{name}.css" actual_lines = File.read(actual_result_file).split("\n") - expected_lines = File.read(expected_result_file).split("\n") + expected_lines = ERB.new(File.read(expected_result_file)).result(binding).split("\n") expected_lines.zip(actual_lines).each_with_index do |pair, line| message = "template: #{name}\nline: #{line + 1}" assert_equal(pair.first, pair.last, message) @@ -90,8 +90,9 @@ private def within_project(project_name) @current_project = project_name - Compass.configuration.parse(configuration_file(project_name)) if File.exists?(configuration_file(project_name)) + Compass.add_configuration(configuration_file(project_name)) if File.exists?(configuration_file(project_name)) Compass.configuration.project_path = project_path(project_name) + Compass.configuration.environment = :production args = Compass.configuration.to_compiler_arguments(:logger => Compass::NullLogger.new) if Compass.configuration.sass_path && File.exists?(Compass.configuration.sass_path) compiler = Compass::Compiler.new *args @@ -138,4 +139,4 @@ private File.join(project_path(project_name), "saved") end -end \ No newline at end of file +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/configuration_test.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/configuration_test.rb similarity index 70% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/test/configuration_test.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/configuration_test.rb index 0191d9a6..c53a625b 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/configuration_test.rb +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/configuration_test.rb @@ -1,14 +1,16 @@ -require File.dirname(__FILE__)+'/test_helper' +require 'test_helper' require 'compass' +require 'stringio' class ConfigurationTest < Test::Unit::TestCase + include Compass::IoHelper def setup - Compass.configuration.reset! + Compass.reset_configuration! end def test_parse_and_serialize - contents = <<-CONFIG + contents = StringIO.new(<<-CONFIG) require 'compass' # Require any additional compass plugins here. @@ -24,48 +26,50 @@ class ConfigurationTest < Test::Unit::TestCase # relative_assets = true CONFIG - Compass.configuration.parse_string(contents, "test_parse") + Compass.add_configuration(contents, "test_parse") assert_equal 'sass', Compass.configuration.sass_dir assert_equal 'css', Compass.configuration.css_dir assert_equal 'img', Compass.configuration.images_dir assert_equal 'js', Compass.configuration.javascripts_dir - expected_lines = contents.split("\n").map{|l|l.strip} + expected_lines = contents.string.split("\n").map{|l|l.strip} actual_lines = Compass.configuration.serialize.split("\n").map{|l|l.strip} assert_equal expected_lines, actual_lines end - def test_serialization_fails_with_asset_host_set - contents = <<-CONFIG + def test_serialization_warns_with_asset_host_set + contents = StringIO.new(<<-CONFIG) asset_host do |path| "http://example.com" end CONFIG - Compass.configuration.parse_string(contents, "test_serialization_fails_with_asset_host_set") + Compass.add_configuration(contents, "test_serialization_warns_with_asset_host_set") - assert_raise Compass::Error do + warning = capture_warning do Compass.configuration.serialize end + assert_equal "WARNING: asset_host is code and cannot be written to a file. You'll need to copy it yourself.\n", warning end - def test_serialization_fails_with_asset_cache_buster_set - contents = <<-CONFIG + def test_serialization_warns_with_asset_cache_buster_set + contents = StringIO.new(<<-CONFIG) asset_cache_buster do |path| "http://example.com" end CONFIG - Compass.configuration.parse_string(contents, "test_serialization_fails_with_asset_cache_buster_set") + Compass.add_configuration(contents, "test_serialization_warns_with_asset_cache_buster_set") - assert_raise Compass::Error do + warning = capture_warning do Compass.configuration.serialize end + assert_equal "WARNING: asset_cache_buster is code and cannot be written to a file. You'll need to copy it yourself.\n", warning end def test_additional_import_paths - contents = <<-CONFIG + contents = StringIO.new(<<-CONFIG) http_path = "/" project_path = "/home/chris/my_compass_project" css_dir = "css" @@ -73,7 +77,7 @@ class ConfigurationTest < Test::Unit::TestCase add_import_path "/path/to/my/framework" CONFIG - Compass.configuration.parse_string(contents, "test_additional_import_paths") + Compass.add_configuration(contents, "test_additional_import_paths") assert Compass.configuration.to_sass_engine_options[:load_paths].include?("/home/chris/my_compass_project/../foo") assert Compass.configuration.to_sass_engine_options[:load_paths].include?("/path/to/my/framework"), Compass.configuration.to_sass_engine_options[:load_paths].inspect @@ -91,15 +95,15 @@ css_dir = "css" additional_import_paths = ["../foo", "/path/to/my/framework"] EXPECTED assert_equal "/", Compass.configuration.http_path - assert_equal expected_serialization, Compass.configuration.serialize + assert_equal expected_serialization.split("\n"), Compass.configuration.serialize.split("\n") end def test_sass_options - contents = <<-CONFIG + contents = StringIO.new(<<-CONFIG) sass_options = {:foo => 'bar'} CONFIG - Compass.configuration.parse_string(contents, "test_sass_options") + Compass.add_configuration(contents, "test_sass_options") assert_equal 'bar', Compass.configuration.to_sass_engine_options[:foo] assert_equal 'bar', Compass.configuration.to_sass_plugin_options[:foo] @@ -107,6 +111,7 @@ EXPECTED expected_serialization = <"bar"} @@ -115,4 +120,4 @@ EXPECTED assert_equal expected_serialization, Compass.configuration.serialize end -end \ No newline at end of file +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/config.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/blueprint/config.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/config.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/blueprint/config.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/css/typography.css b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/blueprint/css/typography.css similarity index 96% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/css/typography.css rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/blueprint/css/typography.css index 53f7e26b..ab85ffc5 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/css/typography.css +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/blueprint/css/typography.css @@ -111,14 +111,16 @@ pre, code, tt { line-height: 1.5; } li ul, li ol { - margin: 0 1.5em; } + margin: 0; } + +ul, ol { + margin: 0 1.5em 1.5em 0; + padding-left: 3.333em; } ul { - margin: 0 1.5em 1.5em 1.5em; list-style-type: disc; } ol { - margin: 0 1.5em 1.5em 1.5em; list-style-type: decimal; } dl { diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/images/grid.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/blueprint/images/grid.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/images/grid.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/blueprint/images/grid.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/sass/ie.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/blueprint/sass/ie.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/sass/ie.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/blueprint/sass/ie.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/sass/print.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/blueprint/sass/print.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/sass/print.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/blueprint/sass/print.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/sass/screen.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/blueprint/sass/screen.sass similarity index 90% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/sass/screen.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/blueprint/sass/screen.sass index 93ec4087..8b49d7ae 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/sass/screen.sass +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/blueprint/sass/screen.sass @@ -1,4 +1,4 @@ -@import blueprint/screen +@import blueprint.sass @import compass/reset +blueprint diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/blueprint/sass/typography.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/blueprint/sass/typography.sass new file mode 100644 index 00000000..f7a5ec46 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/blueprint/sass/typography.sass @@ -0,0 +1,3 @@ +@import blueprint/typography.sass + ++blueprint-typography diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/config.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/compass/config.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/config.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/compass/config.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/css/layout.css b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/compass/css/layout.css similarity index 82% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/css/layout.css rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/compass/css/layout.css index 95a69635..f461c7a0 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/css/layout.css +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/compass/css/layout.css @@ -3,6 +3,8 @@ html, body { #layout { min-height: 100%; + height: auto !important; + height: 100%; margin-bottom: -72px; } #layout #layout_footer { height: 72px; } diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/compass/css/print.css b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/compass/css/print.css new file mode 100644 index 00000000..e4a30310 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/compass/css/print.css @@ -0,0 +1,12 @@ +.noprint, +.no-print { + display: none; } + +address.print-only, blockquote.print-only, center.print-only, dir.print-only, div.print-only, dd.print-only, dl.print-only, dt.print-only, fieldset.print-only, form.print-only, frameset.print-only, h1.print-only, h2.print-only, h3.print-only, h4.print-only, h5.print-only, h6.print-only, hr.print-only, isindex.print-only, menu.print-only, noframes.print-only, noscript.print-only, ol.print-only, p.print-only, pre.print-only, ul.print-only { + display: block; } + +a.print-only, abbr.print-only, acronym.print-only, b.print-only, basefont.print-only, bdo.print-only, big.print-only, br.print-only, cite.print-only, code.print-only, dfn.print-only, em.print-only, font.print-only, i.print-only, img.print-only, input.print-only, kbd.print-only, label.print-only, q.print-only, s.print-only, samp.print-only, select.print-only, small.print-only, span.print-only, strike.print-only, strong.print-only, sub.print-only, sup.print-only, textarea.print-only, tt.print-only, u.print-only, var.print-only { + display: inline; } + +.print-only { + display: none; } diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/css/reset.css b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/compass/css/reset.css similarity index 99% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/css/reset.css rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/compass/css/reset.css index e778b379..2df6b411 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/css/reset.css +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/compass/css/reset.css @@ -21,7 +21,7 @@ table, caption, tbody, tfoot, thead, tr, th, td { body { line-height: 1em; - color: black; + color: #000; background: #fff; } ol, ul { @@ -43,7 +43,7 @@ q, blockquote { q:before, q:after, blockquote:before, blockquote:after { content: ""; } -img a { +a img { border: none; } .unregistered-only, .registered-only { @@ -57,4 +57,4 @@ body.registered address.registered-only, body.registered blockquote.registered-o body.unregistered a.unregistered-only, body.unregistered abbr.unregistered-only, body.unregistered acronym.unregistered-only, body.unregistered b.unregistered-only, body.unregistered basefont.unregistered-only, body.unregistered bdo.unregistered-only, body.unregistered big.unregistered-only, body.unregistered br.unregistered-only, body.unregistered cite.unregistered-only, body.unregistered code.unregistered-only, body.unregistered dfn.unregistered-only, body.unregistered em.unregistered-only, body.unregistered font.unregistered-only, body.unregistered i.unregistered-only, body.unregistered img.unregistered-only, body.unregistered input.unregistered-only, body.unregistered kbd.unregistered-only, body.unregistered label.unregistered-only, body.unregistered q.unregistered-only, body.unregistered s.unregistered-only, body.unregistered samp.unregistered-only, body.unregistered select.unregistered-only, body.unregistered small.unregistered-only, body.unregistered span.unregistered-only, body.unregistered strike.unregistered-only, body.unregistered strong.unregistered-only, body.unregistered sub.unregistered-only, body.unregistered sup.unregistered-only, body.unregistered textarea.unregistered-only, body.unregistered tt.unregistered-only, body.unregistered u.unregistered-only, body.unregistered var.unregistered-only { display: inline; } body.unregistered address.unregistered-only, body.unregistered blockquote.unregistered-only, body.unregistered center.unregistered-only, body.unregistered dir.unregistered-only, body.unregistered div.unregistered-only, body.unregistered dd.unregistered-only, body.unregistered dl.unregistered-only, body.unregistered dt.unregistered-only, body.unregistered fieldset.unregistered-only, body.unregistered form.unregistered-only, body.unregistered frameset.unregistered-only, body.unregistered h1.unregistered-only, body.unregistered h2.unregistered-only, body.unregistered h3.unregistered-only, body.unregistered h4.unregistered-only, body.unregistered h5.unregistered-only, body.unregistered h6.unregistered-only, body.unregistered hr.unregistered-only, body.unregistered isindex.unregistered-only, body.unregistered menu.unregistered-only, body.unregistered noframes.unregistered-only, body.unregistered noscript.unregistered-only, body.unregistered ol.unregistered-only, body.unregistered p.unregistered-only, body.unregistered pre.unregistered-only, body.unregistered ul.unregistered-only { - display: block; } \ No newline at end of file + display: block; } diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/css/utilities.css b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/compass/css/utilities.css similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/css/utilities.css rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/compass/css/utilities.css diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/sass/layout.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/compass/sass/layout.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/sass/layout.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/compass/sass/layout.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/sass/print.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/compass/sass/print.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/sass/print.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/compass/sass/print.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/sass/reset.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/compass/sass/reset.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/sass/reset.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/compass/sass/reset.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/sass/utilities.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/compass/sass/utilities.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/sass/utilities.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/compass/sass/utilities.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/image_urls/config.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/image_urls/config.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/image_urls/config.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/image_urls/config.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/image_urls/css/screen.css b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/image_urls/css/screen.css similarity index 86% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/image_urls/css/screen.css rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/image_urls/css/screen.css index c7de0c65..23306441 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/image_urls/css/screen.css +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/image_urls/css/screen.css @@ -1,3 +1,5 @@ +/* line 1, ../sass/screen.sass */ .showgrid { background-image: url('http://assets2.example.com/images/grid.png?busted=true'); } +/* line 4, ../sass/screen.sass */ .inlinegrid { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAUEAYAAACv1qP4AAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAZ0lEQVRYw+3QwQ2AIBAFUTEUwI3+uzN7gDscsIgxEuO8An52J11X73OudfxMraXkzHfO3Y98nQEhA0IGhAwIGRAyIGRAyICQASEDQgaEDAgZEDIgZEDIgJABoZzSGK3tPuN9ERFP7Nw4fg+c5g8V1wAAAABJRU5ErkJggg=='); } diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/image_urls/images/grid.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/image_urls/images/grid.png similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/image_urls/images/grid.png rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/image_urls/images/grid.png diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/image_urls/sass/screen.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/image_urls/sass/screen.sass similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/image_urls/sass/screen.sass rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/image_urls/sass/screen.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/relative/assets/images/testing.png b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/relative/assets/images/testing.png new file mode 100644 index 00000000..e69de29b diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/relative/config.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/relative/config.rb new file mode 100644 index 00000000..bf580a54 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/relative/config.rb @@ -0,0 +1,9 @@ +# Require any additional compass plugins here. +css_dir = "tmp" +sass_dir = "sass" +images_dir = "assets/images" +javascripts_dir = "assets/javascripts" +# Set this to the root of your project when deployed: +http_path = "/" +# To enable relative paths to assets via compass helper functions. Uncomment: +relative_assets = true diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/relative/css/ie.css b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/relative/css/ie.css new file mode 100644 index 00000000..6a46809e --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/relative/css/ie.css @@ -0,0 +1 @@ +/* Welcome to Compass. Use this file to write IE specific override styles. Import this file using the following HTML or equivalent: */ diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/relative/css/print.css b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/relative/css/print.css new file mode 100644 index 00000000..0a6606ce --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/relative/css/print.css @@ -0,0 +1 @@ +/* Welcome to Compass. Use this file to define print styles. Import this file using the following HTML or equivalent: */ diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/relative/css/screen.css b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/relative/css/screen.css new file mode 100644 index 00000000..a076f52a --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/relative/css/screen.css @@ -0,0 +1 @@ +test { background: url('../assets/images/testing.png?<%= File.mtime(File.join(Compass.configuration.project_path, 'assets', 'images', 'testing.png')).strftime("%s") %>'); } diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/relative/sass/ie.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/relative/sass/ie.sass new file mode 100644 index 00000000..b38d08b4 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/relative/sass/ie.sass @@ -0,0 +1,6 @@ +/* + Welcome to Compass. Use this file to write IE specific override styles. + Import this file using the following HTML or equivalent: + diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/relative/sass/print.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/relative/sass/print.sass new file mode 100644 index 00000000..34991cab --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/relative/sass/print.sass @@ -0,0 +1,6 @@ +/* + Welcome to Compass. Use this file to define print styles. + Import this file using the following HTML or equivalent: + + + diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/relative/sass/screen.sass b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/relative/sass/screen.sass new file mode 100644 index 00000000..cba1ea72 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/fixtures/stylesheets/relative/sass/screen.sass @@ -0,0 +1,3 @@ + +test + background= image_url("testing.png") diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/io_helper.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/io_helper.rb new file mode 100644 index 00000000..ee88380d --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/io_helper.rb @@ -0,0 +1,36 @@ +module Compass + module IoHelper + def capture_output + real_stdout, $stdout = $stdout, StringIO.new + yield + $stdout.string + ensure + $stdout = real_stdout + end + + def capture_warning + real_stderr, $stderr = $stderr, StringIO.new + yield + $stderr.string + ensure + $stderr = real_stderr + end + + def capture_pipe(io, options = {}) + options[:wait] = 0.25 + options[:timeout] = 1.0 + output = "" + eof_at = nil + while !eof_at || (Time.now - eof_at < options[:wait]) + if io.eof? + eof_at ||= Time.now + sleep 0.1 + else + eof_at = nil + timeout(options[:timeout]) { output << io.readpartial(1024) } + end + end + output + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/rails_helper.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/rails_helper.rb new file mode 100644 index 00000000..d8b47a17 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/rails_helper.rb @@ -0,0 +1,40 @@ +module Compass + module RailsHelper + def generate_rails_app_directories(name) + Dir.mkdir name + Dir.mkdir File.join(name, "config") + Dir.mkdir File.join(name, "config", "initializers") + end + + # Generate a rails application without polluting our current set of requires + # with the rails libraries. This will allow testing against multiple versions of rails + # by manipulating the load path. + def generate_rails_app(name) + if pid = fork + Process.wait(pid) + if $?.exitstatus == 2 + raise LoadError, "Couldn't load rails" + elsif $?.exitstatus != 0 + raise "Failed to generate rails application." + end + else + begin + require 'rails/version' + require 'rails_generator' + require 'rails_generator/scripts/generate' + Rails::Generator::Base.use_application_sources! + capture_output do + Rails::Generator::Base.logger = Rails::Generator::SimpleLogger.new $stdout + Rails::Generator::Scripts::Generate.new.run([name], :generator => 'app') + end + rescue LoadError + Kernel.exit!(2) + rescue => e + $stderr.puts e + Kernel.exit!(1) + end + Kernel.exit!(0) + end + end + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/rails_integration_test.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/rails_integration_test.rb new file mode 100644 index 00000000..a46fd2f1 --- /dev/null +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/rails_integration_test.rb @@ -0,0 +1,46 @@ +require 'test_helper' +require 'fileutils' +require 'compass' +require 'compass/exec' +require 'timeout' + +class RailsIntegrationTest < Test::Unit::TestCase + include Compass::TestCaseHelper + include Compass::CommandLineHelper + include Compass::IoHelper + include Compass::RailsHelper + + def setup + Compass.reset_configuration! + end + + def test_rails_install + within_tmp_directory do + generate_rails_app_directories("compass_rails") + Dir.chdir "compass_rails" do + compass("--rails", '--trace', ".") do |responder| + responder.respond_to "Is this OK? (Y/n)", :with => "Y", :required => true + responder.respond_to "Emit compiled stylesheets to public/stylesheets/compiled/? (Y/n)", :with => "Y", :required => true + end + # puts ">>>#{@last_result}<<<" + assert_action_performed :create, "./app/stylesheets/screen.sass" + assert_action_performed :create, "./config/initializers/compass.rb" + end + end + rescue LoadError + puts "Skipping rails test. Couldn't Load rails" + end + + def test_rails_install_with_no_dialog + within_tmp_directory do + generate_rails_app_directories("compass_rails") + Dir.chdir "compass_rails" do + compass(*%w(--rails --trace --sass-dir app/stylesheets --css-dir public/stylesheets/compiled .)) + assert_action_performed :create, "./app/stylesheets/screen.sass" + assert_action_performed :create, "./config/initializers/compass.rb" + end + end + rescue LoadError + puts "Skipping rails test. Couldn't Load rails" + end +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/sass_extensions_test.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/sass_extensions_test.rb similarity index 94% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/test/sass_extensions_test.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/sass_extensions_test.rb index 98136c9a..797e235c 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/sass_extensions_test.rb +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/sass_extensions_test.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__)+'/test_helper' +require 'test_helper' class SassExtensionsTest < Test::Unit::TestCase def test_simple @@ -28,4 +28,4 @@ protected options = arguments.last.is_a?(Hash) ? arguments.pop : Hash.new evaluation_content(options).nest(*arguments.map{|a| Sass::Script::String.new(a)}).to_s end -end \ No newline at end of file +end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/test_case_helper.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/test_case_helper.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/test/test_case_helper.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/test_case_helper.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/test_helper.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/test_helper.rb similarity index 55% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/test/test_helper.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/test_helper.rb index 30ee1245..e9e6ea28 100644 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/test_helper.rb +++ b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/test_helper.rb @@ -1,5 +1,10 @@ need_gems = false +lib_dir = File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib')) +$:.unshift(lib_dir) unless $:.include?(lib_dir) +test_dir = File.dirname(__FILE__) +$:.unshift(test_dir) unless $:.include?(test_dir) + # allows testing with edge Haml by creating a test/haml symlink linked_haml = File.dirname(__FILE__) + '/haml' @@ -17,5 +22,7 @@ require 'compass' require 'test/unit' -require File.join(File.dirname(__FILE__), 'test_case_helper') -require File.join(File.dirname(__FILE__), 'command_line_helper') +require 'test_case_helper' +require 'io_helper' +require 'rails_helper' +require 'command_line_helper' diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/test_rails_helper.rb b/lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/test_rails_helper.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/compass-0.8.17/test/test_rails_helper.rb rename to lib/middleman/vendor/gems/gems/compass-0.10.0.pre1/test/test_rails_helper.rb diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/VERSION.yml b/lib/middleman/vendor/gems/gems/compass-0.8.17/VERSION.yml deleted file mode 100644 index 0bd37399..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/VERSION.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -:patch: 17 -:major: 0 -:minor: 8 diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/bin/compass b/lib/middleman/vendor/gems/gems/compass-0.8.17/bin/compass deleted file mode 100755 index fb94e65f..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/bin/compass +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env ruby -# The compass command line utility - -require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'compass')) -require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'compass', 'exec')) - -command = Compass::Exec::Compass.new(ARGV) -exit command.run! diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped/src/ie.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped/src/ie.sass deleted file mode 100644 index badeb777..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped/src/ie.sass +++ /dev/null @@ -1,3 +0,0 @@ -@import blueprint.sass - -+blueprint-ie("body.bp") \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped/src/print.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped/src/print.sass deleted file mode 100644 index 949e578e..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped/src/print.sass +++ /dev/null @@ -1,3 +0,0 @@ -@import blueprint.sass - -+blueprint-print("body.bp") \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint.rb deleted file mode 100644 index 47b3c87b..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint.rb +++ /dev/null @@ -1,2 +0,0 @@ -blueprint_dir = File.join(Compass.base_directory, 'frameworks', 'blueprint') -Compass::Frameworks.register('blueprint', blueprint_dir) diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/_blueprint.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/_blueprint.sass deleted file mode 100644 index 8bd2084e..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/_blueprint.sass +++ /dev/null @@ -1,3 +0,0 @@ -@import blueprint/screen.sass -@import blueprint/print.sass -@import blueprint/ie.sass diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/_ie.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/_ie.sass deleted file mode 100644 index 9421d908..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/_ie.sass +++ /dev/null @@ -1,93 +0,0 @@ -// The blueprint IE mixins should be mixed into a stylesheet that gets conditionally included -// into IE like so: -// - -// The +blueprint-ie mixin must be mixed into the top level of your stylesheet. -// However, you can customize the body selector if you wish to control the scope -// of this mixin. Examples: -// Apply to any page including the stylesheet: -// +blueprint-ie -// Scoped by a single presentational body class: -// +blueprint-ie("body.blueprint") -// Semantically: -// +blueprint-ie("body#page-1, body#page-2, body.a-special-page-type") -// Alternatively, you can use the +blueprint-ie-body and +blueprint-ie-defaults -// mixins to construct your own semantic style rules. - -=blueprint-ie(!body_selector = "body") - #{!body_selector} - +blueprint-ie-body - @if !body_selector != "body" - +blueprint-ie-defaults - @if !body_selector == "body" - +blueprint-ie-defaults - -=blueprint-ie-body - :text-align center - +blueprint-ie-hacks - -=blueprint-ie-hacks - * html & - legend - :margin 0px -8px 16px 0 - :padding 0 - html>& - p code - :*white-space normal - -// Fixes for Blueprint "inline" forms in IE -=blueprint-inline-form-ie - div, p - :vertical-align middle - label - :position relative - :top -0.25em - input - &.checkbox, &.radio, &.button, button - :margin 0.5em 0 - -=blueprint-ie-defaults - .container - :text-align left - ol - :margin-left 2em - sup - :vertical-align text-top - sub - :vertical-align text-bottom - hr - :margin -8px auto 11px - img - :-ms-interpolation-mode bicubic - fieldset - :padding-top 0 - input - &.text - :margin 0.5em 0 - :background-color #fff - :border 1px solid #bbb - &:focus - :border 1px solid #666 - &.title - :margin 0.5em 0 - :background-color #fff - :border 1px solid #bbb - &:focus - :border 1px solid #666 - &.checkbox - :position relative - :top 0.25em - &.radio - :position relative - :top 0.25em - &.button - :position relative - :top 0.25em - textarea - :margin 0.5em 0 - select - :margin 0.5em 0 - button - :position relative - :top 0.25em diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/_print.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/_print.sass deleted file mode 100644 index d147bf7a..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/_print.sass +++ /dev/null @@ -1,83 +0,0 @@ -@import modules/typography.sass -@import compass/utilities/general/float.sass - -// The +blueprint-print mixin must be mixed into the top level of your stylesheet. -// However, you can customize the body selector if you wish to control the scope -// of this mixin. Examples: -// Apply to any page including the stylesheet: -// +blueprint-print -// Scoped by a single presentational body class: -// +blueprint-print("body.blueprint") -// Semantically: -// +blueprint-print("body#page-1, body#page-2, body.a-special-page-type") -// Alternatively, you can use the +blueprint-print-body and +blueprint-print-defaults -// mixins to construct your own semantic style rules. - -=blueprint-print(!body_selector = "body") - #{!body_selector} - +blueprint-print-body - @if !body_selector != "body" - +blueprint-print-defaults - @if !body_selector == "body" - +blueprint-print-defaults - -// This style is in blueprint, but I think it's annoying and it doesn't work in all browsers. -// Feel free to mix it into anchors where you want it. -=blueprint-show-link-urls - &:after - :content " (" attr(href) ")" - :font-size 90% - -=blueprint-print-body - :line-height 1.5 - :font-family= !blueprint_font_family - :color #000 - :background none - :font-size 10pt - -=blueprint-print-defaults - .container - :background none - hr - :background #ccc - :color #ccc - :width 100% - :height 2px - :margin 2em 0 - :padding 0 - :border none - &.space - :background #fff - :color #fff - h1, h2, h3, h4, h5, h6 - :font-family= !blueprint_font_family - code - :font - :size .9em - :family= !blueprint_fixed_font_family - img - +float-left - :margin 1.5em 1.5em 1.5em 0 - a - img - :border none - &:link, - &:visited - :background transparent - :font-weight 700 - :text-decoration underline - p img.top - :margin-top 0 - blockquote - :margin 1.5em - :padding 1em - :font-style italic - :font-size .9em - .small - :font-size .9em - .large - :font-size 1.1em - .quiet - :color #999 - .hide - :display none diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/_reset.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/_reset.sass deleted file mode 100644 index 2c9178f2..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/_reset.sass +++ /dev/null @@ -1,3 +0,0 @@ -@import modules/reset.sass - -+blueprint-global-reset \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/_screen.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/_screen.sass deleted file mode 100644 index 15762552..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/_screen.sass +++ /dev/null @@ -1,15 +0,0 @@ -@import modules/colors.sass -@import modules/grid.sass -@import modules/typography.sass -@import modules/utilities.sass -@import modules/form.sass -@import modules/interaction.sass -@import modules/debug.sass - -=blueprint(!body_selector = "body") - +blueprint-typography(!body_selector) - +blueprint-utilities - +blueprint-grid - +blueprint-debug - +blueprint-interaction - +blueprint-form diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass deleted file mode 100644 index 1862c44a..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +++ /dev/null @@ -1,55 +0,0 @@ -@import colors.sass - -// Mixin for producing Blueprint "inline" forms. Should be used with the blueprint-form mixin. -=blueprint-inline-form - :line-height 3 - p - :margin-bottom 0 - -=blueprint-form - +blueprint-form-layout - +blueprint-form-borders - +blueprint-form-sizes - -=blueprint-form-layout - label - :font-weight bold - fieldset - :padding 1.4em - :margin 0 0 1.5em 0 - legend - :font-weight bold - :font-size 1.2em - input - &.text, &.title, &[type=text] - :margin 0.5em 0 - :background-color #fff - :padding 5px - &.title - :font-size 1.5em - &[type=checkbox], &.checkbox, - &[type=radio], &.radio - :position relative - :top 0.25em - textarea - :margin 0.5em 0 - :padding 5px - select - :margin 0.5em 0 - -=blueprint-form-sizes(!input_width = 300px, !textarea_width = 390px, !textarea_height = 250px) - input.text, input.title - :width= !input_width - textarea - :width= !textarea_width - :height= !textarea_height - -=blueprint-form-borders(!unfocused_border_color = #bbb, !focus_border_color = #666, !fieldset_border_color = #ccc) - fieldset - :border= 1px "solid" !fieldset_border_color - input.text, input.title, - textarea, - select - :border= 1px "solid" !unfocused_border_color - &:focus - :border= 1px "solid" !focus_border_color \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass deleted file mode 100644 index c4b19f5f..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +++ /dev/null @@ -1,58 +0,0 @@ -@import colors.sass - - -=blueprint-interaction - .error - +error - .notice - +notice - .success - +success - .hide - :display none - .highlight - +highlight - .added - +added - .removed - +removed - -=feedback-base - :padding .8em - :margin-bottom 1em - :border= 2px "solid" !feedback_border_color - -=error - +feedback-base - :background = !error_bg_color - :color = !error_color - :border-color = !error_border_color - a - :color = !error_color - -=notice - +feedback-base - :background = !notice_bg_color - :color = !notice_color - :border-color = !notice_border_color - a - :color = !notice_color - -=success - +feedback-base - :background = !success_bg_color - :color = !success_color - :border-color = !success_border_color - a - :color = !success_color - -=highlight - :background = !highlight_color - -=added - :background = !added_bg_color - :color = !added_color - -=removed - :background = !removed_bg_color - :color = !removed_color diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass deleted file mode 100644 index 1efaa2dc..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass +++ /dev/null @@ -1,104 +0,0 @@ -@import grid.sass -@import compass/utilities/general/float.sass - -// Main layout grid, override these constants to build your grid and container sizes. -!blueprint_grid_columns ||= 24 -!blueprint_grid_width ||= 30px -!blueprint_grid_margin ||= 10px - -!blueprint_grid_outer_width = !blueprint_grid_width + !blueprint_grid_margin -!blueprint_container_size = !blueprint_grid_outer_width * !blueprint_grid_columns - !blueprint_grid_margin - -// Columns -// Note: If you use this mixin without the class and want to support ie6 -// you must set text-align left on your container element in an IE stylesheet. -=container - :width = !blueprint_container_size - :margin 0 auto - :direction rtl - +clearfix - -// The last column in a row needs this mixin or it will end up on the next row. -// TODO add this to span mixin when we have optional arguments -=last - :margin-left 0 - -=column-base(!last = false) - +float-right - @if !last - +last - @else - :margin-left = !blueprint_grid_margin - * html & - :overflow-x hidden - -// Mixin to a column to append n empty cols. -=append(!n) - :padding-left = (!blueprint_grid_outer_width) * !n - -// Mixin to a column to prepend n empty cols. -=prepend(!n) - :padding-right = (!blueprint_grid_outer_width) * !n - -// mixin to a column to move it n columns to the left -=pull(!n, !last = false) - :position relative - @if !last - :margin-right = (-!blueprint_grid_outer_width * !n) + !blueprint_grid_margin - @else - :margin-right = -!blueprint_grid_outer_width * !n - -// mixin to a column to push it n columns to the right -=push(!n) - +float-right - :position relative - :margin - :top 0 - :left = -!blueprint_grid_outer_width * !n - :bottom 1.5em - :right = !blueprint_grid_outer_width * !n - -// Border on left hand side of a column. -=border - :padding-left = !blueprint_grid_margin / 2 - 1 - :margin-left = !blueprint_grid_margin / 2 - :border-left 1px solid #eee - -// Border with more whitespace, spans one column. -=colborder - :padding-left= (!blueprint_grid_width - 2 * !blueprint_grid_margin - 1)/2 - :margin-left= (!blueprint_grid_width - 2 * !blueprint_grid_margin)/2 - :border-left 1px solid #eee - -=rtl-typography(!body_selector = "body") - html #{!body_selector} - :font-family Arial, sans-serif - @if !body_selector != "body" - +rtl-typography-defaults - @if !body_selector == "body" - body - +rtl-typography-defaults - -=rtl-typography-defaults - h1, h2, h3, h4, h5, h6 - :font-family Arial, sans-serif - - pre, code, tt - :font-family monospace - - p - img.right - +float-left - :margin 1.5em 1.5em 1.5em 0 - :padding 0 - img.left - +float-right - :margin 1.5em 0 1.5em 1.5em - :padding 0 - - dd, ul, ol - :margin-left 0 - :margin-right 1.5em - - td, th - :text-align right diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass deleted file mode 100644 index bb11783e..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +++ /dev/null @@ -1,155 +0,0 @@ -@import colors.sass -@import compass/utilities/links/link_colors.sass -@import compass/utilities/general/float.sass - -!blueprint_font_family ||= "Helvetica Neue, Arial, Helvetica, sans-serif" -!blueprint_fixed_font_family ||= "'andale mono', 'lucida console', monospace" -!blueprint_font_size ||= 12px - -// The +blueprint-typography mixin must be mixed into the top level of your stylesheet. -// However, you can customize the body selector if you wish to control the scope -// of this mixin. Examples: -// Apply to any page including the stylesheet: -// +blueprint-typography -// Scoped by a single presentational body class: -// +blueprint-typography("body.blueprint") -// Semantically: -// +blueprint-typography("body#page-1, body#page-2, body.a-special-page-type") -// Alternatively, you can use the +blueprint-typography-body and +blueprint-typography-defaults -// mixins to construct your own semantic style rules. - -=blueprint-typography(!body_selector = "body") - #{!body_selector} - +blueprint-typography-body - @if !body_selector != "body" - +blueprint-typography-defaults - @if !body_selector == "body" - +blueprint-typography-defaults - -=normal-text - :font-family= !blueprint_font_family - :color= !font_color - -=fixed-width-text - :font= 1em !blueprint_fixed_font_family - :line-height 1.5 - -=header-text - :font-weight normal - :color= !header_color - -=quiet - :color= !quiet_color - -=loud - :color= !loud_color - -=blueprint-typography-body(!font_size = !blueprint_font_size) - :line-height 1.5 - +normal-text - :font-size= 100% * !font_size / 16px - -=blueprint-typography-defaults - h1 - +header-text - :font-size 3em - :line-height 1 - :margin-bottom 0.5em - img - :margin 0 - h2 - +header-text - :font-size 2em - :margin-bottom 0.75em - h3 - +header-text - :font-size 1.5em - :line-height 1 - :margin-bottom 1em - h4 - +header-text - :font-size 1.2em - :line-height 1.25 - :margin-bottom 1.25em - h5 - +header-text - :font-size 1em - :font-weight bold - :margin-bottom 1.5em - h6 - +header-text - :font-size 1em - :font-weight bold - h2 img, h3 img, h4 img, h5 img, h6 img - :margin 0 - p - :margin 0 0 1.5em - img.left - +float-left - :margin 1.5em 1.5em 1.5em 0 - :padding 0 - img.right - +float-right - :margin 1.5em 0 1.5em 1.5em - :padding 0 - a - :text-decoration underline - +link-colors(!link_color, !link_hover_color, !link_active_color, !link_visited_color, !link_focus_color) - blockquote - :margin 1.5em - :color #666 - :font-style italic - strong - :font-weight bold - em - :font-style italic - dfn - :font-style italic - :font-weight bold - sup, sub - :line-height 0 - abbr, acronym - :border-bottom 1px dotted #666 - address - :margin 0 0 1.5em - :font-style italic - del - :color #666 - pre - :margin 1.5em 0 - :white-space pre - pre, code, tt - +fixed-width-text - li ul, li ol - :margin 0 1.5em - ul - :margin 0 1.5em 1.5em 1.5em - :list-style-type disc - ol - :margin 0 1.5em 1.5em 1.5em - :list-style-type decimal - dl - :margin 0 0 1.5em 0 - dt - :font-weight bold - dd - :margin-left 1.5em - table - :margin-bottom 1.4em - :width 100% - th - :font-weight bold - thead th - :background= !blueprint_table_header_color - th, td, caption - :padding 4px 10px 4px 5px - tr.even td - :background= !blueprint_table_stripe_color - tfoot - :font-style italic - caption - :background #eee - .quiet - +quiet - .loud - +loud diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/buttons/manifest.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/buttons/manifest.rb deleted file mode 100644 index b097845b..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/buttons/manifest.rb +++ /dev/null @@ -1,5 +0,0 @@ -stylesheet 'buttons.sass', :media => 'screen, projection' - -image 'buttons/cross.png' -image 'buttons/key.png' -image 'buttons/tick.png' diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/manifest.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/manifest.rb deleted file mode 100644 index 5b8b4f9f..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/manifest.rb +++ /dev/null @@ -1,10 +0,0 @@ -stylesheet "link_icons.sass", :media => 'screen, projection' - -image 'link_icons/doc.png' -image 'link_icons/email.png' -image 'link_icons/external.png' -image 'link_icons/feed.png' -image 'link_icons/im.png' -image 'link_icons/pdf.png' -image 'link_icons/visited.png' -image 'link_icons/xls.png' diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/ie.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/ie.sass deleted file mode 100644 index fad09158..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/ie.sass +++ /dev/null @@ -1,15 +0,0 @@ -@import blueprint.sass - -+blueprint-ie - -// Note : -// -// Compass will center text to fix IE6 container centering. -// This means all your texts will be centered under all version of IE by default. -// Please don't forget to restore the correct behavior to your main container (but not the body tag!) -// -// Example : -// -// .container, .footer -// :text-align left - diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/manifest.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/manifest.rb deleted file mode 100644 index 853b59b7..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/manifest.rb +++ /dev/null @@ -1,6 +0,0 @@ -stylesheet 'screen.sass', :media => 'screen, projection' -stylesheet 'partials/_base.sass' -stylesheet 'print.sass', :media => 'print' -stylesheet 'ie.sass', :media => 'screen, projection', :condition => "lt IE 8" - -image 'grid.png' diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/print.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/print.sass deleted file mode 100644 index 8e5d49d8..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/print.sass +++ /dev/null @@ -1,3 +0,0 @@ -@import blueprint.sass - -+blueprint-print \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass.rb deleted file mode 100644 index 3ad82710..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass.rb +++ /dev/null @@ -1,2 +0,0 @@ -compass_dir = File.join(Compass.base_directory, 'frameworks', 'compass') -Compass::Frameworks.register('compass', compass_dir) diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/_compass.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/_compass.sass deleted file mode 100644 index 79a50ab1..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/_compass.sass +++ /dev/null @@ -1 +0,0 @@ -@import compass/utilities.sass \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_print.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_print.sass deleted file mode 100644 index fc1caf4d..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_print.sass +++ /dev/null @@ -1,24 +0,0 @@ -// Classes that are useful for controlling what gets printed. -// You must mix +print-utilities into your print stylesheet -// and +print-utilities("screen") into your screen stylesheet. -// Note: these aren't semantic. -=print-utilities(!media = "print") - @if !media == "print" - .noprint, - .no-print - :display none - address, blockquote, center, dir, div, dd, dl, dt, - fieldset, form, frameset, h1, h2, h3, h4, h5, h6, hr, - isindex, li, menu, noframes, noscript, ol, p, pre, - table, tbody, td, tfoot, th, thead, tr, ul - &.print-only - :display block - a, abbr, acronym, b, basefont, bdo, big, br, cite, - code, dfn, em, font, i, img, input, kbd, label, q, s, - samp, select, small, span, strike, strong, sub, sup, - textarea, tt, u, var - &.print-only - :display inline - @else - .print-only - :display none diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_sprites.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_sprites.sass deleted file mode 100644 index 48b42433..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_sprites.sass +++ /dev/null @@ -1 +0,0 @@ -@import sprites/sprite_img.sass \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass deleted file mode 100644 index 94cd1357..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass +++ /dev/null @@ -1,6 +0,0 @@ -=inline-block - :zoom 1 - :display inline - :display -moz-inline-box - :display inline-block - :vertical-align top diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass deleted file mode 100644 index 3f6665dc..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass +++ /dev/null @@ -1,19 +0,0 @@ -// Emits styles for a tag cloud -=tag-cloud(!base_size = 1em) - :font-size= !base_size - :line-height= 1.2 * !base_size - .xxs, .xs, .s, .l, .xl, .xxl - :line-height= 1.2 * !base_size - .xxs - :font-size= !base_size / 2.0 - .xs - :font-size= 2.0 * !base_size / 3.0 - .s - :font-size= 3.0 * !base_size / 4.0 - .l - :font-size= 4.0 * !base_size / 3.0 - .xl - :font-size= 3.0 * !base_size / 2.0 - .xxl - :font-size= 2.0 * !base_size - diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass deleted file mode 100644 index 5f25ce39..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass +++ /dev/null @@ -1,5 +0,0 @@ -// A link that looks and acts like the text it is contained within -=unstyled-link - :color inherit - :text-decoration inherit - :cursor inherit diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass deleted file mode 100644 index 2381dbd4..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass +++ /dev/null @@ -1,12 +0,0 @@ -!sprite_image_default_width ||= 32px -!sprite_image_default_height ||= 32px -!sprite_image_default_margin ||= 0px - -// Simplest use: +sprite-img("icons-32.png", 1) -=sprite-img(!img, !col, !row = 1, !width = !sprite_image_default_width, !height = !sprite_image_default_height, !margin = !sprite_image_default_margin) - !x = ((!col - 1) * -!width) - ((!col - 1) * !margin) - !y = ((!row - 1) * -!height) - ((!row - 1) * !margin) - :background= image_url(!img) "no-repeat" !x !y - :width= !width - :height= !height - :overflow hidden \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass deleted file mode 100644 index 4b0e9490..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +++ /dev/null @@ -1,20 +0,0 @@ -=alternating-rows-and-columns(!even_row_color, !odd_row_color, !dark_intersection, !header_color = #FFF, !footer_color = #FFF) - th - :background-color= !header_color - &.even - :background-color= !header_color - !dark_intersection - tr.odd - td - :background-color= !odd_row_color - &.even - :background-color= !odd_row_color - !dark_intersection - tr.even - td - :background-color= !even_row_color - &.even - :background-color= !even_row_color - !dark_intersection - tfoot - th, td - :background-color= !footer_color - &.even - :background-color= !footer_color - !dark_intersection diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass deleted file mode 100644 index 4073969c..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass +++ /dev/null @@ -1,27 +0,0 @@ -=outer-table-borders(!width = 2px, !color = black) - :border= !width "solid" !color - thead - th - :border-bottom= !width "solid" !color - tfoot - th, td - :border-top= !width "solid" !color - th - &:first-child - :border-right= !width "solid" !color - -=inner-table-borders(!width = 2px, !color = black) - th, td - :border - :right= !width "solid" !color - :bottom= !width "solid" !color - :left-width 0px - :top-width 0px - &:last-child, - &.last - :border-right-width 0px - tbody, tfoot - tr:last-child, - tr.last - th, td - :border-bottom-width 0px diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass deleted file mode 100644 index 96093fc0..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass +++ /dev/null @@ -1,9 +0,0 @@ -=table-scaffolding - th - :text-align center - :font-weight bold - td, - th - :padding 2px - &.numeric - :text-align right diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/ellipsis/manifest.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/ellipsis/manifest.rb deleted file mode 100644 index de28fcec..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/ellipsis/manifest.rb +++ /dev/null @@ -1,2 +0,0 @@ -file 'xml/ellipsis.xml', :like => :css -stylesheet 'ellipsis.sass' \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui.rb deleted file mode 100644 index 00b41003..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui.rb +++ /dev/null @@ -1,2 +0,0 @@ -yui_dir = File.join(Compass.base_directory, 'frameworks', 'yui') -Compass::Frameworks.register('yui', yui_dir) diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/yui/modules/_base.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/yui/modules/_base.sass deleted file mode 100644 index 7f95b886..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/yui/modules/_base.sass +++ /dev/null @@ -1,60 +0,0 @@ -=yui-base - h1 - :font-size 138.5% - - h2 - :font-size 123.1% - - h3 - :font-size 108% - - h1, h2, h3 - :margin 1em 0 - - h1,h2, h3, h4, h5, h6, strong - :font-weight bold - - abbr, acronym - :border-bottom 1px dotted #000 - :cursor help - - em - :font-style italic - - blockquote - :margin 1em - - ul - :margin 1em - :margin-left 2em - li - :list-style disc outside - - ol - :margin 1em - :margin-left 2em - li - :list-style decimal outside - - dl - :margin 1em - :margin-left 2em - dd - :margin-left 1em - - th - :border 1px solid #000 - :padding .5em - :font-weight bold - :text-align center - - td - :border 1px solid #000 - :padding .5em - - caption - :margin-bottom .5em - :text-align center - - p, fieldset, table - :margin-bottom 1em diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass.rb deleted file mode 100644 index d09dd6df..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass.rb +++ /dev/null @@ -1,23 +0,0 @@ -module Compass -end - -['dependencies', 'sass_extensions', 'core_ext', 'version', 'errors'].each do |file| - require File.join(File.dirname(__FILE__), 'compass', file) -end - -module Compass - extend Compass::Version - def base_directory - File.expand_path(File.join(File.dirname(__FILE__), '..')) - end - def lib_directory - File.expand_path(File.join(File.dirname(__FILE__))) - end - module_function :base_directory, :lib_directory -end - -require File.join(File.dirname(__FILE__), 'compass', 'configuration') -require File.join(File.dirname(__FILE__), 'compass', 'frameworks') -require File.join(File.dirname(__FILE__), 'compass', 'app_integration') - - diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration.rb deleted file mode 100644 index 58e55913..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration.rb +++ /dev/null @@ -1,5 +0,0 @@ -# If we're running inside Rails -require File.join(File.dirname(__FILE__), 'app_integration', 'rails') if defined?(ActionController::Base) - -# If we're running inside Merb -require File.join(File.dirname(__FILE__), 'app_integration', 'merb') if defined?(Merb::Plugins) diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/merb.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/merb.rb deleted file mode 100644 index b8ff84b0..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/merb.rb +++ /dev/null @@ -1,43 +0,0 @@ -# To configure Merb to use compass do the following: -# Merb::BootLoader.after_app_loads do -# require 'merb-haml' -# require 'compass' -# end -# -# To use a different sass stylesheets locations as is recommended by compass -# add this configuration to your configuration block: -# -# Merb::Config.use do |c| -# c[:compass] = { -# :stylesheets => 'app/stylesheets', -# :compiled_stylesheets => 'public/stylesheets/compiled' -# } -# end - -Merb::BootLoader.after_app_loads do - #set up sass if haml load didn't do it -- this happens when using a non-default stylesheet location. - unless defined?(Sass::Plugin) - require "sass/plugin" - Sass::Plugin.options = Merb::Config[:sass] if Merb::Config[:sass] - end - - # default the compass configuration if they didn't set it up yet. - Merb::Config[:compass] ||= {} - - # default sass stylesheet location unless configured to something else - Merb::Config[:compass][:stylesheets] ||= Merb.dir_for(:stylesheet) / "sass" - - # default sass css location unless configured to something else - Merb::Config[:compass][:compiled_stylesheets] ||= Merb.dir_for(:stylesheet) - - #define the template hash for the project stylesheets as well as the framework stylesheets. - template_location = { - Merb::Config[:compass][:stylesheets] => Merb::Config[:compass][:compiled_stylesheets] - } - Compass::Frameworks::ALL.each do |framework| - template_location[framework.stylesheets_directory] = Merb::Config[:compass][:compiled_stylesheets] - end - - #configure Sass to know about all these sass locations. - Sass::Plugin.options[:template_location] = template_location -end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/create_project.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/create_project.rb deleted file mode 100644 index 3605af1e..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/create_project.rb +++ /dev/null @@ -1,19 +0,0 @@ -require 'fileutils' -require File.join(File.dirname(__FILE__), 'stamp_pattern') -require File.join(File.dirname(__FILE__), 'update_project') - -module Compass - module Commands - class CreateProject < StampPattern - - def initialize(working_path, options) - super(working_path, options.merge(:pattern => "project", :pattern_name => nil)) - end - - def is_project_creation? - true - end - - end - end -end \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/generate_grid_background.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/generate_grid_background.rb deleted file mode 100644 index d294d030..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/generate_grid_background.rb +++ /dev/null @@ -1,24 +0,0 @@ -require File.join(File.dirname(__FILE__), 'project_base') -require File.join(File.dirname(__FILE__), 'update_project') -require File.join(File.dirname(__FILE__), '..', 'grid_builder') - -module Compass - module Commands - class GenerateGridBackground < ProjectBase - include Actions - def initialize(working_path, options) - super - assert_project_directory_exists! - end - - def perform - column_width, gutter_width = options[:grid_dimensions].split(/\+/).map{|d| d.to_i} - unless GridBuilder.new(options.merge(:column_width => column_width, :gutter_width => gutter_width, :output_path => projectize(project_images_subdirectory), :working_path => self.working_path)).generate! - puts "ERROR: Some library dependencies appear to be missing." - puts "Have you installed rmagick? If not, please run:" - puts "sudo gem install rmagick" - end - end - end - end -end \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/installer_command.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/installer_command.rb deleted file mode 100644 index b59d451b..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/installer_command.rb +++ /dev/null @@ -1,31 +0,0 @@ -require File.join(Compass.lib_directory, 'compass', 'installers') - -module Compass - module Commands - module InstallerCommand - include Compass::Installers - - def configure! - read_project_configuration - Compass.configuration.set_maybe(options) - Compass.configuration.default_all(installer.configuration_defaults) - Compass.configuration.set_defaults! - end - - def installer - @installer ||= case options[:project_type] - when :stand_alone - StandAloneInstaller.new *installer_args - when :rails - RailsInstaller.new *installer_args - else - raise "Unknown project type: #{options[:project_type].inspect}" - end - end - - def installer_args - [template_directory(options[:pattern]), project_directory, options] - end - end - end -end \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/print_version.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/print_version.rb deleted file mode 100644 index 1217f2c3..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/print_version.rb +++ /dev/null @@ -1,23 +0,0 @@ -module Compass - module Commands - class PrintVersion - attr_accessor :options - def initialize(working_path, options) - self.options = options - end - - def execute - if options[:quiet] - # The quiet option may make scripting easier - puts ::Compass.version[:string] - else - lines = [] - lines << "Compass #{::Compass.version[:string]}" - lines << "Copyright (c) 2008-2009 Chris Eppstein" - lines << "Released under the MIT License." - puts lines.join("\n") - end - end - end - end -end \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/stamp_pattern.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/stamp_pattern.rb deleted file mode 100644 index 47f02b84..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/stamp_pattern.rb +++ /dev/null @@ -1,33 +0,0 @@ -require 'fileutils' -require File.join(File.dirname(__FILE__), 'base') -require File.join(File.dirname(__FILE__), 'update_project') - -module Compass - module Commands - class StampPattern < ProjectBase - - include InstallerCommand - - def initialize(working_path, options) - super(working_path, options) - end - - # all commands must implement perform - def perform - installer.init - installer.run(:skip_finalization => true) - UpdateProject.new(working_path, options).perform if installer.compilation_required? - installer.finalize(:create => is_project_creation?) - end - - def is_project_creation? - false - end - - def template_directory(pattern) - File.join(framework.templates_directory, pattern) - end - - end - end -end \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/update_project.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/update_project.rb deleted file mode 100644 index e00e7a8f..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/update_project.rb +++ /dev/null @@ -1,34 +0,0 @@ -require File.join(File.dirname(__FILE__), 'project_base') -require File.join(Compass.lib_directory, 'compass', 'compiler') - -module Compass - module Commands - class UpdateProject < ProjectBase - - def initialize(working_path, options) - super - assert_project_directory_exists! - end - - def perform - compiler = new_compiler_instance - if compiler.sass_files.empty? - message = "Nothing to compile. If you're trying to start a new project, you have left off the directory argument.\n" - message << "Run \"compass -h\" to get help." - raise Compass::Error, message - else - compiler.run - end - end - - def new_compiler_instance(additional_options = {}) - Compass::Compiler.new(working_path, - projectize(Compass.configuration.sass_dir), - projectize(Compass.configuration.css_dir), - Compass.sass_engine_options.merge(:quiet => options[:quiet], - :force => options[:force]).merge(additional_options)) - end - - end - end -end \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/validate_project.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/validate_project.rb deleted file mode 100644 index 13c06da9..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/validate_project.rb +++ /dev/null @@ -1,21 +0,0 @@ -require File.join(File.dirname(__FILE__), 'project_base') -require File.join(File.dirname(__FILE__), 'update_project') - -module Compass - module Commands - class ValidateProject < ProjectBase - - def initialize(working_path, options) - super - assert_project_directory_exists! - end - - def perform - require File.join(File.dirname(__FILE__), '..', 'validator') - UpdateProject.new(working_path, options).perform - Validator.new(project_css_subdirectory).validate() - end - - end - end -end \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/write_configuration.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/write_configuration.rb deleted file mode 100644 index 1c8c28fc..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/write_configuration.rb +++ /dev/null @@ -1,28 +0,0 @@ -require File.join(File.dirname(__FILE__), 'project_base') - -module Compass - module Commands - class WriteConfiguration < ProjectBase - - include InstallerCommand - - def initialize(working_path, options) - super - assert_project_directory_exists! - end - - def perform - installer.write_configuration_files(options[:configuration_file]) - end - - def installer_args - [nil, project_directory, options] - end - - def explicit_config_file_must_be_readable? - false - end - - end - end -end \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/configuration.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/configuration.rb deleted file mode 100644 index 9a39a7de..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/configuration.rb +++ /dev/null @@ -1,324 +0,0 @@ -require 'singleton' - -module Compass - class Configuration - include Singleton - - ATTRIBUTES = [ - :project_type, - :project_path, - :http_path, - :css_dir, - :sass_dir, - :images_dir, - :javascripts_dir, - :output_style, - :environment, - :relative_assets, - :http_images_path, - :http_stylesheets_path, - :http_javascripts_path, - :additional_import_paths, - :sass_options - ] - - attr_accessor *ATTRIBUTES - - attr_accessor :required_libraries - - def initialize - self.required_libraries = [] - end - - # parses a manifest file which is a ruby script - # evaluated in a Manifest instance context - def parse(config_file) - open(config_file) do |f| - parse_string(f.read, config_file) - end - end - - def parse_string(contents, filename) - bind = binding - eval(contents, bind, filename) - ATTRIBUTES.each do |prop| - value = eval(prop.to_s, bind) rescue nil - self.send("#{prop}=", value) if value - end - if @added_import_paths - self.additional_import_paths ||= [] - self.additional_import_paths += @added_import_paths - end - issue_deprecation_warnings - end - - def set_all(options) - ATTRIBUTES.each do |a| - self.send("#{a}=", options[a]) if options.has_key?(a) - end - end - - def set_maybe(options) - ATTRIBUTES.each do |a| - self.send("#{a}=", options[a]) if options[a] - end - end - - def default_all(options) - ATTRIBUTES.each do |a| - set_default_unless_set(a, options[a]) - end - end - - def set_default_unless_set(attribute, value) - self.send("#{attribute}=", value) unless self.send(attribute) - end - - def set_defaults! - ATTRIBUTES.each do |a| - set_default_unless_set(a, default_for(a)) - end - end - - def default_for(attribute) - method = "default_#{attribute}".to_sym - self.send(method) if respond_to?(method) - end - - def default_sass_dir - "src" - end - - def default_css_dir - "stylesheets" - end - - def default_images_dir - "images" - end - - def default_http_path - "/" - end - - def comment_for_http_path - "# Set this to the root of your project when deployed:\n" - end - - def relative_assets? - # the http_images_path is deprecated, but here for backwards compatibility. - relative_assets || http_images_path == :relative - end - - def comment_for_relative_assets - unless relative_assets - %q{# To enable relative paths to assets via compass helper functions. Uncomment: -# relative_assets = true -} - else - "" - end - end - - def default_output_style - if environment == :development - :expanded - else - :compact - end - end - - def default_line_comments - environment == :development - end - - def sass_path - if project_path && sass_dir - File.join(project_path, sass_dir) - end - end - - def css_path - if project_path && css_dir - File.join(project_path, css_dir) - end - end - - def root_relative(path) - hp = http_path || default_http_path - hp = hp[0..-2] if hp[-1..-1] == "/" - "#{hp}/#{path}" - end - - def add_import_path(*paths) - # The @added_import_paths variable works around an issue where - # the additional_import_paths gets overwritten during parse - @added_import_paths ||= [] - @added_import_paths += paths - self.additional_import_paths ||= [] - self.additional_import_paths += paths - end - - # When called with a block, defines the asset host url to be used. - # The block must return a string that starts with a protocol (E.g. http). - # The block will be passed the root-relative url of the asset. - # When called without a block, returns the block that was previously set. - def asset_host(&block) - if block_given? - @asset_host = block - else - @asset_host - end - end - - # When called with a block, defines the cache buster strategy to be used. - # The block must return nil or a string that can be appended to a url as a query parameter. - # The returned string must not include the starting '?'. - # The block will be passed the root-relative url of the asset. - # If the block accepts two arguments, it will also be passed a File object - # that points to the asset on disk -- which may or may not exist. - # When called without a block, returns the block that was previously set. - def asset_cache_buster(&block) - if block_given? - @asset_cache_buster = block - else - @asset_cache_buster - end - end - - - def serialize - if asset_cache_buster - raise Compass::Error, "Cannot serialize a configuration with asset_cache_buster set." - end - if asset_host - raise Compass::Error, "Cannot serialize a configuration with asset_host set." - end - contents = "" - required_libraries.each do |lib| - contents << %Q{require '#{lib}'\n} - end - contents << "# Require any additional compass plugins here.\n" - contents << "\n" if required_libraries.any? - ATTRIBUTES.each do |prop| - value = send(prop) - if respond_to?("comment_for_#{prop}") - contents << send("comment_for_#{prop}") - end - if block_given? && (to_emit = yield(prop, value)) - contents << to_emit - else - contents << Configuration.serialize_property(prop, value) unless value.nil? - end - end - contents - end - - def self.serialize_property(prop, value) - %Q(#{prop} = #{value.inspect}\n) - end - - def to_compiler_arguments(additional_options) - [project_path, sass_path, css_path, to_sass_engine_options.merge(additional_options)] - end - - def to_sass_plugin_options - locations = {} - locations[sass_path] = css_path if sass_path && css_path - Compass::Frameworks::ALL.each do |framework| - locations[framework.stylesheets_directory] = css_path || css_dir || "." - end - resolve_additional_import_paths.each do |additional_path| - locations[additional_path] = File.join(css_path || css_dir || ".", File.basename(additional_path)) - end - plugin_opts = {:template_location => locations} - plugin_opts[:style] = output_style if output_style - plugin_opts[:line_comments] = default_line_comments if environment - plugin_opts.merge!(sass_options || {}) - plugin_opts - end - - def resolve_additional_import_paths - (additional_import_paths || []).map do |path| - if project_path && !absolute_path?(path) - File.join(project_path, path) - else - path - end - end - end - - def to_sass_engine_options - engine_opts = {:load_paths => sass_load_paths} - engine_opts[:style] = output_style if output_style - engine_opts[:line_comments] = default_line_comments if environment - engine_opts.merge!(sass_options || {}) - end - - def sass_load_paths - load_paths = [] - load_paths << sass_path if sass_path - Compass::Frameworks::ALL.each do |framework| - load_paths << framework.stylesheets_directory if File.exists?(framework.stylesheets_directory) - end - load_paths += resolve_additional_import_paths - load_paths - end - - # Support for testing. - def reset! - ATTRIBUTES.each do |attr| - send("#{attr}=", nil) - end - @asset_cache_buster = nil - @asset_host = nil - @added_import_paths = nil - self.required_libraries = [] - end - - def issue_deprecation_warnings - if http_images_path == :relative - puts "DEPRECATION WARNING: Please set relative_assets = true to enable relative paths." - end - end - - def require(lib) - required_libraries << lib - super - end - - def absolute_path?(path) - # This is only going to work on unix, gonna need a better implementation. - path.index(File::SEPARATOR) == 0 - end - end - - module ConfigHelpers - def configuration - if block_given? - yield Configuration.instance - end - Configuration.instance - end - - def sass_plugin_configuration - configuration.to_sass_plugin_options - end - - def configure_sass_plugin! - @sass_plugin_configured = true - Sass::Plugin.options.merge!(sass_plugin_configuration) - end - - def sass_plugin_configured? - @sass_plugin_configured - end - - def sass_engine_options - configuration.to_sass_engine_options - end - end - - extend ConfigHelpers - -end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/dependencies.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/dependencies.rb deleted file mode 100644 index 81eed158..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/dependencies.rb +++ /dev/null @@ -1,10 +0,0 @@ -unless defined?(Sass) - require 'rubygems' - begin - gem 'haml-edge', '>= 2.3.0' - $stderr.puts "Loading haml-edge gem." - rescue Exception - #pass - end - require 'sass' -end \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/exec.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/exec.rb deleted file mode 100644 index 9877e629..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/exec.rb +++ /dev/null @@ -1,251 +0,0 @@ -require File.join(Compass.lib_directory, 'compass', 'dependencies') -require 'optparse' -require File.join(Compass.lib_directory, 'compass', 'logger') -require File.join(Compass.lib_directory, 'compass', 'errors') -require File.join(Compass.lib_directory, 'compass', 'actions') - -module Compass - module Exec - - def report_error(e, options) - $stderr.puts "#{e.class} on line #{get_line e} of #{get_file e}: #{e.message}" - if options[:trace] - e.backtrace[1..-1].each { |t| $stderr.puts " #{t}" } - else - $stderr.puts "Run with --trace to see the full backtrace" - end - end - - def get_file(exception) - exception.backtrace[0].split(/:/, 2)[0] - end - - def get_line(exception) - exception.backtrace[0].scan(/:(\d+)/)[0] - end - module_function :report_error, :get_file, :get_line - - class Compass - - attr_accessor :args, :options, :opts - - def initialize(args) - self.args = args - self.options = {} - parse! - end - - def run! - begin - perform! - rescue Exception => e - raise e if e.is_a? SystemExit - if e.is_a?(::Compass::Error) || e.is_a?(OptionParser::ParseError) - $stderr.puts e.message - else - ::Compass::Exec.report_error(e, @options) - end - return 1 - end - return 0 - end - - protected - - def perform! - if options[:command] - do_command(options[:command]) - else - puts self.opts - end - end - - def parse! - self.opts = OptionParser.new(&method(:set_opts)) - self.opts.parse!(self.args) - if self.args.size > 0 - self.options[:project_name] = trim_trailing_separator(self.args.shift) - end - self.options[:command] ||= self.options[:project_name] ? :create_project : :update_project - self.options[:framework] ||= :compass - self.options[:project_type] ||= :stand_alone - end - - def trim_trailing_separator(path) - path[-1..-1] == File::SEPARATOR ? path[0..-2] : path - end - - def set_opts(opts) - opts.banner = <+.', - ' Defaults to 30+10.') do |dimensions| - self.options[:grid_dimensions] = dimensions || "30+10" - unless self.options[:grid_dimensions] =~ /^\d+\+\d+$/ - puts "Please enter your dimensions as +. E.g. 20+5 or 30+10." - exit - end - self.options[:command] = :generate_grid_background - end - - opts.separator '' - opts.separator 'Install/Pattern Options:' - - opts.on('-f FRAMEWORK', '--framework FRAMEWORK', 'Use the specified framework. Only one may be specified.') do |framework| - self.options[:framework] = framework - end - - opts.on('-n', '--pattern-name NAME', 'The name to use when stamping a pattern.', - ' Must be used in combination with -p.') do |name| - self.options[:pattern_name] = name - end - - opts.on('--rails', "Sets the project type to a rails project.") do - self.options[:project_type] = :rails - end - - opts.separator '' - opts.separator 'Configuration Options:' - - opts.on('-c', '--config CONFIG_FILE', 'Specify the location of the configuration file explicitly.') do |configuration_file| - self.options[:configuration_file] = configuration_file - end - - opts.on('--sass-dir SRC_DIR', "The source directory where you keep your sass stylesheets.") do |sass_dir| - self.options[:sass_dir] = sass_dir - end - - opts.on('--css-dir CSS_DIR', "The target directory where you keep your css stylesheets.") do |css_dir| - self.options[:css_dir] = css_dir - end - - opts.on('--images-dir IMAGES_DIR', "The directory where you keep your images.") do |images_dir| - self.options[:images_dir] = images_dir - end - - opts.on('--javascripts-dir JS_DIR', "The directory where you keep your javascripts.") do |javascripts_dir| - self.options[:javascripts_dir] = javascripts_dir - end - - opts.on('-e ENV', '--environment ENV', [:development, :production], 'Use sensible defaults for your current environment.', - ' One of: development, production (default)') do |env| - self.options[:environment] = env - end - - opts.on('-s STYLE', '--output-style STYLE', [:nested, :expanded, :compact, :compressed], 'Select a CSS output mode.', - ' One of: nested, expanded, compact, compressed') do |style| - self.options[:output_style] = style - end - - opts.on('--relative-assets', :NONE, 'Make compass asset helpers generate relative urls to assets.') do - self.options[:relative_assets] = true - end - - opts.separator '' - opts.separator 'General Options:' - - opts.on('-r LIBRARY', '--require LIBRARY', "Require the given ruby LIBRARY before running commands.", - " This is used to access compass plugins without having a", - " project configuration file.") do |library| - ::Compass.configuration.require library - end - - opts.on('-q', '--quiet', :NONE, 'Quiet mode.') do - self.options[:quiet] = true - end - - opts.on('--dry-run', :NONE, 'Dry Run. Tells you what it plans to do.') do - self.options[:dry_run] = true - end - - opts.on('--trace', :NONE, 'Show a full stacktrace on error') do - self.options[:trace] = true - end - - opts.on('--force', :NONE, 'Force. Allows some failing commands to succeed instead.') do - self.options[:force] = true - end - - opts.on('--imports', :NONE, 'Emit an imports suitable for passing to the sass command-line.', - ' Example: sass `compass --imports`', - ' Note: Compass\'s Sass extensions will not be available.') do - print ::Compass::Frameworks::ALL.map{|f| "-I #{f.stylesheets_directory}"}.join(' ') - exit - end - - opts.on('--install-dir', :NONE, 'Emit the location where compass is installed.') do - puts ::Compass.base_directory - exit - end - - opts.on_tail("-?", "-h", "--help", "Show this message") do - puts opts - exit - end - - opts.on_tail("-v", "--version", "Print version") do - self.options[:command] = :print_version - end - - end - - def do_command(command) - command_class_name = command.to_s.split(/_/).map{|p| p.capitalize}.join('') - command_class = eval("::Compass::Commands::#{command_class_name}") - command_class.new(Dir.getwd, options).execute - end - - end - end -end - -Dir.glob(File.join(File.dirname(__FILE__), 'commands', "*.rb")).each do |file| - require file -end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/frameworks.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/frameworks.rb deleted file mode 100644 index e74c4529..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/frameworks.rb +++ /dev/null @@ -1,29 +0,0 @@ -module Compass - module Frameworks - ALL = [] - class Framework - attr_accessor :name - attr_accessor :templates_directory, :stylesheets_directory - def initialize(name, *arguments) - options = arguments.last.is_a?(Hash) ? arguments.pop : {} - path = options[:path] || arguments.shift - @name = name - @templates_directory = options[:templates_directory] || File.join(path, 'templates') - @stylesheets_directory = options[:stylesheets_directory] || File.join(path, 'stylesheets') - end - end - def register(name, *arguments) - ALL << Framework.new(name, *arguments) - end - def [](name) - ALL.detect{|f| f.name.to_s == name.to_s} - end - module_function :register, :[] - end -end - -# Import all of the default frameworks. -default_frameworks_directory = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'frameworks')) -Dir.glob(File.join(default_frameworks_directory, "*.rb")).each do |framework| - require framework -end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers.rb deleted file mode 100644 index a92f1a3f..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers.rb +++ /dev/null @@ -1,5 +0,0 @@ -require File.join(File.dirname(__FILE__), 'installers', 'manifest') -require File.join(File.dirname(__FILE__), 'installers', 'base') -require File.join(File.dirname(__FILE__), 'installers', 'stand_alone') -require File.join(File.dirname(__FILE__), 'installers', 'rails') - diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers/rails.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers/rails.rb deleted file mode 100644 index 9f2a3e36..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers/rails.rb +++ /dev/null @@ -1,135 +0,0 @@ -module Compass - module Installers - - class RailsInstaller < Base - - def configuration_defaults - { - :sass_dir => (sass_dir || prompt_sass_dir), - :css_dir => (css_dir || prompt_css_dir), - :images_dir => default_images_dir, - :javascripts_dir => default_javascripts_dir, - :http_stylesheets_path => default_http_stylesheets_path, - :http_javascripts_path => default_http_javascripts_path, - :http_images_path => default_http_images_path - } - end - - def write_configuration_files(config_file = nil) - config_file ||= targetize('config/compass.config') - write_file config_file, config_contents - write_file targetize('config/initializers/compass.rb'), initializer_contents - end - - def config_files_exist? - File.exists?(targetize('config/compass.config')) && - File.exists?(targetize('config/initializers/compass.rb')) - end - - def prepare - write_configuration_files unless config_files_exist? - end - - def finalize(options = {}) - if options[:create] - puts <<-NEXTSTEPS - -Congratulations! Your rails project has been configured to use Compass. -Sass will automatically compile your stylesheets during the next -page request and keep them up to date when they change. -Make sure you restart your server! -NEXTSTEPS - end - puts "\nNext add these lines to the head of your layouts:\n\n" - puts stylesheet_links - puts "\n(You are using haml, aren't you?)" - end - - def default_images_dir - separate("public/images") - end - - def default_javascripts_dir - separate("public/javascripts") - end - - def default_http_images_path - "/images" - end - - def default_http_javascripts_path - "/javascripts" - end - - def default_http_stylesheets_path - "/stylesheets" - end - - def prompt_sass_dir - recommended_location = separate('app/stylesheets') - default_location = separate('public/stylesheets/sass') - print %Q{Compass recommends that you keep your stylesheets in #{recommended_location} -instead of the Sass default location of #{default_location}. -Is this OK? (Y/n) } - answer = gets.downcase[0] - answer == ?n ? default_location : recommended_location - end - - def prompt_css_dir - recommended_location = separate("public/stylesheets/compiled") - default_location = separate("public/stylesheets") - puts - print %Q{Compass recommends that you keep your compiled css in #{recommended_location}/ -instead the Sass default of #{default_location}/. -However, if you're exclusively using Sass, then #{default_location}/ is recommended. -Emit compiled stylesheets to #{recommended_location}/? (Y/n) } - answer = gets.downcase[0] - answer == ?n ? default_location : recommended_location - end - - def config_contents - Compass.configuration.serialize do |prop, value| - if prop == :project_path - "project_path = RAILS_ROOT if defined?(RAILS_ROOT)\n" - elsif prop == :output_style - "" - end - end - end - - def initializer_contents - %Q{require 'compass' -# If you have any compass plugins, require them here. -Compass.configuration.parse(File.join(RAILS_ROOT, "config", "compass.config")) -Compass.configuration.environment = RAILS_ENV.to_sym -Compass.configure_sass_plugin! -} - end - - def stylesheet_prefix - if css_dir.length >= 19 - "#{css_dir[19..-1]}/" - else - nil - end - end - - def stylesheet_links - html = "%head\n" - manifest.each_stylesheet do |stylesheet| - # Skip partials. - next if File.basename(stylesheet.from)[0..0] == "_" - ss_line = " = stylesheet_link_tag '#{stylesheet_prefix}#{stylesheet.to.sub(/\.sass$/,'.css')}'" - if stylesheet.options[:media] - ss_line += ", :media => '#{stylesheet.options[:media]}'" - end - if stylesheet.options[:condition] - ss_line = " /[if #{stylesheet.options[:condition]}]\n " + ss_line - end - html << ss_line + "\n" - end - html - end - end - end -end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers/stand_alone.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers/stand_alone.rb deleted file mode 100644 index 5ae61d5d..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers/stand_alone.rb +++ /dev/null @@ -1,60 +0,0 @@ -module Compass - module Installers - - class StandAloneInstaller < Base - - def init - directory targetize("") - super - end - - def write_configuration_files(config_file = nil) - config_file ||= targetize('config.rb') - write_file config_file, config_contents - end - - def config_files_exist? - File.exists? targetize('config.rb') - end - - def config_contents - project_path, Compass.configuration.project_path = Compass.configuration.project_path, nil - Compass.configuration.serialize - ensure - Compass.configuration.project_path = project_path - end - - def prepare - write_configuration_files unless config_files_exist? - end - - # We want to rely on the defaults provided by Configuration - def configuration_defaults - {} - end - - def finalize(options = {}) - if options[:create] - puts <<-NEXTSTEPS - -Congratulations! Your compass project has been created. -You must recompile your sass stylesheets when they change. -This can be done in one of the following ways: - 1. From within your project directory run: - compass - 2. From any directory run: - compass -u path/to/project - 3. To monitor your project for changes and automatically recompile: - compass --watch [path/to/project] -NEXTSTEPS - end - puts "\nTo import your new stylesheets add the following lines of HTML (or equivalent) to your webpage:" - puts stylesheet_links - end - - def compilation_required? - true - end - end - end -end diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions.rb deleted file mode 100644 index 986be47f..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions.rb +++ /dev/null @@ -1,5 +0,0 @@ -module Compass::SassExtensions -end - -require File.join(File.dirname(__FILE__), 'sass_extensions', 'functions') -require File.join(File.dirname(__FILE__), 'sass_extensions', 'monkey_patches') diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/monkey_patches.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/monkey_patches.rb deleted file mode 100644 index de54a75c..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/monkey_patches.rb +++ /dev/null @@ -1,3 +0,0 @@ -['stylesheet_updating'].each do |patch| - require File.join(File.dirname(__FILE__), 'monkey_patches', patch) -end \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/sass/typography.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/sass/typography.sass deleted file mode 100644 index 13262468..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/sass/typography.sass +++ /dev/null @@ -1,3 +0,0 @@ -@import blueprint/modules/typography.sass - -+blueprint-typography \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/css/print.css b/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/css/print.css deleted file mode 100644 index 3dceb843..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/css/print.css +++ /dev/null @@ -1,18 +0,0 @@ -.noprint, -.no-print { - display: none; } - -address.print-only, blockquote.print-only, center.print-only, dir.print-only, div.print-only, dd.print-only, dl.print-only, dt.print-only, -fieldset.print-only, form.print-only, frameset.print-only, h1.print-only, h2.print-only, h3.print-only, h4.print-only, h5.print-only, h6.print-only, hr.print-only, -isindex.print-only, li.print-only, menu.print-only, noframes.print-only, noscript.print-only, ol.print-only, p.print-only, pre.print-only, -table.print-only, tbody.print-only, td.print-only, tfoot.print-only, th.print-only, thead.print-only, tr.print-only, ul.print-only { - display: block; } - -a.print-only, abbr.print-only, acronym.print-only, b.print-only, basefont.print-only, bdo.print-only, big.print-only, br.print-only, cite.print-only, -code.print-only, dfn.print-only, em.print-only, font.print-only, i.print-only, img.print-only, input.print-only, kbd.print-only, label.print-only, q.print-only, s.print-only, -samp.print-only, select.print-only, small.print-only, span.print-only, strike.print-only, strong.print-only, sub.print-only, sup.print-only, -textarea.print-only, tt.print-only, u.print-only, var.print-only { - display: inline; } - -.print-only { - display: none; } diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/config.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/config.rb deleted file mode 100644 index 1b3ad842..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/config.rb +++ /dev/null @@ -1,9 +0,0 @@ -# Require any additional compass plugins here. -project_type = :stand_alone -css_dir = "tmp" -sass_dir = "sass" -images_dir = "images" -output_style = :nested -# To enable relative image paths using the images_url() function: -# http_images_path = :relative -http_images_path = "/images" diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/css/mixins.css b/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/css/mixins.css deleted file mode 100644 index 7037c3ef..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/css/mixins.css +++ /dev/null @@ -1,13 +0,0 @@ -.font-size-26px { - font-size: 200%; } - -.font-size-baseline { - font-size: 300%; } - -.em-sizing { - width: 1em; - margin: 9em; } - -.em-sizing-hack { - width: 1em; - *width: 0.975em; } \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/sass/base.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/sass/base.sass deleted file mode 100644 index 8c0bc40b..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/sass/base.sass +++ /dev/null @@ -1,3 +0,0 @@ -@import yui/modules/base.sass - -+yui-base \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/sass/fonts.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/sass/fonts.sass deleted file mode 100644 index a73ec8e9..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/sass/fonts.sass +++ /dev/null @@ -1,3 +0,0 @@ -@import yui/modules/fonts.sass - -+yui-base-fonts \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/sass/grids.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/sass/grids.sass deleted file mode 100644 index e751fae8..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/sass/grids.sass +++ /dev/null @@ -1,3 +0,0 @@ -@import yui/modules/grids.sass - -+yui-grids \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/sass/mixins.sass b/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/sass/mixins.sass deleted file mode 100644 index d0dbea12..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/sass/mixins.sass +++ /dev/null @@ -1,16 +0,0 @@ -@import yui/modules/fonts.sass -@import yui/modules/grids.sass - -.font-size-26px - +font-size(26px) - -.font-size-baseline - +font-size(30px, 10px) - -.em-sizing - +em-size("width", 13px) - +em-size("margin", 99px, 11px) - -.em-sizing-hack - +em-size-hacked("width", 13px) - diff --git a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/rails_integration_test.rb b/lib/middleman/vendor/gems/gems/compass-0.8.17/test/rails_integration_test.rb deleted file mode 100644 index df144c7a..00000000 --- a/lib/middleman/vendor/gems/gems/compass-0.8.17/test/rails_integration_test.rb +++ /dev/null @@ -1,83 +0,0 @@ -require File.join(File.dirname(__FILE__),'test_helper') -require 'fileutils' -require 'compass' -require 'compass/exec' -require 'timeout' - -class RailsIntegrationTest < Test::Unit::TestCase - include Compass::TestCaseHelper - include Compass::CommandLineHelper - - def setup - Compass.configuration.reset! - end - - def test_rails_install - within_tmp_directory do - generate_rails_app_directories("compass_rails") - Dir.chdir "compass_rails" do - compass("--rails", '--trace', ".") do |responder| - responder.respond_to "Is this OK? (Y/n) ", :with => "Y", :required => true - responder.respond_to "Emit compiled stylesheets to public/stylesheets/compiled/? (Y/n) ", :with => "Y", :required => true - end - # puts ">>>#{@last_result}<<<" - assert_action_performed :create, "./app/stylesheets/screen.sass" - assert_action_performed :create, "./config/initializers/compass.rb" - end - end - rescue LoadError - puts "Skipping rails test. Couldn't Load rails" - end - - def test_rails_install_with_no_dialog - within_tmp_directory do - generate_rails_app_directories("compass_rails") - Dir.chdir "compass_rails" do - compass(*%w(--rails --trace --sass-dir app/stylesheets --css-dir public/stylesheets/compiled .)) - assert_action_performed :create, "./app/stylesheets/screen.sass" - assert_action_performed :create, "./config/initializers/compass.rb" - end - end - rescue LoadError - puts "Skipping rails test. Couldn't Load rails" - end - - - def generate_rails_app_directories(name) - Dir.mkdir name - Dir.mkdir File.join(name, "config") - Dir.mkdir File.join(name, "config", "initializers") - end - - # Generate a rails application without polluting our current set of requires - # with the rails libraries. This will allow testing against multiple versions of rails - # by manipulating the load path. - def generate_rails_app(name) - if pid = fork - Process.wait(pid) - if $?.exitstatus == 2 - raise LoadError, "Couldn't load rails" - elsif $?.exitstatus != 0 - raise "Failed to generate rails application." - end - else - begin - require 'rails/version' - require 'rails_generator' - require 'rails_generator/scripts/generate' - Rails::Generator::Base.use_application_sources! - capture_output do - Rails::Generator::Base.logger = Rails::Generator::SimpleLogger.new $stdout - Rails::Generator::Scripts::Generate.new.run([name], :generator => 'app') - end - rescue LoadError - Kernel.exit(2) - rescue => e - $stderr.puts e - Kernel.exit!(1) - end - Kernel.exit!(0) - end - end - -end \ No newline at end of file diff --git a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/.document b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/.document similarity index 100% rename from lib/middleman/vendor/gems/gems/rack-test-0.5.2/.document rename to lib/middleman/vendor/gems/gems/rack-test-0.5.3/.document diff --git a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/.gitignore b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/.gitignore similarity index 100% rename from lib/middleman/vendor/gems/gems/rack-test-0.5.2/.gitignore rename to lib/middleman/vendor/gems/gems/rack-test-0.5.3/.gitignore diff --git a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/History.txt b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/History.txt similarity index 97% rename from lib/middleman/vendor/gems/gems/rack-test-0.5.2/History.txt rename to lib/middleman/vendor/gems/gems/rack-test-0.5.3/History.txt index feb4b94a..60d4d357 100644 --- a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/History.txt +++ b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/History.txt @@ -1,3 +1,9 @@ +== 0.5.3 / 2009-11-27 + +* Bug fixes + + * Fix cookie matching for subdomains (Marcin Kulik) + == 0.5.2 / 2009-11-13 * Bug fixes diff --git a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/MIT-LICENSE.txt b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/MIT-LICENSE.txt similarity index 100% rename from lib/middleman/vendor/gems/gems/rack-test-0.5.2/MIT-LICENSE.txt rename to lib/middleman/vendor/gems/gems/rack-test-0.5.3/MIT-LICENSE.txt diff --git a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/README.rdoc b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/README.rdoc similarity index 100% rename from lib/middleman/vendor/gems/gems/rack-test-0.5.2/README.rdoc rename to lib/middleman/vendor/gems/gems/rack-test-0.5.3/README.rdoc diff --git a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/Rakefile b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/Rakefile similarity index 100% rename from lib/middleman/vendor/gems/gems/rack-test-0.5.2/Rakefile rename to lib/middleman/vendor/gems/gems/rack-test-0.5.3/Rakefile diff --git a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/Thorfile b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/Thorfile similarity index 100% rename from lib/middleman/vendor/gems/gems/rack-test-0.5.2/Thorfile rename to lib/middleman/vendor/gems/gems/rack-test-0.5.3/Thorfile diff --git a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/mock_session.rb b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/lib/rack/mock_session.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/mock_session.rb rename to lib/middleman/vendor/gems/gems/rack-test-0.5.3/lib/rack/mock_session.rb diff --git a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test.rb b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/lib/rack/test.rb similarity index 99% rename from lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test.rb rename to lib/middleman/vendor/gems/gems/rack-test-0.5.3/lib/rack/test.rb index dcc501e2..ad25c6a4 100644 --- a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test.rb +++ b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/lib/rack/test.rb @@ -9,7 +9,7 @@ require "rack/test/uploaded_file" module Rack module Test - VERSION = "0.5.2" + VERSION = "0.5.3" DEFAULT_HOST = "example.org" MULTIPART_BOUNDARY = "----------XnJLe9ZIbbGUYtzPQJ16u1" diff --git a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test/cookie_jar.rb b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/lib/rack/test/cookie_jar.rb similarity index 96% rename from lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test/cookie_jar.rb rename to lib/middleman/vendor/gems/gems/rack-test-0.5.3/lib/rack/test/cookie_jar.rb index b6b87fdc..8f274020 100644 --- a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test/cookie_jar.rb +++ b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/lib/rack/test/cookie_jar.rb @@ -71,8 +71,9 @@ module Rack uri.host = @default_host end + real_domain = domain =~ /^\./ ? domain[1..-1] : domain (!secure? || (secure? && uri.scheme == "https")) && - uri.host =~ Regexp.new("#{Regexp.escape(domain)}$", Regexp::IGNORECASE) && + uri.host =~ Regexp.new("#{Regexp.escape(real_domain)}$", Regexp::IGNORECASE) && uri.path =~ Regexp.new("^#{Regexp.escape(path)}") end diff --git a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test/methods.rb b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/lib/rack/test/methods.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test/methods.rb rename to lib/middleman/vendor/gems/gems/rack-test-0.5.3/lib/rack/test/methods.rb diff --git a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test/mock_digest_request.rb b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/lib/rack/test/mock_digest_request.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test/mock_digest_request.rb rename to lib/middleman/vendor/gems/gems/rack-test-0.5.3/lib/rack/test/mock_digest_request.rb diff --git a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test/uploaded_file.rb b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/lib/rack/test/uploaded_file.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test/uploaded_file.rb rename to lib/middleman/vendor/gems/gems/rack-test-0.5.3/lib/rack/test/uploaded_file.rb diff --git a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test/utils.rb b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/lib/rack/test/utils.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test/utils.rb rename to lib/middleman/vendor/gems/gems/rack-test-0.5.3/lib/rack/test/utils.rb diff --git a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/rack-test.gemspec b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/rack-test.gemspec similarity index 97% rename from lib/middleman/vendor/gems/gems/rack-test-0.5.2/rack-test.gemspec rename to lib/middleman/vendor/gems/gems/rack-test-0.5.3/rack-test.gemspec index e421235f..2588a365 100644 --- a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/rack-test.gemspec +++ b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/rack-test.gemspec @@ -2,11 +2,11 @@ Gem::Specification.new do |s| s.name = %q{rack-test} - s.version = "0.5.2" + s.version = "0.5.3" s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.authors = ["Bryan Helmkamp"] - s.date = %q{2009-11-13} + s.date = %q{2009-11-27} s.description = %q{Rack::Test is a small, simple testing API for Rack apps. It can be used on its own or as a reusable starting point for Web frameworks and testing libraries to build on. Most of its initial functionality is an extraction of Merb 1.0's diff --git a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/fixtures/config.ru b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/spec/fixtures/config.ru similarity index 100% rename from lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/fixtures/config.ru rename to lib/middleman/vendor/gems/gems/rack-test-0.5.3/spec/fixtures/config.ru diff --git a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/fixtures/fake_app.rb b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/spec/fixtures/fake_app.rb similarity index 90% rename from lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/fixtures/fake_app.rb rename to lib/middleman/vendor/gems/gems/rack-test-0.5.3/spec/fixtures/fake_app.rb index c873fe86..cb1041df 100644 --- a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/fixtures/fake_app.rb +++ b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/spec/fixtures/fake_app.rb @@ -81,6 +81,14 @@ module Rack new_value end + get "/cookies/subdomain" do + old_value = request.cookies["count"].to_i || 0 + new_value = (old_value + 1).to_s + + response.set_cookie("count", :value => new_value, :domain => ".example.org") + new_value + end + get "/cookies/set-uppercase" do raise if params["value"].nil? diff --git a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/fixtures/foo.txt b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/spec/fixtures/foo.txt similarity index 100% rename from lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/fixtures/foo.txt rename to lib/middleman/vendor/gems/gems/rack-test-0.5.3/spec/fixtures/foo.txt diff --git a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/rack/test/cookie_spec.rb b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/spec/rack/test/cookie_spec.rb similarity index 94% rename from lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/rack/test/cookie_spec.rb rename to lib/middleman/vendor/gems/gems/rack-test-0.5.3/spec/rack/test/cookie_spec.rb index a0b26a21..998be11c 100644 --- a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/rack/test/cookie_spec.rb +++ b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/spec/rack/test/cookie_spec.rb @@ -133,6 +133,15 @@ describe Rack::Test::Session do last_request.cookies.should == { "value" => "example" } end + it "keeps one cookie jar for domain and its subdomains" do + get "http://example.org/cookies/subdomain" + get "http://example.org/cookies/subdomain" + last_request.cookies.should == { "count" => "1" } + + get "http://foo.example.org/cookies/subdomain" + last_request.cookies.should == { "count" => "2" } + end + it "allows cookies to be cleared" do get "/cookies/set", "value" => "1" clear_cookies diff --git a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/rack/test/digest_auth_spec.rb b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/spec/rack/test/digest_auth_spec.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/rack/test/digest_auth_spec.rb rename to lib/middleman/vendor/gems/gems/rack-test-0.5.3/spec/rack/test/digest_auth_spec.rb diff --git a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/rack/test/multipart_spec.rb b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/spec/rack/test/multipart_spec.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/rack/test/multipart_spec.rb rename to lib/middleman/vendor/gems/gems/rack-test-0.5.3/spec/rack/test/multipart_spec.rb diff --git a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/rack/test/utils_spec.rb b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/spec/rack/test/utils_spec.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/rack/test/utils_spec.rb rename to lib/middleman/vendor/gems/gems/rack-test-0.5.3/spec/rack/test/utils_spec.rb diff --git a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/rack/test_spec.rb b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/spec/rack/test_spec.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/rack/test_spec.rb rename to lib/middleman/vendor/gems/gems/rack-test-0.5.3/spec/rack/test_spec.rb diff --git a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/spec.opts b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/spec/spec.opts similarity index 100% rename from lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/spec.opts rename to lib/middleman/vendor/gems/gems/rack-test-0.5.3/spec/spec.opts diff --git a/lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/spec_helper.rb b/lib/middleman/vendor/gems/gems/rack-test-0.5.3/spec/spec_helper.rb similarity index 100% rename from lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/spec_helper.rb rename to lib/middleman/vendor/gems/gems/rack-test-0.5.3/spec/spec_helper.rb diff --git a/lib/middleman/vendor/gems/specifications/compass-0.10.0.pre1.gemspec b/lib/middleman/vendor/gems/specifications/compass-0.10.0.pre1.gemspec new file mode 100644 index 00000000..d76acfc2 --- /dev/null +++ b/lib/middleman/vendor/gems/specifications/compass-0.10.0.pre1.gemspec @@ -0,0 +1,36 @@ +# -*- encoding: utf-8 -*- + +Gem::Specification.new do |s| + s.name = %q{compass} + s.version = "0.10.0.pre1" + + s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version= + s.authors = ["Chris Eppstein"] + s.date = %q{2009-11-29} + s.default_executable = %q{compass} + s.description = %q{Compass is a Sass-based Stylesheet Framework that streamlines the creation and maintainance of CSS.} + s.email = %q{chris@eppsteins.net} + s.executables = ["compass"] + s.extra_rdoc_files = ["LICENSE.markdown", "README.markdown"] + s.files = ["CHANGELOG.markdown", "LICENSE.markdown", "README.markdown", "REVISION", "Rakefile", "VERSION.yml", "bin/compass", "deps.rip", "examples/README.markdown", "examples/blueprint_default/config.rb", "examples/blueprint_default/images/grid.png", "examples/blueprint_default/index.html.haml", "examples/blueprint_default/parts/elements.html.haml", "examples/blueprint_default/parts/forms.html.haml", "examples/blueprint_default/parts/grid.html.haml", "examples/blueprint_default/parts/test-small.jpg", "examples/blueprint_default/parts/test.jpg", "examples/blueprint_default/parts/valid.png", "examples/blueprint_default/src/ie.sass", "examples/blueprint_default/src/images/grid.png", "examples/blueprint_default/src/print.sass", "examples/blueprint_default/src/screen.sass", "examples/blueprint_plugins/config.rb", "examples/blueprint_plugins/images/buttons/cross.png", "examples/blueprint_plugins/images/buttons/key.png", "examples/blueprint_plugins/images/buttons/tick.png", "examples/blueprint_plugins/images/grid.png", "examples/blueprint_plugins/images/link_icons/doc.png", "examples/blueprint_plugins/images/link_icons/email.png", "examples/blueprint_plugins/images/link_icons/external.png", "examples/blueprint_plugins/images/link_icons/feed.png", "examples/blueprint_plugins/images/link_icons/im.png", "examples/blueprint_plugins/images/link_icons/pdf.png", "examples/blueprint_plugins/images/link_icons/visited.png", "examples/blueprint_plugins/images/link_icons/xls.png", "examples/blueprint_plugins/images/test-small.jpg", "examples/blueprint_plugins/images/test.jpg", "examples/blueprint_plugins/images/valid.png", "examples/blueprint_plugins/index.html.haml", "examples/blueprint_plugins/plugins/buttons.html.haml", "examples/blueprint_plugins/plugins/fancy_type.html.haml", "examples/blueprint_plugins/plugins/link_icons.html.haml", "examples/blueprint_plugins/plugins/rtl.html.haml", "examples/blueprint_plugins/src/buttons.sass", "examples/blueprint_plugins/src/ie.sass", "examples/blueprint_plugins/src/images/grid.png", "examples/blueprint_plugins/src/link_icons.sass", "examples/blueprint_plugins/src/print.sass", "examples/blueprint_plugins/src/rtl_screen.sass", "examples/blueprint_plugins/src/screen.sass", "examples/blueprint_scoped/images/grid.png", "examples/blueprint_scoped/src/ie.sass", "examples/blueprint_scoped/src/print.sass", "examples/blueprint_scoped/src/screen.sass", "examples/blueprint_scoped_form/images/grid.png", "examples/blueprint_scoped_form/src/ie.sass", "examples/blueprint_scoped_form/src/print.sass", "examples/blueprint_scoped_form/src/screen.sass", "examples/blueprint_semantic/config.rb", "examples/blueprint_semantic/images/grid.png", "examples/blueprint_semantic/index.html.haml", "examples/blueprint_semantic/parts/fancy_type.html.haml", "examples/blueprint_semantic/parts/liquid.html.haml", "examples/blueprint_semantic/parts/test-small.jpg", "examples/blueprint_semantic/parts/test.jpg", "examples/blueprint_semantic/parts/valid.png", "examples/blueprint_semantic/src/ie.sass", "examples/blueprint_semantic/src/images/grid.png", "examples/blueprint_semantic/src/liquid.sass", "examples/blueprint_semantic/src/print.sass", "examples/blueprint_semantic/src/screen.sass", "examples/compass/bootstrap.rb", "examples/compass/compass.html.haml", "examples/compass/config.rb", "examples/compass/extensions/yui/stylesheets/_yui.sass", "examples/compass/extensions/yui/stylesheets/yui/modules/_base.sass", "examples/compass/extensions/yui/stylesheets/yui/modules/_fonts.sass", "examples/compass/extensions/yui/stylesheets/yui/modules/_grids.sass", "examples/compass/extensions/yui/stylesheets/yui/modules/_reset.sass", "examples/compass/extensions/yui/templates/project/manifest.rb", "examples/compass/extensions/yui/templates/project/screen.sass", "examples/compass/images/blue_arrow.gif", "examples/compass/src/compass.sass", "examples/compass/src/images/blue_arrow.gif", "examples/compass/src/sticky_footer.sass", "examples/compass/src/utilities.sass", "examples/compass/sticky_footer.html.haml", "examples/compass/utilities.html.haml", "examples/css3/config.rb", "examples/css3/extensions/fancy-fonts/templates/project/Vtks Revolt.ttf", "examples/css3/extensions/fancy-fonts/templates/project/angelina.ttf", "examples/css3/extensions/fancy-fonts/templates/project/fancy-fonts.sass", "examples/css3/extensions/fancy-fonts/templates/project/manifest.rb", "examples/css3/images/fresh-peas.jpg", "examples/css3/index.html.haml", "examples/css3/src/_base.sass", "examples/css3/src/fancy-fonts.sass", "examples/css3/src/gradient.sass", "examples/css3/src/main.sass", "examples/css3/stylesheets/fonts/Vtks Revolt.ttf", "examples/css3/stylesheets/fonts/angelina.ttf", "examples/downloader.rb", "examples/logo/logo.html.haml", "examples/logo/src/ie.sass", "examples/logo/src/print.sass", "examples/logo/src/screen.sass", "examples/ninesixty/bootstrap.rb", "examples/ninesixty/config.rb", "examples/ninesixty/extensions/ninesixty/README.mkdn", "examples/ninesixty/extensions/ninesixty/compass-960-plugin.gemspec", "examples/ninesixty/extensions/ninesixty/lib/ninesixty.rb", "examples/ninesixty/extensions/ninesixty/lib/ninesixty/compass_plugin.rb", "examples/ninesixty/extensions/ninesixty/sass/960/_grid.sass", "examples/ninesixty/extensions/ninesixty/sass/960/_text.sass", "examples/ninesixty/extensions/ninesixty/templates/project/grid.sass", "examples/ninesixty/extensions/ninesixty/templates/project/manifest.rb", "examples/ninesixty/extensions/ninesixty/templates/project/text.sass", "examples/ninesixty/src/grid.sass", "examples/ninesixty/src/text.sass", "examples/susy/bootstrap.rb", "examples/susy/config.rb", "examples/susy/extensions/susy/LICENSE.txt", "examples/susy/extensions/susy/README.mkdn", "examples/susy/extensions/susy/compass-susy-plugin.gemspec", "examples/susy/extensions/susy/docs/tutorial/build.sh", "examples/susy/extensions/susy/docs/tutorial/code/01_target/src/_defaults.sass", "examples/susy/extensions/susy/docs/tutorial/code/01_target/src/screen.sass", "examples/susy/extensions/susy/docs/tutorial/code/02_container/src/_defaults.sass", "examples/susy/extensions/susy/docs/tutorial/code/02_container/src/screen.sass", "examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/_defaults.sass", "examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/screen.sass", "examples/susy/extensions/susy/docs/tutorial/code/_common/config.rb", "examples/susy/extensions/susy/docs/tutorial/code/_common/images/grid.png", "examples/susy/extensions/susy/docs/tutorial/code/_common/images/susy_logo.png", "examples/susy/extensions/susy/docs/tutorial/code/_common/src/_base.sass", "examples/susy/extensions/susy/docs/tutorial/code/_tools/Markdown.pl", "examples/susy/extensions/susy/docs/tutorial/code/site/src/_defaults.sass", "examples/susy/extensions/susy/docs/tutorial/code/site/src/screen.sass", "examples/susy/extensions/susy/docs/tutorial/figures/susy_element.png", "examples/susy/extensions/susy/docs/tutorial/figures/susy_grid.png", "examples/susy/extensions/susy/docs/tutorial/index.mkdn", "examples/susy/extensions/susy/lib/susy.rb", "examples/susy/extensions/susy/lib/susy/compass_plugin.rb", "examples/susy/extensions/susy/lib/susy/sass_extensions.rb", "examples/susy/extensions/susy/sass/susy/_grid.sass", "examples/susy/extensions/susy/sass/susy/_reset.sass", "examples/susy/extensions/susy/sass/susy/_susy.sass", "examples/susy/extensions/susy/sass/susy/_text.sass", "examples/susy/extensions/susy/sass/susy/_utils.sass", "examples/susy/extensions/susy/templates/project/_base.sass", "examples/susy/extensions/susy/templates/project/_defaults.sass", "examples/susy/extensions/susy/templates/project/ie.sass", "examples/susy/extensions/susy/templates/project/manifest.rb", "examples/susy/extensions/susy/templates/project/print.sass", "examples/susy/extensions/susy/templates/project/screen.sass", "examples/susy/src/_base.sass", "examples/susy/src/_defaults.sass", "examples/susy/src/screen.sass", "examples/yui/bootstrap.rb", "examples/yui/divisions.html.haml", "examples/yui/extensions/yui/stylesheets/_yui.sass", "examples/yui/extensions/yui/stylesheets/yui/modules/_base.sass", "examples/yui/extensions/yui/stylesheets/yui/modules/_fonts.sass", "examples/yui/extensions/yui/stylesheets/yui/modules/_grids.sass", "examples/yui/extensions/yui/stylesheets/yui/modules/_reset.sass", "examples/yui/extensions/yui/templates/project/manifest.rb", "examples/yui/extensions/yui/templates/project/screen.sass", "examples/yui/index.html.haml", "examples/yui/src/screen.sass", "examples/yui/sub_divisions.html.haml", "examples/yui/templates.html.haml", "examples/yui/test.jpg", "examples/yui/typography.html.haml", "lib/compass.rb", "lib/compass/actions.rb", "lib/compass/app_integration.rb", "lib/compass/app_integration/merb.rb", "lib/compass/app_integration/merb/runtime.rb", "lib/compass/app_integration/rails.rb", "lib/compass/app_integration/rails/action_controller.rb", "lib/compass/app_integration/rails/configuration_defaults.rb", "lib/compass/app_integration/rails/installer.rb", "lib/compass/app_integration/rails/runtime.rb", "lib/compass/app_integration/rails/sass_plugin.rb", "lib/compass/app_integration/rails/templates/compass-install-rails.rb", "lib/compass/app_integration/rails/urls.rb", "lib/compass/app_integration/stand_alone.rb", "lib/compass/app_integration/stand_alone/configuration_defaults.rb", "lib/compass/app_integration/stand_alone/installer.rb", "lib/compass/commands.rb", "lib/compass/commands/base.rb", "lib/compass/commands/create_project.rb", "lib/compass/commands/generate_grid_background.rb", "lib/compass/commands/help.rb", "lib/compass/commands/installer_command.rb", "lib/compass/commands/interactive.rb", "lib/compass/commands/list_frameworks.rb", "lib/compass/commands/print_version.rb", "lib/compass/commands/project_base.rb", "lib/compass/commands/project_stats.rb", "lib/compass/commands/registry.rb", "lib/compass/commands/stamp_pattern.rb", "lib/compass/commands/update_project.rb", "lib/compass/commands/validate_project.rb", "lib/compass/commands/watch_project.rb", "lib/compass/commands/write_configuration.rb", "lib/compass/compiler.rb", "lib/compass/configuration.rb", "lib/compass/configuration/adapters.rb", "lib/compass/configuration/comments.rb", "lib/compass/configuration/data.rb", "lib/compass/configuration/defaults.rb", "lib/compass/configuration/helpers.rb", "lib/compass/configuration/inheritance.rb", "lib/compass/configuration/serialization.rb", "lib/compass/core_ext.rb", "lib/compass/dependencies.rb", "lib/compass/errors.rb", "lib/compass/exec.rb", "lib/compass/exec/command_option_parser.rb", "lib/compass/exec/global_options_parser.rb", "lib/compass/exec/helpers.rb", "lib/compass/exec/project_options_parser.rb", "lib/compass/exec/sub_command_ui.rb", "lib/compass/exec/switch_ui.rb", "lib/compass/frameworks.rb", "lib/compass/frameworks/blueprint/stylesheets/_blueprint.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/_buttons.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/_colors.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/_debug.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/_fancy_type.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/_form.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/_grid.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/_ie.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/_interaction.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/_link_icons.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/_liquid.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/_print.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/_reset.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/_rtl.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/_scaffolding.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/_screen.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/_typography.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/_utilities.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass", "lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass", "lib/compass/frameworks/blueprint/templates/buttons/buttons.sass", "lib/compass/frameworks/blueprint/templates/buttons/buttons/cross.png", "lib/compass/frameworks/blueprint/templates/buttons/buttons/key.png", "lib/compass/frameworks/blueprint/templates/buttons/buttons/tick.png", "lib/compass/frameworks/blueprint/templates/buttons/manifest.rb", "lib/compass/frameworks/blueprint/templates/link_icons/link_icons.sass", "lib/compass/frameworks/blueprint/templates/link_icons/link_icons/doc.png", "lib/compass/frameworks/blueprint/templates/link_icons/link_icons/email.png", "lib/compass/frameworks/blueprint/templates/link_icons/link_icons/external.png", "lib/compass/frameworks/blueprint/templates/link_icons/link_icons/feed.png", "lib/compass/frameworks/blueprint/templates/link_icons/link_icons/im.png", "lib/compass/frameworks/blueprint/templates/link_icons/link_icons/pdf.png", "lib/compass/frameworks/blueprint/templates/link_icons/link_icons/visited.png", "lib/compass/frameworks/blueprint/templates/link_icons/link_icons/xls.png", "lib/compass/frameworks/blueprint/templates/link_icons/manifest.rb", "lib/compass/frameworks/blueprint/templates/project/grid.png", "lib/compass/frameworks/blueprint/templates/project/ie.sass", "lib/compass/frameworks/blueprint/templates/project/manifest.rb", "lib/compass/frameworks/blueprint/templates/project/partials/_base.sass", "lib/compass/frameworks/blueprint/templates/project/print.sass", "lib/compass/frameworks/blueprint/templates/project/screen.sass", "lib/compass/frameworks/blueprint/templates/project/welcome.html.haml", "lib/compass/frameworks/compass/stylesheets/_compass.sass", "lib/compass/frameworks/compass/stylesheets/compass/_css3.sass", "lib/compass/frameworks/compass/stylesheets/compass/_layout.sass", "lib/compass/frameworks/compass/stylesheets/compass/_misc.sass", "lib/compass/frameworks/compass/stylesheets/compass/_reset.sass", "lib/compass/frameworks/compass/stylesheets/compass/_utilities.sass", "lib/compass/frameworks/compass/stylesheets/compass/css3/_background_clip.sass", "lib/compass/frameworks/compass/stylesheets/compass/css3/_background_origin.sass", "lib/compass/frameworks/compass/stylesheets/compass/css3/_background_size.sass", "lib/compass/frameworks/compass/stylesheets/compass/css3/_border_radius.sass", "lib/compass/frameworks/compass/stylesheets/compass/css3/_box_shadow.sass", "lib/compass/frameworks/compass/stylesheets/compass/css3/_box_sizing.sass", "lib/compass/frameworks/compass/stylesheets/compass/css3/_columns.sass", "lib/compass/frameworks/compass/stylesheets/compass/css3/_font_face.sass", "lib/compass/frameworks/compass/stylesheets/compass/css3/_gradient.sass", "lib/compass/frameworks/compass/stylesheets/compass/css3/_inline_block.sass", "lib/compass/frameworks/compass/stylesheets/compass/css3/_opacity.sass", "lib/compass/frameworks/compass/stylesheets/compass/css3/_text_shadow.sass", "lib/compass/frameworks/compass/stylesheets/compass/css3/_transform.sass", "lib/compass/frameworks/compass/stylesheets/compass/css3/_transition.sass", "lib/compass/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass", "lib/compass/frameworks/compass/stylesheets/compass/utilities/_general.sass", "lib/compass/frameworks/compass/stylesheets/compass/utilities/_links.sass", "lib/compass/frameworks/compass/stylesheets/compass/utilities/_lists.sass", "lib/compass/frameworks/compass/stylesheets/compass/utilities/_print.sass", "lib/compass/frameworks/compass/stylesheets/compass/utilities/_sprites.sass", "lib/compass/frameworks/compass/stylesheets/compass/utilities/_tables.sass", "lib/compass/frameworks/compass/stylesheets/compass/utilities/_text.sass", "lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass", "lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_float.sass", "lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass", "lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass", "lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass", "lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass", "lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass", "lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass", "lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass", "lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass", "lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass", "lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass", "lib/compass/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass", "lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass", "lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass", "lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass", "lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_ellipsis.sass", "lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass", "lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass", "lib/compass/frameworks/compass/templates/ellipsis/ellipsis.sass", "lib/compass/frameworks/compass/templates/ellipsis/manifest.rb", "lib/compass/frameworks/compass/templates/ellipsis/xml/ellipsis.xml", "lib/compass/frameworks/compass/templates/extension/manifest.rb", "lib/compass/frameworks/compass/templates/extension/stylesheets/main.sass", "lib/compass/frameworks/compass/templates/extension/templates/project/manifest.rb", "lib/compass/frameworks/compass/templates/extension/templates/project/screen.sass", "lib/compass/frameworks/compass/templates/project/USAGE.markdown", "lib/compass/frameworks/compass/templates/project/ie.sass", "lib/compass/frameworks/compass/templates/project/manifest.rb", "lib/compass/frameworks/compass/templates/project/print.sass", "lib/compass/frameworks/compass/templates/project/screen.sass", "lib/compass/grid_builder.rb", "lib/compass/installers.rb", "lib/compass/installers/bare_installer.rb", "lib/compass/installers/base.rb", "lib/compass/installers/manifest.rb", "lib/compass/installers/manifest_installer.rb", "lib/compass/installers/template_context.rb", "lib/compass/logger.rb", "lib/compass/sass_extensions.rb", "lib/compass/sass_extensions/functions.rb", "lib/compass/sass_extensions/functions/color_stop.rb", "lib/compass/sass_extensions/functions/display.rb", "lib/compass/sass_extensions/functions/enumerate.rb", "lib/compass/sass_extensions/functions/font_files.rb", "lib/compass/sass_extensions/functions/inline_image.rb", "lib/compass/sass_extensions/functions/selectors.rb", "lib/compass/sass_extensions/functions/urls.rb", "lib/compass/sass_extensions/monkey_patches.rb", "lib/compass/sass_extensions/monkey_patches/stylesheet_updating.rb", "lib/compass/sass_extensions/monkey_patches/traversal.rb", "lib/compass/stats.rb", "lib/compass/test_case.rb", "lib/compass/validator.rb", "lib/compass/version.rb", "lib/vendor/fssm.rb", "lib/vendor/fssm/backends/fsevents.rb", "lib/vendor/fssm/backends/polling.rb", "lib/vendor/fssm/cache.rb", "lib/vendor/fssm/ext.rb", "lib/vendor/fssm/fsevents.rb", "lib/vendor/fssm/monitor.rb", "lib/vendor/fssm/path.rb", "lib/vendor/fssm/state.rb", "lib/vendor/fssm/support.rb", "lib/vendor/fssm/tree.rb", "test/command_line_helper.rb", "test/command_line_test.rb", "test/compass_test.rb", "test/configuration_test.rb", "test/fixtures/stylesheets/blueprint/config.rb", "test/fixtures/stylesheets/blueprint/css/typography.css", "test/fixtures/stylesheets/blueprint/images/grid.png", "test/fixtures/stylesheets/blueprint/sass/ie.sass", "test/fixtures/stylesheets/blueprint/sass/print.sass", "test/fixtures/stylesheets/blueprint/sass/screen.sass", "test/fixtures/stylesheets/blueprint/sass/typography.sass", "test/fixtures/stylesheets/compass/config.rb", "test/fixtures/stylesheets/compass/css/layout.css", "test/fixtures/stylesheets/compass/css/print.css", "test/fixtures/stylesheets/compass/css/reset.css", "test/fixtures/stylesheets/compass/css/utilities.css", "test/fixtures/stylesheets/compass/sass/layout.sass", "test/fixtures/stylesheets/compass/sass/print.sass", "test/fixtures/stylesheets/compass/sass/reset.sass", "test/fixtures/stylesheets/compass/sass/utilities.sass", "test/fixtures/stylesheets/image_urls/config.rb", "test/fixtures/stylesheets/image_urls/css/screen.css", "test/fixtures/stylesheets/image_urls/images/grid.png", "test/fixtures/stylesheets/image_urls/sass/screen.sass", "test/fixtures/stylesheets/relative/assets/images/testing.png", "test/fixtures/stylesheets/relative/config.rb", "test/fixtures/stylesheets/relative/css/ie.css", "test/fixtures/stylesheets/relative/css/print.css", "test/fixtures/stylesheets/relative/css/screen.css", "test/fixtures/stylesheets/relative/sass/ie.sass", "test/fixtures/stylesheets/relative/sass/print.sass", "test/fixtures/stylesheets/relative/sass/screen.sass", "test/io_helper.rb", "test/rails_helper.rb", "test/rails_integration_test.rb", "test/sass_extensions_test.rb", "test/test_case_helper.rb", "test/test_helper.rb", "test/test_rails_helper.rb", "features/command_line.feature", "features/extensions.feature", "features/step_definitions/command_line_steps.rb", "features/step_definitions/extension_steps.rb"] + s.homepage = %q{http://compass-style.org} + s.rdoc_options = ["--charset=UTF-8"] + s.require_paths = ["lib"] + s.rubyforge_project = %q{compass} + s.rubygems_version = %q{1.3.5} + s.summary = %q{A Real Stylesheet Framework} + s.test_files = ["test/command_line_helper.rb", "test/command_line_test.rb", "test/compass_test.rb", "test/configuration_test.rb", "test/fixtures/stylesheets/blueprint/config.rb", "test/fixtures/stylesheets/blueprint/css/typography.css", "test/fixtures/stylesheets/blueprint/images/grid.png", "test/fixtures/stylesheets/blueprint/sass/ie.sass", "test/fixtures/stylesheets/blueprint/sass/print.sass", "test/fixtures/stylesheets/blueprint/sass/screen.sass", "test/fixtures/stylesheets/blueprint/sass/typography.sass", "test/fixtures/stylesheets/compass/config.rb", "test/fixtures/stylesheets/compass/css/layout.css", "test/fixtures/stylesheets/compass/css/print.css", "test/fixtures/stylesheets/compass/css/reset.css", "test/fixtures/stylesheets/compass/css/utilities.css", "test/fixtures/stylesheets/compass/sass/layout.sass", "test/fixtures/stylesheets/compass/sass/print.sass", "test/fixtures/stylesheets/compass/sass/reset.sass", "test/fixtures/stylesheets/compass/sass/utilities.sass", "test/fixtures/stylesheets/image_urls/config.rb", "test/fixtures/stylesheets/image_urls/css/screen.css", "test/fixtures/stylesheets/image_urls/images/grid.png", "test/fixtures/stylesheets/image_urls/sass/screen.sass", "test/fixtures/stylesheets/relative/assets/images/testing.png", "test/fixtures/stylesheets/relative/config.rb", "test/fixtures/stylesheets/relative/css/ie.css", "test/fixtures/stylesheets/relative/css/print.css", "test/fixtures/stylesheets/relative/css/screen.css", "test/fixtures/stylesheets/relative/sass/ie.sass", "test/fixtures/stylesheets/relative/sass/print.sass", "test/fixtures/stylesheets/relative/sass/screen.sass", "test/io_helper.rb", "test/rails_helper.rb", "test/rails_integration_test.rb", "test/sass_extensions_test.rb", "test/test_case_helper.rb", "test/test_helper.rb", "test/test_rails_helper.rb", "features/command_line.feature", "features/extensions.feature", "features/step_definitions/command_line_steps.rb", "features/step_definitions/extension_steps.rb"] + + if s.respond_to? :specification_version then + current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION + s.specification_version = 3 + + if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then + s.add_runtime_dependency(%q, [">= 2.2.14"]) + else + s.add_dependency(%q, [">= 2.2.14"]) + end + else + s.add_dependency(%q, [">= 2.2.14"]) + end +end diff --git a/lib/middleman/vendor/gems/specifications/compass-0.8.17.gemspec b/lib/middleman/vendor/gems/specifications/compass-0.8.17.gemspec deleted file mode 100644 index 09b7fd42..00000000 --- a/lib/middleman/vendor/gems/specifications/compass-0.8.17.gemspec +++ /dev/null @@ -1,36 +0,0 @@ -# -*- encoding: utf-8 -*- - -Gem::Specification.new do |s| - s.name = %q{compass} - s.version = "0.8.17" - - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Chris Eppstein"] - s.date = %q{2009-09-24} - s.default_executable = %q{compass} - s.description = %q{Compass is a Sass-based Stylesheet Framework that streamlines the creation and maintainance of CSS.} - s.email = %q{chris@eppsteins.net} - s.executables = ["compass"] - s.extra_rdoc_files = ["LICENSE.markdown", "README.markdown"] - s.files = ["CHANGELOG.markdown", "LICENSE.markdown", "README.markdown", "REVISION", "Rakefile", "VERSION.yml", "bin/compass", "deps.rip", "examples/README.markdown", "examples/blueprint_default/config.rb", "examples/blueprint_default/images/grid.png", "examples/blueprint_default/index.html.haml", "examples/blueprint_default/parts/elements.html.haml", "examples/blueprint_default/parts/forms.html.haml", "examples/blueprint_default/parts/grid.html.haml", "examples/blueprint_default/parts/test-small.jpg", "examples/blueprint_default/parts/test.jpg", "examples/blueprint_default/parts/valid.png", "examples/blueprint_default/src/ie.sass", "examples/blueprint_default/src/images/grid.png", "examples/blueprint_default/src/print.sass", "examples/blueprint_default/src/screen.sass", "examples/blueprint_plugins/config.rb", "examples/blueprint_plugins/images/buttons/cross.png", "examples/blueprint_plugins/images/buttons/key.png", "examples/blueprint_plugins/images/buttons/tick.png", "examples/blueprint_plugins/images/grid.png", "examples/blueprint_plugins/images/link_icons/doc.png", "examples/blueprint_plugins/images/link_icons/email.png", "examples/blueprint_plugins/images/link_icons/external.png", "examples/blueprint_plugins/images/link_icons/feed.png", "examples/blueprint_plugins/images/link_icons/im.png", "examples/blueprint_plugins/images/link_icons/pdf.png", "examples/blueprint_plugins/images/link_icons/visited.png", "examples/blueprint_plugins/images/link_icons/xls.png", "examples/blueprint_plugins/images/test-small.jpg", "examples/blueprint_plugins/images/test.jpg", "examples/blueprint_plugins/images/valid.png", "examples/blueprint_plugins/index.html.haml", "examples/blueprint_plugins/plugins/buttons.html.haml", "examples/blueprint_plugins/plugins/fancy_type.html.haml", "examples/blueprint_plugins/plugins/link_icons.html.haml", "examples/blueprint_plugins/plugins/rtl.html.haml", "examples/blueprint_plugins/src/buttons.sass", "examples/blueprint_plugins/src/ie.sass", "examples/blueprint_plugins/src/images/grid.png", "examples/blueprint_plugins/src/link_icons.sass", "examples/blueprint_plugins/src/print.sass", "examples/blueprint_plugins/src/rtl_screen.sass", "examples/blueprint_plugins/src/screen.sass", "examples/blueprint_scoped/images/grid.png", "examples/blueprint_scoped/src/ie.sass", "examples/blueprint_scoped/src/print.sass", "examples/blueprint_scoped/src/screen.sass", "examples/blueprint_scoped_form/images/grid.png", "examples/blueprint_scoped_form/src/ie.sass", "examples/blueprint_scoped_form/src/print.sass", "examples/blueprint_scoped_form/src/screen.sass", "examples/blueprint_semantic/config.rb", "examples/blueprint_semantic/images/grid.png", "examples/blueprint_semantic/index.html.haml", "examples/blueprint_semantic/parts/fancy_type.html.haml", "examples/blueprint_semantic/parts/liquid.html.haml", "examples/blueprint_semantic/parts/test-small.jpg", "examples/blueprint_semantic/parts/test.jpg", "examples/blueprint_semantic/parts/valid.png", "examples/blueprint_semantic/src/ie.sass", "examples/blueprint_semantic/src/images/grid.png", "examples/blueprint_semantic/src/liquid.sass", "examples/blueprint_semantic/src/print.sass", "examples/blueprint_semantic/src/screen.sass", "examples/compass/compass.html.haml", "examples/compass/config.rb", "examples/compass/images/blue_arrow.gif", "examples/compass/src/compass.sass", "examples/compass/src/images/blue_arrow.gif", "examples/compass/src/sticky_footer.sass", "examples/compass/src/utilities.sass", "examples/compass/sticky_footer.html.haml", "examples/compass/utilities.html.haml", "examples/logo/logo.html.haml", "examples/logo/src/ie.sass", "examples/logo/src/print.sass", "examples/logo/src/screen.sass", "examples/yui/divisions.html.haml", "examples/yui/index.html.haml", "examples/yui/src/screen.sass", "examples/yui/sub_divisions.html.haml", "examples/yui/templates.html.haml", "examples/yui/test.jpg", "examples/yui/typography.html.haml", "frameworks/blueprint.rb", "frameworks/blueprint/stylesheets/_blueprint.sass", "frameworks/blueprint/stylesheets/blueprint/_ie.sass", "frameworks/blueprint/stylesheets/blueprint/_print.sass", "frameworks/blueprint/stylesheets/blueprint/_reset.sass", "frameworks/blueprint/stylesheets/blueprint/_screen.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_form.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass", "frameworks/blueprint/templates/buttons/buttons.sass", "frameworks/blueprint/templates/buttons/buttons/cross.png", "frameworks/blueprint/templates/buttons/buttons/key.png", "frameworks/blueprint/templates/buttons/buttons/tick.png", "frameworks/blueprint/templates/buttons/manifest.rb", "frameworks/blueprint/templates/link_icons/link_icons.sass", "frameworks/blueprint/templates/link_icons/link_icons/doc.png", "frameworks/blueprint/templates/link_icons/link_icons/email.png", "frameworks/blueprint/templates/link_icons/link_icons/external.png", "frameworks/blueprint/templates/link_icons/link_icons/feed.png", "frameworks/blueprint/templates/link_icons/link_icons/im.png", "frameworks/blueprint/templates/link_icons/link_icons/pdf.png", "frameworks/blueprint/templates/link_icons/link_icons/visited.png", "frameworks/blueprint/templates/link_icons/link_icons/xls.png", "frameworks/blueprint/templates/link_icons/manifest.rb", "frameworks/blueprint/templates/project/grid.png", "frameworks/blueprint/templates/project/ie.sass", "frameworks/blueprint/templates/project/manifest.rb", "frameworks/blueprint/templates/project/partials/_base.sass", "frameworks/blueprint/templates/project/print.sass", "frameworks/blueprint/templates/project/screen.sass", "frameworks/compass.rb", "frameworks/compass/stylesheets/_compass.sass", "frameworks/compass/stylesheets/compass/_layout.sass", "frameworks/compass/stylesheets/compass/_misc.sass", "frameworks/compass/stylesheets/compass/_reset.sass", "frameworks/compass/stylesheets/compass/_utilities.sass", "frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass", "frameworks/compass/stylesheets/compass/utilities/_general.sass", "frameworks/compass/stylesheets/compass/utilities/_links.sass", "frameworks/compass/stylesheets/compass/utilities/_lists.sass", "frameworks/compass/stylesheets/compass/utilities/_print.sass", "frameworks/compass/stylesheets/compass/utilities/_sprites.sass", "frameworks/compass/stylesheets/compass/utilities/_tables.sass", "frameworks/compass/stylesheets/compass/utilities/_text.sass", "frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass", "frameworks/compass/stylesheets/compass/utilities/general/_float.sass", "frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass", "frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass", "frameworks/compass/stylesheets/compass/utilities/general/_reset.sass", "frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass", "frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass", "frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass", "frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass", "frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass", "frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass", "frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass", "frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass", "frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass", "frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass", "frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass", "frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass", "frameworks/compass/stylesheets/compass/utilities/text/_ellipsis.sass", "frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass", "frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass", "frameworks/compass/templates/ellipsis/ellipsis.sass", "frameworks/compass/templates/ellipsis/manifest.rb", "frameworks/compass/templates/ellipsis/xml/ellipsis.xml", "frameworks/compass/templates/project/ie.sass", "frameworks/compass/templates/project/manifest.rb", "frameworks/compass/templates/project/print.sass", "frameworks/compass/templates/project/screen.sass", "frameworks/yui.rb", "frameworks/yui/stylesheets/_yui.sass", "frameworks/yui/stylesheets/yui/modules/_base.sass", "frameworks/yui/stylesheets/yui/modules/_fonts.sass", "frameworks/yui/stylesheets/yui/modules/_grids.sass", "frameworks/yui/stylesheets/yui/modules/_reset.sass", "frameworks/yui/templates/project/manifest.rb", "frameworks/yui/templates/project/screen.sass", "lib/compass.rb", "lib/compass/actions.rb", "lib/compass/app_integration.rb", "lib/compass/app_integration/merb.rb", "lib/compass/app_integration/rails.rb", "lib/compass/app_integration/rails/action_controller.rb", "lib/compass/app_integration/rails/sass_plugin.rb", "lib/compass/app_integration/rails/templates/compass-install-rails.rb", "lib/compass/app_integration/rails/urls.rb", "lib/compass/commands/base.rb", "lib/compass/commands/create_project.rb", "lib/compass/commands/generate_grid_background.rb", "lib/compass/commands/installer_command.rb", "lib/compass/commands/list_frameworks.rb", "lib/compass/commands/print_version.rb", "lib/compass/commands/project_base.rb", "lib/compass/commands/stamp_pattern.rb", "lib/compass/commands/update_project.rb", "lib/compass/commands/validate_project.rb", "lib/compass/commands/watch_project.rb", "lib/compass/commands/write_configuration.rb", "lib/compass/compiler.rb", "lib/compass/configuration.rb", "lib/compass/core_ext.rb", "lib/compass/dependencies.rb", "lib/compass/errors.rb", "lib/compass/exec.rb", "lib/compass/frameworks.rb", "lib/compass/grid_builder.rb", "lib/compass/installers.rb", "lib/compass/installers/base.rb", "lib/compass/installers/manifest.rb", "lib/compass/installers/rails.rb", "lib/compass/installers/stand_alone.rb", "lib/compass/logger.rb", "lib/compass/sass_extensions.rb", "lib/compass/sass_extensions/functions.rb", "lib/compass/sass_extensions/functions/display.rb", "lib/compass/sass_extensions/functions/enumerate.rb", "lib/compass/sass_extensions/functions/inline_image.rb", "lib/compass/sass_extensions/functions/selectors.rb", "lib/compass/sass_extensions/functions/urls.rb", "lib/compass/sass_extensions/monkey_patches.rb", "lib/compass/sass_extensions/monkey_patches/stylesheet_updating.rb", "lib/compass/test_case.rb", "lib/compass/validator.rb", "lib/compass/version.rb", "lib/vendor/fssm.rb", "lib/vendor/fssm/backends/fsevents.rb", "lib/vendor/fssm/backends/polling.rb", "lib/vendor/fssm/cache.rb", "lib/vendor/fssm/ext.rb", "lib/vendor/fssm/fsevents.rb", "lib/vendor/fssm/monitor.rb", "lib/vendor/fssm/path.rb", "lib/vendor/fssm/state.rb", "lib/vendor/fssm/support.rb", "lib/vendor/fssm/tree.rb", "test/command_line_helper.rb", "test/command_line_test.rb", "test/compass_test.rb", "test/configuration_test.rb", "test/fixtures/stylesheets/blueprint/config.rb", "test/fixtures/stylesheets/blueprint/css/typography.css", "test/fixtures/stylesheets/blueprint/images/grid.png", "test/fixtures/stylesheets/blueprint/sass/ie.sass", "test/fixtures/stylesheets/blueprint/sass/print.sass", "test/fixtures/stylesheets/blueprint/sass/screen.sass", "test/fixtures/stylesheets/blueprint/sass/typography.sass", "test/fixtures/stylesheets/compass/config.rb", "test/fixtures/stylesheets/compass/css/layout.css", "test/fixtures/stylesheets/compass/css/print.css", "test/fixtures/stylesheets/compass/css/reset.css", "test/fixtures/stylesheets/compass/css/utilities.css", "test/fixtures/stylesheets/compass/sass/layout.sass", "test/fixtures/stylesheets/compass/sass/print.sass", "test/fixtures/stylesheets/compass/sass/reset.sass", "test/fixtures/stylesheets/compass/sass/utilities.sass", "test/fixtures/stylesheets/image_urls/config.rb", "test/fixtures/stylesheets/image_urls/css/screen.css", "test/fixtures/stylesheets/image_urls/images/grid.png", "test/fixtures/stylesheets/image_urls/sass/screen.sass", "test/fixtures/stylesheets/yui/config.rb", "test/fixtures/stylesheets/yui/css/mixins.css", "test/fixtures/stylesheets/yui/sass/base.sass", "test/fixtures/stylesheets/yui/sass/fonts.sass", "test/fixtures/stylesheets/yui/sass/grids.sass", "test/fixtures/stylesheets/yui/sass/mixins.sass", "test/rails_integration_test.rb", "test/sass_extensions_test.rb", "test/test_case_helper.rb", "test/test_helper.rb", "test/test_rails_helper.rb"] - s.homepage = %q{http://compass-style.org} - s.rdoc_options = ["--charset=UTF-8"] - s.require_paths = ["lib"] - s.rubyforge_project = %q{compass} - s.rubygems_version = %q{1.3.5} - s.summary = %q{A Real Stylesheet Framework} - s.test_files = ["test/command_line_helper.rb", "test/command_line_test.rb", "test/compass_test.rb", "test/configuration_test.rb", "test/fixtures/stylesheets/blueprint/config.rb", "test/fixtures/stylesheets/blueprint/css/typography.css", "test/fixtures/stylesheets/blueprint/images/grid.png", "test/fixtures/stylesheets/blueprint/sass/ie.sass", "test/fixtures/stylesheets/blueprint/sass/print.sass", "test/fixtures/stylesheets/blueprint/sass/screen.sass", "test/fixtures/stylesheets/blueprint/sass/typography.sass", "test/fixtures/stylesheets/compass/config.rb", "test/fixtures/stylesheets/compass/css/layout.css", "test/fixtures/stylesheets/compass/css/print.css", "test/fixtures/stylesheets/compass/css/reset.css", "test/fixtures/stylesheets/compass/css/utilities.css", "test/fixtures/stylesheets/compass/sass/layout.sass", "test/fixtures/stylesheets/compass/sass/print.sass", "test/fixtures/stylesheets/compass/sass/reset.sass", "test/fixtures/stylesheets/compass/sass/utilities.sass", "test/fixtures/stylesheets/image_urls/config.rb", "test/fixtures/stylesheets/image_urls/css/screen.css", "test/fixtures/stylesheets/image_urls/images/grid.png", "test/fixtures/stylesheets/image_urls/sass/screen.sass", "test/fixtures/stylesheets/yui/config.rb", "test/fixtures/stylesheets/yui/css/mixins.css", "test/fixtures/stylesheets/yui/sass/base.sass", "test/fixtures/stylesheets/yui/sass/fonts.sass", "test/fixtures/stylesheets/yui/sass/grids.sass", "test/fixtures/stylesheets/yui/sass/mixins.sass", "test/rails_integration_test.rb", "test/sass_extensions_test.rb", "test/test_case_helper.rb", "test/test_helper.rb", "test/test_rails_helper.rb"] - - if s.respond_to? :specification_version then - current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION - s.specification_version = 3 - - if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q, [">= 2.2.0"]) - else - s.add_dependency(%q, [">= 2.2.0"]) - end - else - s.add_dependency(%q, [">= 2.2.0"]) - end -end diff --git a/lib/middleman/vendor/gems/specifications/rack-test-0.5.2.gemspec b/lib/middleman/vendor/gems/specifications/rack-test-0.5.3.gemspec similarity index 97% rename from lib/middleman/vendor/gems/specifications/rack-test-0.5.2.gemspec rename to lib/middleman/vendor/gems/specifications/rack-test-0.5.3.gemspec index b24455dd..719d93c2 100644 --- a/lib/middleman/vendor/gems/specifications/rack-test-0.5.2.gemspec +++ b/lib/middleman/vendor/gems/specifications/rack-test-0.5.3.gemspec @@ -2,11 +2,11 @@ Gem::Specification.new do |s| s.name = %q{rack-test} - s.version = "0.5.2" + s.version = "0.5.3" s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.authors = ["Bryan Helmkamp"] - s.date = %q{2009-11-12} + s.date = %q{2009-11-26} s.description = %q{Rack::Test is a small, simple testing API for Rack apps. It can be used on its own or as a reusable starting point for Web frameworks and testing libraries to build on. Most of its initial functionality is an extraction of Merb 1.0's diff --git a/middleman.gemspec b/middleman.gemspec index 2b9a181e..9439154d 100755 --- a/middleman.gemspec +++ b/middleman.gemspec @@ -5,11 +5,11 @@ Gem::Specification.new do |s| s.name = %q{middleman} - s.version = "0.11.5" + s.version = "0.12.0.pre" - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= + s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version= s.authors = ["Thomas Reynolds"] - s.date = %q{2009-11-17} + s.date = %q{2009-11-24} s.email = %q{tdreyno@gmail.com} s.executables = ["mm-init", "mm-build", "mm-server"] s.extra_rdoc_files = [ @@ -27,6 +27,15 @@ Gem::Specification.new do |s| "bin/mm-build", "bin/mm-init", "bin/mm-server", + "features/automatic_image_sizes.feature", + "features/cache_buster.feature", + "features/minify_css.feature", + "features/minify_javascript.feature", + "features/page_alias_and_layouts.feature", + "features/relative_assets.feature", + "features/step_definitions/env.rb", + "features/step_definitions/middleman_steps.rb", + "features/step_definitions/page_layout_steps.rb", "lib/middleman.rb", "lib/middleman/base.rb", "lib/middleman/builder.rb", @@ -52,11 +61,1434 @@ Gem::Specification.new do |s| "lib/middleman/template/views/layout.haml", "lib/middleman/template/views/stylesheets/site.css.sass", "lib/middleman/templater+dynamic_renderer.rb", + "lib/middleman/vendor/bin/compass", + "lib/middleman/vendor/bin/css2sass", + "lib/middleman/vendor/bin/edit_json.rb", + "lib/middleman/vendor/bin/haml", + "lib/middleman/vendor/bin/html2haml", + "lib/middleman/vendor/bin/htmldiff", + "lib/middleman/vendor/bin/launchy", + "lib/middleman/vendor/bin/ldiff", + "lib/middleman/vendor/bin/prettify_json.rb", + "lib/middleman/vendor/bin/rackup", + "lib/middleman/vendor/bin/rake", + "lib/middleman/vendor/bin/sass", + "lib/middleman/vendor/bin/shotgun", + "lib/middleman/vendor/bin/smusher", + "lib/middleman/vendor/bin/sprocketize", + "lib/middleman/vendor/gems/cache/compass-0.8.17.gem", + "lib/middleman/vendor/gems/cache/compass-slickmap-0.2.1.gem", + "lib/middleman/vendor/gems/cache/configuration-1.1.0.gem", + "lib/middleman/vendor/gems/cache/diff-lcs-1.1.2.gem", + "lib/middleman/vendor/gems/cache/extlib-0.9.13.gem", + "lib/middleman/vendor/gems/cache/haml-2.2.14.gem", + "lib/middleman/vendor/gems/cache/highline-1.5.1.gem", + "lib/middleman/vendor/gems/cache/httpclient-2.1.5.2.gem", + "lib/middleman/vendor/gems/cache/json-1.2.0.gem", + "lib/middleman/vendor/gems/cache/json_pure-1.2.0.gem", + "lib/middleman/vendor/gems/cache/launchy-0.3.3.gem", + "lib/middleman/vendor/gems/cache/rack-1.0.1.gem", + "lib/middleman/vendor/gems/cache/rack-test-0.5.2.gem", + "lib/middleman/vendor/gems/cache/rake-0.8.7.gem", + "lib/middleman/vendor/gems/cache/shotgun-0.4.gem", + "lib/middleman/vendor/gems/cache/sinatra-0.9.4.gem", + "lib/middleman/vendor/gems/cache/sinatra-content-for-0.2.gem", + "lib/middleman/vendor/gems/cache/smusher-0.4.2.gem", + "lib/middleman/vendor/gems/cache/sprockets-1.0.2.gem", + "lib/middleman/vendor/gems/cache/templater-1.0.0.gem", + "lib/middleman/vendor/gems/cache/yui-compressor-0.9.1.gem", + "lib/middleman/vendor/gems/environment.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/CHANGELOG.markdown", + "lib/middleman/vendor/gems/gems/compass-0.8.17/LICENSE.markdown", + "lib/middleman/vendor/gems/gems/compass-0.8.17/README.markdown", + "lib/middleman/vendor/gems/gems/compass-0.8.17/REVISION", + "lib/middleman/vendor/gems/gems/compass-0.8.17/Rakefile", + "lib/middleman/vendor/gems/gems/compass-0.8.17/VERSION.yml", + "lib/middleman/vendor/gems/gems/compass-0.8.17/bin/compass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/deps.rip", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/README.markdown", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/config.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/images/grid.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/index.html.haml", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/elements.html.haml", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/forms.html.haml", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/grid.html.haml", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/test-small.jpg", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/test.jpg", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/parts/valid.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/src/ie.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/src/images/grid.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/src/print.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_default/src/screen.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/config.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/buttons/cross.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/buttons/key.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/buttons/tick.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/grid.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/doc.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/email.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/external.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/feed.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/im.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/pdf.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/visited.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/link_icons/xls.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/test-small.jpg", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/test.jpg", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/images/valid.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/index.html.haml", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/plugins/buttons.html.haml", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/plugins/fancy_type.html.haml", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/plugins/link_icons.html.haml", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/plugins/rtl.html.haml", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/buttons.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/ie.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/images/grid.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/link_icons.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/print.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/rtl_screen.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_plugins/src/screen.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped/images/grid.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped/src/ie.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped/src/print.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped/src/screen.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped_form/images/grid.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped_form/src/ie.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped_form/src/print.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_scoped_form/src/screen.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/config.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/images/grid.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/index.html.haml", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/parts/fancy_type.html.haml", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/parts/liquid.html.haml", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/parts/test-small.jpg", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/parts/test.jpg", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/parts/valid.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/src/ie.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/src/images/grid.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/src/liquid.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/src/print.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/blueprint_semantic/src/screen.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/compass.html.haml", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/config.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/images/blue_arrow.gif", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/src/compass.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/src/images/blue_arrow.gif", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/src/sticky_footer.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/src/utilities.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/sticky_footer.html.haml", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/compass/utilities.html.haml", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/logo/logo.html.haml", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/logo/src/ie.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/logo/src/print.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/logo/src/screen.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/divisions.html.haml", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/index.html.haml", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/src/screen.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/sub_divisions.html.haml", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/templates.html.haml", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/test.jpg", + "lib/middleman/vendor/gems/gems/compass-0.8.17/examples/yui/typography.html.haml", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/_blueprint.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/_ie.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/_print.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/_reset.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/_screen.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/buttons/buttons.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/buttons/buttons/cross.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/buttons/buttons/key.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/buttons/buttons/tick.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/buttons/manifest.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/doc.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/email.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/external.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/feed.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/im.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/pdf.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/visited.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/link_icons/xls.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/link_icons/manifest.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/grid.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/ie.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/manifest.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/partials/_base.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/print.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/blueprint/templates/project/screen.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/_compass.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/_layout.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/_misc.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/_reset.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/_utilities.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_general.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_links.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_lists.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_print.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_sprites.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_tables.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/_text.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_float.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/text/_ellipsis.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/ellipsis/ellipsis.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/ellipsis/manifest.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/ellipsis/xml/ellipsis.xml", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/project/ie.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/project/manifest.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/project/print.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/compass/templates/project/screen.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/_yui.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/yui/modules/_base.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/yui/modules/_fonts.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/yui/modules/_grids.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/stylesheets/yui/modules/_reset.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/templates/project/manifest.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/frameworks/yui/templates/project/screen.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/actions.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/merb.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/rails.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/rails/action_controller.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/rails/sass_plugin.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/rails/templates/compass-install-rails.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/app_integration/rails/urls.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/base.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/create_project.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/generate_grid_background.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/installer_command.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/list_frameworks.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/print_version.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/project_base.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/stamp_pattern.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/update_project.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/validate_project.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/watch_project.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/commands/write_configuration.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/compiler.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/configuration.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/core_ext.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/dependencies.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/errors.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/exec.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/frameworks.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/grid_builder.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers/base.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers/manifest.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers/rails.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/installers/stand_alone.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/logger.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/display.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/enumerate.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/inline_image.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/selectors.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/functions/urls.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/monkey_patches.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/sass_extensions/monkey_patches/stylesheet_updating.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/test_case.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/validator.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/compass/version.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/backends/fsevents.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/backends/polling.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/cache.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/ext.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/fsevents.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/monitor.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/path.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/state.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/support.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/lib/vendor/fssm/tree.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/command_line_helper.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/command_line_test.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/compass_test.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/configuration_test.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/config.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/css/typography.css", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/images/grid.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/sass/ie.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/sass/print.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/sass/screen.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/blueprint/sass/typography.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/config.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/css/layout.css", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/css/print.css", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/css/reset.css", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/css/utilities.css", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/sass/layout.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/sass/print.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/sass/reset.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/compass/sass/utilities.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/image_urls/config.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/image_urls/css/screen.css", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/image_urls/images/grid.png", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/image_urls/sass/screen.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/config.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/css/mixins.css", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/sass/base.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/sass/fonts.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/sass/grids.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/fixtures/stylesheets/yui/sass/mixins.sass", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/rails_integration_test.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/sass_extensions_test.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/test_case_helper.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/test_helper.rb", + "lib/middleman/vendor/gems/gems/compass-0.8.17/test/test_rails_helper.rb", + "lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/.gitignore", + "lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/Rakefile", + "lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/VERSION", + "lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/compass-slickmap.gemspec", + "lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/lib/slickmap.rb", + "lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/lib/slickmap/compass_plugin.rb", + "lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/sass/_slickmap.sass", + "lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/images/L1-center.png", + "lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/images/L1-left.png", + "lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/images/L1-right.png", + "lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/images/L3-bottom.png", + "lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/images/L3-center.png", + "lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/images/L3-li-top.png", + "lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/images/L3-ul-top.png", + "lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/images/vertical-line.png", + "lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/images/white-highlight.png", + "lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/manifest.rb", + "lib/middleman/vendor/gems/gems/compass-slickmap-0.2.1/templates/project/sitemap.sass", + "lib/middleman/vendor/gems/gems/configuration-1.1.0/README", + "lib/middleman/vendor/gems/gems/configuration-1.1.0/README.erb", + "lib/middleman/vendor/gems/gems/configuration-1.1.0/Rakefile", + "lib/middleman/vendor/gems/gems/configuration-1.1.0/config/a.rb", + "lib/middleman/vendor/gems/gems/configuration-1.1.0/config/b.rb", + "lib/middleman/vendor/gems/gems/configuration-1.1.0/config/c.rb", + "lib/middleman/vendor/gems/gems/configuration-1.1.0/config/d.rb", + "lib/middleman/vendor/gems/gems/configuration-1.1.0/config/e.rb", + "lib/middleman/vendor/gems/gems/configuration-1.1.0/configuration.gemspec", + "lib/middleman/vendor/gems/gems/configuration-1.1.0/lib/configuration.rb", + "lib/middleman/vendor/gems/gems/configuration-1.1.0/samples/a.rb", + "lib/middleman/vendor/gems/gems/configuration-1.1.0/samples/b.rb", + "lib/middleman/vendor/gems/gems/configuration-1.1.0/samples/c.rb", + "lib/middleman/vendor/gems/gems/configuration-1.1.0/samples/d.rb", + "lib/middleman/vendor/gems/gems/configuration-1.1.0/samples/e.rb", + "lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/ChangeLog", + "lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/Install", + "lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/README", + "lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/Rakefile", + "lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/bin/htmldiff", + "lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/bin/ldiff", + "lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/lib/diff/lcs.rb", + "lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/lib/diff/lcs/array.rb", + "lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/lib/diff/lcs/block.rb", + "lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/lib/diff/lcs/callbacks.rb", + "lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/lib/diff/lcs/change.rb", + "lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/lib/diff/lcs/hunk.rb", + "lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/lib/diff/lcs/ldiff.rb", + "lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/lib/diff/lcs/string.rb", + "lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/tests/00test.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/History.txt", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/LICENSE", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/README", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/Rakefile", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/array.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/assertions.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/blank.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/boolean.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/byte_array.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/class.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/datetime.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/dictionary.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/hash.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/hook.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/inflection.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/lazy_array.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/lazy_module.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/logger.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/mash.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/module.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/nil.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/numeric.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/object.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/object_space.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/pathname.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/pooling.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/rubygems.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/simple_set.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/string.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/struct.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/symbol.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/tasks/release.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/time.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/version.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/lib/extlib/virtual_file.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/array_spec.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/blank_spec.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/byte_array_spec.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/class_spec.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/datetime_spec.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/hash_spec.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/hook_spec.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/inflection/plural_spec.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/inflection/singular_spec.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/inflection_extras_spec.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/lazy_array_spec.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/lazy_module_spec.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/mash_spec.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/module_spec.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/object_space_spec.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/object_spec.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/pooling_spec.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/simple_set_spec.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/spec.opts", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/spec_helper.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/string_spec.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/struct_spec.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/symbol_spec.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/time_spec.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/try_call_spec.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/try_dup_spec.rb", + "lib/middleman/vendor/gems/gems/extlib-0.9.13/spec/virtual_file_spec.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/.yardopts", + "lib/middleman/vendor/gems/gems/haml-2.2.14/CONTRIBUTING", + "lib/middleman/vendor/gems/gems/haml-2.2.14/MIT-LICENSE", + "lib/middleman/vendor/gems/gems/haml-2.2.14/README.md", + "lib/middleman/vendor/gems/gems/haml-2.2.14/REVISION", + "lib/middleman/vendor/gems/gems/haml-2.2.14/Rakefile", + "lib/middleman/vendor/gems/gems/haml-2.2.14/VERSION", + "lib/middleman/vendor/gems/gems/haml-2.2.14/VERSION_NAME", + "lib/middleman/vendor/gems/gems/haml-2.2.14/bin/css2sass", + "lib/middleman/vendor/gems/gems/haml-2.2.14/bin/haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/bin/html2haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/bin/sass", + "lib/middleman/vendor/gems/gems/haml-2.2.14/extra/haml-mode.el", + "lib/middleman/vendor/gems/gems/haml-2.2.14/extra/sass-mode.el", + "lib/middleman/vendor/gems/gems/haml-2.2.14/extra/update_watch.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/init.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/buffer.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/engine.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/error.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/exec.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/filters.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/helpers.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/helpers/action_view_extensions.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/helpers/action_view_mods.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/helpers/xss_mods.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/html.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/precompiler.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/shared.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/template.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/template/patch.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/template/plugin.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/util.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/haml/version.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/css.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/engine.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/environment.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/error.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/files.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/plugin.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/plugin/merb.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/plugin/rack.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/plugin/rails.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/repl.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/bool.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/color.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/funcall.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/functions.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/lexer.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/literal.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/node.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/number.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/operation.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/parser.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/string.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/unary_operation.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/script/variable.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/comment_node.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/debug_node.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/directive_node.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/for_node.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/if_node.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/import_node.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/mixin_def_node.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/mixin_node.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/node.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/prop_node.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/rule_node.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/variable_node.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/lib/sass/tree/while_node.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/rails/init.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/benchmark.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/engine_test.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/helper_test.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/html2haml_test.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/markaby/standard.mab", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/mocks/article.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/content_for_layout.xhtml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/eval_suppressed.xhtml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/filters.xhtml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/helpers.xhtml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/helpful.xhtml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/just_stuff.xhtml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/list.xhtml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/nuke_inner_whitespace.xhtml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/nuke_outer_whitespace.xhtml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/original_engine.xhtml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/partial_layout.xhtml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/partials.xhtml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/render_layout.xhtml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/silent_script.xhtml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/standard.xhtml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/tag_parsing.xhtml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/very_basic.xhtml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/results/whitespace_handling.xhtml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/rhtml/_av_partial_1.rhtml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/rhtml/_av_partial_2.rhtml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/rhtml/action_view.rhtml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/rhtml/standard.rhtml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/spec/README.md", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/spec/lua_haml_spec.lua", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/spec/ruby_haml_test.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/spec/tests.json", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/template_test.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/_av_partial_1.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/_av_partial_1_ugly.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/_av_partial_2.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/_av_partial_2_ugly.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/_layout.erb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/_layout_for_partial.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/_partial.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/_text_area.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/action_view.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/action_view_ugly.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/breakage.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/content_for_layout.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/eval_suppressed.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/filters.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/helpers.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/helpful.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/just_stuff.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/list.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/nuke_inner_whitespace.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/nuke_outer_whitespace.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/original_engine.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/partial_layout.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/partialize.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/partials.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/render_layout.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/silent_script.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/standard.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/standard_ugly.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/tag_parsing.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/very_basic.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/templates/whitespace_handling.haml", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/haml/util_test.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/linked_rails.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/css2sass_test.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/engine_test.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/functions_test.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/more_results/more1.css", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/more_results/more1_with_line_comments.css", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/more_results/more_import.css", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/more_templates/_more_partial.sass", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/more_templates/more1.sass", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/more_templates/more_import.sass", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/plugin_test.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/alt.css", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/basic.css", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/compact.css", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/complex.css", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/compressed.css", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/expanded.css", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/import.css", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/line_numbers.css", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/mixins.css", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/multiline.css", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/nested.css", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/parent_ref.css", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/script.css", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/subdir/nested_subdir/nested_subdir.css", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/subdir/subdir.css", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/results/units.css", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/script_test.rb", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/_partial.sass", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/alt.sass", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/basic.sass", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/bork.sass", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/bork2.sass", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/compact.sass", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/complex.sass", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/compressed.sass", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/expanded.sass", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/import.sass", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/importee.sass", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/line_numbers.sass", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/mixins.sass", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/multiline.sass", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/nested.sass", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/parent_ref.sass", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/script.sass", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/subdir/nested_subdir/_nested_partial.sass", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/subdir/nested_subdir/nested_subdir.sass", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/subdir/subdir.sass", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/sass/templates/units.sass", + "lib/middleman/vendor/gems/gems/haml-2.2.14/test/test_helper.rb", + "lib/middleman/vendor/gems/gems/highline-1.5.1/CHANGELOG", + "lib/middleman/vendor/gems/gems/highline-1.5.1/INSTALL", + "lib/middleman/vendor/gems/gems/highline-1.5.1/LICENSE", + "lib/middleman/vendor/gems/gems/highline-1.5.1/README", + "lib/middleman/vendor/gems/gems/highline-1.5.1/Rakefile", + "lib/middleman/vendor/gems/gems/highline-1.5.1/TODO", + "lib/middleman/vendor/gems/gems/highline-1.5.1/examples/ansi_colors.rb", + "lib/middleman/vendor/gems/gems/highline-1.5.1/examples/asking_for_arrays.rb", + "lib/middleman/vendor/gems/gems/highline-1.5.1/examples/basic_usage.rb", + "lib/middleman/vendor/gems/gems/highline-1.5.1/examples/color_scheme.rb", + "lib/middleman/vendor/gems/gems/highline-1.5.1/examples/limit.rb", + "lib/middleman/vendor/gems/gems/highline-1.5.1/examples/menus.rb", + "lib/middleman/vendor/gems/gems/highline-1.5.1/examples/overwrite.rb", + "lib/middleman/vendor/gems/gems/highline-1.5.1/examples/page_and_wrap.rb", + "lib/middleman/vendor/gems/gems/highline-1.5.1/examples/password.rb", + "lib/middleman/vendor/gems/gems/highline-1.5.1/examples/trapping_eof.rb", + "lib/middleman/vendor/gems/gems/highline-1.5.1/examples/using_readline.rb", + "lib/middleman/vendor/gems/gems/highline-1.5.1/lib/highline.rb", + "lib/middleman/vendor/gems/gems/highline-1.5.1/lib/highline/color_scheme.rb", + "lib/middleman/vendor/gems/gems/highline-1.5.1/lib/highline/compatibility.rb", + "lib/middleman/vendor/gems/gems/highline-1.5.1/lib/highline/import.rb", + "lib/middleman/vendor/gems/gems/highline-1.5.1/lib/highline/menu.rb", + "lib/middleman/vendor/gems/gems/highline-1.5.1/lib/highline/question.rb", + "lib/middleman/vendor/gems/gems/highline-1.5.1/lib/highline/system_extensions.rb", + "lib/middleman/vendor/gems/gems/highline-1.5.1/setup.rb", + "lib/middleman/vendor/gems/gems/highline-1.5.1/test/tc_color_scheme.rb", + "lib/middleman/vendor/gems/gems/highline-1.5.1/test/tc_highline.rb", + "lib/middleman/vendor/gems/gems/highline-1.5.1/test/tc_import.rb", + "lib/middleman/vendor/gems/gems/highline-1.5.1/test/tc_menu.rb", + "lib/middleman/vendor/gems/gems/highline-1.5.1/test/ts_all.rb", + "lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/http-access2.rb", + "lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/http-access2/cookie.rb", + "lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/http-access2/http.rb", + "lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient.rb", + "lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/auth.rb", + "lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/cacert.p7s", + "lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/cacert_sha1.p7s", + "lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/connection.rb", + "lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/cookie.rb", + "lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/http.rb", + "lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/session.rb", + "lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/ssl_config.rb", + "lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/timeout.rb", + "lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/httpclient/util.rb", + "lib/middleman/vendor/gems/gems/httpclient-2.1.5.2/lib/tags", + "lib/middleman/vendor/gems/gems/json-1.2.0/.require_paths", + "lib/middleman/vendor/gems/gems/json-1.2.0/CHANGES", + "lib/middleman/vendor/gems/gems/json-1.2.0/COPYING", + "lib/middleman/vendor/gems/gems/json-1.2.0/GPL", + "lib/middleman/vendor/gems/gems/json-1.2.0/README", + "lib/middleman/vendor/gems/gems/json-1.2.0/Rakefile", + "lib/middleman/vendor/gems/gems/json-1.2.0/TODO", + "lib/middleman/vendor/gems/gems/json-1.2.0/VERSION", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkComparison.log", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast-autocorrelation.dat", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast.dat", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty-autocorrelation.dat", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty.dat", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe-autocorrelation.dat", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe.dat", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt.log", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast-autocorrelation.dat", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast.dat", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty-autocorrelation.dat", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty.dat", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe-autocorrelation.dat", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe.dat", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure.log", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator-autocorrelation.dat", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator.dat", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails.log", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkComparison.log", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser-autocorrelation.dat", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser.dat", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt.log", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser-autocorrelation.dat", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser.dat", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure.log", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser-autocorrelation.dat", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser.dat", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/generator_benchmark.rb", + "lib/middleman/vendor/gems/gems/json-1.2.0/benchmarks/parser_benchmark.rb", + "lib/middleman/vendor/gems/gems/json-1.2.0/bin/edit_json.rb", + "lib/middleman/vendor/gems/gems/json-1.2.0/bin/prettify_json.rb", + "lib/middleman/vendor/gems/gems/json-1.2.0/data/example.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/data/index.html", + "lib/middleman/vendor/gems/gems/json-1.2.0/data/prototype.js", + "lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator.bundle", + "lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator/Makefile", + "lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator/extconf.rb", + "lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator/generator.bundle", + "lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator/generator.c", + "lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator/generator.o", + "lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator/mkmf.log", + "lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator/unicode.c", + "lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator/unicode.h", + "lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/generator/unicode.o", + "lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser.bundle", + "lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/Makefile", + "lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/extconf.rb", + "lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/mkmf.log", + "lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/parser.bundle", + "lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/parser.c", + "lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/parser.o", + "lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/parser.rl", + "lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/unicode.c", + "lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/unicode.h", + "lib/middleman/vendor/gems/gems/json-1.2.0/ext/json/ext/parser/unicode.o", + "lib/middleman/vendor/gems/gems/json-1.2.0/install.rb", + "lib/middleman/vendor/gems/gems/json-1.2.0/lib/json.rb", + "lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/Array.xpm", + "lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/FalseClass.xpm", + "lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/Hash.xpm", + "lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/Key.xpm", + "lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/NilClass.xpm", + "lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/Numeric.xpm", + "lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/String.xpm", + "lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/TrueClass.xpm", + "lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/add/core.rb", + "lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/add/rails.rb", + "lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/common.rb", + "lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/editor.rb", + "lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/ext.rb", + "lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/json.xpm", + "lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/pure.rb", + "lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/pure/generator.rb", + "lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/pure/parser.rb", + "lib/middleman/vendor/gems/gems/json-1.2.0/lib/json/version.rb", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail1.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail10.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail11.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail12.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail13.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail14.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail18.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail19.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail2.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail20.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail21.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail22.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail23.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail24.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail25.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail27.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail28.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail3.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail4.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail5.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail6.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail7.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail8.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/fail9.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/pass1.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/pass15.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/pass16.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/pass17.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/pass2.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/pass26.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/fixtures/pass3.json", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/test_json.rb", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/test_json_addition.rb", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/test_json_encoding.rb", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/test_json_fixtures.rb", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/test_json_generate.rb", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/test_json_rails.rb", + "lib/middleman/vendor/gems/gems/json-1.2.0/tests/test_json_unicode.rb", + "lib/middleman/vendor/gems/gems/json-1.2.0/tools/fuzz.rb", + "lib/middleman/vendor/gems/gems/json-1.2.0/tools/server.rb", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/CHANGES", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/COPYING", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/GPL", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/README", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/Rakefile", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/TODO", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/VERSION", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkComparison.log", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast-autocorrelation.dat", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast.dat", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty-autocorrelation.dat", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty.dat", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe-autocorrelation.dat", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe.dat", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt.log", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast-autocorrelation.dat", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast.dat", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty-autocorrelation.dat", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty.dat", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe-autocorrelation.dat", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe.dat", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure.log", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator-autocorrelation.dat", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator.dat", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails.log", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkComparison.log", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser-autocorrelation.dat", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser.dat", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt.log", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser-autocorrelation.dat", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser.dat", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure.log", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser-autocorrelation.dat", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser.dat", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/generator_benchmark.rb", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/benchmarks/parser_benchmark.rb", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/bin/edit_json.rb", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/bin/prettify_json.rb", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/data/example.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/data/index.html", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/data/prototype.js", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/ext/json/ext/generator/extconf.rb", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/ext/json/ext/generator/generator.c", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/ext/json/ext/generator/unicode.c", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/ext/json/ext/generator/unicode.h", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/ext/json/ext/parser/extconf.rb", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/ext/json/ext/parser/parser.c", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/ext/json/ext/parser/parser.rl", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/ext/json/ext/parser/unicode.c", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/ext/json/ext/parser/unicode.h", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/install.rb", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json.rb", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/Array.xpm", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/FalseClass.xpm", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/Hash.xpm", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/Key.xpm", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/NilClass.xpm", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/Numeric.xpm", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/String.xpm", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/TrueClass.xpm", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/add/core.rb", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/add/rails.rb", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/common.rb", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/editor.rb", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/ext.rb", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/json.xpm", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/pure.rb", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/pure/generator.rb", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/pure/parser.rb", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/lib/json/version.rb", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail1.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail10.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail11.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail12.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail13.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail14.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail18.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail19.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail2.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail20.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail21.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail22.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail23.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail24.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail25.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail27.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail28.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail3.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail4.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail5.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail6.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail7.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail8.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/fail9.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/pass1.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/pass15.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/pass16.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/pass17.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/pass2.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/pass26.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/fixtures/pass3.json", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/test_json.rb", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/test_json_addition.rb", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/test_json_encoding.rb", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/test_json_fixtures.rb", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/test_json_generate.rb", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/test_json_rails.rb", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tests/test_json_unicode.rb", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tools/fuzz.rb", + "lib/middleman/vendor/gems/gems/json_pure-1.2.0/tools/server.rb", + "lib/middleman/vendor/gems/gems/launchy-0.3.3/HISTORY", + "lib/middleman/vendor/gems/gems/launchy-0.3.3/LICENSE", + "lib/middleman/vendor/gems/gems/launchy-0.3.3/README", + "lib/middleman/vendor/gems/gems/launchy-0.3.3/Rakefile", + "lib/middleman/vendor/gems/gems/launchy-0.3.3/bin/launchy", + "lib/middleman/vendor/gems/gems/launchy-0.3.3/gemspec.rb", + "lib/middleman/vendor/gems/gems/launchy-0.3.3/lib/launchy.rb", + "lib/middleman/vendor/gems/gems/launchy-0.3.3/lib/launchy/application.rb", + "lib/middleman/vendor/gems/gems/launchy-0.3.3/lib/launchy/browser.rb", + "lib/middleman/vendor/gems/gems/launchy-0.3.3/lib/launchy/command_line.rb", + "lib/middleman/vendor/gems/gems/launchy-0.3.3/lib/launchy/paths.rb", + "lib/middleman/vendor/gems/gems/launchy-0.3.3/lib/launchy/version.rb", + "lib/middleman/vendor/gems/gems/launchy-0.3.3/spec/application_spec.rb", + "lib/middleman/vendor/gems/gems/launchy-0.3.3/spec/browser_spec.rb", + "lib/middleman/vendor/gems/gems/launchy-0.3.3/spec/launchy_spec.rb", + "lib/middleman/vendor/gems/gems/launchy-0.3.3/spec/paths_spec.rb", + "lib/middleman/vendor/gems/gems/launchy-0.3.3/spec/spec_helper.rb", + "lib/middleman/vendor/gems/gems/launchy-0.3.3/spec/version_spec.rb", + "lib/middleman/vendor/gems/gems/launchy-0.3.3/tasks/announce.rake", + "lib/middleman/vendor/gems/gems/launchy-0.3.3/tasks/config.rb", + "lib/middleman/vendor/gems/gems/launchy-0.3.3/tasks/distribution.rake", + "lib/middleman/vendor/gems/gems/launchy-0.3.3/tasks/documentation.rake", + "lib/middleman/vendor/gems/gems/launchy-0.3.3/tasks/rspec.rake", + "lib/middleman/vendor/gems/gems/launchy-0.3.3/tasks/rubyforge.rake", + "lib/middleman/vendor/gems/gems/launchy-0.3.3/tasks/utils.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/COPYING", + "lib/middleman/vendor/gems/gems/rack-1.0.1/KNOWN-ISSUES", + "lib/middleman/vendor/gems/gems/rack-1.0.1/RDOX", + "lib/middleman/vendor/gems/gems/rack-1.0.1/README", + "lib/middleman/vendor/gems/gems/rack-1.0.1/Rakefile", + "lib/middleman/vendor/gems/gems/rack-1.0.1/SPEC", + "lib/middleman/vendor/gems/gems/rack-1.0.1/bin/rackup", + "lib/middleman/vendor/gems/gems/rack-1.0.1/contrib/rack_logo.svg", + "lib/middleman/vendor/gems/gems/rack-1.0.1/example/lobster.ru", + "lib/middleman/vendor/gems/gems/rack-1.0.1/example/protectedlobster.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/example/protectedlobster.ru", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/adapter/camping.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/auth/abstract/handler.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/auth/abstract/request.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/auth/basic.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/auth/digest/md5.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/auth/digest/nonce.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/auth/digest/params.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/auth/digest/request.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/auth/openid.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/builder.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/cascade.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/chunked.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/commonlogger.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/conditionalget.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/content_length.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/content_type.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/deflater.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/directory.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/file.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler/cgi.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler/evented_mongrel.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler/fastcgi.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler/lsws.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler/mongrel.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler/scgi.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler/swiftiplied_mongrel.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler/thin.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/handler/webrick.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/head.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/lint.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/lobster.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/lock.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/methodoverride.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/mime.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/mock.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/recursive.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/reloader.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/request.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/response.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/rewindable_input.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/session/abstract/id.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/session/cookie.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/session/memcache.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/session/pool.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/showexceptions.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/showstatus.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/static.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/urlmap.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/lib/rack/utils.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/rack.gemspec", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/cgi/lighttpd.conf", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/cgi/test", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/cgi/test.fcgi", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/cgi/test.ru", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/multipart/binary", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/multipart/empty", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/multipart/ie", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/multipart/nested", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/multipart/none", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/multipart/semicolon", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/multipart/text", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_auth_basic.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_auth_digest.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_auth_openid.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_builder.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_camping.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_cascade.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_cgi.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_chunked.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_commonlogger.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_conditionalget.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_content_length.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_content_type.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_deflater.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_directory.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_fastcgi.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_file.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_handler.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_head.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_lint.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_lobster.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_lock.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_methodoverride.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_mock.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_mongrel.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_recursive.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_request.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_response.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_rewindable_input.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_session_cookie.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_session_memcache.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_session_pool.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_showexceptions.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_showstatus.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_static.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_thin.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_urlmap.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_utils.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/spec_rack_webrick.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/testrequest.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/unregistered_handler/rack/handler/unregistered.rb", + "lib/middleman/vendor/gems/gems/rack-1.0.1/test/unregistered_handler/rack/handler/unregistered_long_one.rb", + "lib/middleman/vendor/gems/gems/rack-test-0.5.2/.document", + "lib/middleman/vendor/gems/gems/rack-test-0.5.2/.gitignore", + "lib/middleman/vendor/gems/gems/rack-test-0.5.2/History.txt", + "lib/middleman/vendor/gems/gems/rack-test-0.5.2/MIT-LICENSE.txt", + "lib/middleman/vendor/gems/gems/rack-test-0.5.2/README.rdoc", + "lib/middleman/vendor/gems/gems/rack-test-0.5.2/Rakefile", + "lib/middleman/vendor/gems/gems/rack-test-0.5.2/Thorfile", + "lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/mock_session.rb", + "lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test.rb", + "lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test/cookie_jar.rb", + "lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test/methods.rb", + "lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test/mock_digest_request.rb", + "lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test/uploaded_file.rb", + "lib/middleman/vendor/gems/gems/rack-test-0.5.2/lib/rack/test/utils.rb", + "lib/middleman/vendor/gems/gems/rack-test-0.5.2/rack-test.gemspec", + "lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/fixtures/config.ru", + "lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/fixtures/fake_app.rb", + "lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/fixtures/foo.txt", + "lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/rack/test/cookie_spec.rb", + "lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/rack/test/digest_auth_spec.rb", + "lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/rack/test/multipart_spec.rb", + "lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/rack/test/utils_spec.rb", + "lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/rack/test_spec.rb", + "lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/spec.opts", + "lib/middleman/vendor/gems/gems/rack-test-0.5.2/spec/spec_helper.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/CHANGES", + "lib/middleman/vendor/gems/gems/rake-0.8.7/MIT-LICENSE", + "lib/middleman/vendor/gems/gems/rake-0.8.7/README", + "lib/middleman/vendor/gems/gems/rake-0.8.7/Rakefile", + "lib/middleman/vendor/gems/gems/rake-0.8.7/TODO", + "lib/middleman/vendor/gems/gems/rake-0.8.7/bin/rake", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/command_line_usage.rdoc", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/example/Rakefile1", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/example/Rakefile2", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/example/a.c", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/example/b.c", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/example/main.c", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/glossary.rdoc", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/jamis.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/proto_rake.rdoc", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/rake.1.gz", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/rakefile.rdoc", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/rational.rdoc", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.4.14.rdoc", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.4.15.rdoc", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.5.0.rdoc", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.5.3.rdoc", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.5.4.rdoc", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.6.0.rdoc", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.7.0.rdoc", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.7.1.rdoc", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.7.2.rdoc", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.7.3.rdoc", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.8.0.rdoc", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.8.2.rdoc", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.8.3.rdoc", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.8.4.rdoc", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.8.5.rdoc", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.8.6.rdoc", + "lib/middleman/vendor/gems/gems/rake-0.8.7/doc/release_notes/rake-0.8.7.rdoc", + "lib/middleman/vendor/gems/gems/rake-0.8.7/install.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/alt_system.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/classic_namespace.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/clean.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/contrib/compositepublisher.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/contrib/ftptools.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/contrib/publisher.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/contrib/rubyforgepublisher.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/contrib/sshpublisher.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/contrib/sys.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/gempackagetask.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/loaders/makefile.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/packagetask.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/rake_test_loader.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/rdoctask.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/ruby182_test_unit_fix.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/runtest.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/tasklib.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/testtask.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/lib/rake/win32.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/capture_stdout.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/check_expansion.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/check_no_expansion.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/contrib/test_sys.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/chains/Rakefile", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/default/Rakefile", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/dryrun/Rakefile", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/file_creation_task/Rakefile", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/imports/Rakefile", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/imports/deps.mf", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/multidesc/Rakefile", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/namespace/Rakefile", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/rakelib/test1.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/rbext/rakefile.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/sample.mf", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/statusreturn/Rakefile", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/data/unittest/Rakefile", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/filecreation.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/functional.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/in_environment.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/rake_test_setup.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/reqfile.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/reqfile2.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/session_functional.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/shellcommand.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_application.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_clean.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_definitions.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_earlytime.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_extension.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_file_creation_task.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_file_task.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_filelist.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_fileutils.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_ftp.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_invocation_chain.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_makefile_loader.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_multitask.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_namespace.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_package_task.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_pathmap.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_pseudo_status.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_rake.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_rdoc_task.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_require.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_rules.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_task_arguments.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_task_manager.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_tasklib.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_tasks.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_test_task.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_top_level_functions.rb", + "lib/middleman/vendor/gems/gems/rake-0.8.7/test/test_win32.rb", + "lib/middleman/vendor/gems/gems/shotgun-0.4/COPYING", + "lib/middleman/vendor/gems/gems/shotgun-0.4/README", + "lib/middleman/vendor/gems/gems/shotgun-0.4/Rakefile", + "lib/middleman/vendor/gems/gems/shotgun-0.4/bin/shotgun", + "lib/middleman/vendor/gems/gems/shotgun-0.4/lib/shotgun.rb", + "lib/middleman/vendor/gems/gems/shotgun-0.4/shotgun.gemspec", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/AUTHORS", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/CHANGES", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/LICENSE", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/README.rdoc", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/Rakefile", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/app_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/application_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/builder_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/compat_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/custom_error_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/erb_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/events_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/filter_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/haml_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/helper.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/mapped_error_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/pipeline_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/public/foo.xml", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/sass_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/sessions_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/streaming_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/sym_params_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/template_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/use_in_file_templates_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/foo.builder", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/foo.erb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/foo.haml", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/foo.sass", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/foo_layout.erb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/foo_layout.haml", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/layout_test/foo.builder", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/layout_test/foo.erb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/layout_test/foo.haml", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/layout_test/foo.sass", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/layout_test/layout.builder", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/layout_test/layout.erb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/layout_test/layout.haml", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/layout_test/layout.sass", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/no_layout/no_layout.builder", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/compat/views/no_layout/no_layout.haml", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/base.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/compat.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/images/404.png", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/images/500.png", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/main.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/showexceptions.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/test/bacon.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/test/rspec.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/test/spec.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/lib/sinatra/test/unit.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/sinatra.gemspec", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/base_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/builder_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/contest.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/data/reload_app_file.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/erb_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/extensions_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/filter_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/haml_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/helper.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/helpers_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/mapped_error_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/middleware_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/options_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/render_backtrace_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/request_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/response_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/result_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/route_added_hook_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/routing_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/sass_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/server_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/sinatra_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/static_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/templates_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/test_test.rb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/error.builder", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/error.erb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/error.haml", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/error.sass", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/foo/hello.test", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/hello.builder", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/hello.erb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/hello.haml", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/hello.sass", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/hello.test", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/layout2.builder", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/layout2.erb", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/layout2.haml", + "lib/middleman/vendor/gems/gems/sinatra-0.9.4/test/views/layout2.test", + "lib/middleman/vendor/gems/gems/sinatra-content-for-0.2/.gitignore", + "lib/middleman/vendor/gems/gems/sinatra-content-for-0.2/LICENSE", + "lib/middleman/vendor/gems/gems/sinatra-content-for-0.2/README.rdoc", + "lib/middleman/vendor/gems/gems/sinatra-content-for-0.2/lib/sinatra/content_for.rb", + "lib/middleman/vendor/gems/gems/sinatra-content-for-0.2/sinatra-content-for.gemspec", + "lib/middleman/vendor/gems/gems/sinatra-content-for-0.2/test/content_for_test.rb", + "lib/middleman/vendor/gems/gems/smusher-0.4.2/.gitignore", + "lib/middleman/vendor/gems/gems/smusher-0.4.2/README.markdown", + "lib/middleman/vendor/gems/gems/smusher-0.4.2/Rakefile", + "lib/middleman/vendor/gems/gems/smusher-0.4.2/VERSION", + "lib/middleman/vendor/gems/gems/smusher-0.4.2/bin/smusher", + "lib/middleman/vendor/gems/gems/smusher-0.4.2/lib/smusher.rb", + "lib/middleman/vendor/gems/gems/smusher-0.4.2/lib/smusher/puny_png.rb", + "lib/middleman/vendor/gems/gems/smusher-0.4.2/lib/smusher/smush_it.rb", + "lib/middleman/vendor/gems/gems/smusher-0.4.2/smusher.gemspec", + "lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/empty/.gitignore", + "lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/images/ad.gif", + "lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/images/add.png", + "lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/images/drink_empty.png", + "lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/images/logo.gif", + "lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/images/people.jpg", + "lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/images/water.JPG", + "lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/images/woman.jpeg", + "lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/out/ad.gif", + "lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/out/people.jpg", + "lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/reduced/add.png", + "lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/reduced/add_puny.png", + "lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/reduced/fam.png", + "lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/smusher/puny_png_spec.rb", + "lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/smusher/smush_it_spec.rb", + "lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/smusher_spec.rb", + "lib/middleman/vendor/gems/gems/smusher-0.4.2/spec/spec_helper.rb", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/Rakefile", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/bin/sprocketize", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/ext/nph-sprockets.cgi", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets.rb", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets/concatenation.rb", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets/environment.rb", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets/error.rb", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets/pathname.rb", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets/preprocessor.rb", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets/secretary.rb", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets/source_file.rb", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets/source_line.rb", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/lib/sprockets/version.rb", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/assets/images/script_with_assets/one.png", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/assets/images/script_with_assets/two.png", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/assets/stylesheets/script_with_assets.css", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/constants.yml", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/double_slash_comments_that_are_not_requires_should_be_ignored_when_strip_comments_is_false.js", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/double_slash_comments_that_are_not_requires_should_be_removed_by_default.js", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/multiline_comments_should_be_removed_by_default.js", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/requiring_a_file_after_it_has_already_been_required_should_do_nothing.js", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/requiring_a_file_that_does_not_exist_should_raise_an_error.js", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/requiring_a_single_file_should_replace_the_require_comment_with_the_file_contents.js", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/requiring_the_current_file_should_do_nothing.js", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/src/constants.yml", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/src/foo.js", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/src/foo/bar.js", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/src/foo/foo.js", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/fixtures/src/script_with_assets.js", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/test_concatenation.rb", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/test_environment.rb", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/test_helper.rb", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/test_pathname.rb", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/test_preprocessor.rb", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/test_secretary.rb", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/test_source_file.rb", + "lib/middleman/vendor/gems/gems/sprockets-1.0.2/test/test_source_line.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/History.txt", + "lib/middleman/vendor/gems/gems/templater-1.0.0/Manifest.txt", + "lib/middleman/vendor/gems/gems/templater-1.0.0/README.rdoc", + "lib/middleman/vendor/gems/gems/templater-1.0.0/Rakefile", + "lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/actions/action.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/actions/directory.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/actions/empty_directory.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/actions/file.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/actions/template.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/capture_helpers.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/cli/generator.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/cli/manifold.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/cli/parser.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/core_ext/kernel.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/core_ext/string.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/description.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/discovery.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/generator.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/manifold.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/lib/templater/spec/helpers.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/script/console", + "lib/middleman/vendor/gems/gems/templater-1.0.0/script/destroy", + "lib/middleman/vendor/gems/gems/templater-1.0.0/script/generate", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/actions/directory_spec.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/actions/empty_directory_spec.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/actions/file_spec.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/actions/template_spec.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/core_ext/string_spec.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/actions_spec.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/arguments_spec.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/desc_spec.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/destination_root_spec.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/empty_directories_spec.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/files_spec.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/generators_spec.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/glob_spec.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/invocations_spec.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/invoke_spec.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/options_spec.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/render_spec.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/source_root_spec.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/generator/templates_spec.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/manifold_spec.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/options_parser_spec.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/results/erb.rbs", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/results/file.rbs", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/results/random.rbs", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/results/simple_erb.rbs", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/spec_helper.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/spec_helpers_spec.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templater_spec.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/erb.rbt", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/glob/README", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/glob/arg.js", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/glob/hellothar.%feh%", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/glob/hellothar.html.%feh%", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/glob/subfolder/jessica_alba.jpg", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/glob/subfolder/monkey.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/glob/test.rb", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/literals_erb.rbt", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/simple.rbt", + "lib/middleman/vendor/gems/gems/templater-1.0.0/spec/templates/simple_erb.rbt", + "lib/middleman/vendor/gems/gems/templater-1.0.0/templater.gemspec", + "lib/middleman/vendor/gems/gems/yui-compressor-0.9.1/Rakefile", + "lib/middleman/vendor/gems/gems/yui-compressor-0.9.1/lib/yui/compressor.rb", + "lib/middleman/vendor/gems/gems/yui-compressor-0.9.1/test/compressor_test.rb", + "lib/middleman/vendor/gems/gems/yui-compressor-0.9.1/vendor/yuicompressor-2.4.2.jar", + "lib/middleman/vendor/gems/specifications/compass-0.8.17.gemspec", + "lib/middleman/vendor/gems/specifications/compass-slickmap-0.2.1.gemspec", + "lib/middleman/vendor/gems/specifications/configuration-1.1.0.gemspec", + "lib/middleman/vendor/gems/specifications/diff-lcs-1.1.2.gemspec", + "lib/middleman/vendor/gems/specifications/extlib-0.9.13.gemspec", + "lib/middleman/vendor/gems/specifications/haml-2.2.14.gemspec", + "lib/middleman/vendor/gems/specifications/highline-1.5.1.gemspec", + "lib/middleman/vendor/gems/specifications/httpclient-2.1.5.2.gemspec", + "lib/middleman/vendor/gems/specifications/json-1.2.0.gemspec", + "lib/middleman/vendor/gems/specifications/json_pure-1.2.0.gemspec", + "lib/middleman/vendor/gems/specifications/launchy-0.3.3.gemspec", + "lib/middleman/vendor/gems/specifications/rack-1.0.1.gemspec", + "lib/middleman/vendor/gems/specifications/rack-test-0.5.2.gemspec", + "lib/middleman/vendor/gems/specifications/rake-0.8.7.gemspec", + "lib/middleman/vendor/gems/specifications/shotgun-0.4.gemspec", + "lib/middleman/vendor/gems/specifications/sinatra-0.9.4.gemspec", + "lib/middleman/vendor/gems/specifications/sinatra-content-for-0.2.gemspec", + "lib/middleman/vendor/gems/specifications/smusher-0.4.2.gemspec", + "lib/middleman/vendor/gems/specifications/sprockets-1.0.2.gemspec", + "lib/middleman/vendor/gems/specifications/templater-1.0.0.gemspec", + "lib/middleman/vendor/gems/specifications/yui-compressor-0.9.1.gemspec", "middleman.gemspec", - "spec/auto_image_sizes.rb", "spec/builder_spec.rb", - "spec/cache_buster_off_spec.rb", - "spec/cache_buster_on_spec.rb", "spec/fixtures/sample/init.rb", "spec/fixtures/sample/public/images/blank.gif", "spec/fixtures/sample/public/javascripts/to-be-included.js", @@ -83,10 +1515,6 @@ Gem::Specification.new do |s| "spec/fixtures/sample/views/stylesheets/site.css.sass", "spec/generator_spec.rb", "spec/helpers_spec.rb", - "spec/minify_css_spec.rb", - "spec/minify_javascript_spec.rb", - "spec/page_alias_and_layouts_spec.rb", - "spec/relative_assets_spec.rb", "spec/spec_helper.rb" ] s.homepage = %q{http://wiki.github.com/tdreyno/middleman} @@ -96,17 +1524,10 @@ Gem::Specification.new do |s| s.rubygems_version = %q{1.3.5} s.summary = %q{A static site generator utilizing Haml, Sass and providing YUI compression and cache busting} s.test_files = [ - "spec/auto_image_sizes.rb", - "spec/builder_spec.rb", - "spec/cache_buster_off_spec.rb", - "spec/cache_buster_on_spec.rb", + "spec/builder_spec.rb", "spec/fixtures/sample/init.rb", "spec/generator_spec.rb", "spec/helpers_spec.rb", - "spec/minify_css_spec.rb", - "spec/minify_javascript_spec.rb", - "spec/page_alias_and_layouts_spec.rb", - "spec/relative_assets_spec.rb", "spec/spec_helper.rb" ] @@ -116,11 +1537,17 @@ Gem::Specification.new do |s| if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then s.add_runtime_dependency(%q, [">= 0"]) + s.add_development_dependency(%q, [">= 0"]) + s.add_development_dependency(%q, [">= 0"]) else s.add_dependency(%q, [">= 0"]) + s.add_dependency(%q, [">= 0"]) + s.add_dependency(%q, [">= 0"]) end else s.add_dependency(%q, [">= 0"]) + s.add_dependency(%q, [">= 0"]) + s.add_dependency(%q, [">= 0"]) end end diff --git a/spec/builder_spec.rb b/spec/builder_spec.rb index 00239eb6..b3311bdc 100755 --- a/spec/builder_spec.rb +++ b/spec/builder_spec.rb @@ -11,23 +11,23 @@ describe "Builder" do before :each do build_cmd = project_file("bin", "mm-build") - `cd #{@root_dir} && #{build_cmd}` + `cd #{@root_dir} && MM_DIR="#{@root_dir}" #{build_cmd}` end after :each do FileUtils.rm_rf(File.join(@root_dir, "build")) end + it "should use layout" do + File.exists?("#{@root_dir}/build/index.html").should be_true + File.read("#{@root_dir}/build/index.html").should include("Comment in layout") + end + it "should build haml files" do File.exists?("#{@root_dir}/build/index.html").should be_true File.read("#{@root_dir}/build/index.html").should include("

    Welcome

    ") end - xit "should build maruku files" do - File.exists?("#{@root_dir}/build/maruku.html").should be_true - File.read("#{@root_dir}/build/maruku.html").should include("

    Hello Maruku

    ") - end - it "should build static files" do File.exists?("#{@root_dir}/build/static.html").should be_true File.read("#{@root_dir}/build/static.html").should include("Static, no code!") diff --git a/spec/fixtures/sample/init.rb b/spec/fixtures/sample/init.rb index 3f4df292..98de204b 100755 --- a/spec/fixtures/sample/init.rb +++ b/spec/fixtures/sample/init.rb @@ -1,11 +1,6 @@ -# enable :maruku - -get "/inline-css.html" do - haml :"inline-css.html", :layout => false -end - -get "/inline-js.html" do - haml :"inline-js.html", :layout => false +with_layout false do + page "/inline-css.html" + page "/inline-js.html" end get "/page-class.html" do diff --git a/spec/fixtures/sample/views/layout.haml b/spec/fixtures/sample/views/layout.haml index 15c1ed95..e5a7a094 100755 --- a/spec/fixtures/sample/views/layout.haml +++ b/spec/fixtures/sample/views/layout.haml @@ -1,5 +1,6 @@ %html %head %title My Sample Site + / Comment in layout %body = yield \ No newline at end of file diff --git a/spec/generator_spec.rb b/spec/generator_spec.rb deleted file mode 100755 index e31431f5..00000000 --- a/spec/generator_spec.rb +++ /dev/null @@ -1,41 +0,0 @@ -require 'fileutils' - -describe "Generator" do - def project_file(*parts) - File.expand_path(File.join(File.dirname(__FILE__), "..", *parts)) - end - - before :all do - @root_dir = project_file("spec", "fixtures", "generator-test") - end - - before :each do - init_cmd = project_file("bin", "mm-init") - `cd #{File.dirname(@root_dir)} && #{init_cmd} #{File.basename(@root_dir)}` - end - - after :each do - FileUtils.rm_rf(@root_dir) - end - - it "should use layout file" do - build_cmd = project_file("bin", "mm-build") - `cd #{@root_dir} && #{build_cmd}` - File.exists?("#{@root_dir}/build/index.html").should be_true - File.read("#{@root_dir}/build/index.html").should include("Comment in layout") - end - - it "should copy template files" do - template_dir = project_file("lib", "template", "**/*") - Dir[template_dir].each do |f| - next if File.directory?(f) - File.exists?("#{@root_dir}/#{f.split('template/')[1]}").should be_true - end - end - - it "should create empty directories" do - %w(views/stylesheets public/stylesheets public/javascripts public/images).each do |d| - File.exists?("#{@root_dir}/#{d}").should be_true - end - end -end \ No newline at end of file diff --git a/spec/helpers_spec.rb b/spec/helpers_spec.rb index c564a885..739ecbf9 100755 --- a/spec/helpers_spec.rb +++ b/spec/helpers_spec.rb @@ -1,7 +1,6 @@ require File.join(File.dirname(__FILE__), "spec_helper") base = ::Middleman::Base -base.set :root, File.join(File.dirname(__FILE__), "fixtures", "sample") describe "page_classes helper" do it "should generate root paths correctly" do diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 3660c15e..f918934c 100755 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,4 +1,4 @@ -#require 'rubygems' +ENV["MM_DIR"] = File.join(File.dirname(__FILE__), "fixtures", "sample") require File.join(File.dirname(File.dirname(__FILE__)), 'lib', 'middleman') require 'spec' require 'rack/test'