diff --git a/.gitignore b/.gitignore index 1daf5e90..d62f537c 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,6 @@ public/stylesheets/cache tmp vendor/plugins/query_trace/ rerun.txt +public/javascripts/jquery-all.js +public/javascripts/tracks.js +public/stylesheets/all.css diff --git a/app/views/layouts/standard.html.erb b/app/views/layouts/standard.html.erb index 223efb41..968745f4 100644 --- a/app/views/layouts/standard.html.erb +++ b/app/views/layouts/standard.html.erb @@ -2,23 +2,13 @@
- <% bundle :name => "tracks_css" do %> - <%= stylesheet_link_tag *%w[ standard superfish niftyCorners jquery-ui jquery.autocomplete] %> - <% end %> + <%= stylesheet_link_tag 'standard','superfish','niftyCorners','jquery-ui', + 'jquery.autocomplete', :cache => true %> <%= stylesheet_link_tag "print", :media => "print" %> - <% bundle :name => "jquery" do %> - <%= javascript_include_tag 'jquery' %> - <%= javascript_include_tag 'jquery-ui' %> - <%= javascript_include_tag 'jquery.cookie' %> - <%= javascript_include_tag 'jquery.blockUI' %> - <%= javascript_include_tag 'jquery.jeditable' %> - <%= javascript_include_tag 'jquery.autocomplete' %> - <% end %> - <% bundle :name => "tracks_js" do %> - <%= javascript_include_tag *%w[ - hoverIntent superfish application - accesskey-hints niftycube flashobject ] %> - <% end %> + <%= javascript_include_tag 'jquery','jquery-ui','jquery.cookie', + 'jquery.blockUI','jquery.jeditable','jquery.autocomplete', :cache => 'jquery-all' %> + <%= javascript_include_tag 'hoverIntent','superfish','application', + 'accesskey-hints','niftycube','flashobject', :cache => 'tracks' %> <%= javascript_tag "var AUTH_TOKEN = #{form_authenticity_token.inspect};" if protect_against_forgery? %> <%= javascript_tag "var SOURCE_VIEW = '#{@source_view}';" %> <%= javascript_tag "var TAG_NAME = '#{@tag_name}';" if @tag_name %> diff --git a/vendor/plugins/bundle-fu/MIT-LICENSE b/vendor/plugins/bundle-fu/MIT-LICENSE deleted file mode 100644 index 2a72cbf4..00000000 --- a/vendor/plugins/bundle-fu/MIT-LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (c) 2007 Timothy Harper - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/vendor/plugins/bundle-fu/README.textile b/vendor/plugins/bundle-fu/README.textile deleted file mode 100644 index 4465a11e..00000000 --- a/vendor/plugins/bundle-fu/README.textile +++ /dev/null @@ -1,35 +0,0 @@ -h1. Bundle fu -------------- - -Each css / js you load causes your site to load slower! You can speed things up -exponentially by simply combining all your css/js files into one file each. - -Bundle_fu makes it easy to do. It's as easy as 1, 2! - -h2. USAGE / INSTALLATION ------------------------- - -h3. Step 1 - -Install this plugin - -script/plugin install git://github.com/timcharper/bundle-fu.git - -h3. Step 2 - -Put the following around your stylesheets/javascripts (note it works with any method of including assets!): - -
- <% bundle do %>
- ...
- <%= javascript_include_tag "prototype" %>
- <%= stylesheet_link_tag "basic.css" %>
- <%= calendar_date_select_includes params[:style] %>
-
- ...
- <% end %>
-
-
-That's it!
-
-"More info":http://code.google.com/p/bundle-fu/
diff --git a/vendor/plugins/bundle-fu/environment.rb b/vendor/plugins/bundle-fu/environment.rb
deleted file mode 100644
index bf530613..00000000
--- a/vendor/plugins/bundle-fu/environment.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-# load all files
-for file in ["/lib/bundle_fu.rb", "/lib/bundle_fu/js_minimizer.rb", "/lib/bundle_fu/css_url_rewriter.rb", "/lib/bundle_fu/file_list.rb"]
- require File.expand_path(File.join(File.dirname(__FILE__), file))
-end
diff --git a/vendor/plugins/bundle-fu/init.rb b/vendor/plugins/bundle-fu/init.rb
deleted file mode 100644
index 695d9d5e..00000000
--- a/vendor/plugins/bundle-fu/init.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-# EZ Bundle
-for file in ["/lib/bundle_fu.rb", "/lib/js_minimizer.rb", "/lib/bundle_fu/file_list.rb"]
-end
-require File.expand_path(File.join(File.dirname(__FILE__), "environment.rb"))
-
-ActionView::Base.send(:include, BundleFu::InstanceMethods)
\ No newline at end of file
diff --git a/vendor/plugins/bundle-fu/lib/bundle_fu.rb b/vendor/plugins/bundle-fu/lib/bundle_fu.rb
deleted file mode 100644
index 8cc20b41..00000000
--- a/vendor/plugins/bundle-fu/lib/bundle_fu.rb
+++ /dev/null
@@ -1,147 +0,0 @@
-class BundleFu
-
- class << self
- attr_accessor :content_store
- def init
- @content_store = {}
- end
-
- def bundle_files(filenames=[])
- output = ""
- filenames.each{ |filename|
- filename_no_root = filename.sub(/^#{ActionController::Base.relative_url_root}/, '')
- output << "/* --------- #{filename} - #{filename_no_root} --- ------ */ "
- output << "\n"
- begin
- content = (File.read(File.join(RAILS_ROOT, "public", filename_no_root)))
- rescue
- output << "/* FILE READ ERROR! */"
- next
- end
-
- output << (yield(filename, content)||"")
- }
- output
- end
-
- def bundle_js_files(filenames=[], options={})
- output =
- bundle_files(filenames) { |filename, content|
- if options[:compress]
- if Object.const_defined?("Packr")
- content
- else
- JSMinimizer.minimize_content(content)
- end
- else
- content
- end
- }
-
- if Object.const_defined?("Packr")
- # use Packr plugin (http://blog.jcoglan.com/packr/)
- Packr.new.pack(output, options[:packr_options] || {:shrink_vars => false, :base62 => false})
- else
- output
- end
-
- end
-
- def bundle_css_files(filenames=[], options = {})
- bundle_files(filenames) { |filename, content|
- BundleFu::CSSUrlRewriter.rewrite_urls(filename, content)
- }
- end
- end
-
- self.init
-
- module InstanceMethods
- # valid options:
- # :name - The name of the css and js files you wish to output
- # returns true if a regen occured. False if not.
- def bundle(options={}, &block)
- # allow bypassing via the querystring
- session[:bundle_fu] = (params[:bundle_fu]=="true") if params.has_key?(:bundle_fu)
-
- options = {
- :css_path => ($bundle_css_path || "/stylesheets/cache"),
- :js_path => ($bundle_js_path || "/javascripts/cache"),
- :name => ($bundle_default_name || "bundle"),
- :compress => true,
- :bundle_fu => ( session[:bundle_fu].nil? ? ($bundle_fu.nil? ? true : $bundle_fu) : session[:bundle_fu] )
- }.merge(options)
-
- # allow them to bypass via parameter
- options[:bundle_fu] = false if options[:bypass]
-
- paths = { :css => options[:css_path], :js => options[:js_path] }
-
- content = capture(&block)
- content_changed = false
-
- new_files = nil
- abs_filelist_paths = [:css, :js].inject({}) { | hash, filetype | hash[filetype] = File.join(RAILS_ROOT, "public", paths[filetype], "#{options[:name]}.#{filetype}.filelist"); hash }
-
- # only rescan file list if content_changed, or if a filelist cache file is missing
- unless content == BundleFu.content_store[options[:name]] && File.exists?(abs_filelist_paths[:css]) && File.exists?(abs_filelist_paths[:js])
- BundleFu.content_store[options[:name]] = content
- new_files = {:js => [], :css => []}
-
- content.scan(/(href|src) *= *["']([^"^'^\?]+)/i).each{ |property, value|
- case property
- when "src"
- new_files[:js] << value
- when "href"
- new_files[:css] << value
- end
- }
- end
-
- [:css, :js].each { |filetype|
- output_filename = File.join(paths[filetype], "#{options[:name]}.#{filetype}")
- abs_path = File.join(RAILS_ROOT, "public", output_filename)
- abs_filelist_path = abs_filelist_paths[filetype]
-
- filelist = FileList.open( abs_filelist_path )
-
- # check against newly parsed filelist. If we didn't parse the filelist from the output, then check against the updated mtimes.
- new_filelist = new_files ? BundleFu::FileList.new(new_files[filetype]) : filelist.clone.update_mtimes
-
- unless new_filelist == filelist
- FileUtils.mkdir_p(File.join(RAILS_ROOT, "public", paths[filetype]))
- # regenerate everything
- if new_filelist.filenames.empty?
- # delete the javascript/css bundle file if it's empty, but keep the filelist cache
- FileUtils.rm_f(abs_path)
- else
- # call bundle_css_files or bundle_js_files to bundle all files listed. output it's contents to a file
- output = BundleFu.send("bundle_#{filetype}_files", new_filelist.filenames, options)
- File.open( abs_path, "w") {|f| f.puts output } if output
- end
- new_filelist.save_as(abs_filelist_path)
- end
-
- if File.exists?(abs_path) && options[:bundle_fu]
- tag = filetype==:css ? stylesheet_link_tag(output_filename) : javascript_include_tag(output_filename)
- if Rails::version < "2.2.0"
- concat( tag , block.binding)
- else
- #concat doesn't need block.binding in Rails >= 2.2.0
- concat( tag )
- end
-
- end
- }
-
- unless options[:bundle_fu]
- if Rails::version < "2.2.0"
- concat( content, block.binding )
- else
- #concat doesn't need block.binding in Rails >= 2.2.0
- concat( content )
- end
- end
- end
- end
-end
diff --git a/vendor/plugins/bundle-fu/lib/bundle_fu/css_url_rewriter.rb b/vendor/plugins/bundle-fu/lib/bundle_fu/css_url_rewriter.rb
deleted file mode 100644
index d048a738..00000000
--- a/vendor/plugins/bundle-fu/lib/bundle_fu/css_url_rewriter.rb
+++ /dev/null
@@ -1,48 +0,0 @@
-class BundleFu::CSSUrlRewriter
- class << self
- # rewrites a relative path to an absolute path, removing excess "../" and "./"
- # rewrite_relative_path("stylesheets/default/global.css", "../image.gif") => "#{rails_relative_root}/stylesheets/image.gif"
- def rewrite_relative_path(source_filename, relative_url)
- relative_url = relative_url.to_s.strip.gsub(/["']/, "")
-
- return relative_url if relative_url.include?("://")
- if ( relative_url.first == "/" )
- return relative_url unless ActionController::Base.relative_url_root
- return "#{ActionController::Base.relative_url_root}#{relative_url}"
- end
-
- elements = File.join("/", File.dirname(source_filename)).gsub(/\/+/, '/').split("/")
- elements += relative_url.gsub(/\/+/, '/').split("/")
-
- index = 0
- while(elements[index])
- if (elements[index]==".")
- elements.delete_at(index)
- elsif (elements[index]=="..")
- next if index==0
- index-=1
- 2.times { elements.delete_at(index)}
-
- else
- index+=1
- end
- end
-
- path = elements * "/"
- return path unless ActionController::Base.relative_url_root
- "#{ActionController::Base.relative_url_root}#{path}"
- end
-
- # rewrite the URL reference paths
- # url(../../../images/active_scaffold/default/add.gif);
- # url(/stylesheets/active_scaffold/default/../../../images/active_scaffold/default/add.gif);
- # url(/stylesheets/active_scaffold/../../images/active_scaffold/default/add.gif);
- # url(/stylesheets/../images/active_scaffold/default/add.gif);
- # url('/images/active_scaffold/default/add.gif');
- def rewrite_urls(filename, content)
- content.gsub!(/url *\(([^\)]+)\)/) { "url(#{rewrite_relative_path(filename, $1)})" }
- content
- end
-
- end
-end
diff --git a/vendor/plugins/bundle-fu/lib/bundle_fu/file_list.rb b/vendor/plugins/bundle-fu/lib/bundle_fu/file_list.rb
deleted file mode 100644
index 7beb4624..00000000
--- a/vendor/plugins/bundle-fu/lib/bundle_fu/file_list.rb
+++ /dev/null
@@ -1,64 +0,0 @@
-require 'fileutils.rb'
-
-class BundleFu::FileList
- attr_accessor :filelist
-
- def initialize(filenames=[])
- self.filelist = []
-
- self.add_files(filenames)
- end
-
- def initialize_copy(from)
- self.filelist = from.filelist.collect{|entry| entry.clone}
- end
-
- def filenames
- self.filelist.collect{ |entry| entry[0] }
- end
-
- def update_mtimes
- old_filenames = self.filenames
- self.filelist = []
- # readding the files will effectively update the mtimes
- self.add_files(old_filenames)
- self
- end
-
- def self.open(filename)
- return nil unless File.exists?(filename)
- b = new
- File.open(filename, "rb") {|f|
- b.filelist = Marshal.load(f) # rescue [])
- }
- b
- rescue
- nil
- end
-
- # compares to see if one file list is exactly the same as another
- def ==(compare)
- return false if compare.nil?
- throw "cant compare with #{compare.class}" unless self.class===compare
-
- self.filelist == compare.filelist
- end
-
- def add_files(filenames=[])
- filenames.each{|filename|
- self.filelist << [ extract_filename_from_url(filename), (File.mtime(abs_location(filename)).to_i rescue 0) ]
- }
- end
-
- def extract_filename_from_url(url)
- url.gsub(/^https?:\/\/[^\/]+/i, '')
- end
-
- def save_as(filename)
- File.open(filename, "wb") {|f| f.puts Marshal.dump(self.filelist)}
- end
-protected
- def abs_location(filename)
- File.join(RAILS_ROOT, "public", filename)
- end
-end
diff --git a/vendor/plugins/bundle-fu/lib/bundle_fu/js_minimizer.rb b/vendor/plugins/bundle-fu/lib/bundle_fu/js_minimizer.rb
deleted file mode 100644
index cef0461e..00000000
--- a/vendor/plugins/bundle-fu/lib/bundle_fu/js_minimizer.rb
+++ /dev/null
@@ -1,217 +0,0 @@
-#!/usr/bin/ruby
-# jsmin.rb 2007-07-20
-# Author: Uladzislau Latynski
-# This work is a translation from C to Ruby of jsmin.c published by
-# Douglas Crockford. Permission is hereby granted to use the Ruby
-# version under the same conditions as the jsmin.c on which it is
-# based.
-#
-# /* jsmin.c
-# 2003-04-21
-#
-# Copyright (c) 2002 Douglas Crockford (www.crockford.com)
-#
-# Permission is hereby granted, free of charge, to any person obtaining a copy of
-# this software and associated documentation files (the "Software"), to deal in
-# the Software without restriction, including without limitation the rights to
-# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
-# of the Software, and to permit persons to whom the Software is furnished to do
-# so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included in all
-# copies or substantial portions of the Software.
-#
-# The Software shall be used for Good, not Evil.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-# SOFTWARE.
-
-require 'stringio'
-
-class BundleFu::JSMinimizer
- attr_accessor :input
- attr_accessor :output
-
- EOF = -1
- @theA = ""
- @theB = ""
-
- # isAlphanum -- return true if the character is a letter, digit, underscore,
- # dollar sign, or non-ASCII character
- def isAlphanum(c)
- return false if !c || c == EOF
- return ((c >= 'a' && c <= 'z') || (c >= '0' && c <= '9') ||
- (c >= 'A' && c <= 'Z') || c == '_' || c == '$' ||
- c == '\\' || c[0] > 126)
- end
-
- # get -- return the next character from input. Watch out for lookahead. If
- # the character is a control character, translate it to a space or linefeed.
- def get()
- c = @input.getc
- return EOF if(!c)
- c = c.chr
- return c if (c >= " " || c == "\n" || c.unpack("c") == EOF)
- return "\n" if (c == "\r")
- return " "
- end
-
- # Get the next character without getting it.
- def peek()
- lookaheadChar = @input.getc
- @input.ungetc(lookaheadChar)
- return lookaheadChar.chr
- end
-
- # mynext -- get the next character, excluding comments.
- # peek() is used to see if a '/' is followed by a '/' or '*'.
- def mynext()
- c = get
- if (c == "/")
- if(peek == "/")
- while(true)
- c = get
- if (c <= "\n")
- return c
- end
- end
- end
- if(peek == "*")
- get
- while(true)
- case get
- when "*"
- if (peek == "/")
- get
- return " "
- end
- when EOF
- raise "Unterminated comment"
- end
- end
- end
- end
- return c
- end
-
-
- # action -- do something! What you do is determined by the argument: 1
- # Output A. Copy B to A. Get the next B. 2 Copy B to A. Get the next B.
- # (Delete A). 3 Get the next B. (Delete B). action treats a string as a
- # single character. Wow! action recognizes a regular expression if it is
- # preceded by ( or , or =.
- def action(a)
- if(a==1)
- @output.write @theA
- end
- if(a==1 || a==2)
- @theA = @theB
- if (@theA == "\'" || @theA == "\"")
- while (true)
- @output.write @theA
- @theA = get
- break if (@theA == @theB)
- raise "Unterminated string literal" if (@theA <= "\n")
- if (@theA == "\\")
- @output.write @theA
- @theA = get
- end
- end
- end
- end
- if(a==1 || a==2 || a==3)
- @theB = mynext
- if (@theB == "/" && (@theA == "(" || @theA == "," || @theA == "=" ||
- @theA == ":" || @theA == "[" || @theA == "!" ||
- @theA == "&" || @theA == "|" || @theA == "?" ||
- @theA == "{" || @theA == "}" || @theA == ";" ||
- @theA == "\n"))
- @output.write @theA
- @output.write @theB
- while (true)
- @theA = get
- if (@theA == "/")
- break
- elsif (@theA == "\\")
- @output.write @theA
- @theA = get
- elsif (@theA <= "\n")
- raise "Unterminated RegExp Literal"
- end
- @output.write @theA
- end
- @theB = mynext
- end
- end
- end
-
- # jsmin -- Copy the input to the output, deleting the characters which are
- # insignificant to JavaScript. Comments will be removed. Tabs will be
- # replaced with spaces. Carriage returns will be replaced with linefeeds.
- # Most spaces and linefeeds will be removed.
- def jsmin
- @theA = "\n"
- action(3)
- while (@theA != EOF)
- case @theA
- when " "
- if (isAlphanum(@theB))
- action(1)
- else
- action(2)
- end
- when "\n"
- case (@theB)
- when "{","[","(","+","-"
- action(1)
- when " "
- action(3)
- else
- if (isAlphanum(@theB))
- action(1)
- else
- action(2)
- end
- end
- else
- case (@theB)
- when " "
- if (isAlphanum(@theA))
- action(1)
- else
- action(3)
- end
- when "\n"
- case (@theA)
- when "}","]",")","+","-","\"","\\", "'", '"'
- action(1)
- else
- if (isAlphanum(@theA))
- action(1)
- else
- action(3)
- end
- end
- else
- action(1)
- end
- end
- end
- end
-
- def self.minimize_content(content)
- js_minimizer = new
- js_minimizer.input = StringIO.new(content)
- js_minimizer.output = StringIO.new
-
- js_minimizer.jsmin
-
- js_minimizer.output.string
- end
-
-end
\ No newline at end of file
diff --git a/vendor/plugins/bundle-fu/test/fixtures/public/javascripts/js_1.js b/vendor/plugins/bundle-fu/test/fixtures/public/javascripts/js_1.js
deleted file mode 100644
index 3ce68394..00000000
--- a/vendor/plugins/bundle-fu/test/fixtures/public/javascripts/js_1.js
+++ /dev/null
@@ -1,12 +0,0 @@
-function js_1() { alert('hi')};
-
-// this is a function
-function func() {
- alert('hi')
- return true
-}
-
-function func() {
- alert('hi')
- return true
-}
diff --git a/vendor/plugins/bundle-fu/test/fixtures/public/javascripts/js_2.js b/vendor/plugins/bundle-fu/test/fixtures/public/javascripts/js_2.js
deleted file mode 100644
index 274bcc6c..00000000
--- a/vendor/plugins/bundle-fu/test/fixtures/public/javascripts/js_2.js
+++ /dev/null
@@ -1 +0,0 @@
-function js_2() { alert('hi');};
\ No newline at end of file
diff --git a/vendor/plugins/bundle-fu/test/fixtures/public/javascripts/js_3.js b/vendor/plugins/bundle-fu/test/fixtures/public/javascripts/js_3.js
deleted file mode 100644
index 4b03a216..00000000
--- a/vendor/plugins/bundle-fu/test/fixtures/public/javascripts/js_3.js
+++ /dev/null
@@ -1 +0,0 @@
-function js_3() { alert('hi')};
\ No newline at end of file
diff --git a/vendor/plugins/bundle-fu/test/fixtures/public/stylesheets/css_1.css b/vendor/plugins/bundle-fu/test/fixtures/public/stylesheets/css_1.css
deleted file mode 100644
index 42a777f8..00000000
--- a/vendor/plugins/bundle-fu/test/fixtures/public/stylesheets/css_1.css
+++ /dev/null
@@ -1 +0,0 @@
-css_1 { }
\ No newline at end of file
diff --git a/vendor/plugins/bundle-fu/test/fixtures/public/stylesheets/css_2.css b/vendor/plugins/bundle-fu/test/fixtures/public/stylesheets/css_2.css
deleted file mode 100644
index 1cfbec26..00000000
--- a/vendor/plugins/bundle-fu/test/fixtures/public/stylesheets/css_2.css
+++ /dev/null
@@ -1 +0,0 @@
-css_2
\ No newline at end of file
diff --git a/vendor/plugins/bundle-fu/test/fixtures/public/stylesheets/css_3.css b/vendor/plugins/bundle-fu/test/fixtures/public/stylesheets/css_3.css
deleted file mode 100644
index 88896d73..00000000
--- a/vendor/plugins/bundle-fu/test/fixtures/public/stylesheets/css_3.css
+++ /dev/null
@@ -1,7 +0,0 @@
-.relative_image_bg {
- background-image: url(../images/background.gif )
-}
-
-.relative_image_bg_2 {
- background-image: url( ../images/groovy/background_2.gif )
-}
\ No newline at end of file
diff --git a/vendor/plugins/bundle-fu/test/functional/bundle_fu_test.rb b/vendor/plugins/bundle-fu/test/functional/bundle_fu_test.rb
deleted file mode 100644
index 4acef146..00000000
--- a/vendor/plugins/bundle-fu/test/functional/bundle_fu_test.rb
+++ /dev/null
@@ -1,228 +0,0 @@
-require File.join(File.dirname(__FILE__), '../test_helper.rb')
-
-require "test/unit"
-
-# require "library_file_name"
-
-class BundleFuTest < Test::Unit::TestCase
- def setup
- @mock_view = MockView.new
- BundleFu.init # resets BundleFu
- end
-
- def teardown
- purge_cache
- end
-
- def test__bundle_js_files__should_include_js_content
- @mock_view.bundle { @@content_include_all }
-
- assert_public_files_match("/javascripts/cache/bundle.js", "function js_1()")
- end
-
- def test__bundle_js_files_with_asset_server_url
- @mock_view.bundle { %() }
- assert_public_files_match("/javascripts/cache/bundle.js", "function js_1()")
- end
-
- def test__bundle_js_files__should_use_packr
- Object.send :class_eval, <