html5-rails 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -4,13 +4,11 @@ Html5 for Rails
4
4
  Sensible Html5 defaults for Rails projects based on [Html5 Boilerplate](http://html5boilerplate.com)
5
5
  by Paul Irish, Divya Manian and many other [fine folks](https://github.com/h5bp/html5-boilerplate/contributors).
6
6
 
7
- (A rewrite of compass-html5-boilerplate that decouples the compass CSS library and adds Rails asset pipeline integration).
7
+ (Also, a rewrite of compass-html5-boilerplate that adds Rails asset pipeline integration).
8
8
 
9
9
  Installation
10
10
  =========================
11
11
 
12
- We're a bit light on documentation right now, but this should get you going...
13
-
14
12
  In your Gemfile
15
13
 
16
14
  ```ruby
@@ -22,10 +20,10 @@ group :assets do
22
20
  gem 'compass-h5bp'
23
21
  end
24
22
 
25
- gem 'haml-rails' #(Optional) to use haml
23
+ gem 'haml-rails' # Optional - to generate haml
26
24
 
27
25
  gem 'jquery-rails'
28
- gem 'html5-rails', :git => 'git://github.com/sporkd/html5-rails.git'
26
+ gem 'html5-rails'
29
27
  ```
30
28
 
31
29
  Install
@@ -40,18 +38,35 @@ Run generator
40
38
  $ rails generate html5:install
41
39
  ```
42
40
 
41
+ Options
42
+ =========================
43
+
44
+ To see other generators available:
45
+
46
+ ```
47
+ $ rails generate html5:layout --help
48
+ $ rails generate html5:partial --help
49
+ $ rails generate html5:assets --help
50
+ ```
51
+
52
+
43
53
  Notes
44
- ---------------
54
+ ==========
45
55
 
46
- [1] If you use `--template-engine=haml` (or `haml-rails`), the install
47
- generator will remove your application.html.erb layout and generate
48
- application.html.haml.
56
+ [1] The `compass-h5bp` gem is not actually a dependency but it does need to be
57
+ included in your assets group for development and asset precompiling to work.
49
58
 
50
- [2] If you're upgrading from compass-html5-boilerplate you may need to
59
+ [2] If you use `--template-engine=haml` (or `haml-rails`), the install
60
+ generator will remove your application.html.erb layout so that
61
+ application.html.haml.can be seen.
62
+
63
+ [3] If you're upgrading from compass-html5-boilerplate you may need to
51
64
  remove config/compass.rb before you can run the generators.
52
65
 
53
- [3] I'm still organizing stuff to be as flexible as possible, so some
54
- paths might change. Just make sure you re-run generators when upgrading.
66
+ [4] For the time being, you will want to add the following line to
67
+ config/production.rb so that polyfills are precompiled on deploy:
68
+
69
+ `config.assets.precompile += %w( polyfills.js )`
55
70
 
56
71
 
57
72
  License
data/html5-rails.gemspec CHANGED
@@ -14,8 +14,8 @@ Gem::Specification.new do |s|
14
14
 
15
15
  s.rubyforge_project = "html5-rails"
16
16
 
17
- s.add_dependency "jquery-rails", "~> 1.0.19"
18
- s.add_dependency "railties", "~> 3.1.0"
17
+ s.add_dependency "jquery-rails", ">= 1.0.19"
18
+ s.add_dependency "railties", "~> 3.1"
19
19
  s.add_dependency "thor", "~> 0.14"
20
20
 
21
21
  s.add_development_dependency "compass-h5bp", "~> 0.0.1"
@@ -1,6 +1,6 @@
1
1
  module Html5
2
2
  module Rails
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  COMPASS_H5BP_VERSION = "0.0.2"
5
5
  MODERNIZER_VERSION = "2.0.6"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html5-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,34 +9,34 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-11 00:00:00.000000000 -08:00
12
+ date: 2012-01-27 00:00:00.000000000 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: jquery-rails
17
- requirement: &2156774160 !ruby/object:Gem::Requirement
17
+ requirement: &2164916260 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
- - - ~>
20
+ - - ! '>='
21
21
  - !ruby/object:Gem::Version
22
22
  version: 1.0.19
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2156774160
25
+ version_requirements: *2164916260
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: railties
28
- requirement: &2156773660 !ruby/object:Gem::Requirement
28
+ requirement: &2164915760 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: 3.1.0
33
+ version: '3.1'
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *2156773660
36
+ version_requirements: *2164915760
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: thor
39
- requirement: &2156773160 !ruby/object:Gem::Requirement
39
+ requirement: &2164915160 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: '0.14'
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *2156773160
47
+ version_requirements: *2164915160
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: compass-h5bp
50
- requirement: &2156772660 !ruby/object:Gem::Requirement
50
+ requirement: &2164914560 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ~>
@@ -55,7 +55,7 @@ dependencies:
55
55
  version: 0.0.1
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *2156772660
58
+ version_requirements: *2164914560
59
59
  description: ''
60
60
  email:
61
61
  - gumeson@gmail.com