rails_layout 0.1.9 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.textile +4 -0
- data/README.textile +113 -5
- data/lib/generators/layout/layout_generator.rb +52 -22
- data/lib/generators/layout/templates/application.css.scss +24 -0
- data/lib/generators/layout/templates/application.js +16 -0
- data/lib/generators/layout/templates/bootstrap-application.js +17 -0
- data/lib/generators/layout/templates/bootstrap2_and_overrides.css.scss +3 -0
- data/lib/generators/layout/templates/bootstrap3_and_overrides.css.scss +2 -0
- data/lib/generators/layout/templates/foundation4-application.js +20 -0
- data/lib/generators/layout/templates/foundation_and_overrides.css.scss +2 -0
- data/lib/generators/layout/templates/none-application.html.erb +14 -0
- data/lib/generators/layout/templates/none-application.html.haml +9 -0
- data/lib/generators/layout/templates/simple-application.html.erb +4 -2
- data/lib/generators/layout/templates/simple-application.html.haml +3 -2
- data/lib/rails_layout/version.rb +1 -1
- metadata +12 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1735089b69e5bdbbbf6974b0ecfa1083a1bf3399
|
4
|
+
data.tar.gz: 5cd3a05e8202482fffc9a982e60ae5a405ae5ddf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a837969224dbc9911ab502808c85100c685642b5040ba7eef83c4300fa1500e95bb29e803d422b6c5346eec14080ca1d0f584ffb57cc959a1c4f800b5d49e1d
|
7
|
+
data.tar.gz: 98e2c65d8087cbf928d63dd3025b1e303f54150f62c11d70dcd14039135de9572384b88b0824db58ede3406e05b1a59fc30289ee8d7bb04d0dbac8a0f276de8b
|
data/CHANGELOG.textile
CHANGED
data/README.textile
CHANGED
@@ -1,6 +1,35 @@
|
|
1
1
|
h1. !http://railsapps.github.io/images/rails-36x36.jpg(RailsLayout Gem)! RailsLayout Gem
|
2
2
|
|
3
|
-
RailsLayout is a utility gem to use during development
|
3
|
+
RailsLayout is a utility gem to use during development.
|
4
|
+
|
5
|
+
It is a Rails generator that you add to your Rails application Gemfile.
|
6
|
+
|
7
|
+
Use it to set up a front-end framework:
|
8
|
+
|
9
|
+
* Twitter Bootstrap 2.3
|
10
|
+
* Twitter Bootstrap 3.0
|
11
|
+
* Zurb Foundation 4.0
|
12
|
+
|
13
|
+
It will rename *application.css.css* to *application.css.scss*.
|
14
|
+
|
15
|
+
And modify the necessary asset files:
|
16
|
+
|
17
|
+
* application.js
|
18
|
+
|
19
|
+
and add either:
|
20
|
+
|
21
|
+
* bootstrap_and_overrides.css.scss
|
22
|
+
|
23
|
+
or:
|
24
|
+
|
25
|
+
* foundation_and_overrides.css.scss
|
26
|
+
|
27
|
+
It will set up a default application layout.
|
28
|
+
|
29
|
+
You also get partials for
|
30
|
+
|
31
|
+
* Rails flash messages
|
32
|
+
* navigation links
|
4
33
|
|
5
34
|
h4. Supported Frameworks
|
6
35
|
|
@@ -10,6 +39,7 @@ You can generate layout files suitable for use with the following front-end fram
|
|
10
39
|
* @bootstrap2@ - Twitter Bootstrap 2.3
|
11
40
|
* @bootstrap3@ - Twitter Bootstrap 3.0
|
12
41
|
* @foundation4@ - Zurb Foundation 4.0
|
42
|
+
* @none@ - removes all changes
|
13
43
|
|
14
44
|
h4. Generated Files
|
15
45
|
|
@@ -25,7 +55,7 @@ Additionally, when the @simple@ option is selected:
|
|
25
55
|
|
26
56
|
h4. Support for ERB or Haml
|
27
57
|
|
28
|
-
If you are using ERB for Rails views, the RailsLayout gem will generate ERB files
|
58
|
+
If you are using ERB for Rails views, the RailsLayout gem will generate ERB files.
|
29
59
|
|
30
60
|
If you are using Haml, the RailsLayout gem will generate Haml files instead.
|
31
61
|
|
@@ -41,11 +71,38 @@ To see how the generated files from the RailsLayout gem are used, see the "Learn
|
|
41
71
|
|
42
72
|
h2. Installing a Front-End Framework
|
43
73
|
|
44
|
-
|
74
|
+
Instead of following the "instructions for Twitter Bootstrap":http://railsapps.github.io/twitter-bootstrap-rails.html or "Zurb Foundation":http://foundation.zurb.com/docs/rails.html to install a front-end framework, add the gems you need. Then use the RailsLayout gem. It will set up your assets files.
|
75
|
+
|
76
|
+
h3. Install Gems for a Front-End Framework
|
77
|
+
|
78
|
+
Add the gems you need to your Rails application Gemfile:
|
45
79
|
|
46
|
-
|
80
|
+
h4. Twitter Bootstrap 2.3
|
47
81
|
|
48
|
-
|
82
|
+
<pre>
|
83
|
+
gem 'bootstrap-sass', '~> 2.3.2.2'
|
84
|
+
</pre>
|
85
|
+
|
86
|
+
h4. Twitter Bootstrap 3.0
|
87
|
+
|
88
|
+
<pre>
|
89
|
+
gem 'bootstrap-sass'
|
90
|
+
</pre>
|
91
|
+
|
92
|
+
h4. Zurb Foundation 4.0
|
93
|
+
|
94
|
+
<pre>
|
95
|
+
gem 'compass-rails', '~> 2.0.alpha.0'
|
96
|
+
gem 'zurb-foundation'
|
97
|
+
</pre>
|
98
|
+
|
99
|
+
Use Bundler to install the gems:
|
100
|
+
|
101
|
+
<pre>
|
102
|
+
$ bundle install
|
103
|
+
</pre>
|
104
|
+
|
105
|
+
h2. Install the RailsLayout Gem
|
49
106
|
|
50
107
|
Add it to your Rails application Gemfile:
|
51
108
|
|
@@ -92,6 +149,10 @@ See the files that are generated:
|
|
92
149
|
* "app/views/layouts/_navigation.html.erb":https://github.com/RailsApps/rails_layout/blob/master/lib/generators/layout/templates/simple-navigation.html.erb
|
93
150
|
* "app/assets/stylesheets/simple.css":https://github.com/RailsApps/rails_layout/blob/master/lib/generators/layout/templates/simple.css
|
94
151
|
|
152
|
+
The RailsLayout gem will create the file:
|
153
|
+
|
154
|
+
* "app/assets/stylesheets/application.css.scss":https://github.com/RailsApps/rails_layout/blob/master/lib/generators/layout/templates/application.css.scss
|
155
|
+
|
95
156
|
h2. Twitter Bootstrap 2.3 Layout
|
96
157
|
|
97
158
|
To create layout files for use with Twitter Bootstrap 2.3:
|
@@ -112,6 +173,14 @@ See the files that are generated:
|
|
112
173
|
* "app/views/layouts/_messages.html.erb":https://github.com/RailsApps/rails_layout/blob/master/lib/generators/layout/templates/bootstrap2-messages.html.erb
|
113
174
|
* "app/views/layouts/_navigation.html.erb":https://github.com/RailsApps/rails_layout/blob/master/lib/generators/layout/templates/bootstrap2-navigation.html.erb
|
114
175
|
|
176
|
+
The RailsLayout gem will create the file:
|
177
|
+
|
178
|
+
* "app/assets/stylesheets/bootstrap_and_overrides.css.scss":https://github.com/RailsApps/rails_layout/blob/master/lib/generators/layout/bootstrap2_and_overrides.css.scss
|
179
|
+
|
180
|
+
and modify the file:
|
181
|
+
|
182
|
+
* "app/assets/javascripts/application.js":https://github.com/RailsApps/rails_layout/blob/master/lib/generators/layout/bootstrap-application.js
|
183
|
+
|
115
184
|
h2. Twitter Bootstrap 3.0 Layout
|
116
185
|
|
117
186
|
To create layout files for use with Twitter Bootstrap 3.0:
|
@@ -132,6 +201,14 @@ See the files that are generated:
|
|
132
201
|
* "app/views/layouts/_messages.html.erb":https://github.com/RailsApps/rails_layout/blob/master/lib/generators/layout/templates/bootstrap3-messages.html.erb
|
133
202
|
* "app/views/layouts/_navigation.html.erb":https://github.com/RailsApps/rails_layout/blob/master/lib/generators/layout/templates/bootstrap3-navigation.html.erb
|
134
203
|
|
204
|
+
The RailsLayout gem will create the file:
|
205
|
+
|
206
|
+
* "app/assets/stylesheets/bootstrap_and_overrides.css.scss":https://github.com/RailsApps/rails_layout/blob/master/lib/generators/layout/bootstrap3_and_overrides.css.scss
|
207
|
+
|
208
|
+
and modify the file:
|
209
|
+
|
210
|
+
* "app/assets/javascripts/application.js":https://github.com/RailsApps/rails_layout/blob/master/lib/generators/layout/bootstrap-application.js
|
211
|
+
|
135
212
|
h2. Zurb Foundation 4.0 Layout
|
136
213
|
|
137
214
|
To create layout files for use with Zurb Foundation 4.0:
|
@@ -152,6 +229,37 @@ See the files that are generated:
|
|
152
229
|
* "app/views/layouts/_messages.html.erb":https://github.com/RailsApps/rails_layout/blob/master/lib/generators/layout/templates/foundation4-messages.html.erb
|
153
230
|
* "app/views/layouts/_navigation.html.erb":https://github.com/RailsApps/rails_layout/blob/master/lib/generators/layout/templates/foundation4-navigation.html.erb
|
154
231
|
|
232
|
+
The RailsLayout gem will create the file:
|
233
|
+
|
234
|
+
* "app/assets/stylesheets/foundation_and_overrides.css.scss":https://github.com/RailsApps/rails_layout/blob/master/lib/generators/layout/foundation_and_overrides.css.scss
|
235
|
+
|
236
|
+
and modify the file:
|
237
|
+
|
238
|
+
* "app/assets/javascripts/application.js":https://github.com/RailsApps/rails_layout/blob/master/lib/generators/layout/foundation4-application.js
|
239
|
+
|
240
|
+
h2. Reverting to None
|
241
|
+
|
242
|
+
To revert your application to a default application layout:
|
243
|
+
|
244
|
+
<pre>
|
245
|
+
$ rails generate layout none
|
246
|
+
</pre>
|
247
|
+
|
248
|
+
The RailsLayout gem will remove files it may have added:
|
249
|
+
|
250
|
+
* app/views/layouts/_messages.html.erb
|
251
|
+
* app/views/layouts/_navigation.html.erb
|
252
|
+
* app/assets/stylesheets/simple.css
|
253
|
+
* app/assets/stylesheets/bootstrap_and_overrides.css.scss
|
254
|
+
* app/assets/stylesheets/foundation_and_overrides.css.scss
|
255
|
+
|
256
|
+
Additionally, it will restore these files to the default versions:
|
257
|
+
|
258
|
+
* app/views/layouts/application.html.erb
|
259
|
+
* app/assets/javascripts/application.js
|
260
|
+
|
261
|
+
The file *app/assets/stylesheets/application.css.scss* will contain a CSS rule but you can ignore it or remove it.
|
262
|
+
|
155
263
|
h2. Help
|
156
264
|
|
157
265
|
To see help messages:
|
@@ -8,40 +8,70 @@ module Layout
|
|
8
8
|
|
9
9
|
attr_reader :app_name
|
10
10
|
|
11
|
+
# Install the desired framework
|
12
|
+
def install_framework
|
13
|
+
remove_file 'app/assets/stylesheets/application.css'
|
14
|
+
copy_file 'application.css.scss', 'app/assets/stylesheets/application.css.scss'
|
15
|
+
case framework_name
|
16
|
+
when 'none'
|
17
|
+
copy_file 'application.js', 'app/assets/javascripts/application.js'
|
18
|
+
remove_file 'app/assets/stylesheets/simple.css'
|
19
|
+
remove_file 'app/assets/stylesheets/bootstrap_and_overrides.css.scss'
|
20
|
+
remove_file 'app/assets/stylesheets/foundation_and_overrides.css.scss'
|
21
|
+
when 'simple'
|
22
|
+
copy_file 'simple.css', 'app/assets/stylesheets/simple.css'
|
23
|
+
copy_file 'application.js', 'app/assets/javascripts/application.js'
|
24
|
+
remove_file 'app/assets/stylesheets/bootstrap_and_overrides.css.scss'
|
25
|
+
remove_file 'app/assets/stylesheets/foundation_and_overrides.css.scss'
|
26
|
+
when 'bootstrap2'
|
27
|
+
copy_file 'bootstrap2_and_overrides.css.scss', 'app/assets/stylesheets/bootstrap_and_overrides.css.scss'
|
28
|
+
copy_file 'bootstrap-application.js', 'app/assets/javascripts/application.js'
|
29
|
+
remove_file 'app/assets/stylesheets/simple.css'
|
30
|
+
remove_file 'app/assets/stylesheets/foundation_and_overrides.css.scss'
|
31
|
+
when 'bootstrap3'
|
32
|
+
copy_file 'bootstrap3_and_overrides.css.scss', 'app/assets/stylesheets/bootstrap_and_overrides.css.scss'
|
33
|
+
copy_file 'bootstrap-application.js', 'app/assets/javascripts/application.js'
|
34
|
+
remove_file 'app/assets/stylesheets/simple.css'
|
35
|
+
remove_file 'app/assets/stylesheets/foundation_and_overrides.css.scss'
|
36
|
+
when 'foundation4'
|
37
|
+
copy_file 'foundation_and_overrides.css.scss', 'app/assets/stylesheets/foundation_and_overrides.css.scss'
|
38
|
+
copy_file 'foundation4-application.js', 'app/assets/javascripts/application.js'
|
39
|
+
remove_file 'app/assets/stylesheets/simple.css'
|
40
|
+
remove_file 'app/assets/stylesheets/bootstrap_and_overrides.css.scss'
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
11
44
|
# Create an application layout file with partials for messages and navigation
|
12
45
|
def generate_layout
|
13
46
|
app = ::Rails.application
|
14
47
|
@app_name = app.class.to_s.split("::").first
|
15
48
|
ext = app.config.generators.options[:rails][:template_engine] || :erb
|
16
|
-
# I've got templates for ERB and Haml (but not Slim)
|
17
49
|
template "#{framework_name}-application.html.#{ext}", "app/views/layouts/application.html.#{ext}"
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
# Add a simple stylesheet if there is no front-end framework
|
23
|
-
def simple_css
|
24
|
-
if framework_name == 'simple'
|
25
|
-
copy_file 'simple.css', 'app/assets/stylesheets/simple.css'
|
50
|
+
if framework_name == 'none'
|
51
|
+
remove_file "app/views/layouts/_messages.html.#{ext}"
|
52
|
+
remove_file "app/views/layouts/_navigation.html.#{ext}"
|
26
53
|
else
|
27
|
-
|
54
|
+
copy_file "#{framework_name}-messages.html.#{ext}", "app/views/layouts/_messages.html.#{ext}"
|
55
|
+
copy_file "#{framework_name}-navigation.html.#{ext}", "app/views/layouts/_navigation.html.#{ext}"
|
28
56
|
end
|
29
57
|
end
|
30
58
|
|
31
59
|
# If 'About' or 'Contact' views exist in known locations, add navigation links
|
32
60
|
def add_navigation_links
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
61
|
+
unless framework_name == 'none'
|
62
|
+
# not yet accommodating Slim (we'll need different substitutions)
|
63
|
+
if File.exists?('app/views/pages/about.html.erb')
|
64
|
+
insert_into_file 'app/views/layouts/_navigation.html.erb', "\n <li><%= link_to 'About', page_path('about') %></li>", :before => "\n</ul>"
|
65
|
+
end
|
66
|
+
if File.exists?('app/views/contacts/new.html.erb')
|
67
|
+
insert_into_file 'app/views/layouts/_navigation.html.erb', "\n <li><%= link_to 'Contact', new_contact_path %></li>", :before => "\n</ul>"
|
68
|
+
end
|
69
|
+
if File.exists?('app/views/contacts/new.html.haml')
|
70
|
+
insert_into_file 'app/views/layouts/_navigation.html.haml', "\n %li= link_to 'Contact', new_contact_path", :after => "root_path"
|
71
|
+
end
|
72
|
+
if File.exists?('app/views/pages/about.html.haml')
|
73
|
+
insert_into_file 'app/views/layouts/_navigation.html.haml', "\n %li= link_to 'About', page_path('about')", :after => "root_path"
|
74
|
+
end
|
45
75
|
end
|
46
76
|
end
|
47
77
|
|
@@ -0,0 +1,24 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
+
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
9
|
+
* compiled file, but it's generally better to create a new file per style scope.
|
10
|
+
*
|
11
|
+
*= require_self
|
12
|
+
*= require_tree .
|
13
|
+
*/
|
14
|
+
.content {
|
15
|
+
background-color: #eee;
|
16
|
+
padding: 20px;
|
17
|
+
margin: 0 -20px;
|
18
|
+
-webkit-border-radius: 0 0 6px 6px;
|
19
|
+
-moz-border-radius: 0 0 6px 6px;
|
20
|
+
border-radius: 0 0 6px 6px;
|
21
|
+
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.15);
|
22
|
+
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.15);
|
23
|
+
box-shadow: 0 1px 2px rgba(0,0,0,.15);
|
24
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
+
// listed below.
|
3
|
+
//
|
4
|
+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
+
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
6
|
+
//
|
7
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
+
// compiled file.
|
9
|
+
//
|
10
|
+
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
|
11
|
+
// about supported directives.
|
12
|
+
//
|
13
|
+
//= require jquery
|
14
|
+
//= require jquery_ujs
|
15
|
+
//= require turbolinks
|
16
|
+
//= require_tree .
|
@@ -0,0 +1,17 @@
|
|
1
|
+
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
+
// listed below.
|
3
|
+
//
|
4
|
+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
+
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
6
|
+
//
|
7
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
+
// compiled file.
|
9
|
+
//
|
10
|
+
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
|
11
|
+
// about supported directives.
|
12
|
+
//
|
13
|
+
//= require jquery
|
14
|
+
//= require jquery_ujs
|
15
|
+
//= require turbolinks
|
16
|
+
//= require bootstrap
|
17
|
+
//= require_tree .
|
@@ -0,0 +1,20 @@
|
|
1
|
+
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
+
// listed below.
|
3
|
+
//
|
4
|
+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
+
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
6
|
+
//
|
7
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
+
// compiled file.
|
9
|
+
//
|
10
|
+
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
|
11
|
+
// about supported directives.
|
12
|
+
//
|
13
|
+
//= require jquery
|
14
|
+
//= require jquery_ujs
|
15
|
+
//= require turbolinks
|
16
|
+
//= require foundation
|
17
|
+
//= require_tree .
|
18
|
+
$(function() {
|
19
|
+
$(document).foundation();
|
20
|
+
});
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title><%= app_name.underscore.titleize %></title>
|
5
|
+
<%%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
|
6
|
+
<%%= javascript_include_tag "application", "data-turbolinks-track" => true %>
|
7
|
+
<%%= csrf_meta_tags %>
|
8
|
+
</head>
|
9
|
+
<body>
|
10
|
+
|
11
|
+
<%%= yield %>
|
12
|
+
|
13
|
+
</body>
|
14
|
+
</html>
|
@@ -14,8 +14,10 @@
|
|
14
14
|
<%%= render 'layouts/navigation' %>
|
15
15
|
</header>
|
16
16
|
<main role="main">
|
17
|
-
|
18
|
-
|
17
|
+
<div class="content">
|
18
|
+
<%%= render 'layouts/messages' %>
|
19
|
+
<%%= yield %>
|
20
|
+
</div>
|
19
21
|
</main>
|
20
22
|
<footer>
|
21
23
|
</footer>
|
data/lib/rails_layout/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_layout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Kehoe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -54,24 +54,33 @@ files:
|
|
54
54
|
- Rakefile
|
55
55
|
- lib/generators/layout/USAGE
|
56
56
|
- lib/generators/layout/layout_generator.rb
|
57
|
+
- lib/generators/layout/templates/application.css.scss
|
58
|
+
- lib/generators/layout/templates/application.js
|
59
|
+
- lib/generators/layout/templates/bootstrap-application.js
|
57
60
|
- lib/generators/layout/templates/bootstrap2-application.html.erb
|
58
61
|
- lib/generators/layout/templates/bootstrap2-application.html.haml
|
59
62
|
- lib/generators/layout/templates/bootstrap2-messages.html.erb
|
60
63
|
- lib/generators/layout/templates/bootstrap2-messages.html.haml
|
61
64
|
- lib/generators/layout/templates/bootstrap2-navigation.html.erb
|
62
65
|
- lib/generators/layout/templates/bootstrap2-navigation.html.haml
|
66
|
+
- lib/generators/layout/templates/bootstrap2_and_overrides.css.scss
|
63
67
|
- lib/generators/layout/templates/bootstrap3-application.html.erb
|
64
68
|
- lib/generators/layout/templates/bootstrap3-application.html.haml
|
65
69
|
- lib/generators/layout/templates/bootstrap3-messages.html.erb
|
66
70
|
- lib/generators/layout/templates/bootstrap3-messages.html.haml
|
67
71
|
- lib/generators/layout/templates/bootstrap3-navigation.html.erb
|
68
72
|
- lib/generators/layout/templates/bootstrap3-navigation.html.haml
|
73
|
+
- lib/generators/layout/templates/bootstrap3_and_overrides.css.scss
|
69
74
|
- lib/generators/layout/templates/foundation4-application.html.erb
|
70
75
|
- lib/generators/layout/templates/foundation4-application.html.haml
|
76
|
+
- lib/generators/layout/templates/foundation4-application.js
|
71
77
|
- lib/generators/layout/templates/foundation4-messages.html.erb
|
72
78
|
- lib/generators/layout/templates/foundation4-messages.html.haml
|
73
79
|
- lib/generators/layout/templates/foundation4-navigation.html.erb
|
74
80
|
- lib/generators/layout/templates/foundation4-navigation.html.haml
|
81
|
+
- lib/generators/layout/templates/foundation_and_overrides.css.scss
|
82
|
+
- lib/generators/layout/templates/none-application.html.erb
|
83
|
+
- lib/generators/layout/templates/none-application.html.haml
|
75
84
|
- lib/generators/layout/templates/simple-application.html.erb
|
76
85
|
- lib/generators/layout/templates/simple-application.html.haml
|
77
86
|
- lib/generators/layout/templates/simple-messages.html.erb
|
@@ -102,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
111
|
version: '0'
|
103
112
|
requirements: []
|
104
113
|
rubyforge_project:
|
105
|
-
rubygems_version: 2.1.
|
114
|
+
rubygems_version: 2.1.10
|
106
115
|
signing_key:
|
107
116
|
specification_version: 4
|
108
117
|
summary: Rails generator creates application layout files for Twitter Bootstrap and
|