Skip to content

Commit

Permalink
Updating foundation version
Browse files Browse the repository at this point in the history
  • Loading branch information
robertkyan committed Nov 12, 2014
1 parent f7f7356 commit 5140089
Show file tree
Hide file tree
Showing 135 changed files with 1,868 additions and 1,023 deletions.
Empty file modified Gemfile
100644 → 100755
Empty file.
Empty file modified LICENSE.txt
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Foundation::Rails is a gem to make it super easy to use Foundation in your upcom

Add this line to your application's Gemfile:

$ gem 'foundation-rails', git: '[email protected]:kyan/foundation-rails-kyan.git'
$ gem 'foundation-rails'

And then execute:

Expand Down Expand Up @@ -81,4 +81,4 @@ Run the generator to add foundation to the asset pipeline:

* [Foundation Docs](http://foundation.zurb.com/docs/)
* [Foundation Forum](http://foundation.zurb.com/forum)
* [Foundation Training](http://foundation.zurb.com/learn/training.html)
* [Foundation Training](http://foundation.zurb.com/learn/training.html)
Empty file modified Rakefile
100644 → 100755
Empty file.
Empty file modified app/controllers/foundation/rails/styleguide_controller.rb
100644 → 100755
Empty file.
Empty file modified app/views/foundation/rails/styleguide/show.html.erb
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions bower.json
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "foundation-rails",
"version": "5.3.3.0",
"version": "5.4.6.0",
"dependencies": {
"foundation": "5.3.3"
"foundation": "5.4.6"
}
}
Empty file modified config/routes.rb
100644 → 100755
Empty file.
Empty file modified foundation-rails.gemspec
100644 → 100755
Empty file.
Empty file modified lib/foundation-rails.rb
100644 → 100755
Empty file.
Empty file modified lib/foundation/rails.rb
100644 → 100755
Empty file.
Empty file modified lib/foundation/rails/engine.rb
100644 → 100755
Empty file.
8 changes: 4 additions & 4 deletions lib/foundation/rails/generators/install_generator.rb
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ 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"
append_to_file "app/assets/javascripts/application#{detect_js_format[0]}", "#{detect_js_format[2]}"
settings_file = File.join(File.dirname(__FILE__),"..", "..", "..", "..", "vendor", "assets", "stylesheets", "foundation", "_settings.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]}", "\n#{detect_css_format[1]} require foundation_and_overrides\n", :after => "require_self"
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')
return ['.coffee', '#=', "\n() ->\n $(document).foundation()\n"] if File.exist?('app/assets/javascripts/application.coffee')
return ['.js.coffee', '#=', "\n() ->\n $(document).foundation()\n"] if File.exist?('app/assets/javascripts/application.js.coffee')
return ['.js', '//=', "\n$(function(){ $(document).foundation(); });\n"] if File.exist?('app/assets/javascripts/application.js')
end

def detect_css_format
Expand Down
Empty file modified lib/foundation/rails/templates/application.html.erb
100644 → 100755
Empty file.
Empty file modified lib/foundation/rails/templates/application.html.haml
100644 → 100755
Empty file.
Empty file modified lib/foundation/rails/templates/application.html.slim
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion lib/foundation/rails/version.rb
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Foundation
module Rails
VERSION = "5.3.3.1"
VERSION = "5.4.5.0"
end
end
Empty file modified test/dummy/.gitignore
100644 → 100755
Empty file.
Empty file modified test/dummy/.ruby-version
100644 → 100755
Empty file.
Empty file modified test/dummy/Gemfile
100644 → 100755
Empty file.
Empty file modified test/dummy/README.rdoc
100644 → 100755
Empty file.
Empty file modified test/dummy/Rakefile
100644 → 100755
Empty file.
Empty file modified test/dummy/app/assets/images/.keep
100644 → 100755
Empty file.
Empty file modified test/dummy/app/assets/javascripts/application.js
100644 → 100755
Empty file.
Empty file modified test/dummy/app/assets/stylesheets/application.css
100644 → 100755
Empty file.
Empty file modified test/dummy/app/assets/stylesheets/foundation_and_overrides.scss
100644 → 100755
Empty file.
Empty file modified test/dummy/app/controllers/application_controller.rb
100644 → 100755
Empty file.
Empty file modified test/dummy/app/controllers/concerns/.keep
100644 → 100755
Empty file.
Empty file modified test/dummy/app/controllers/styleguide_controller.rb
100644 → 100755
Empty file.
Empty file modified test/dummy/app/helpers/application_helper.rb
100644 → 100755
Empty file.
Empty file modified test/dummy/app/helpers/styleguide_helper.rb
100644 → 100755
Empty file.
Empty file modified test/dummy/app/mailers/.keep
100644 → 100755
Empty file.
Empty file modified test/dummy/app/models/.keep
100644 → 100755
Empty file.
Empty file modified test/dummy/app/models/concerns/.keep
100644 → 100755
Empty file.
Empty file modified test/dummy/app/views/layouts/application.html.erb
100644 → 100755
Empty file.
Empty file modified test/dummy/app/views/styleguide/show.html.erb
100644 → 100755
Empty file.
Empty file modified test/dummy/config.ru
100644 → 100755
Empty file.
Empty file modified test/dummy/config/application.rb
100644 → 100755
Empty file.
Empty file modified test/dummy/config/boot.rb
100644 → 100755
Empty file.
Empty file modified test/dummy/config/database.yml
100644 → 100755
Empty file.
Empty file modified test/dummy/config/environment.rb
100644 → 100755
Empty file.
Empty file modified test/dummy/config/environments/development.rb
100644 → 100755
Empty file.
Empty file modified test/dummy/config/environments/production.rb
100644 → 100755
Empty file.
Empty file modified test/dummy/config/environments/test.rb
100644 → 100755
Empty file.
Empty file modified test/dummy/config/initializers/backtrace_silencers.rb
100644 → 100755
Empty file.
Empty file modified test/dummy/config/initializers/filter_parameter_logging.rb
100644 → 100755
Empty file.
Empty file modified test/dummy/config/initializers/inflections.rb
100644 → 100755
Empty file.
Empty file modified test/dummy/config/initializers/mime_types.rb
100644 → 100755
Empty file.
Empty file modified test/dummy/config/initializers/secret_token.rb
100644 → 100755
Empty file.
Empty file modified test/dummy/config/initializers/session_store.rb
100644 → 100755
Empty file.
Empty file modified test/dummy/config/initializers/wrap_parameters.rb
100644 → 100755
Empty file.
Empty file modified test/dummy/config/locales/en.yml
100644 → 100755
Empty file.
Empty file modified test/dummy/config/routes.rb
100644 → 100755
Empty file.
Empty file modified test/dummy/db/seeds.rb
100644 → 100755
Empty file.
Empty file modified test/dummy/lib/assets/.keep
100644 → 100755
Empty file.
Empty file modified test/dummy/lib/tasks/.keep
100644 → 100755
Empty file.
Empty file modified test/dummy/log/.keep
100644 → 100755
Empty file.
Empty file modified test/dummy/public/404.html
100644 → 100755
Empty file.
Empty file modified test/dummy/public/422.html
100644 → 100755
Empty file.
Empty file modified test/dummy/public/500.html
100644 → 100755
Empty file.
Empty file modified test/dummy/public/favicon.ico
100644 → 100755
Empty file.
Empty file modified test/dummy/public/robots.txt
100644 → 100755
Empty file.
Empty file modified test/dummy/test/controllers/.keep
100644 → 100755
Empty file.
Empty file modified test/dummy/test/controllers/styleguide_controller_test.rb
100644 → 100755
Empty file.
Empty file modified test/dummy/test/fixtures/.keep
100644 → 100755
Empty file.
Empty file modified test/dummy/test/helpers/.keep
100644 → 100755
Empty file.
Empty file modified test/dummy/test/helpers/styleguide_helper_test.rb
100644 → 100755
Empty file.
Empty file modified test/dummy/test/integration/.keep
100644 → 100755
Empty file.
Empty file modified test/dummy/test/mailers/.keep
100644 → 100755
Empty file.
Empty file modified test/dummy/test/models/.keep
100644 → 100755
Empty file.
Empty file modified test/dummy/test/test_helper.rb
100644 → 100755
Empty file.
Empty file modified test/dummy/vendor/assets/javascripts/.keep
100644 → 100755
Empty file.
Empty file modified test/dummy/vendor/assets/stylesheets/.keep
100644 → 100755
Empty file.
Loading

0 comments on commit 5140089

Please sign in to comment.