rails-boilerplate 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -2
- data/index.html.patch +8 -6
- data/lib/generators/boilerplate/install/templates/index.html +1 -1
- data/lib/rails_boilerplate/version.rb +1 -1
- metadata +23 -36
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Rails Boilerplate
|
2
2
|
|
3
|
-
[Rails Boilerplate](https
|
3
|
+
[Rails Boilerplate](https://github.com/khelben/rails-boilerplate) is a Rails (>= 3.1.0) gem which helps you to use the [html 5 boilerplate](http://html5boilerplate.com).
|
4
4
|
|
5
5
|
## Install & usage
|
6
6
|
|
@@ -9,7 +9,7 @@ You'll need at least Rails 3.1. Then put this in your `Gemfile`:
|
|
9
9
|
```ruby
|
10
10
|
gem "rails-boilerplate"
|
11
11
|
```
|
12
|
-
This gives you a
|
12
|
+
This gives you a generator `boilerplate:install` which does the following things:
|
13
13
|
|
14
14
|
* updates `app/views/layouts/application.html.erb` to include all the elements used in the [H5BP:index.html](https://github.com/h5bp/html5-boilerplate/blob/master/index.html) converted to a Rails compatible ERB file, complete with the necessary rails helper calls.
|
15
15
|
|
@@ -35,4 +35,5 @@ bundle
|
|
35
35
|
|
36
36
|
## Changelog
|
37
37
|
|
38
|
+
* 0.1.5: 21/nov/2011: updated to html5-boilerplate version
|
38
39
|
* 0.1.0: initial version.
|
data/index.html.patch
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
--- html5-boilerplate/index.html 2011-
|
2
|
-
+++ lib/generators/boilerplate/install/templates/index.html 2011-
|
3
|
-
@@ -12,
|
1
|
+
--- html5-boilerplate/index.html 2011-11-23 20:13:05.000000000 +0100
|
2
|
+
+++ lib/generators/boilerplate/install/templates/index.html 2011-11-23 20:24:32.000000000 +0100
|
3
|
+
@@ -12,47 +12,31 @@
|
4
4
|
More info: h5bp.com/b/378 -->
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
6
6
|
|
@@ -9,7 +9,9 @@
|
|
9
9
|
<meta name="description" content="">
|
10
10
|
<meta name="author" content="">
|
11
11
|
|
12
|
-
|
12
|
+
- <!-- Mobile viewport optimized: h5bp.com/viewport -->
|
13
|
+
+ <!-- Mobile viewport optimized: j.mp/bplateviewport -->
|
14
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
13
15
|
|
14
16
|
<!-- Place favicon.ico and apple-touch-icon.png in the root directory: mathiasbynens.be/notes/touch-icons -->
|
15
17
|
|
@@ -44,8 +46,8 @@
|
|
44
46
|
<!-- JavaScript at the bottom for fast page loading -->
|
45
47
|
-
|
46
48
|
- <!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline -->
|
47
|
-
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.
|
48
|
-
- <script>window.jQuery || document.write('<script src="js/libs/jquery-1.
|
49
|
+
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
|
50
|
+
- <script>window.jQuery || document.write('<script src="js/libs/jquery-1.7.0.min.js"><\/script>')</script>
|
49
51
|
-
|
50
52
|
-
|
51
53
|
- <!-- scripts concatenated and minified via build script -->
|
@@ -43,7 +43,7 @@
|
|
43
43
|
<!-- Asynchronous Google Analytics snippet. Change UA-XXXXX-X to be your site's ID.
|
44
44
|
mathiasbynens.be/notes/async-analytics-snippet -->
|
45
45
|
<script>
|
46
|
-
var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']
|
46
|
+
var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']];
|
47
47
|
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
|
48
48
|
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
|
49
49
|
s.parentNode.insertBefore(g,s)}(document,'script'));
|
metadata
CHANGED
@@ -1,33 +1,23 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-boilerplate
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.5
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
- 4
|
10
|
-
version: 0.1.4
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Christiaan Van den Poel
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
date: 2011-10-27 00:00:00 Z
|
12
|
+
date: 2011-11-23 00:00:00.000000000Z
|
19
13
|
dependencies: []
|
20
|
-
|
21
14
|
description: HTML5 boilerplate for Rails (>= 3.1)
|
22
|
-
email:
|
15
|
+
email:
|
23
16
|
- christiaan.vandenpoel@gmail.com
|
24
17
|
executables: []
|
25
|
-
|
26
18
|
extensions: []
|
27
|
-
|
28
19
|
extra_rdoc_files: []
|
29
|
-
|
30
|
-
files:
|
20
|
+
files:
|
31
21
|
- .gitignore
|
32
22
|
- .gitmodules
|
33
23
|
- Gemfile
|
@@ -95,38 +85,35 @@ files:
|
|
95
85
|
- vendor/assets/stylesheets/reset.css
|
96
86
|
homepage: http://github.com/khelben/rails-boilerplate
|
97
87
|
licenses: []
|
98
|
-
|
99
88
|
post_install_message:
|
100
89
|
rdoc_options: []
|
101
|
-
|
102
|
-
require_paths:
|
90
|
+
require_paths:
|
103
91
|
- lib
|
104
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
92
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
105
93
|
none: false
|
106
|
-
requirements:
|
107
|
-
- -
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
|
110
|
-
segments:
|
94
|
+
requirements:
|
95
|
+
- - ! '>='
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '0'
|
98
|
+
segments:
|
111
99
|
- 0
|
112
|
-
|
113
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
|
+
hash: -332670972069928022
|
101
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
114
102
|
none: false
|
115
|
-
requirements:
|
116
|
-
- -
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
|
119
|
-
segments:
|
103
|
+
requirements:
|
104
|
+
- - ! '>='
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: '0'
|
107
|
+
segments:
|
120
108
|
- 0
|
121
|
-
|
109
|
+
hash: -332670972069928022
|
122
110
|
requirements: []
|
123
|
-
|
124
111
|
rubyforge_project: rails-boilerplate
|
125
112
|
rubygems_version: 1.8.10
|
126
113
|
signing_key:
|
127
114
|
specification_version: 3
|
128
115
|
summary: HTML5 boilerplate for Rails (>= 3.1)
|
129
|
-
test_files:
|
116
|
+
test_files:
|
130
117
|
- test/dummy/Rakefile
|
131
118
|
- test/dummy/app/controllers/application_controller.rb
|
132
119
|
- test/dummy/app/controllers/home_controller.rb
|