]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
cleaned up repo
authorMark Hayes <mark@zurb.com>
Fri, 22 Nov 2013 18:09:29 +0000 (10:09 -0800)
committerMark Hayes <mark@zurb.com>
Fri, 22 Nov 2013 18:09:29 +0000 (10:09 -0800)
22 files changed:
Gemfile [deleted file]
Gemfile.lock [deleted file]
README.md
foundation.gemspec [deleted file]
lib/foundation/engine.rb [deleted file]
lib/foundation/generators/USAGE [deleted file]
lib/foundation/generators/install_generator.rb [deleted file]
lib/foundation/generators/templates/application.html.erb [deleted file]
lib/foundation/generators/templates/application.html.haml [deleted file]
lib/foundation/generators/templates/application.html.slim [deleted file]
lib/foundation/sprockets.rb [deleted file]
lib/foundation/version.rb [deleted file]
lib/zurb-foundation.rb [deleted file]
templates/project/.gitignore [deleted file]
templates/project/MIT-LICENSE.txt [deleted file]
templates/project/config.rb [deleted file]
templates/project/humans.txt [deleted file]
templates/project/index.html [deleted file]
templates/project/manifest.rb [deleted file]
templates/project/robots.txt [deleted file]
templates/project/scss/app.scss [deleted file]
templates/upgrade/manifest.rb [deleted file]

diff --git a/Gemfile b/Gemfile
deleted file mode 100644 (file)
index 47e39f4..0000000
--- a/Gemfile
+++ /dev/null
@@ -1,4 +0,0 @@
-source 'https://rubygems.org'
-
-# Specify your gem's dependencies in foundation.gemspec
-gemspec
diff --git a/Gemfile.lock b/Gemfile.lock
deleted file mode 100644 (file)
index 1ed576a..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-PATH
-  remote: .
-  specs:
-    zurb-foundation (4.3.2)
-      sass (>= 3.2.0)
-
-GEM
-  remote: https://rubygems.org/
-  specs:
-    childprocess (0.3.9)
-      ffi (~> 1.0, >= 1.0.11)
-    diff-lcs (1.2.4)
-    ffi (1.9.0)
-    ffi (1.9.0-x86-mingw32)
-    jasmine (1.3.2)
-      jasmine-core (~> 1.3.1)
-      rack (~> 1.0)
-      rspec (>= 1.3.1)
-      selenium-webdriver (>= 0.1.3)
-    jasmine-core (1.3.1)
-    multi_json (1.7.9)
-    rack (1.5.2)
-    rake (10.0.3)
-    rspec (2.14.1)
-      rspec-core (~> 2.14.0)
-      rspec-expectations (~> 2.14.0)
-      rspec-mocks (~> 2.14.0)
-    rspec-core (2.14.5)
-    rspec-expectations (2.14.2)
-      diff-lcs (>= 1.1.3, < 2.0)
-    rspec-mocks (2.14.3)
-    rubyzip (0.9.9)
-    sass (3.2.10)
-    selenium-webdriver (2.35.1)
-      childprocess (>= 0.2.5)
-      multi_json (~> 1.0)
-      rubyzip (< 1.0.0)
-      websocket (~> 1.0.4)
-    websocket (1.0.7)
-
-PLATFORMS
-  ruby
-  x86-mingw32
-
-DEPENDENCIES
-  jasmine
-  rake
-  zurb-foundation!
index 86ce8b943a08bb422627f106a78536b79ce59ac3..e72d1547b46fcf8973fc3995685e8ff8b494888e 100644 (file)
--- a/README.md
+++ b/README.md
@@ -9,8 +9,8 @@ To get started, check out <http://foundation.zurb.com/docs>
 
 To get going with Foundation you can:
 
-  * [Download the latest release](http://foundation.zurb.com/releases/latest.zip)
-  * [Install with Bower](http://bower.io): `bower install foundation`
+  * [Download the latest release](http://foundation5.zurb.com/cdn/releases/foundation-latest.zip)
+  * [Install with Bower](http://bower.io): `bower install zurb/bower-foundation`
 
 ## What's included?
 
@@ -22,7 +22,9 @@ foundation/
 ├── js/
 │   ├── foundation.js
 │   └── foundation.min.js
-└── index.html
+└── scss/
+    ├── foundation.scss
+    └── foundation/
 ```
 
 ## Documentation
diff --git a/foundation.gemspec b/foundation.gemspec
deleted file mode 100644 (file)
index 8d52a41..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-# -*- encoding: utf-8 -*-
-require File.expand_path('../lib/foundation/version', __FILE__)
-
-Gem::Specification.new do |gem|
-  gem.authors       = ["ZURB"]
-  gem.email         = ["foundation@zurb.com"]
-  gem.description   = %q{ZURB Foundation on Sass/Compass}
-  gem.summary       = %q{ZURB Foundation on Sass/Compass}
-  gem.homepage      = "http://foundation.zurb.com"
-
-  gem.files         = `git ls-files`.split($\)
-  gem.executables   = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
-  gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
-  gem.name          = "zurb-foundation"
-  gem.require_paths = ["lib"]
-  gem.version       = Foundation::VERSION
-
-  gem.add_dependency "sass", [">= 3.2.0"]
-  gem.add_development_dependency "rake"
-  gem.add_development_dependency "jasmine"
-end
diff --git a/lib/foundation/engine.rb b/lib/foundation/engine.rb
deleted file mode 100644 (file)
index 812a81d..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-module Foundation
-  class Engine < Rails::Engine
-    # Save this block, we'll use it in two calls to .initializer
-    add_paths_block = lambda { |app|
-      app.config.assets.paths << File.expand_path("../../../scss", __FILE__)
-      app.config.assets.paths << File.expand_path("../../../js", __FILE__)
-
-      # Ensure Zepto and Modernizr are precompiled in production
-      app.config.assets.precompile += %w(vendor/zepto.js vendor/custom.modernizr.js)
-    }
-
-    # Standard initializer
-    initializer 'foundation.update_asset_paths', &add_paths_block
-
-    # Special initializer lets us precompile assets without fully initializing
-    initializer 'foundation.update_asset_paths', :group => :assets,
-                &add_paths_block
-
-  end
-end
diff --git a/lib/foundation/generators/USAGE b/lib/foundation/generators/USAGE
deleted file mode 100644 (file)
index 3b7893b..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-Description:
-    Setup Foundation assets in your app and generate new layouts preconfigured to use Foundation
-
-Example:
-  rails g foundation:install
-
-  This will insert foundation require lines into default application assets:
-    /app/assets/javascripts/application.js
-    /app/assets/stylesheets/application.css
-
-  And create sample layout (depending of your template engine):
-    /app/views/layouts/application.html.erb
-
-  And foundation variables override file:
-    /app/assets/stylesheets/foundation_and_overrides.scss
diff --git a/lib/foundation/generators/install_generator.rb b/lib/foundation/generators/install_generator.rb
deleted file mode 100644 (file)
index da05554..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-require 'rails/generators'
-
-module Foundation
-  module Generators
-    class InstallGenerator < Rails::Generators::Base
-      source_root File.join(File.dirname(__FILE__), 'templates')
-      argument :layout_name, :type => :string, :default => 'application', :banner => 'layout_name'
-
-      class_option :haml, :desc => 'Generate HAML layout instead of erb', :type => :boolean
-      class_option :slim, :desc => 'Generate Slim layout instead of erb', :type => :boolean
-
-      def add_assets
-        # rails_ujs breaks, need to incorporate rails-behavior plugin for this to work seamlessly
-        # gsub_file "app/assets/javascripts/application#{detect_js_format[0]}", /\/\/= require jquery\n/, ""
-        insert_into_file "app/assets/javascripts/application#{detect_js_format[0]}", "#{detect_js_format[1]} require foundation\n", :after => "jquery_ujs\n"
-        append_to_file "app/assets/javascripts/application#{detect_js_format[0]}", "\n$(function(){ $(document).foundation(); });\n"
-        settings_file = File.join(File.dirname(__FILE__),"..","..","..","scss","foundation","_variables.scss")
-        create_file "app/assets/stylesheets/foundation_and_overrides.scss", File.read(settings_file)
-        append_to_file "app/assets/stylesheets/foundation_and_overrides.scss", "\n@import 'foundation';\n"
-        insert_into_file "app/assets/stylesheets/application#{detect_css_format[0]}", "#{detect_css_format[1]} require foundation_and_overrides\n", :after => "require_self\n"
-      end
-
-      def detect_js_format
-        return ['.coffee', '#='] if File.exist?('app/assets/javascripts/application.coffee')
-        return ['.js.coffee', '#='] if File.exist?('app/assets/javascripts/application.js.coffee')
-        return ['.js', '//='] if File.exist?('app/assets/javascripts/application.js')
-      end
-
-      def detect_css_format
-        return ['.css', ' *='] if File.exist?('app/assets/stylesheets/application.css')
-        return ['.css.sass', ' //='] if File.exist?('app/assets/stylesheets/application.css.sass')
-        return ['.sass', ' //='] if File.exist?('app/assets/stylesheets/application.sass')
-        return ['.css.scss', ' //='] if File.exist?('app/assets/stylesheets/application.css.scss')
-        return ['.scss', ' //='] if File.exist?('app/assets/stylesheets/application.scss')
-      end
-
-      def create_layout
-        if options.haml?||(defined?(Haml) && options.haml?)
-          template 'application.html.haml', "app/views/layouts/#{file_name}.html.haml"
-        elsif options.slim?||(defined?(Slim) && options.slim?)
-          template 'application.html.slim', "app/views/layouts/#{file_name}.html.slim"
-        else
-          template 'application.html.erb', "app/views/layouts/#{file_name}.html.erb"
-        end
-      end
-
-      private
-
-      def file_name
-        layout_name.underscore.downcase
-      end
-    end
-  end
-end
diff --git a/lib/foundation/generators/templates/application.html.erb b/lib/foundation/generators/templates/application.html.erb
deleted file mode 100644 (file)
index b381589..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<!DOCTYPE html>
-<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
-<!--[if lt IE 7 ]> <html class="ie6" lang="en"> <![endif]-->
-<!--[if IE 7 ]>    <html class="ie7" lang="en"> <![endif]-->
-<!--[if IE 8 ]>    <html class="ie8" lang="en"> <![endif]-->
-<!--[if IE 9 ]>    <html class="ie9" lang="en"> <![endif]-->
-<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en"> <!--<![endif]-->
-  <head>
-       <meta charset="utf-8" />
-
-       <!-- Uncomment to make IE8 render like IE7 -->
-       <!-- <meta http-equiv="X-UA-Compatible" content="IE=7" /> -->
-
-       <!-- Set the viewport width to device width for mobile -->
-       <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-
-       <title><%%= content_for?(:title) ? yield(:title) : "Untitled" %></title>
-
-       <%%= stylesheet_link_tag    "application" %>
-       <%%= javascript_include_tag "vendor/custom.modernizr" %>
-    <%%= csrf_meta_tags %>
-  </head>
-
-  <body>
-
-    <%%= yield %>
-
-    <% if false %>
-       <script>
-       document.write('<script src=' +
-       ('__proto__' in {} ? '<%%= asset_path("vendor/zepto") %>' : '<%%= asset_path("jquery") %>') +
-       '><\/script>');
-      </script>
-
-      <script>
-        // Ensure rails_ujs works with Zepto
-       $.fn.ajaxSend = function(callback) {
-         return this.each(function(){
-           $(this).on('ajaxBeforeSend', callback);
-         });
-       };
-       var jQuery = $;
-       </script>
-       <% end %>
-    <%%= javascript_include_tag "application" %>
-  </body>
-</html>
diff --git a/lib/foundation/generators/templates/application.html.haml b/lib/foundation/generators/templates/application.html.haml
deleted file mode 100644 (file)
index 4e89c53..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-!!! 5
-/ paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
-/[if lt IE 7 ] <html class=\"ie6\" lang=\"en\">
-/[if IE 7 ]    <html class=\"ie7\" lang=\"en\">
-/[if IE 8 ]    <html class=\"ie8\" lang=\"en\">
-/[if IE 9 ]    <html class=\"ie9\" lang=\"en\">
-/[if (gt IE 9)|!(IE)] <!--> <html lang=\"en\">
-
-%head
-  %meta{ :charset => "utf-8" }
-
-  -# Uncomment to make IE8 render like IE7
-  -# meta http-equiv="X-UA-Compatible" content="IE=7"
-
-  -# Set the viewport width to device width for mobile
-  %meta{ :name => "viewport", :content => "width=device-width, initial-scale=1.0" }
-
-  %title= content_for?(:title) ? yield(:title) : "Untitled"
-
-  = stylesheet_link_tag "application"
-  = javascript_include_tag "vendor/custom.modernizr"
-  = csrf_meta_tag
-
-%body
-
-  = yield
-
-  = javascript_include_tag "application"
-
-:plain
-  </html>
diff --git a/lib/foundation/generators/templates/application.html.slim b/lib/foundation/generators/templates/application.html.slim
deleted file mode 100644 (file)
index afdbd6f..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-doctype html
-/ http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
-/[if lt IE 7 ]
-  |<html class="ie6" lang="en">
-/[if IE 7 ]
-  |<html class="ie7" lang="en">
-/[if IE 8 ]
-  |<html class="ie8" lang="en">
-/[if IE 9 ]
-  |<html class="ie9" lang="en">
-/[if (gt IE 9)|!(IE)]
-  |<html lang="en">
-
-head
-  meta charset="utf-8"
-
-  / Uncomment to make IE8 render like IE7
-  / meta http-equiv="X-UA-Compatible" content="IE=7"
-
-  / Set the viewport width to device width for mobile
-  meta name="viewport" content="width=device-width, initial-scale=1.0"
-
-  title == content_for?(:title) ? yield(:title) : "Untitled"
-
-  == stylesheet_link_tag "application"
-  == javascript_include_tag "vendor/custom.modernizr"
-  == csrf_meta_tag
-
-body
-
-  == yield
-
-  == javascript_include_tag "application"
-
-|</html>
diff --git a/lib/foundation/sprockets.rb b/lib/foundation/sprockets.rb
deleted file mode 100644 (file)
index 5785a60..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-require 'sprockets'
-
-Sprockets.append_path File.expand_path("../../../scss", __FILE__)
-Sprockets.append_path File.expand_path("../../../js", __FILE__)
diff --git a/lib/foundation/version.rb b/lib/foundation/version.rb
deleted file mode 100644 (file)
index 5feecd6..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-module Foundation
-  VERSION = "4.3.2"
-end
diff --git a/lib/zurb-foundation.rb b/lib/zurb-foundation.rb
deleted file mode 100644 (file)
index 8013f1d..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-root = File.join(File.dirname(__FILE__), "..")
-require "foundation/version"
-
-if defined?(Rails::Generators::Base)
-  require "foundation/generators/install_generator"
-end
-
-module Foundation
-  def self.root
-    File.join(File.dirname(__FILE__), "..")
-  end
-
-  def self.js_path
-    File.join(File.dirname(__FILE__), "..", "js")
-  end
-
-  def self.scss_path
-    File.join(File.dirname(__FILE__), "..", "scss")
-  end
-
-  if defined?(Rails::Engine)
-    require "foundation/engine"
-  elsif defined?(Sprockets)
-    require "foundation/sprockets"
-  end
-end
-
-if defined?(Compass)
-  Compass::Frameworks.register("foundation",
-    :stylesheets_directory => File.join(root,"scss"),
-    :templates_directory => File.join(root,"templates")
-  )
-end
diff --git a/templates/project/.gitignore b/templates/project/.gitignore
deleted file mode 100644 (file)
index 28c16ff..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-# Numerous always-ignore extensions
-*.diff
-*.err
-*.orig
-*.log
-*.rej
-*.swo
-*.swp
-*.vi
-*~
-*.sass-cache
-
-# OS or Editor folders
-.DS_Store
-Thumbs.db
-.cache
-.project
-.settings
-.tmproj
-*.esproj
-nbproject
-*.sublime-project
-*.sublime-workspace
-
-# Dreamweaver added files
-_notes
-dwsync.xml
-
-# Komodo
-*.komodoproject
-.komodotools
-
-# Folders to ignore
-.hg
-.svn
-.CVS
-intermediate
-publish
-.idea
-
-# build script local files
-build/buildinfo.properties
-build/config/buildinfo.properties
-marketing/files/foundation-download.zip
\ No newline at end of file
diff --git a/templates/project/MIT-LICENSE.txt b/templates/project/MIT-LICENSE.txt
deleted file mode 100644 (file)
index 1fc5997..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-Copyright (c) 2011 ZURB, http://www.zurb.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 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/templates/project/config.rb b/templates/project/config.rb
deleted file mode 100644 (file)
index d48a051..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-require 'zurb-foundation'
-# Require any additional compass plugins here.
-
-
-# Set this to the root of your project when deployed:
-http_path = "/"
-css_dir = "stylesheets"
-sass_dir = "sass"
-images_dir = "images"
-javascripts_dir = "javascripts"
-
-# You can select your preferred output style here (can be overridden via the command line):
-# output_style = :expanded or :nested or :compact or :compressed
-
-# To enable relative paths to assets via compass helper functions. Uncomment:
-# relative_assets = true
-
-# To disable debugging comments that display the original location of your selectors. Uncomment:
-# line_comments = false
-
-
-# If you prefer the indented syntax, you might want to regenerate this
-# project again passing --syntax sass, or you can uncomment this:
-# preferred_syntax = :sass
-# and then run:
-# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass
diff --git a/templates/project/humans.txt b/templates/project/humans.txt
deleted file mode 100644 (file)
index b6f305b..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-/* Foundation was made by ZURB, an interaction design and design strategy firm in Campbell, CA */
-/* zurb.com */
-/* humanstxt.org */
-
-/* SITE */
-  Standards: HTML5, CSS3
-  Components: jQuery, Orbit, Reveal
-  Software: Coda, Textmate, Git
\ No newline at end of file
diff --git a/templates/project/index.html b/templates/project/index.html
deleted file mode 100644 (file)
index cd5f522..0000000
+++ /dev/null
@@ -1,120 +0,0 @@
-<% template = @template if defined?(@template) %>
-<!DOCTYPE html>
-<!--[if IE 8]>                                  <html class="no-js lt-ie9" lang="en" <% if template[:options][:rtl] %>dir="rtl"<% end %>> <![endif]-->
-<!--[if gt IE 8]><!--> <html class="no-js" lang="en" <% if template[:options][:rtl] %>dir="rtl"<% end %>> <!--<![endif]-->
-
-<head>
-       <meta charset="utf-8">
-  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-  <title>Foundation 4</title>
-
-  <% if template[:options][:customizer_used] %>
-  <link rel="stylesheet" href="<%= css_dir %>/foundation.css">
-  <% else %>
-  <link rel="stylesheet" href="<%= css_dir %>/app.css">
-  <% end %>
-
-  <script src="<%= javascripts_dir %>/vendor/custom.modernizr.js"></script>
-
-</head>
-<body>
-
-       <div class="row">
-               <div class="large-12 columns">
-                       <h2>Welcome to Foundation</h2>
-                       <p>This is version <%= template[:options][:version] %>.</p>
-                       <hr />
-               </div>
-       </div>
-
-       <div class="row">
-               <div class="large-8 columns">
-                       <h3>The Grid</h3>
-
-                       <!-- Grid Example -->
-                       <div class="row">
-                               <div class="large-12 columns">
-                                       <div class="panel">
-                                               <p>This is a twelve column section in a row. Each of these includes a div.panel element so you can see where the columns are - it's not required at all for the grid.</p>
-                                       </div>
-                               </div>
-                       </div>
-                       <div class="row">
-                               <div class="large-6 columns">
-                                       <div class="panel">
-                                               <p>Six columns</p>
-                                       </div>
-                               </div>
-                               <div class="large-6 columns">
-                                       <div class="panel">
-                                               <p>Six columns</p>
-                                       </div>
-                               </div>
-                       </div>
-                       <div class="row">
-                               <div class="large-4 columns">
-                                       <div class="panel">
-                                               <p>Four columns</p>
-                                       </div>
-                               </div>
-                               <div class="large-4 columns">
-                                       <div class="panel">
-                                               <p>Four columns</p>
-                                       </div>
-                               </div>
-                               <div class="large-4 columns">
-                                       <div class="panel">
-                                               <p>Four columns</p>
-                                       </div>
-                               </div>
-                       </div>
-
-                       <h3>Buttons</h3>
-
-      <div class="row">
-        <div class="large-6 columns">
-          <p><a href="#" class="small button">Small Button</a></p>
-          <p><a href="#" class="button">Medium Button</a></p>
-          <p><a href="#" class="large button">Large Button</a></p>
-        </div>
-        <div class="large-6 columns">
-          <p><a href="#" class="small alert button">Small Alert Button</a></p>
-          <p><a href="#" class="success button">Medium Success Button</a></p>
-          <p><a href="#" class="large secondary button">Large Secondary Button</a></p>
-        </div>
-      </div>
-               </div>
-
-               <div class="large-4 columns">
-                       <h4>Getting Started</h4>
-                       <p>We're stoked you want to try Foundation! To get going, this file (index.html) includes some basic styles you can modify, play around with, or totally destroy to get going.</p>
-
-                       <h4>Other Resources</h4>
-                       <p>Once you've exhausted the fun in this document, you should check out:</p>
-                       <ul class="disc">
-                               <li><a href="http://foundation.zurb.com/docs">Foundation Documentation</a><br />Everything you need to know about using the framework.</li>
-                               <li><a href="http://github.com/zurb/foundation">Foundation on Github</a><br />Latest code, issue reports, feature requests and more.</li>
-                               <li><a href="http://twitter.com/foundationzurb">@foundationzurb</a><br />Ping us on Twitter if you have questions. If you build something with this we'd love to see it (and send you a totally boss sticker).</li>
-                       </ul>
-               </div>
-       </div>
-
-  <script src="js/vendor/jquery.js"></script>
-  <% if template[:options][:customizer_used] %>
-  <script src="<%= javascripts_dir %>/foundation.min.js"></script>
-  <!--
-  <% template[:options][:javascripts].each do |f| %>
-  <script src="<%= javascripts_dir %>/foundation/<%= f %>"></script>
-  <% end %>
-  -->
-  <% else %>
-  <script src="<%= javascripts_dir %>/foundation/foundation.js"></script>
-       <% template[:options][:javascripts].each do |f| %>
-       <script src="<%= javascripts_dir %>/<%= f %>"></script>
-       <% end %>
-  <% end %>
-  <script>
-    $(document).foundation();
-  </script>
-</body>
-</html>
diff --git a/templates/project/manifest.rb b/templates/project/manifest.rb
deleted file mode 100644 (file)
index 3e2991d..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-description 'Foundation Compass Gem'
-
-# Sass Files
-stylesheet '../../scss/normalize.scss',                   :to => '_normalize.scss'
-stylesheet '../../scss/foundation/_variables.scss',       :to => '_settings.scss'
-stylesheet 'scss/app.scss',                               :to => 'app.scss', :media => "screen, projector, print"
-
-# Make sure you list all the project template files here in the manifest.
-file 'humans.txt'
-file 'robots.txt'
-file 'MIT-LICENSE.txt'
-
-def copy_js_from(relative_path, prefix_path, excludes=[])
-  absolute_path = File.join(File.dirname(__FILE__), relative_path, prefix_path)
-  js_files = Dir.glob("#{absolute_path}/*.js")
-  js_files.reject! {|f| excludes.include? File.basename(f)}
-  js_files.each do |js|
-    javascript "#{relative_path}/#{prefix_path}/#{File.basename(js)}",
-      :to => "#{prefix_path}/#{File.basename(js)}"
-  end
-  return js_files.map {|f| "#{prefix_path}/#{File.basename(f)}"}
-end
-
-javascripts = copy_js_from("../../js", "foundation", ["foundation.js", "index.js"])
-vendor_javascripts = copy_js_from("../../js", "vendor")
-
-javascript "../../js/foundation/foundation.js", :to => "foundation/foundation.js"
-
-html 'index.html', :erb => true, :javascripts => javascripts, :version => Foundation::VERSION
-
-help %Q{
-
-If you need help, email us at foundation@zurb.com or visit foundation.zurb.com"
-
-}
-
-welcome_message %Q{
-
-w00t! You're using ZURB Foundation, now go forth and rock 'n roll!
-
-}
-
-# file 'config.rb'
-
-# no_configuration_file!
\ No newline at end of file
diff --git a/templates/project/robots.txt b/templates/project/robots.txt
deleted file mode 100644 (file)
index 2f06671..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-# www.robotstxt.org/
-# www.google.com/support/webmasters/bin/answer.py?hl=en&answer=156449
-
-User-agent: *
\ No newline at end of file
diff --git a/templates/project/scss/app.scss b/templates/project/scss/app.scss
deleted file mode 100644 (file)
index 8c2a3a4..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-// Global Foundation Settings
-@import "settings";
-
-// Comment out this import if you don't want to use normalize
-@import "normalize";
-
-// Comment out this import if you are customizing you imports below
-@import "foundation";
-
-// Import specific parts of Foundation by commenting the import "foundation"
-// and uncommenting what you want below. You must uncomment the following if customizing
-
-// @import "foundation/components/global"; // *always required
-// @import "foundation/components/grid";
-
-//
-// Use this grid if you want to start using the new Foundation 5 grid early.
-// It will change breakpoints to min-width: 640px and 1024px.
-//
-// @import "foundation/components/grid-5";
-//
-
-// @import "foundation/components/visibility";
-// @import "foundation/components/block-grid";
-// @import "foundation/components/type";
-// @import "foundation/components/buttons";
-// @import "foundation/components/forms"; // *requires components/buttons
-// @import "foundation/components/custom-forms"; // *requires components/buttons, components/forms
-// @import "foundation/components/button-groups"; // *requires components/buttons
-// @import "foundation/components/dropdown-buttons"; // *requires components/buttons
-// @import "foundation/components/split-buttons"; // *requires components/buttons
-// @import "foundation/components/flex-video";
-// @import "foundation/components/section";
-// @import "foundation/components/top-bar";  // *requires components/grid
-// @import "foundation/components/orbit";
-// @import "foundation/components/reveal";
-// @import "foundation/components/joyride";
-// @import "foundation/components/clearing";
-// @import "foundation/components/alert-boxes";
-// @import "foundation/components/breadcrumbs";
-// @import "foundation/components/keystrokes";
-// @import "foundation/components/labels";
-// @import "foundation/components/inline-lists";
-// @import "foundation/components/pagination";
-// @import "foundation/components/panels";
-// @import "foundation/components/pricing-tables";
-// @import "foundation/components/progress-bars";
-// @import "foundation/components/side-nav";
-// @import "foundation/components/sub-nav";
-// @import "foundation/components/switch";
-// @import "foundation/components/magellan";
-// @import "foundation/components/tables";
-// @import "foundation/components/thumbs";
-// @import "foundation/components/tooltips";
-// @import "foundation/components/dropdown";
-
diff --git a/templates/upgrade/manifest.rb b/templates/upgrade/manifest.rb
deleted file mode 100644 (file)
index a9b4989..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-description 'Foundation Compass Gem'
-
-stylesheet '../../scss/normalize.scss',                   :to => '_normalize.scss'
-stylesheet '../../scss/foundation/_variables.scss',       :to => '_settings.scss'
-
-def copy_js_from(relative_path, prefix_path, excludes=[])
-  absolute_path = File.join(File.dirname(__FILE__), relative_path, prefix_path)
-  js_files = Dir.glob("#{absolute_path}/*.js")
-  js_files.reject! {|f| excludes.include? File.basename(f)}
-  js_files.each do |js|
-    javascript "#{relative_path}/#{prefix_path}/#{File.basename(js)}", 
-      :to => "#{prefix_path}/#{File.basename(js)}"
-  end
-end
-
-javascripts = copy_js_from("../../js", "foundation", ["index.js"])
-copy_js_from("../../js", "vendor")
-
-html '../project/index.html', :erb => true, :javascripts => javascripts, :version => Foundation::VERSION, :to => 'upgrade.html'
-
-help %Q{
-
-If you need help, email us at foundation@zurb.com or visit foundation.zurb.com"
-
-}
-
-welcome_message %Q{
-
-bundle exec compass install -r zurb-foundation foundation/upgrade
-
-Your project assets have been upgraded, w00t!  It's possible there have been additional customizable settings added to Foundation so you should check out http://foundation.zurb.com/docs/gem-install.php#settings.
-
-}
\ No newline at end of file