modernizr-rails 2.7.0 → 2.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 34c9290b4efefd1348b66e5d48008d213cd9ddd5
4
+ data.tar.gz: 3e9dfc18c789298f773167fa18c1e09f22411c87
5
+ SHA512:
6
+ metadata.gz: 1fe1ce8e6325320d7ad1dac81f450458b838f757573880317effb1bd89a555f9c651b8d6b0cedfc2a187659262897f5928d780ae72b220a78a24a700088d2438
7
+ data.tar.gz: e009f720222ef52c9156230f07c4e0658589a9462eb2cd69425f66979b8ae9a7c6871e5fc8667c0ba9fdd7e1c6ae904bac58449ce1b8f02f6de2f8ee9a7acf55
data/README.md CHANGED
@@ -3,6 +3,9 @@
3
3
  The modernizr-rails gem will include the [Modernizr.js](https://github.com/Modernizr/Modernizr) library into your `Rails 3.1+` app via the asset pipeline. This gem is bundled with the last tagged release version from the [Modernizr GitHub repo](https://github.com/Modernizr/Modernizr), which is minified by the Rails Assets Pipeline for you automatically. If you need custom feature detection tests, consider the [Custom feature detection tests](#custom-feature-detection-tests) section in this README.
4
4
 
5
5
  ## Installation
6
+
7
+ ### Rails 3.x
8
+
6
9
  Add the following to your `assets` group in your Gemfile:
7
10
 
8
11
  ```ruby
@@ -11,6 +14,14 @@ group :assets do
11
14
  end
12
15
  ```
13
16
 
17
+ ### Rails 4.x
18
+
19
+ Add the following into your Gemfile:
20
+
21
+ ```ruby
22
+ gem 'modernizr-rails'
23
+ ```
24
+
14
25
  ## Usage
15
26
  Modernizr should be added to the `<head>` of your HTML. Be sure to check out the [offical docs](http://modernizr.com/docs/#installing) about **Installing Modernizr** for more info.
16
27
  Include it using the helper like so `<%= javascript_include_tag :modernizr %>`, Rails will take care of the compilation and minification automatically for you.
@@ -34,7 +45,7 @@ Example of your `app/views/layouts/application.html.erb`:
34
45
  ```
35
46
 
36
47
  ## Custom feature detection tests
37
- I you need a custom feature detection test not included in the Modernizr build shipped with this gem, please consider using your own version instead of sending a pull request to include your test. You can easily do this by moving your Modernizr build in to one of the assets folder. Rails will automagically use your build instead of the shipped one. However you can still continue to use this gem and its features (like the precompile hook, and so on).
48
+ If you need a custom feature detection test not included in the Modernizr build shipped with this gem, please consider using your own version instead of sending a pull request to include your test. You can easily do this by moving your Modernizr build in to one of the assets folder. Rails will automagically use your build instead of the shipped one. However you can still continue to use this gem and its features (like the precompile hook, and so on).
38
49
 
39
50
  1. Configure your build on [modernizr.com/download](http://modernizr.com/download/).
40
51
  2. Download it.
@@ -1,5 +1,5 @@
1
1
  module Modernizr
2
2
  module Rails
3
- VERSION = '2.7.0'
3
+ VERSION = '2.7.1'
4
4
  end
5
5
  end
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Modernizr v2.7.0
2
+ * Modernizr v2.7.1
3
3
  * www.modernizr.com
4
4
  *
5
5
  * Copyright (c) Faruk Ates, Paul Irish, Alex Sexton
@@ -24,7 +24,7 @@
24
24
 
25
25
  window.Modernizr = (function( window, document, undefined ) {
26
26
 
27
- var version = '2.7.0',
27
+ var version = '2.7.1',
28
28
 
29
29
  Modernizr = {},
30
30
 
metadata CHANGED
@@ -1,30 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: modernizr-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.0
5
- prerelease:
4
+ version: 2.7.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Russ Frisch
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-11-18 00:00:00.000000000 Z
11
+ date: 2014-01-15 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rails
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: 3.1.0
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: 3.1.0
30
27
  description: This Modernizr.js was built using the at http://www.modernizr.com/download/
@@ -47,26 +44,25 @@ files:
47
44
  - vendor/assets/javascripts/modernizr.js
48
45
  homepage: http://rubygems.org/gems/modernizr-rails
49
46
  licenses: []
47
+ metadata: {}
50
48
  post_install_message:
51
49
  rdoc_options: []
52
50
  require_paths:
53
51
  - lib
54
52
  required_ruby_version: !ruby/object:Gem::Requirement
55
- none: false
56
53
  requirements:
57
- - - ! '>='
54
+ - - '>='
58
55
  - !ruby/object:Gem::Version
59
56
  version: '0'
60
57
  required_rubygems_version: !ruby/object:Gem::Requirement
61
- none: false
62
58
  requirements:
63
- - - ! '>='
59
+ - - '>='
64
60
  - !ruby/object:Gem::Version
65
61
  version: '0'
66
62
  requirements: []
67
63
  rubyforge_project: modernizr-rails
68
- rubygems_version: 1.8.23
64
+ rubygems_version: 2.2.1
69
65
  signing_key:
70
- specification_version: 3
66
+ specification_version: 4
71
67
  summary: Gem wrapper to include the Modernizr.js library via the asset pipeline.
72
68
  test_files: []