rail_pass 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- data/app/views/rail_pass/styleguide/index.html.haml +1 -1
- data/lib/generators/rail_pass/install_generator.rb +1 -1
- data/lib/generators/templates/app/assets/stylesheets/application.css.scss +1 -1
- data/lib/generators/templates/app/assets/stylesheets/layout/_containers.scss +3 -3
- data/lib/generators/templates/app/assets/stylesheets/layout/_footer.scss +1 -1
- data/lib/generators/templates/app/assets/stylesheets/layout/_header.scss +1 -1
- data/lib/generators/templates/app/assets/stylesheets/mixins/_ie.scss +21 -0
- data/lib/generators/templates/app/views/layouts/application.html.haml +5 -11
- data/lib/rail_pass/version.rb +1 -1
- metadata +3 -2
@@ -136,7 +136,7 @@ module RailPass
|
|
136
136
|
end
|
137
137
|
# Assets to precompile
|
138
138
|
gsub_file 'config/environments/production.rb', /# config.assets.precompile.*/ do
|
139
|
-
"config.assets.precompile += %w(
|
139
|
+
"config.assets.precompile += %w( html5.js polyfills.js )"
|
140
140
|
end
|
141
141
|
%w(config/initializers/dev_environment.rb .powder).each do |ignored|
|
142
142
|
append_file ".gitignore", ignored + "\n"
|
@@ -1,17 +1,17 @@
|
|
1
1
|
// General Containers
|
2
2
|
|
3
|
-
.
|
3
|
+
.l-constrained {
|
4
4
|
@include outer-container;
|
5
5
|
padding: 0 $page-gutter;
|
6
6
|
}
|
7
7
|
|
8
|
-
.
|
8
|
+
.l-main {
|
9
9
|
@include media($breakpoint-ipad) {
|
10
10
|
@include span-columns(8);
|
11
11
|
}
|
12
12
|
}
|
13
13
|
|
14
|
-
.
|
14
|
+
.l-sidebar {
|
15
15
|
@include media($breakpoint-ipad) {
|
16
16
|
@include span-columns(4);
|
17
17
|
}
|
@@ -1 +1 @@
|
|
1
|
-
#
|
1
|
+
#l-footer {}
|
@@ -1 +1 @@
|
|
1
|
-
#
|
1
|
+
#l-header {}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
// Prepend selectors with a class specific to old IE
|
2
|
+
@mixin media-ie($args...) {
|
3
|
+
|
4
|
+
@if length($args) > 0 {
|
5
|
+
@include media($args) {
|
6
|
+
@content;
|
7
|
+
}
|
8
|
+
}
|
9
|
+
|
10
|
+
.old-ie & {
|
11
|
+
@content;
|
12
|
+
}
|
13
|
+
|
14
|
+
}
|
15
|
+
|
16
|
+
// Add min-width to containers for old IE
|
17
|
+
@mixin ie-width {
|
18
|
+
.old-ie & {
|
19
|
+
min-width: $breakpoint-ipad;
|
20
|
+
}
|
21
|
+
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
!!! 5
|
2
|
-
/[if lt IE 9] <html class="ie8" lang="en">
|
2
|
+
/[if lt IE 9] <html class="ie8 old-ie" lang="en">
|
3
3
|
<!--[if gte IE 9]><!-->
|
4
4
|
%html{ lang: "en" }
|
5
5
|
<!--<![endif]-->
|
@@ -31,13 +31,6 @@
|
|
31
31
|
%meta{name: "description", content: "FIXME: APPLICATION DESCRIPTION"}
|
32
32
|
%meta{name: "author", content: "Michael LaCroix, James LaCroix"}
|
33
33
|
%meta{:'http-equiv' => "X-UA-Compatible", content: "chrome=1"}
|
34
|
-
|
35
|
-
-# koko wa Facebook meta
|
36
|
-
/ %meta{name: "og:title", content: "#{@fb_title || 'FIXME: APPLICATION NAME'}"}
|
37
|
-
/ %meta{name: "og:image", content: ""}
|
38
|
-
/ %meta{name: "og:type", content: "website"}
|
39
|
-
/ %meta{name: "og:site_name", content: "FIXME: APPLICATION NAME"}
|
40
|
-
/ %meta{name: "og:admins", content: ""}
|
41
34
|
|
42
35
|
-# koko wa fav and touch icons (reside in the /public folder), plus iOS meta
|
43
36
|
/ %link{rel: "shortcut icon", href: "#{root_url}/favicon.png"}
|
@@ -45,6 +38,8 @@
|
|
45
38
|
/ %link{rel: "apple-touch-icon-precomposed", sizes: "72x72", href: "#{root_url}/apple-touch-icon-72x72-precomposed.png"}
|
46
39
|
/ %link{rel: "apple-touch-icon-precomposed", sizes: "114x114", href: "#{root_url}/apple-touch-icon-114x114-precomposed.png"}
|
47
40
|
/ %link{rel: "apple-touch-icon-precomposed", sizes: "144x144", href: "#{root_url}/apple-touch-icon-144x144-precomposed.png"}
|
41
|
+
/ %meta{name: "msapplication-TileColor", content: "#ffffff"}
|
42
|
+
/ %meta{name: "msapplication-TileImage", content: "#{root_url}/windows-icon.png"}
|
48
43
|
%meta{name: "viewport", content: "initial-scale=1.0, width=device-width, user-scalable=no, maximum-scale=1.0"}
|
49
44
|
%meta{name: "apple-mobile-web-app-capable", content: "yes"}
|
50
45
|
%meta{name: "apple-mobile-web-app-status-bar-style", content:"black"}
|
@@ -59,7 +54,6 @@
|
|
59
54
|
/[if lt IE 9]
|
60
55
|
= javascript_include_tag "polyfills"
|
61
56
|
|
62
|
-
= javascript_include_tag "responsive"
|
63
57
|
= csrf_meta_tags
|
64
58
|
|
65
59
|
-# koko wa Typekit -- replace VVVVVVV with the proper kit code
|
@@ -82,13 +76,13 @@
|
|
82
76
|
to improve your experience.
|
83
77
|
|
84
78
|
|
85
|
-
%header#
|
79
|
+
%header#l-header
|
86
80
|
|
87
81
|
|
88
82
|
= yield
|
89
83
|
|
90
84
|
|
91
|
-
%footer#
|
85
|
+
%footer#l-footer
|
92
86
|
|
93
87
|
|
94
88
|
|
data/lib/rail_pass/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rail_pass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-02-14 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
@@ -59,6 +59,7 @@ files:
|
|
59
59
|
- lib/generators/templates/app/assets/stylesheets/layout/_footer.scss
|
60
60
|
- lib/generators/templates/app/assets/stylesheets/layout/_header.scss
|
61
61
|
- lib/generators/templates/app/assets/stylesheets/layout/_settings.scss
|
62
|
+
- lib/generators/templates/app/assets/stylesheets/mixins/_ie.scss
|
62
63
|
- lib/generators/templates/app/assets/stylesheets/modules/_buttons.scss
|
63
64
|
- lib/generators/templates/app/controllers/pages_controller.rb
|
64
65
|
- lib/generators/templates/app/helpers/application_helper.rb
|