rails_layout 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4eb0ec10a17ea2b86d361cf3976d13efc2b9f8f4
4
- data.tar.gz: d7402fe67cfe735389509cab42dacda674ef86de
3
+ metadata.gz: ff0a511796be3874b92dc7796a2fa0a4e76ae15c
4
+ data.tar.gz: b4b0a01168936acf7461a984dba82384252bb96f
5
5
  SHA512:
6
- metadata.gz: 42c052e635d5636e8c46133ade9ba41bd5abb9bedb89d3b2ec80d4c0e9793d05f4e2f6f9b6817caeebc2577d878da692053507fc5227bc328d261ddfd30b89cf
7
- data.tar.gz: 5c0b67227b631d32fc706a0033c11417a8563aab60e8ab0d4ad3543c0e3b9c8fd0a6598e75137ed81791f04a451956aef8da1ea700a57aea026ca2308e8bac29
6
+ metadata.gz: ba0415eec489a62285a0251e7de5c061c018de2de218250448c6f63c593d79aa93683767c6510ff57a1600f77f649d26b037b9603934e864565004470b64295d
7
+ data.tar.gz: 3c2ce9e3163c8ab08a2247c6589286bec60b352e15d53e42a9957b282955b17e8c6553a49a0053103db545020af54c85673dce8728fbf0ffcc44ee47d93b836a
data/CHANGELOG.textile CHANGED
@@ -1,5 +1,9 @@
1
1
  h1. CHANGELOG
2
2
 
3
+ h3. 1.0.5 January 16, 2014
4
+
5
+ * Modernizr must be loaded before Foundation
6
+
3
7
  h3. 1.0.4 January 16, 2014
4
8
 
5
9
  * Foundation 5.0.3 is now compatible with Rails Turbolinks and the asset pipeline
data/README.textile CHANGED
@@ -58,10 +58,7 @@ h4. Zurb Foundation 5.0
58
58
  gem 'foundation-rails'
59
59
  </pre>
60
60
 
61
- Note: Check the status of these issues before using Foundation 5.0:
62
-
63
- * "Foundation 5 requires JavaScript included in BODY not HEAD":https://github.com/zurb/foundation/issues/3643
64
- * "Foundation 5 topbar incompatible with Rails Turbolinks":https://github.com/zurb/foundation/issues/3642
61
+ Foundation 5.0.3 was released January 15, 2014. Foundation versions 5.0.1 and 5.0.2 were "incompatible with Rails Turbolinks":https://github.com/zurb/foundation/issues/3642 and the Rails asset pipeline, so use 5.0.3 or newer with Rails.
65
62
 
66
63
  h4. Zurb Foundation 4.0
67
64
 
@@ -5,9 +5,9 @@
5
5
  <title><%%= content_for?(:title) ? yield(:title) : "<%= app_name.underscore.titleize %>" %></title>
6
6
  <meta name="description" content="<%%= content_for?(:description) ? yield(:description) : "<%= app_name.underscore.titleize %>" %>">
7
7
  <%%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
8
- <%%= javascript_include_tag "application", "data-turbolinks-track" => true %>
9
8
  <%%# Modernizr is required for Zurb Foundation %>
10
9
  <%%= javascript_include_tag "vendor/modernizr" %>
10
+ <%%= javascript_include_tag "application", "data-turbolinks-track" => true %>
11
11
  <%%= csrf_meta_tags %>
12
12
  </head>
13
13
  <body>
@@ -5,9 +5,9 @@
5
5
  %title= content_for?(:title) ? yield(:title) : '<%= app_name.underscore.titleize %>'
6
6
  %meta{:name => "description", :content => "#{content_for?(:description) ? yield(:description) : '<%= app_name.underscore.titleize %>'}"}
7
7
  = stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true
8
- = javascript_include_tag "application", "data-turbolinks-track" => true
9
8
  -# Modernizr is required for Zurb Foundation
10
9
  = javascript_include_tag "vendor/modernizr"
10
+ = javascript_include_tag "application", "data-turbolinks-track" => true
11
11
  = csrf_meta_tags
12
12
  %body
13
13
  %header
@@ -6,9 +6,9 @@ html
6
6
  = content_for?(:title) ? yield(:title) : '<%= app_name.underscore.titleize %>'
7
7
  meta name="description" content="#{content_for?(:description) ? yield(:description) : '<%= app_name.underscore.titleize %>'}"
8
8
  == stylesheet_link_tag "application", :media => "all", "data-turbolinks-track" => true
9
- == javascript_include_tag "application", "data-turbolinks-track" => true
10
9
  / Modernizr is required for Zurb Foundation
11
10
  == javascript_include_tag "vendor/modernizr"
11
+ == javascript_include_tag "application", "data-turbolinks-track" => true
12
12
  == csrf_meta_tags
13
13
  body
14
14
  header
@@ -1,3 +1,3 @@
1
1
  module RailsLayout
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_layout
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Kehoe