bourbon 3.2.0.beta.2 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/.npmignore +9 -0
  3. data/Gemfile.lock +3 -3
  4. data/app/assets/stylesheets/_bourbon.scss +5 -3
  5. data/app/assets/stylesheets/addons/_button.scss +142 -41
  6. data/app/assets/stylesheets/addons/_directional-values.scss +5 -8
  7. data/app/assets/stylesheets/addons/_html5-input-types.scss +39 -15
  8. data/app/assets/stylesheets/addons/_prefixer.scss +5 -5
  9. data/app/assets/stylesheets/addons/_triangle.scss +51 -13
  10. data/app/assets/stylesheets/addons/_word-wrap.scss +8 -0
  11. data/app/assets/stylesheets/css3/_columns.scss +1 -1
  12. data/app/assets/stylesheets/css3/_filter.scss +5 -0
  13. data/app/assets/stylesheets/css3/_font-feature-settings.scss +10 -0
  14. data/app/assets/stylesheets/css3/_image-rendering.scss +1 -0
  15. data/app/assets/stylesheets/css3/_keyframes.scss +9 -10
  16. data/app/assets/stylesheets/css3/_transition.scss +47 -4
  17. data/app/assets/stylesheets/functions/_color-lightness.scss +13 -0
  18. data/app/assets/stylesheets/functions/_modular-scale.scss +1 -1
  19. data/app/assets/stylesheets/functions/_px-to-rem.scss +15 -0
  20. data/bourbon.gemspec +2 -2
  21. data/bower.json +1 -0
  22. data/dist/_bourbon.scss +5 -2
  23. data/dist/addons/_button.scss +142 -41
  24. data/dist/addons/_directional-values.scss +5 -8
  25. data/dist/addons/_html5-input-types.scss +3 -3
  26. data/dist/addons/_triangle.scss +51 -13
  27. data/dist/addons/_word-wrap.scss +8 -0
  28. data/dist/css3/_columns.scss +1 -1
  29. data/dist/css3/_filter.scss +5 -0
  30. data/dist/css3/_font-feature-settings.scss +10 -0
  31. data/dist/css3/_image-rendering.scss +1 -0
  32. data/dist/css3/_keyframes.scss +6 -7
  33. data/dist/css3/_placeholder.scss +3 -24
  34. data/dist/css3/_transition.scss +47 -4
  35. data/dist/functions/_color-lightness.scss +13 -0
  36. data/dist/functions/_modular-scale.scss +1 -1
  37. data/dist/functions/_px-to-rem.scss +15 -0
  38. data/lib/bourbon/version.rb +1 -1
  39. data/package.json +24 -0
  40. data/readme.md +20 -21
  41. metadata +30 -20
  42. data/app/assets/stylesheets/addons/_rem.scss +0 -33
  43. data/app/assets/stylesheets/functions/_assign.scss +0 -11
  44. data/dist/addons/_rem.scss +0 -33
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bourbon
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0.beta.2
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phil LaPier
@@ -16,65 +16,66 @@ authors:
16
16
  - Gabe Berke-Williams
17
17
  - J. Edward Dewyea
18
18
  - Reda Lemeden
19
+ - Kyle Fiedler
19
20
  autorequire:
20
21
  bindir: bin
21
22
  cert_chain: []
22
- date: 2014-01-09 00:00:00.000000000 Z
23
+ date: 2014-04-19 00:00:00.000000000 Z
23
24
  dependencies:
24
25
  - !ruby/object:Gem::Dependency
25
26
  name: sass
26
27
  requirement: !ruby/object:Gem::Requirement
27
28
  requirements:
28
- - - '>='
29
+ - - "~>"
29
30
  - !ruby/object:Gem::Version
30
- version: 3.3.0.rc.2
31
+ version: '3.2'
31
32
  type: :runtime
32
33
  prerelease: false
33
34
  version_requirements: !ruby/object:Gem::Requirement
34
35
  requirements:
35
- - - '>='
36
+ - - "~>"
36
37
  - !ruby/object:Gem::Version
37
- version: 3.3.0.rc.2
38
+ version: '3.2'
38
39
  - !ruby/object:Gem::Dependency
39
40
  name: thor
40
41
  requirement: !ruby/object:Gem::Requirement
41
42
  requirements:
42
- - - '>='
43
+ - - ">="
43
44
  - !ruby/object:Gem::Version
44
45
  version: '0'
45
46
  type: :runtime
46
47
  prerelease: false
47
48
  version_requirements: !ruby/object:Gem::Requirement
48
49
  requirements:
49
- - - '>='
50
+ - - ">="
50
51
  - !ruby/object:Gem::Version
51
52
  version: '0'
52
53
  - !ruby/object:Gem::Dependency
53
54
  name: aruba
54
55
  requirement: !ruby/object:Gem::Requirement
55
56
  requirements:
56
- - - ~>
57
+ - - "~>"
57
58
  - !ruby/object:Gem::Version
58
59
  version: '0.4'
59
60
  type: :development
60
61
  prerelease: false
61
62
  version_requirements: !ruby/object:Gem::Requirement
62
63
  requirements:
63
- - - ~>
64
+ - - "~>"
64
65
  - !ruby/object:Gem::Version
65
66
  version: '0.4'
66
67
  - !ruby/object:Gem::Dependency
67
68
  name: rake
68
69
  requirement: !ruby/object:Gem::Requirement
69
70
  requirements:
70
- - - '>='
71
+ - - ">="
71
72
  - !ruby/object:Gem::Version
72
73
  version: '0'
73
74
  type: :development
74
75
  prerelease: false
75
76
  version_requirements: !ruby/object:Gem::Requirement
76
77
  requirements:
77
- - - '>='
78
+ - - ">="
78
79
  - !ruby/object:Gem::Version
79
80
  version: '0'
80
81
  description: |
@@ -91,7 +92,8 @@ executables:
91
92
  extensions: []
92
93
  extra_rdoc_files: []
93
94
  files:
94
- - .gitignore
95
+ - ".gitignore"
96
+ - ".npmignore"
95
97
  - Gemfile
96
98
  - Gemfile.lock
97
99
  - LICENSE
@@ -107,11 +109,11 @@ files:
107
109
  - app/assets/stylesheets/addons/_html5-input-types.scss
108
110
  - app/assets/stylesheets/addons/_position.scss
109
111
  - app/assets/stylesheets/addons/_prefixer.scss
110
- - app/assets/stylesheets/addons/_rem.scss
111
112
  - app/assets/stylesheets/addons/_retina-image.scss
112
113
  - app/assets/stylesheets/addons/_size.scss
113
114
  - app/assets/stylesheets/addons/_timing-functions.scss
114
115
  - app/assets/stylesheets/addons/_triangle.scss
116
+ - app/assets/stylesheets/addons/_word-wrap.scss
115
117
  - app/assets/stylesheets/css3/_animation.scss
116
118
  - app/assets/stylesheets/css3/_appearance.scss
117
119
  - app/assets/stylesheets/css3/_backface-visibility.scss
@@ -122,8 +124,10 @@ files:
122
124
  - app/assets/stylesheets/css3/_box-sizing.scss
123
125
  - app/assets/stylesheets/css3/_calc.scss
124
126
  - app/assets/stylesheets/css3/_columns.scss
127
+ - app/assets/stylesheets/css3/_filter.scss
125
128
  - app/assets/stylesheets/css3/_flex-box.scss
126
129
  - app/assets/stylesheets/css3/_font-face.scss
130
+ - app/assets/stylesheets/css3/_font-feature-settings.scss
127
131
  - app/assets/stylesheets/css3/_hidpi-media-query.scss
128
132
  - app/assets/stylesheets/css3/_hyphens.scss
129
133
  - app/assets/stylesheets/css3/_image-rendering.scss
@@ -136,13 +140,14 @@ files:
136
140
  - app/assets/stylesheets/css3/_transform.scss
137
141
  - app/assets/stylesheets/css3/_transition.scss
138
142
  - app/assets/stylesheets/css3/_user-select.scss
139
- - app/assets/stylesheets/functions/_assign.scss
143
+ - app/assets/stylesheets/functions/_color-lightness.scss
140
144
  - app/assets/stylesheets/functions/_flex-grid.scss
141
145
  - app/assets/stylesheets/functions/_golden-ratio.scss
142
146
  - app/assets/stylesheets/functions/_grid-width.scss
143
147
  - app/assets/stylesheets/functions/_linear-gradient.scss
144
148
  - app/assets/stylesheets/functions/_modular-scale.scss
145
149
  - app/assets/stylesheets/functions/_px-to-em.scss
150
+ - app/assets/stylesheets/functions/_px-to-rem.scss
146
151
  - app/assets/stylesheets/functions/_radial-gradient.scss
147
152
  - app/assets/stylesheets/functions/_strip-units.scss
148
153
  - app/assets/stylesheets/functions/_tint-shade.scss
@@ -170,11 +175,11 @@ files:
170
175
  - dist/addons/_html5-input-types.scss
171
176
  - dist/addons/_position.scss
172
177
  - dist/addons/_prefixer.scss
173
- - dist/addons/_rem.scss
174
178
  - dist/addons/_retina-image.scss
175
179
  - dist/addons/_size.scss
176
180
  - dist/addons/_timing-functions.scss
177
181
  - dist/addons/_triangle.scss
182
+ - dist/addons/_word-wrap.scss
178
183
  - dist/css3/_animation.scss
179
184
  - dist/css3/_appearance.scss
180
185
  - dist/css3/_backface-visibility.scss
@@ -185,8 +190,10 @@ files:
185
190
  - dist/css3/_box-sizing.scss
186
191
  - dist/css3/_calc.scss
187
192
  - dist/css3/_columns.scss
193
+ - dist/css3/_filter.scss
188
194
  - dist/css3/_flex-box.scss
189
195
  - dist/css3/_font-face.scss
196
+ - dist/css3/_font-feature-settings.scss
190
197
  - dist/css3/_hidpi-media-query.scss
191
198
  - dist/css3/_hyphens.scss
192
199
  - dist/css3/_image-rendering.scss
@@ -199,12 +206,14 @@ files:
199
206
  - dist/css3/_transform.scss
200
207
  - dist/css3/_transition.scss
201
208
  - dist/css3/_user-select.scss
209
+ - dist/functions/_color-lightness.scss
202
210
  - dist/functions/_flex-grid.scss
203
211
  - dist/functions/_golden-ratio.scss
204
212
  - dist/functions/_grid-width.scss
205
213
  - dist/functions/_linear-gradient.scss
206
214
  - dist/functions/_modular-scale.scss
207
215
  - dist/functions/_px-to-em.scss
216
+ - dist/functions/_px-to-rem.scss
208
217
  - dist/functions/_radial-gradient.scss
209
218
  - dist/functions/_strip-units.scss
210
219
  - dist/functions/_tint-shade.scss
@@ -229,6 +238,7 @@ files:
229
238
  - lib/bourbon/generator.rb
230
239
  - lib/bourbon/version.rb
231
240
  - lib/tasks/install.rake
241
+ - package.json
232
242
  - readme.md
233
243
  homepage: https://github.com/thoughtbot/bourbon
234
244
  licenses:
@@ -240,17 +250,17 @@ require_paths:
240
250
  - lib
241
251
  required_ruby_version: !ruby/object:Gem::Requirement
242
252
  requirements:
243
- - - '>='
253
+ - - ">="
244
254
  - !ruby/object:Gem::Version
245
255
  version: '0'
246
256
  required_rubygems_version: !ruby/object:Gem::Requirement
247
257
  requirements:
248
- - - '>'
258
+ - - ">="
249
259
  - !ruby/object:Gem::Version
250
- version: 1.3.1
260
+ version: '0'
251
261
  requirements: []
252
262
  rubyforge_project: bourbon
253
- rubygems_version: 2.0.3
263
+ rubygems_version: 2.2.2
254
264
  signing_key:
255
265
  specification_version: 4
256
266
  summary: Bourbon Sass Mixins using SCSS syntax.
@@ -1,33 +0,0 @@
1
- @mixin rem($property, $size, $base: $em-base) {
2
- @if not unitless($base) {
3
- $base: strip-units($base);
4
- }
5
-
6
- $unitless_values: ();
7
- @each $num in $size {
8
- @if not unitless($num) {
9
- @if unit($num) == "em" {
10
- $num: $num * $base;
11
- }
12
-
13
- $num: strip-units($num);
14
- }
15
-
16
- $unitless_values: append($unitless_values, $num);
17
- }
18
- $size: $unitless_values;
19
-
20
- $pixel_values: ();
21
- $rem_values: ();
22
- @each $value in $pxval {
23
- $pixel_value: $value * 1px;
24
- $pixel_values: append($pixel_values, $pixel_value);
25
-
26
- $rem_value: ($value / $base) * 1rem;
27
- $rem_values: append($rem_values, $rem_value);
28
- }
29
-
30
- #{$property}: $pixel_values;
31
- #{$property}: $rem_values;
32
- }
33
-
@@ -1,11 +0,0 @@
1
- @function assign-inputs($inputs, $pseudo: null) {
2
- $list : ();
3
-
4
- @each $input in $inputs {
5
- $input: unquote($input);
6
- $input: if($pseudo, $input + ":" + $pseudo, $input);
7
- $list: append($list, $input, comma);
8
- }
9
-
10
- @return $list;
11
- }
@@ -1,33 +0,0 @@
1
- @mixin rem($property, $size, $base: $em-base) {
2
- @if not unitless($base) {
3
- $base: strip-units($base);
4
- }
5
-
6
- $unitless_values: ();
7
- @each $num in $size {
8
- @if not unitless($num) {
9
- @if unit($num) == "em" {
10
- $num: $num * $base;
11
- }
12
-
13
- $num: strip-units($num);
14
- }
15
-
16
- $unitless_values: append($unitless_values, $num);
17
- }
18
- $size: $unitless_values;
19
-
20
- $pixel_values: ();
21
- $rem_values: ();
22
- @each $value in $pxval {
23
- $pixel_value: $value * 1px;
24
- $pixel_values: append($pixel_values, $pixel_value);
25
-
26
- $rem_value: ($value / $base) * 1rem;
27
- $rem_values: append($rem_values, $rem_value);
28
- }
29
-
30
- #{$property}: $pixel_values;
31
- #{$property}: $rem_values;
32
- }
33
-