gem bundle up
0
lib/middleman.rb
Executable file → Normal file
0
lib/middleman/builder.rb
Normal file → Executable file
0
lib/middleman/config.ru
Executable file → Normal file
0
lib/middleman/fastimage.rb
Executable file → Normal file
0
lib/middleman/features/automatic_image_sizes.rb
Executable file → Normal file
0
lib/middleman/features/cache_buster.rb
Executable file → Normal file
0
lib/middleman/features/growl.rb
Executable file → Normal file
0
lib/middleman/features/maruku.rb
Executable file → Normal file
0
lib/middleman/features/minify_javascript.rb
Executable file → Normal file
0
lib/middleman/features/relative_assets.rb
Executable file → Normal file
0
lib/middleman/features/slickmap.rb
Executable file → Normal file
0
lib/middleman/haml.rb
Executable file → Normal file
3
lib/middleman/helpers.rb
Executable file → Normal file
|
@ -10,11 +10,12 @@ module Middleman
|
|||
haml name.to_sym, options.merge(:layout => false)
|
||||
end
|
||||
|
||||
def auto_stylesheet_link_tag
|
||||
def auto_stylesheet_link_tag(separator="/")
|
||||
path = request.path_info.dup
|
||||
path << self.class.index_file if path.match(%r{/$})
|
||||
path = path.gsub(%r{^/}, '')
|
||||
path = path.gsub(File.extname(path), '')
|
||||
path = path.gsub("/", separator)
|
||||
|
||||
css_file = File.join(self.class.public, self.class.css_dir, "#{path}.css")
|
||||
sass_file = File.join(self.class.views, self.class.css_dir, "#{path}.css.sass")
|
||||
|
|
0
lib/middleman/rack/sprockets+ruby19.rb
Executable file → Normal file
0
lib/middleman/template/views/layout.haml
Normal file → Executable file
0
lib/middleman/template/views/stylesheets/site.css.sass
Normal file → Executable file
6
lib/middleman/vendor/bin/compass
vendored
|
@ -1,3 +1,3 @@
|
|||
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
|
||||
require File.join(File.dirname(__FILE__), "../gems/environment")
|
||||
load File.join(File.dirname(__FILE__), "../gems/gems/compass-0.10.0.pre2/bin/compass")
|
||||
#!/Users/tdreyno/homebrew/Cellar/ruby/1.9.1-p243/bin/ruby
|
||||
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/environment"))
|
||||
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/gems/compass-0.10.0.pre2/bin/compass"))
|
6
lib/middleman/vendor/bin/css2sass
vendored
|
@ -1,3 +1,3 @@
|
|||
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
|
||||
require File.join(File.dirname(__FILE__), "../gems/environment")
|
||||
load File.join(File.dirname(__FILE__), "../gems/gems/haml-2.2.15/bin/css2sass")
|
||||
#!/Users/tdreyno/homebrew/Cellar/ruby/1.9.1-p243/bin/ruby
|
||||
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/environment"))
|
||||
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/gems/haml-2.2.16/bin/css2sass"))
|
6
lib/middleman/vendor/bin/edit_json.rb
vendored
|
@ -1,3 +1,3 @@
|
|||
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
|
||||
require File.join(File.dirname(__FILE__), "../gems/environment")
|
||||
load File.join(File.dirname(__FILE__), "../gems/gems/json-1.2.0/bin/edit_json.rb")
|
||||
#!/Users/tdreyno/homebrew/Cellar/ruby/1.9.1-p243/bin/ruby
|
||||
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/environment"))
|
||||
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/gems/json_pure-1.2.0/bin/edit_json.rb"))
|
6
lib/middleman/vendor/bin/haml
vendored
|
@ -1,3 +1,3 @@
|
|||
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
|
||||
require File.join(File.dirname(__FILE__), "../gems/environment")
|
||||
load File.join(File.dirname(__FILE__), "../gems/gems/haml-2.2.15/bin/haml")
|
||||
#!/Users/tdreyno/homebrew/Cellar/ruby/1.9.1-p243/bin/ruby
|
||||
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/environment"))
|
||||
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/gems/haml-2.2.16/bin/haml"))
|
6
lib/middleman/vendor/bin/html2haml
vendored
|
@ -1,3 +1,3 @@
|
|||
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
|
||||
require File.join(File.dirname(__FILE__), "../gems/environment")
|
||||
load File.join(File.dirname(__FILE__), "../gems/gems/haml-2.2.15/bin/html2haml")
|
||||
#!/Users/tdreyno/homebrew/Cellar/ruby/1.9.1-p243/bin/ruby
|
||||
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/environment"))
|
||||
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/gems/haml-2.2.16/bin/html2haml"))
|
6
lib/middleman/vendor/bin/htmldiff
vendored
|
@ -1,3 +1,3 @@
|
|||
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
|
||||
require File.join(File.dirname(__FILE__), "../gems/environment")
|
||||
load File.join(File.dirname(__FILE__), "../gems/gems/diff-lcs-1.1.2/bin/htmldiff")
|
||||
#!/Users/tdreyno/homebrew/Cellar/ruby/1.9.1-p243/bin/ruby
|
||||
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/environment"))
|
||||
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/gems/diff-lcs-1.1.2/bin/htmldiff"))
|
6
lib/middleman/vendor/bin/launchy
vendored
|
@ -1,3 +1,3 @@
|
|||
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
|
||||
require File.join(File.dirname(__FILE__), "../gems/environment")
|
||||
load File.join(File.dirname(__FILE__), "../gems/gems/launchy-0.3.3/bin/launchy")
|
||||
#!/Users/tdreyno/homebrew/Cellar/ruby/1.9.1-p243/bin/ruby
|
||||
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/environment"))
|
||||
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/gems/launchy-0.3.5/bin/launchy"))
|
6
lib/middleman/vendor/bin/ldiff
vendored
|
@ -1,3 +1,3 @@
|
|||
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
|
||||
require File.join(File.dirname(__FILE__), "../gems/environment")
|
||||
load File.join(File.dirname(__FILE__), "../gems/gems/diff-lcs-1.1.2/bin/ldiff")
|
||||
#!/Users/tdreyno/homebrew/Cellar/ruby/1.9.1-p243/bin/ruby
|
||||
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/environment"))
|
||||
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/gems/diff-lcs-1.1.2/bin/ldiff"))
|
6
lib/middleman/vendor/bin/prettify_json.rb
vendored
|
@ -1,3 +1,3 @@
|
|||
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
|
||||
require File.join(File.dirname(__FILE__), "../gems/environment")
|
||||
load File.join(File.dirname(__FILE__), "../gems/gems/json-1.2.0/bin/prettify_json.rb")
|
||||
#!/Users/tdreyno/homebrew/Cellar/ruby/1.9.1-p243/bin/ruby
|
||||
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/environment"))
|
||||
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/gems/json_pure-1.2.0/bin/prettify_json.rb"))
|
6
lib/middleman/vendor/bin/rackup
vendored
|
@ -1,3 +1,3 @@
|
|||
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
|
||||
require File.join(File.dirname(__FILE__), "../gems/environment")
|
||||
load File.join(File.dirname(__FILE__), "../gems/gems/rack-1.0.1/bin/rackup")
|
||||
#!/Users/tdreyno/homebrew/Cellar/ruby/1.9.1-p243/bin/ruby
|
||||
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/environment"))
|
||||
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/gems/rack-1.0.1/bin/rackup"))
|
6
lib/middleman/vendor/bin/rake
vendored
|
@ -1,3 +1,3 @@
|
|||
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
|
||||
require File.join(File.dirname(__FILE__), "../gems/environment")
|
||||
load File.join(File.dirname(__FILE__), "../gems/gems/rake-0.8.7/bin/rake")
|
||||
#!/Users/tdreyno/homebrew/Cellar/ruby/1.9.1-p243/bin/ruby
|
||||
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/environment"))
|
||||
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/gems/rake-0.8.7/bin/rake"))
|
6
lib/middleman/vendor/bin/sass
vendored
|
@ -1,3 +1,3 @@
|
|||
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
|
||||
require File.join(File.dirname(__FILE__), "../gems/environment")
|
||||
load File.join(File.dirname(__FILE__), "../gems/gems/haml-2.2.15/bin/sass")
|
||||
#!/Users/tdreyno/homebrew/Cellar/ruby/1.9.1-p243/bin/ruby
|
||||
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/environment"))
|
||||
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/gems/haml-2.2.16/bin/sass"))
|
6
lib/middleman/vendor/bin/shotgun
vendored
|
@ -1,3 +1,3 @@
|
|||
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
|
||||
require File.join(File.dirname(__FILE__), "../gems/environment")
|
||||
load File.join(File.dirname(__FILE__), "../gems/gems/shotgun-0.4/bin/shotgun")
|
||||
#!/Users/tdreyno/homebrew/Cellar/ruby/1.9.1-p243/bin/ruby
|
||||
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/environment"))
|
||||
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/gems/shotgun-0.4/bin/shotgun"))
|
6
lib/middleman/vendor/bin/smusher
vendored
|
@ -1,3 +1,3 @@
|
|||
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
|
||||
require File.join(File.dirname(__FILE__), "../gems/environment")
|
||||
load File.join(File.dirname(__FILE__), "../gems/gems/smusher-0.4.2/bin/smusher")
|
||||
#!/Users/tdreyno/homebrew/Cellar/ruby/1.9.1-p243/bin/ruby
|
||||
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/environment"))
|
||||
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/gems/smusher-0.4.2/bin/smusher"))
|
6
lib/middleman/vendor/bin/sprocketize
vendored
|
@ -1,3 +1,3 @@
|
|||
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
|
||||
require File.join(File.dirname(__FILE__), "../gems/environment")
|
||||
load File.join(File.dirname(__FILE__), "../gems/gems/sprockets-1.0.2/bin/sprocketize")
|
||||
#!/Users/tdreyno/homebrew/Cellar/ruby/1.9.1-p243/bin/ruby
|
||||
require File.expand_path(File.join(File.dirname(__FILE__), "../gems/environment"))
|
||||
load File.expand_path(File.join(File.dirname(__FILE__), "../gems/gems/sprockets-1.0.2/bin/sprocketize"))
|
0
lib/middleman/vendor/gems/cache/configuration-1.1.0.gem
vendored
Executable file → Normal file
0
lib/middleman/vendor/gems/cache/diff-lcs-1.1.2.gem
vendored
Executable file → Normal file
BIN
lib/middleman/vendor/gems/cache/extlib-0.9.13.gem
vendored
BIN
lib/middleman/vendor/gems/cache/fancy-buttons-0.3.7.gem
vendored
Normal file
BIN
lib/middleman/vendor/gems/cache/haml-2.2.15.gem
vendored
BIN
lib/middleman/vendor/gems/cache/haml-2.2.16.gem
vendored
Normal file
0
lib/middleman/vendor/gems/cache/highline-1.5.1.gem
vendored
Executable file → Normal file
BIN
lib/middleman/vendor/gems/cache/launchy-0.3.3.gem
vendored
BIN
lib/middleman/vendor/gems/cache/launchy-0.3.5.gem
vendored
Normal file
0
lib/middleman/vendor/gems/cache/rack-1.0.1.gem
vendored
Executable file → Normal file
0
lib/middleman/vendor/gems/cache/rake-0.8.7.gem
vendored
Executable file → Normal file
0
lib/middleman/vendor/gems/cache/shotgun-0.4.gem
vendored
Executable file → Normal file
0
lib/middleman/vendor/gems/cache/sinatra-0.9.4.gem
vendored
Executable file → Normal file
0
lib/middleman/vendor/gems/cache/sprockets-1.0.2.gem
vendored
Executable file → Normal file
0
lib/middleman/vendor/gems/cache/templater-1.0.0.gem
vendored
Executable file → Normal file
124
lib/middleman/vendor/gems/environment.rb
vendored
|
@ -6,106 +6,106 @@ module Bundler
|
|||
ENV["PATH"] = "#{dir}/../bin:#{ENV["PATH"]}"
|
||||
ENV["RUBYOPT"] = "-r#{file} #{ENV["RUBYOPT"]}"
|
||||
|
||||
$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/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/extlib-0.9.14/bin")
|
||||
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/extlib-0.9.14/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/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/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/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/extlib-0.9.14/bin")
|
||||
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/extlib-0.9.14/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/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/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/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/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/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.5/bin")
|
||||
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/launchy-0.3.5/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/haml-2.2.15/bin")
|
||||
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/haml-2.2.15/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/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/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/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/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/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/haml-2.2.16/bin")
|
||||
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/haml-2.2.16/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/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/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/compass-0.10.0.pre2/bin")
|
||||
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/compass-0.10.0.pre2/lib")
|
||||
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/compass-slickmap-0.2.3/bin")
|
||||
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/compass-slickmap-0.2.3/lib")
|
||||
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/compass-colors-0.3.1/bin")
|
||||
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/compass-colors-0.3.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/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/fancy-buttons-0.3.6/bin")
|
||||
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/fancy-buttons-0.3.6/lib")
|
||||
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/fancy-buttons-0.3.7/bin")
|
||||
$LOAD_PATH.unshift File.expand_path("#{dir}/gems/fancy-buttons-0.3.7/lib")
|
||||
|
||||
@gemfile = "#{dir}/../../../../Gemfile"
|
||||
|
||||
require "rubygems"
|
||||
|
||||
@bundled_specs = {}
|
||||
@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["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["extlib"] = eval(File.read("#{dir}/specifications/extlib-0.9.14.gemspec"))
|
||||
@bundled_specs["extlib"].loaded_from = "#{dir}/specifications/extlib-0.9.14.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["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["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["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["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["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["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.5.gemspec"))
|
||||
@bundled_specs["launchy"].loaded_from = "#{dir}/specifications/launchy-0.3.5.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["haml"] = eval(File.read("#{dir}/specifications/haml-2.2.15.gemspec"))
|
||||
@bundled_specs["haml"].loaded_from = "#{dir}/specifications/haml-2.2.15.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["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["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["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["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["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["haml"] = eval(File.read("#{dir}/specifications/haml-2.2.16.gemspec"))
|
||||
@bundled_specs["haml"].loaded_from = "#{dir}/specifications/haml-2.2.16.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["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["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["compass"] = eval(File.read("#{dir}/specifications/compass-0.10.0.pre2.gemspec"))
|
||||
@bundled_specs["compass"].loaded_from = "#{dir}/specifications/compass-0.10.0.pre2.gemspec"
|
||||
@bundled_specs["compass-slickmap"] = eval(File.read("#{dir}/specifications/compass-slickmap-0.2.3.gemspec"))
|
||||
@bundled_specs["compass-slickmap"].loaded_from = "#{dir}/specifications/compass-slickmap-0.2.3.gemspec"
|
||||
@bundled_specs["compass-colors"] = eval(File.read("#{dir}/specifications/compass-colors-0.3.1.gemspec"))
|
||||
@bundled_specs["compass-colors"].loaded_from = "#{dir}/specifications/compass-colors-0.3.1.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["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["fancy-buttons"] = eval(File.read("#{dir}/specifications/fancy-buttons-0.3.6.gemspec"))
|
||||
@bundled_specs["fancy-buttons"].loaded_from = "#{dir}/specifications/fancy-buttons-0.3.6.gemspec"
|
||||
@bundled_specs["fancy-buttons"] = eval(File.read("#{dir}/specifications/fancy-buttons-0.3.7.gemspec"))
|
||||
@bundled_specs["fancy-buttons"].loaded_from = "#{dir}/specifications/fancy-buttons-0.3.7.gemspec"
|
||||
|
||||
def self.add_specs_to_loaded_specs
|
||||
Gem.loaded_specs.merge! @bundled_specs
|
||||
|
|
0
lib/middleman/vendor/gems/gems/compass-0.10.0.pre2/examples/css3/extensions/fancy-fonts/templates/project/Vtks Revolt.ttf
vendored
Normal file → Executable file
0
lib/middleman/vendor/gems/gems/compass-0.10.0.pre2/examples/css3/extensions/fancy-fonts/templates/project/angelina.ttf
vendored
Normal file → Executable file
0
lib/middleman/vendor/gems/gems/compass-0.10.0.pre2/lib/compass/frameworks/blueprint/templates/buttons/buttons/cross.png
vendored
Normal file → Executable file
Before Width: | Height: | Size: 655 B After Width: | Height: | Size: 655 B |
0
lib/middleman/vendor/gems/gems/compass-0.10.0.pre2/lib/compass/frameworks/blueprint/templates/buttons/buttons/key.png
vendored
Normal file → Executable file
Before Width: | Height: | Size: 455 B After Width: | Height: | Size: 455 B |
0
lib/middleman/vendor/gems/gems/compass-0.10.0.pre2/lib/compass/frameworks/blueprint/templates/buttons/buttons/tick.png
vendored
Normal file → Executable file
Before Width: | Height: | Size: 537 B After Width: | Height: | Size: 537 B |
0
lib/middleman/vendor/gems/gems/compass-slickmap-0.2.3/lib/slickmap.rb
vendored
Normal file → Executable file
0
lib/middleman/vendor/gems/gems/compass-slickmap-0.2.3/lib/slickmap/compass_plugin.rb
vendored
Normal file → Executable file
0
lib/middleman/vendor/gems/gems/compass-slickmap-0.2.3/templates/project/manifest.rb
vendored
Normal file → Executable file
0
lib/middleman/vendor/gems/gems/compass-slickmap-0.2.3/templates/project/sitemap.sass
vendored
Normal file → Executable file
0
lib/middleman/vendor/gems/gems/configuration-1.1.0/README
vendored
Executable file → Normal file
0
lib/middleman/vendor/gems/gems/configuration-1.1.0/README.erb
vendored
Executable file → Normal file
0
lib/middleman/vendor/gems/gems/configuration-1.1.0/Rakefile
vendored
Executable file → Normal file
0
lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/Install
vendored
Executable file → Normal file
0
lib/middleman/vendor/gems/gems/diff-lcs-1.1.2/README
vendored
Executable file → Normal file
0
lib/middleman/vendor/gems/gems/extlib-0.9.14/Rakefile
vendored
Executable file → Normal file
0
lib/middleman/vendor/gems/gems/extlib-0.9.14/lib/extlib/logger.rb
vendored
Executable file → Normal file
|
@ -11,16 +11,13 @@ Without CSS gradient support:
|
|||
## Install
|
||||
|
||||
Install the plugin:
|
||||
|
||||
sudo gem install compass --pre
|
||||
sudo gem install fancy-buttons
|
||||
|
||||
If you don't have compass colors 0.3.1
|
||||
|
||||
sudo gem install compass-colors
|
||||
|
||||
To create a new project based on fancy-buttons:
|
||||
|
||||
compass -r compass-colors -r fancy-buttons -f fancy-buttons your_project_name
|
||||
compass -r compass-colors -r fancy-buttons -f fancy-buttons project_directory
|
||||
|
||||
To add fancy-buttons to an existing compass project:
|
||||
|
||||
|
@ -29,7 +26,7 @@ To add fancy-buttons to an existing compass project:
|
|||
require 'fancy-buttons'
|
||||
|
||||
# Then run the following command:
|
||||
compass -i -f fancy-buttons
|
||||
compass -r fancy-buttons -f fancy-buttons project_directory
|
||||
|
||||
# Project Goals:
|
||||
|
|
@ -5,11 +5,11 @@
|
|||
|
||||
Gem::Specification.new do |s|
|
||||
s.name = %q{fancy-buttons}
|
||||
s.version = "0.3.6"
|
||||
s.version = "0.3.7"
|
||||
|
||||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
||||
s.authors = ["Brandon Mathis"]
|
||||
s.date = %q{2009-12-11}
|
||||
s.date = %q{2009-12-15}
|
||||
s.description = %q{Make fancy buttons with the Compass stylesheet authoring framework.}
|
||||
s.email = %q{brandon@imathis.com}
|
||||
s.extra_rdoc_files = [
|
|
@ -20,6 +20,8 @@
|
|||
// Style the button's colors, picking the most appropriate color set for the base color.
|
||||
=fancy-button-colors(!color = !fb_color, !hover = 0, !active = 0)
|
||||
+fb-color(!color, "default")
|
||||
&.disabled:active, &.disabled:hover, &[disabled]:active, &[disabled]:hover
|
||||
+fb-color(!color, "default")
|
||||
&:hover, &:focus
|
||||
@if !hover == 0
|
||||
+fb-color(darken(!color, 3), "hover", !color)
|
||||
|
@ -95,6 +97,15 @@
|
|||
text-shadow= lighten(!color, 15) !text_shadow_settings
|
||||
color= !fb_dark_text
|
||||
|
||||
=fancy-button-text-colors(!color, !hover, !active)
|
||||
color= !color
|
||||
&:hover, &:focus
|
||||
color= !hover
|
||||
&:active
|
||||
color= !active
|
||||
&.disabled:active, &.disabled:hover, &[disabled]:active, &[disabled]:hover
|
||||
color= !color
|
||||
|
||||
// Apply this mixin to a nested element to style an arrow
|
||||
=fancy-arrow(!font_size)
|
||||
font-size= !font_size + 4px
|
||||
|
@ -131,7 +142,7 @@
|
|||
&:active
|
||||
padding= !v_padding_active !h_padding_active
|
||||
border-width= !border_width + 1px
|
||||
&.disabled:active
|
||||
&.disabled:active, &[disabled]
|
||||
padding= !v_padding !h_padding
|
||||
border-width= !border_width
|
||||
|
||||
|
@ -152,8 +163,10 @@
|
|||
padding: 0
|
||||
&:focus
|
||||
outline: none
|
||||
&.disabled, &[disabled]
|
||||
+disable-button
|
||||
|
||||
=disable-button(!opacity = .7)
|
||||
+opacity(!opacity)
|
||||
&:hover
|
||||
&:hover, &:focus
|
||||
cursor: default
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
@ -21,6 +21,11 @@
|
|||
<button class="light">Click Me</button>
|
||||
<button class="matte-blue">Click Me</button>
|
||||
</div>
|
||||
<h2>Disabled Buttons</h2>
|
||||
<div>
|
||||
<button class="green" disabled>Click Me</button>
|
||||
<button class="red" disabled>Click Me</button>
|
||||
</div>
|
||||
<h2>Custom Radial Gradient</h2>
|
||||
<div>
|
||||
<button class="custom heart">♥</button>
|
|
@ -1 +0,0 @@
|
|||
2.2.15
|
1
lib/middleman/vendor/gems/gems/haml-2.2.16/VERSION
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
2.2.16
|
|
@ -15,7 +15,7 @@ module Haml
|
|||
|
||||
# The options hash passed in from {Haml::Engine}.
|
||||
#
|
||||
# @return [Hash<String, Object>]
|
||||
# @return [{String => Object}]
|
||||
# @see Haml::Engine#options_for_buffer
|
||||
attr_accessor :options
|
||||
|
||||
|
@ -85,7 +85,7 @@ module Haml
|
|||
end
|
||||
|
||||
# @param upper [Buffer] The parent buffer
|
||||
# @param options [Hash<Symbol, Object>] An options hash.
|
||||
# @param options [{Symbol => Object}] An options hash.
|
||||
# See {Haml::Engine#options\_for\_buffer}
|
||||
def initialize(upper = nil, options = {})
|
||||
@active = true
|
||||
|
@ -240,9 +240,9 @@ RUBY
|
|||
#
|
||||
# Destructively modifies both `to` and `from`.
|
||||
#
|
||||
# @param to [Hash<String, String>] The attribute hash to merge into
|
||||
# @param from [Hash<String, String>] The attribute hash to merge from
|
||||
# @return [Hash<String, String>] `to`, after being merged
|
||||
# @param to [{String => String}] The attribute hash to merge into
|
||||
# @param from [{String => String}] The attribute hash to merge from
|
||||
# @return [{String => String}] `to`, after being merged
|
||||
def self.merge_attrs(to, from)
|
||||
if to['id'] && from['id']
|
||||
to['id'] << '_' << from.delete('id').to_s
|
|
@ -20,7 +20,7 @@ module Haml
|
|||
# The options hash.
|
||||
# See {file:HAML_REFERENCE.md#haml_options the Haml options documentation}.
|
||||
#
|
||||
# @return [Hash<Symbol, Object>]
|
||||
# @return [{Symbol => Object}]
|
||||
attr_accessor :options
|
||||
|
||||
# The indentation used in the Haml document,
|
||||
|
@ -66,7 +66,7 @@ module Haml
|
|||
# Precompiles the Haml template.
|
||||
#
|
||||
# @param template [String] The Haml template
|
||||
# @param options [Hash<Symbol, Object>] An options hash;
|
||||
# @param options [{Symbol => Object}] An options hash;
|
||||
# see {file:HAML_REFERENCE.md#haml_options the Haml options documentation}
|
||||
# @raise [Haml::Error] if there's a Haml syntax error in the template
|
||||
def initialize(template, options = {})
|
||||
|
@ -154,7 +154,7 @@ module Haml
|
|||
# they won't work.
|
||||
#
|
||||
# @param scope [Binding, Proc, Object] The context in which the template is evaluated
|
||||
# @param locals [Hash<Symbol, Object>] Local variables that will be made available
|
||||
# @param locals [{Symbol => Object}] Local variables that will be made available
|
||||
# to the template
|
||||
# @param block [#to_proc] A block that can be yielded to within the template
|
||||
# @return [String] The rendered template
|
||||
|
@ -275,7 +275,7 @@ module Haml
|
|||
#
|
||||
# See {file:HAML_REFERENCE.md#haml_options the Haml options documentation}.
|
||||
#
|
||||
# @return [Hash<Symbol, Object>] The options hash
|
||||
# @return [{Symbol => Object}] The options hash
|
||||
def options_for_buffer
|
||||
{
|
||||
:autoclose => @options[:autoclose],
|
|
@ -4,7 +4,7 @@ module Haml
|
|||
#
|
||||
# @see Haml::Filters::Base
|
||||
module Filters
|
||||
# @return [Hash<String, Haml::Filters::Base>] a hash of filter names to classes
|
||||
# @return [{String => Haml::Filters::Base}] a hash of filter names to classes
|
||||
def self.defined
|
||||
@defined ||= {}
|
||||
end
|
|
@ -198,7 +198,7 @@ MESSAGE
|
|||
# <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en-US' lang='en-US'>
|
||||
#
|
||||
# @param lang [String] The value of `xml:lang` and `lang`
|
||||
# @return [Hash<#to_s, String>] The attribute hash
|
||||
# @return [{#to_s => String}] The attribute hash
|
||||
def html_attrs(lang = 'en-US')
|
||||
{:xmlns => "http://www.w3.org/1999/xhtml", 'xml:lang' => lang, :lang => lang}
|
||||
end
|