modernizr-mixin 3.0.3 → 3.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7292003701426ad16301fb8fbf4414cb6d1bed16
4
- data.tar.gz: c559c45b98a79589565df8bee09930044339270d
3
+ metadata.gz: 4d449ebc2d1a1271b7030f9ab7e3bfda93750bf4
4
+ data.tar.gz: d89105065abb13e0d17832b647e9940d16b8abbd
5
5
  SHA512:
6
- metadata.gz: fe789709e822d54085413ad962698e7c2adbb6710914d5ef3c162f393fcf94e07af6b66e1c293888c0bcb93923695b540c4cfbe86cfb7199f14fe00b6041b65e
7
- data.tar.gz: c5636e8b54070ff7908b7caf4e5dfba21108cc92c0c414b3aace546671543ace3d38efbe3f336fa3c852be5da10a7ce99c8737bc465ac823c90929bec87c9411
6
+ metadata.gz: 5da2074073818fc259f0143d91e9835427ebd044f78f342c8e723aeed280e48443cd87cf63e1de509623b4559a7fa3ff92c194ce86cdaebcb0a13ff6a01703db
7
+ data.tar.gz: 17e2ec6d1ba88a273e3002d4833eee063b4a7085353ffbd45a38e3edb35c43644d3066254362a9309688acd108d65a6537600f9e1643789b85e863c452e1ea50
@@ -3,6 +3,6 @@ extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
3
3
  Compass::Frameworks.register('modernizr-mixin', :path => extension_path)
4
4
 
5
5
  module ModernizrMixin
6
- VERSION = "3.0.3"
7
- DATE = "2015-01-14"
6
+ VERSION = "3.0.4"
7
+ DATE = "2015-03-15"
8
8
  end
@@ -5,18 +5,10 @@
5
5
  // -----------------------------------------------------------------------------
6
6
  // Modernizr
7
7
  // -----------------------------------------------------------------------------
8
-
9
- /**
10
- * Prints classes for supported or unsupported features
11
- *
12
- * @access private
13
- *
14
- * @param {Bool} $supports - Whether to check for supported features or not
15
- * @param {ArgList} $features - List of features
16
- *
17
- * @throws `Modernizr mixin should be called within a selector.`
18
- * @throws `$feature` is not a `string` for `modernizr.`
19
- */
8
+ /// Prints classes for supported or unsupported features
9
+ /// @access private
10
+ /// @param {Bool} $supports - Whether to check for supported features or not
11
+ /// @param {ArgList} $features - List of features
20
12
 
21
13
  @mixin _modernizr($supports, $features...) {
22
14
 
@@ -68,23 +60,15 @@
68
60
  // -----------------------------------------------------------------------------
69
61
  // Yep mixin
70
62
  // -----------------------------------------------------------------------------
71
-
72
- /**
73
- * Prints classes for supported features
74
- *
75
- * @requires modernizr
76
- *
77
- * @access public
78
- *
79
- * @param {ArgList} $features - List of features
80
- *
81
- * @example scss
82
- * .my-selector {
83
- * @include yep(opacity, csstransforms) {
84
- * // ...
85
- * }
86
- * }
87
- */
63
+ /// Prints classes for supported features
64
+ /// @access public
65
+ /// @param {ArgList} $features - List of features
66
+ /// @example scss
67
+ /// .my-selector {
68
+ /// @include yep(opacity, csstransforms) {
69
+ /// // ...
70
+ /// }
71
+ /// }
88
72
 
89
73
  @mixin yep($features...) {
90
74
  @include _modernizr(true, $features...) {
@@ -92,27 +76,19 @@
92
76
  }
93
77
  }
94
78
 
79
+
95
80
  // -----------------------------------------------------------------------------
96
81
  // Nope mixin
97
82
  // -----------------------------------------------------------------------------
98
-
99
- /**
100
- * Nope "alias"
101
- * Prints classes for unsupported features and lack of JS
102
- *
103
- * @requires modernizr
104
- *
105
- * @access public
106
- *
107
- * @param {ArgList} $features - List of features
108
- *
109
- * @example scss
110
- * .my-selector {
111
- * @include nope(opacity, csstransforms) {
112
- * // ...
113
- * }
114
- * }
115
- */
83
+ /// Prints classes for unsupported features and lack of JS
84
+ /// @access public
85
+ /// @param {ArgList} $features - List of features
86
+ /// @example scss
87
+ /// .my-selector {
88
+ /// @include nope(opacity, csstransforms) {
89
+ /// // ...
90
+ /// }
91
+ /// }
116
92
 
117
93
  @mixin nope($features...) {
118
94
  @include _modernizr(false, $features...) {
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: modernizr-mixin
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.3
4
+ version: 3.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Guillan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-14 00:00:00.000000000 Z
11
+ date: 2015-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.4'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.4'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: compass
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: 1.0.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 1.0.0
41
41
  description: A simple way for DRYier, faster and cleaner Modernizr tests in Sass.
@@ -58,17 +58,17 @@ require_paths:
58
58
  - lib
59
59
  required_ruby_version: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - '>='
61
+ - - ">="
62
62
  - !ruby/object:Gem::Version
63
63
  version: '0'
64
64
  required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: 1.3.6
69
69
  requirements: []
70
70
  rubyforge_project: modernizr-mixin
71
- rubygems_version: 2.0.14
71
+ rubygems_version: 2.2.2
72
72
  signing_key:
73
73
  specification_version: 4
74
74
  summary: Simple and comprehensive mixin for Modernizr tests in Sass