compass 1.0.0.alpha.19 → 1.0.0.alpha.20

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.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/RELEASE_VERSION +1 -1
  3. data/VERSION +1 -1
  4. data/lib/compass.rb +2 -14
  5. data/lib/compass/sass_extensions/functions/sprites.rb +1 -1
  6. data/lib/compass/sprite_importer.rb +5 -0
  7. data/lib/compass/watcher/project_watcher.rb +30 -8
  8. data/test/fixtures/stylesheets/compass/css/background-clip.css +0 -2
  9. data/test/fixtures/stylesheets/compass/css/background-origin.css +0 -2
  10. data/test/fixtures/stylesheets/compass/css/background-size.css +0 -3
  11. data/test/fixtures/stylesheets/compass/css/browser-support.css +24 -17
  12. data/test/fixtures/stylesheets/compass/css/columns.css +9 -9
  13. data/test/fixtures/stylesheets/compass/css/filters.css +6 -6
  14. data/test/fixtures/stylesheets/compass/css/fonts.css +4 -0
  15. data/test/fixtures/stylesheets/compass/css/grid_background.css +0 -4
  16. data/test/fixtures/stylesheets/compass/css/support.css +6 -6
  17. data/test/fixtures/stylesheets/compass/css/transition.css +4 -23
  18. data/test/fixtures/stylesheets/compass/css/vertical_rhythm_with_ems.css +0 -1
  19. data/test/fixtures/stylesheets/compass/css/vertical_rhythm_with_px.css +0 -1
  20. data/test/fixtures/stylesheets/compass/css/vertical_rhythm_with_rems.css +0 -1
  21. data/test/fixtures/stylesheets/compass/sass/fonts.sass +6 -1
  22. data/test/fixtures/stylesheets/with_sass_globbing/config.rb +26 -0
  23. data/test/fixtures/stylesheets/with_sass_globbing/css/screen.css +19 -0
  24. data/test/fixtures/stylesheets/with_sass_globbing/sass/partials/_1.scss +3 -0
  25. data/test/fixtures/stylesheets/with_sass_globbing/sass/partials/_2.scss +3 -0
  26. data/test/fixtures/stylesheets/with_sass_globbing/sass/partials/_3.scss +4 -0
  27. data/test/fixtures/stylesheets/with_sass_globbing/sass/screen.scss +3 -0
  28. data/test/integrations/compass_test.rb +12 -0
  29. data/test/units/caniuse_test.rb +10 -4
  30. metadata +26 -17
  31. data/lib/compass/frameworks.rb +0 -181
  32. data/test/units/compass_module_test.rb +0 -36
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b83bee56d832228c50f695b5c1748e22961f39ff
4
- data.tar.gz: a48cc92362db35291bc6627554dc812e25316eb9
3
+ metadata.gz: 0bfcc1e236b2024e300a9614e4cc9548288f1c62
4
+ data.tar.gz: ec216f217f66ccb8c3824299e4c9c1e3c7de893f
5
5
  SHA512:
6
- metadata.gz: e1b25c9d11f986b19e3977e61c51eeacd0a0b5f6143230cb87d8c09b690c3dd40d7b837ae9e6f74c35811e7f239e161e3f6c02958b6b8b84e22bab2c077dff26
7
- data.tar.gz: c3b504fac0b64a6d0e7f83d93ae3f14859bc2fe84921554e17141e9611aaaaa16296e04c911b477d7c30c1ceb3e68b5848390f0dc38ac16e88bfe7f77fb29b83
6
+ metadata.gz: 8b26d00bf0c37eddb8c50d038de1b17635e0a6aa54763c2ade2a3bd0e721269ee4375917445ec8f098147b00b365dd56965f86a56744dc8ab9b485e7c0c52796
7
+ data.tar.gz: 42b8ae2fcd8982532f3c9375cdbfb7f45405ad3881e6653411da9472a5f96e8989a4bfd166e424bd1bbe2a5f4e1b377ccab393dd4a7bbee786bd513cb6ee9114
@@ -1 +1 @@
1
- 1.0.0.alpha.19
1
+ 1.0.0.alpha.20
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0.alpha.18
1
+ 1.0.0.alpha.19
@@ -1,8 +1,7 @@
1
1
  module Compass
2
2
  end
3
3
 
4
- %w(frameworks
5
- core
4
+ %w(core
6
5
  dependencies
7
6
  sass_extensions
8
7
  version
@@ -23,18 +22,7 @@ module Compass
23
22
  def lib_directory
24
23
  File.expand_path(File.join(File.dirname(__FILE__)))
25
24
  end
26
- def shared_extension_paths
27
- @shared_extension_paths ||= begin
28
- if ENV["HOME"] && File.directory?(ENV["HOME"])
29
- [File.join(ENV["HOME"], ".compass", "extensions")]
30
- else
31
- []
32
- end
33
- rescue ArgumentError # If HOME is relative
34
- []
35
- end
36
- end
37
- module_function :base_directory, :lib_directory, :shared_extension_paths
25
+ module_function :base_directory, :lib_directory
38
26
  extend QuickCache
39
27
  end
40
28
 
@@ -121,7 +121,7 @@ module Compass::SassExtensions::Functions::Sprites
121
121
  verify_sprite(sprite)
122
122
  if image = map.image_for(sprite.value)
123
123
  image_path = Pathname.new(File.expand_path(image.file, Compass.configuration.images_path))
124
- generated_images_path = Pathname.new(Compass.configuration.generated_images_path)
124
+ generated_images_path = Pathname.new(File.expand_path(Compass.configuration.generated_images_path))
125
125
  quoted_string(image_path.relative_path_from(generated_images_path).to_s)
126
126
  else
127
127
  missing_image!(map, sprite)
@@ -51,6 +51,11 @@ module Compass
51
51
  def key(uri, options={})
52
52
  [self.class.name + ":sprite:" + File.dirname(File.expand_path(uri)), File.basename(uri)]
53
53
  end
54
+
55
+ def public_url
56
+ nil
57
+ end
58
+
54
59
 
55
60
  def self.path_and_name(uri)
56
61
  if uri =~ SPRITE_IMPORTER_REGEX
@@ -1,4 +1,3 @@
1
- require 'listen'
2
1
  require 'forwardable'
3
2
  module Compass
4
3
  module Watcher
@@ -28,7 +27,11 @@ module Compass
28
27
  end
29
28
 
30
29
  def watch!
31
- listener.start!
30
+ if Sass::Util.listen_geq_2?
31
+ listener.start.join
32
+ else
33
+ listener.start!
34
+ end
32
35
  rescue Interrupt
33
36
  logger.log "\nHappy Styling!"
34
37
  listener.stop
@@ -37,12 +40,31 @@ module Compass
37
40
  private #============================================================================>
38
41
 
39
42
  def setup_listener
40
- @listener = Listen::Listener.new(directories_to_watch,
41
- :relative_paths => false)
42
- @listener = listener.force_polling(true) if poll
43
- @listener = listener.polling_fallback_message(POLLING_MESSAGE)
44
- @listener = listener.ignore(/\.css$/)
45
- @listener = listener.change(&method(:listen_callback))
43
+ listen_opts = {:relative_paths => false}
44
+
45
+ if Sass::Util.listen_geq_2?
46
+ listen_opts.update(:force_polling => true) if poll
47
+ listen_opts.update(:polling_fallback_message => POLLING_MESSAGE)
48
+ end
49
+
50
+ @listener = create_listener(directories_to_watch, listen_opts, &method(:listen_callback))
51
+
52
+ if !Sass::Util.listen_geq_2?
53
+ @listener = listener.force_polling(true) if poll
54
+ @listener = listener.polling_fallback_message(POLLING_MESSAGE)
55
+ end
56
+
57
+ listener.ignore(/\.css$/)
58
+ @listener
59
+ end
60
+
61
+ def create_listener(*args, &block)
62
+ Sass::Util.load_listen!
63
+ if Sass::Util.listen_geq_2?
64
+ Listen.to(*args, &block)
65
+ else
66
+ Listen::Listener.new(*args, &block)
67
+ end
46
68
  end
47
69
 
48
70
  def directories_to_watch
@@ -1,11 +1,9 @@
1
1
  .background-clip {
2
2
  -moz-background-clip: border;
3
- -o-background-clip: border-box;
4
3
  -webkit-background-clip: border;
5
4
  background-clip: border-box; }
6
5
 
7
6
  .background-clip-multiple {
8
7
  -moz-background-clip: border, padding, content;
9
- -o-background-clip: border-box, padding-box, content-box;
10
8
  -webkit-background-clip: border, padding, content;
11
9
  background-clip: border-box, padding-box, content-box; }
@@ -1,11 +1,9 @@
1
1
  .background-origin {
2
2
  -moz-background-origin: border;
3
- -o-background-origin: border-box;
4
3
  -webkit-background-origin: border;
5
4
  background-origin: border-box; }
6
5
 
7
6
  .background-origin-multiple {
8
7
  -moz-background-origin: border, padding, content;
9
- -o-background-origin: border-box, padding-box, content-box;
10
8
  -webkit-background-origin: border, padding, content;
11
9
  background-origin: border-box, padding-box, content-box; }
@@ -1,17 +1,14 @@
1
1
  .background-size-default {
2
2
  -moz-background-size: 100% auto;
3
- -o-background-size: 100% auto;
4
3
  -webkit-background-size: 100% auto;
5
4
  background-size: 100% auto; }
6
5
 
7
6
  .background-size-single {
8
7
  -moz-background-size: 50% 25%;
9
- -o-background-size: 50% 25%;
10
8
  -webkit-background-size: 50% 25%;
11
9
  background-size: 50% 25%; }
12
10
 
13
11
  .background-size-multiple {
14
12
  -moz-background-size: 4em 3em, 100% auto, 50%;
15
- -o-background-size: 4em 3em, 100% auto, 50%;
16
13
  -webkit-background-size: 4em 3em, 100% auto, 50%;
17
14
  background-size: 4em 3em, 100% auto, 50%; }
@@ -1,5 +1,5 @@
1
1
  .android {
2
- versions: "2.1", "2.2", "2.3", "3", "4", "4.1", "4.2-4.3", "4.4";
2
+ versions: "2.1", "2.2", "2.3", "3", "4", "4.1", "4.2-4.3", "4.4", "4.4.3";
3
3
  background-img-opts: -webkit;
4
4
  background-img-opts-unprefixed-at: "3";
5
5
  border-image: -webkit;
@@ -14,6 +14,7 @@
14
14
  css-gradients: -webkit;
15
15
  css-gradients-unprefixed-at: "4.4";
16
16
  css-masks: -webkit;
17
+ css-placeholder: -webkit;
17
18
  css-reflections: -webkit;
18
19
  css-repeating-gradients: -webkit;
19
20
  css-repeating-gradients-unprefixed-at: "4.4";
@@ -48,12 +49,13 @@
48
49
  .android-firefox {
49
50
  versions: "0";
50
51
  css-hyphens: -moz;
51
- css-repeating-gradients: -moz;
52
- css3-boxsizing: -moz;
52
+ css-placeholder: -moz;
53
53
  css3-tabsize: -moz;
54
54
  font-feature: -moz;
55
55
  intrinsic-width: -moz;
56
56
  multicolumn: -moz;
57
+ text-decoration: -moz;
58
+ text-size-adjust: -moz;
57
59
  user-select-none: -moz; }
58
60
 
59
61
  .blackberry {
@@ -68,6 +70,7 @@
68
70
  css-filters: -webkit;
69
71
  css-gradients: -webkit;
70
72
  css-masks: -webkit;
73
+ css-placeholder: -webkit;
71
74
  css-reflections: -webkit;
72
75
  css-repeating-gradients: -webkit;
73
76
  css-transitions: -webkit;
@@ -83,7 +86,7 @@
83
86
  user-select-none: -webkit; }
84
87
 
85
88
  .chrome {
86
- versions: "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36";
89
+ versions: "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38";
87
90
  border-image: -webkit;
88
91
  border-image-unprefixed-at: "16";
89
92
  border-radius: -webkit;
@@ -99,7 +102,6 @@
99
102
  css-gradients-unprefixed-at: "26";
100
103
  css-masks: -webkit;
101
104
  css-placeholder: -webkit;
102
- css-placeholder-unprefixed-at: "33";
103
105
  css-reflections: -webkit;
104
106
  css-regions: -webkit;
105
107
  css-regions-unprefixed-at: "19";
@@ -116,11 +118,13 @@
116
118
  multicolumn: -webkit;
117
119
  text-stroke: -webkit;
118
120
  transforms2d: -webkit;
121
+ transforms2d-unprefixed-at: "36";
119
122
  transforms3d: -webkit;
123
+ transforms3d-unprefixed-at: "36";
120
124
  user-select-none: -webkit; }
121
125
 
122
126
  .firefox {
123
- versions: "2", "3", "3.5", "3.6", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30";
127
+ versions: "2", "3", "3.5", "3.6", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33";
124
128
  background-img-opts: -moz;
125
129
  background-img-opts-unprefixed-at: "4";
126
130
  border-image: -moz;
@@ -137,7 +141,6 @@
137
141
  css-gradients-unprefixed-at: "16";
138
142
  css-hyphens: -moz;
139
143
  css-placeholder: -moz;
140
- css-placeholder-unprefixed-at: "27";
141
144
  css-repeating-gradients: -moz;
142
145
  css-repeating-gradients-unprefixed-at: "16";
143
146
  css-resize: prefix-no-longer-needed;
@@ -153,6 +156,7 @@
153
156
  inline-block-unprefixed-at: "3";
154
157
  intrinsic-width: -moz;
155
158
  multicolumn: -moz;
159
+ text-decoration: -moz;
156
160
  transforms2d: -moz;
157
161
  transforms2d-unprefixed-at: "16";
158
162
  transforms3d: -moz;
@@ -174,46 +178,49 @@
174
178
  css-grid: -ms;
175
179
  css-placeholder: -ms;
176
180
  css-regions: -ms;
181
+ text-size-adjust: -ms;
177
182
  user-select-none: -ms; }
178
183
 
179
184
  .ios-safari {
180
- versions: "3.2", "4.0-4.1", "4.2-4.3", "5.0-5.1", "6.0-6.1", "7.0";
185
+ versions: "3.2", "4.0-4.1", "4.2-4.3", "5.0-5.1", "6.0-6.1", "7.0-7.1", "8";
181
186
  border-image: -webkit;
182
187
  border-image-unprefixed-at: "6.0-6.1";
183
188
  border-radius: -webkit;
184
189
  border-radius-unprefixed-at: "4.0-4.1";
185
190
  calc: -webkit;
186
- calc-unprefixed-at: "7.0";
191
+ calc-unprefixed-at: "7.0-7.1";
187
192
  css-animation: -webkit;
188
193
  css-boxshadow: -webkit;
189
194
  css-boxshadow-unprefixed-at: "5.0-5.1";
190
195
  css-canvas: -webkit;
191
196
  css-filters: -webkit;
192
197
  css-gradients: -webkit;
193
- css-gradients-unprefixed-at: "7.0";
198
+ css-gradients-unprefixed-at: "7.0-7.1";
194
199
  css-hyphens: -webkit;
195
200
  css-masks: -webkit;
196
201
  css-placeholder: -webkit;
197
202
  css-reflections: -webkit;
198
203
  css-regions: -webkit;
199
204
  css-repeating-gradients: -webkit;
200
- css-repeating-gradients-unprefixed-at: "7.0";
205
+ css-repeating-gradients-unprefixed-at: "7.0-7.1";
206
+ css-shapes: prefix-no-longer-needed;
201
207
  css-sticky: -webkit;
202
208
  css-transitions: -webkit;
203
- css-transitions-unprefixed-at: "7.0";
209
+ css-transitions-unprefixed-at: "7.0-7.1";
204
210
  css3-boxsizing: -webkit;
205
211
  css3-boxsizing-unprefixed-at: "5.0-5.1";
206
212
  flexbox: -webkit;
207
213
  font-feature: -webkit;
208
214
  intrinsic-width: -webkit;
209
215
  multicolumn: -webkit;
216
+ text-size-adjust: -webkit;
210
217
  text-stroke: -webkit;
211
218
  transforms2d: -webkit;
212
219
  transforms3d: -webkit;
213
220
  user-select-none: -webkit; }
214
221
 
215
222
  .opera {
216
- versions: "9.5-9.6", "10.0-10.1", "10.5", "10.6", "11", "11.1", "11.5", "11.6", "12", "12.1", "15", "16", "17", "18", "19", "20", "21";
223
+ versions: "9.5-9.6", "10.0-10.1", "10.5", "10.6", "11", "11.1", "11.5", "11.6", "12", "12.1", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24";
217
224
  background-img-opts: -webkit;
218
225
  background-img-opts-unprefixed-at: "10.5";
219
226
  border-image: -webkit;
@@ -225,7 +232,6 @@
225
232
  css-gradients-unprefixed-at: "12.1";
226
233
  css-masks: -webkit;
227
234
  css-placeholder: -webkit;
228
- css-placeholder-unprefixed-at: "16";
229
235
  css-reflections: -webkit;
230
236
  css-repeating-gradients: -webkit;
231
237
  css-repeating-gradients-unprefixed-at: "12.1";
@@ -261,10 +267,11 @@
261
267
  css-gradients: prefix-no-longer-needed;
262
268
  css-gradients-unprefixed-at: "12.1";
263
269
  css-masks: prefix-no-longer-needed;
270
+ css-placeholder: prefix-no-longer-needed;
264
271
  css-reflections: prefix-no-longer-needed;
265
272
  css-repeating-gradients: prefix-no-longer-needed;
266
273
  css-repeating-gradients-unprefixed-at: "12.1";
267
- css-transitions: -o;
274
+ css-transitions: prefix-no-longer-needed;
268
275
  css-transitions-unprefixed-at: "12.1";
269
276
  css3-tabsize: -o;
270
277
  css3-tabsize-unprefixed-at: "0";
@@ -281,7 +288,7 @@
281
288
  user-select-none: prefix-no-longer-needed; }
282
289
 
283
290
  .safari {
284
- versions: "3.1", "3.2", "4", "5", "5.1", "6", "6.1", "7";
291
+ versions: "3.1", "3.2", "4", "5", "5.1", "6", "6.1", "7", "8";
285
292
  border-image: -webkit;
286
293
  border-image-unprefixed-at: "6";
287
294
  border-radius: -webkit;
@@ -302,13 +309,13 @@
302
309
  css-regions: -webkit;
303
310
  css-repeating-gradients: -webkit;
304
311
  css-repeating-gradients-unprefixed-at: "6.1";
312
+ css-shapes: prefix-no-longer-needed;
305
313
  css-sticky: -webkit;
306
314
  css-transitions: -webkit;
307
315
  css-transitions-unprefixed-at: "6.1";
308
316
  css3-boxsizing: -webkit;
309
317
  css3-boxsizing-unprefixed-at: "5.1";
310
318
  flexbox: -webkit;
311
- font-feature: -webkit;
312
319
  intrinsic-width: -webkit;
313
320
  multicolumn: -webkit;
314
321
  text-stroke: -webkit;
@@ -49,17 +49,17 @@
49
49
  column-rule: 1px solid blue; }
50
50
 
51
51
  .column-break-before {
52
- break-before: always;
52
+ -moz-page-break-before: always;
53
53
  -webkit-column-break-before: always;
54
54
  break-before: always; }
55
55
 
56
56
  .column-break-after {
57
- break-after: always;
57
+ -moz-page-break-after: always;
58
58
  -webkit-column-break-after: always;
59
59
  break-after: always; }
60
60
 
61
61
  .column-break-inside {
62
- break-inside: auto;
62
+ -moz-page-break-inside: auto;
63
63
  -webkit-column-break-inside: auto;
64
64
  break-inside: auto; }
65
65
 
@@ -104,31 +104,31 @@
104
104
  column-rule: 1px solid blue; }
105
105
 
106
106
  .column-break-before {
107
- break-before: always;
107
+ -moz-page-break-before: always;
108
108
  -webkit-column-break-before: always;
109
109
  break-before: always; }
110
110
 
111
111
  .column-break-after {
112
- break-after: always;
112
+ -moz-page-break-after: always;
113
113
  -webkit-column-break-after: always;
114
114
  break-after: always; }
115
115
 
116
116
  .column-break-inside {
117
- break-inside: auto;
117
+ -moz-page-break-inside: auto;
118
118
  -webkit-column-break-inside: auto;
119
119
  break-inside: auto; }
120
120
 
121
121
  .column-break-before-shortcut {
122
- break-before: always;
122
+ -moz-page-break-before: always;
123
123
  -webkit-column-break-before: always;
124
124
  break-before: always; }
125
125
 
126
126
  .column-break-after-shortcut {
127
- break-after: always;
127
+ -moz-page-break-after: always;
128
128
  -webkit-column-break-after: always;
129
129
  break-after: always; }
130
130
 
131
131
  .column-break-inside-shortcut {
132
- break-inside: auto;
132
+ -moz-page-break-inside: auto;
133
133
  -webkit-column-break-inside: auto;
134
134
  break-inside: auto; }
@@ -2,7 +2,7 @@
2
2
  /* Capability css-filters is not prefixed with -moz because 0% of users are affected which is less than the threshold of 0.1. */
3
3
  /* Capability css-filters is not prefixed with -ms because 0% of users are affected which is less than the threshold of 0.1. */
4
4
  /* Capability css-filters is not prefixed with -o because 0% of users are affected which is less than the threshold of 0.1. */
5
- /* Capability css-filters is prefixed with -webkit because 45.432% of users need it which is more than the threshold of 0.1%. */
5
+ /* Capability css-filters is prefixed with -webkit because 49.21163% of users need it which is more than the threshold of 0.1%. */
6
6
  /* Creating new -webkit context. */
7
7
  -webkit-filter: blur(5px);
8
8
  filter: blur(5px); }
@@ -11,7 +11,7 @@
11
11
  /* Capability css-filters is not prefixed with -moz because 0% of users are affected which is less than the threshold of 0.1. */
12
12
  /* Capability css-filters is not prefixed with -ms because 0% of users are affected which is less than the threshold of 0.1. */
13
13
  /* Capability css-filters is not prefixed with -o because 0% of users are affected which is less than the threshold of 0.1. */
14
- /* Capability css-filters is prefixed with -webkit because 45.432% of users need it which is more than the threshold of 0.1%. */
14
+ /* Capability css-filters is prefixed with -webkit because 49.21163% of users need it which is more than the threshold of 0.1%. */
15
15
  /* Creating new -webkit context. */
16
16
  -webkit-filter: brightness(0.2);
17
17
  filter: brightness(0.2); }
@@ -20,7 +20,7 @@
20
20
  /* Capability css-filters is not prefixed with -moz because 0% of users are affected which is less than the threshold of 0.1. */
21
21
  /* Capability css-filters is not prefixed with -ms because 0% of users are affected which is less than the threshold of 0.1. */
22
22
  /* Capability css-filters is not prefixed with -o because 0% of users are affected which is less than the threshold of 0.1. */
23
- /* Capability css-filters is prefixed with -webkit because 45.432% of users need it which is more than the threshold of 0.1%. */
23
+ /* Capability css-filters is prefixed with -webkit because 49.21163% of users need it which is more than the threshold of 0.1%. */
24
24
  /* Creating new -webkit context. */
25
25
  -webkit-filter: hue-rotate(20deg);
26
26
  filter: hue-rotate(20deg); }
@@ -29,7 +29,7 @@
29
29
  /* Capability css-filters is not prefixed with -moz because 0% of users are affected which is less than the threshold of 0.1. */
30
30
  /* Capability css-filters is not prefixed with -ms because 0% of users are affected which is less than the threshold of 0.1. */
31
31
  /* Capability css-filters is not prefixed with -o because 0% of users are affected which is less than the threshold of 0.1. */
32
- /* Capability css-filters is prefixed with -webkit because 45.432% of users need it which is more than the threshold of 0.1%. */
32
+ /* Capability css-filters is prefixed with -webkit because 49.21163% of users need it which is more than the threshold of 0.1%. */
33
33
  /* Creating new -webkit context. */
34
34
  -webkit-filter: contrast(150%);
35
35
  filter: contrast(150%); }
@@ -38,7 +38,7 @@
38
38
  /* Capability css-filters is not prefixed with -moz because 0% of users are affected which is less than the threshold of 0.1. */
39
39
  /* Capability css-filters is not prefixed with -ms because 0% of users are affected which is less than the threshold of 0.1. */
40
40
  /* Capability css-filters is not prefixed with -o because 0% of users are affected which is less than the threshold of 0.1. */
41
- /* Capability css-filters is prefixed with -webkit because 45.432% of users need it which is more than the threshold of 0.1%. */
41
+ /* Capability css-filters is prefixed with -webkit because 49.21163% of users need it which is more than the threshold of 0.1%. */
42
42
  /* Creating new -webkit context. */
43
43
  -webkit-filter: grayscale(150%);
44
44
  filter: grayscale(150%); }
@@ -47,7 +47,7 @@
47
47
  /* Capability css-filters is not prefixed with -moz because 0% of users are affected which is less than the threshold of 0.1. */
48
48
  /* Capability css-filters is not prefixed with -ms because 0% of users are affected which is less than the threshold of 0.1. */
49
49
  /* Capability css-filters is not prefixed with -o because 0% of users are affected which is less than the threshold of 0.1. */
50
- /* Capability css-filters is prefixed with -webkit because 45.432% of users need it which is more than the threshold of 0.1%. */
50
+ /* Capability css-filters is prefixed with -webkit because 49.21163% of users need it which is more than the threshold of 0.1%. */
51
51
  /* Creating new -webkit context. */
52
52
  -webkit-filter: sepia(150%);
53
53
  filter: sepia(150%); }
@@ -2,3 +2,7 @@
2
2
  font-family: "font1";
3
3
  src: url('/fonts/font1.eot?busted=true');
4
4
  src: url('/fonts/font1.eot?&busted=true#iefix') format('embedded-opentype'), url('/fonts/font1.woff?busted=true') format('woff'); }
5
+ @font-face {
6
+ font-family: "Issue1491";
7
+ src: url('/fonts/font1.eot?busted=true');
8
+ src: url('/fonts/font1.eot?&busted=true#iefix') format("embedded-opentype"), url('/fonts/font1.woff?busted=true') format("woff"); }
@@ -3,7 +3,6 @@
3
3
  background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%);
4
4
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%);
5
5
  -moz-background-size: 100% 1.5em;
6
- -o-background-size: 100% 1.5em;
7
6
  -webkit-background-size: 100% 1.5em;
8
7
  background-size: 100% 1.5em;
9
8
  background-position: left top; }
@@ -19,7 +18,6 @@
19
18
  background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%), -webkit-linear-gradient(left, rgba(0, 0, 0, 0) 0px, rgba(121, 121, 229, 0.25) 0px, rgba(79, 79, 221, 0.25) 30px, rgba(0, 0, 0, 0) 30px, rgba(0, 0, 0, 0) 40px, rgba(121, 121, 229, 0.25) 40px, rgba(79, 79, 221, 0.25) 70px, rgba(0, 0, 0, 0) 70px, rgba(0, 0, 0, 0) 80px, rgba(121, 121, 229, 0.25) 80px, rgba(79, 79, 221, 0.25) 110px, rgba(0, 0, 0, 0) 110px, rgba(0, 0, 0, 0) 120px, rgba(121, 121, 229, 0.25) 120px, rgba(79, 79, 221, 0.25) 150px, rgba(0, 0, 0, 0) 150px, rgba(0, 0, 0, 0) 160px, rgba(121, 121, 229, 0.25) 160px, rgba(79, 79, 221, 0.25) 190px, rgba(0, 0, 0, 0) 190px, rgba(0, 0, 0, 0) 200px, rgba(121, 121, 229, 0.25) 200px, rgba(79, 79, 221, 0.25) 230px, rgba(0, 0, 0, 0) 230px, rgba(0, 0, 0, 0) 240px, rgba(121, 121, 229, 0.25) 240px, rgba(79, 79, 221, 0.25) 270px, rgba(0, 0, 0, 0) 270px, rgba(0, 0, 0, 0) 280px, rgba(121, 121, 229, 0.25) 280px, rgba(79, 79, 221, 0.25) 310px, rgba(0, 0, 0, 0) 310px, rgba(0, 0, 0, 0) 320px, rgba(121, 121, 229, 0.25) 320px, rgba(79, 79, 221, 0.25) 350px, rgba(0, 0, 0, 0) 350px, rgba(0, 0, 0, 0) 360px, rgba(121, 121, 229, 0.25) 360px, rgba(79, 79, 221, 0.25) 390px, rgba(0, 0, 0, 0) 390px, rgba(0, 0, 0, 0) 400px, rgba(121, 121, 229, 0.25) 400px, rgba(79, 79, 221, 0.25) 430px, rgba(0, 0, 0, 0) 430px, rgba(0, 0, 0, 0) 440px, rgba(121, 121, 229, 0.25) 440px, rgba(79, 79, 221, 0.25) 470px, rgba(0, 0, 0, 0) 470px, rgba(0, 0, 0, 0) 480px, rgba(121, 121, 229, 0.25) 480px, rgba(79, 79, 221, 0.25) 510px, rgba(0, 0, 0, 0) 510px, rgba(0, 0, 0, 0) 520px, rgba(121, 121, 229, 0.25) 520px, rgba(79, 79, 221, 0.25) 550px, rgba(0, 0, 0, 0) 550px, rgba(0, 0, 0, 0) 560px, rgba(121, 121, 229, 0.25) 560px, rgba(79, 79, 221, 0.25) 590px, rgba(0, 0, 0, 0) 590px, rgba(0, 0, 0, 0) 600px, rgba(121, 121, 229, 0.25) 600px, rgba(79, 79, 221, 0.25) 630px, rgba(0, 0, 0, 0) 630px, rgba(0, 0, 0, 0) 640px, rgba(121, 121, 229, 0.25) 640px, rgba(79, 79, 221, 0.25) 670px, rgba(0, 0, 0, 0) 670px, rgba(0, 0, 0, 0) 680px, rgba(121, 121, 229, 0.25) 680px, rgba(79, 79, 221, 0.25) 710px, rgba(0, 0, 0, 0) 710px, rgba(0, 0, 0, 0) 720px, rgba(121, 121, 229, 0.25) 720px, rgba(79, 79, 221, 0.25) 750px, rgba(0, 0, 0, 0) 750px, rgba(0, 0, 0, 0) 760px, rgba(121, 121, 229, 0.25) 760px, rgba(79, 79, 221, 0.25) 790px, rgba(0, 0, 0, 0) 790px, rgba(0, 0, 0, 0) 800px, rgba(121, 121, 229, 0.25) 800px, rgba(79, 79, 221, 0.25) 830px, rgba(0, 0, 0, 0) 830px, rgba(0, 0, 0, 0) 840px, rgba(121, 121, 229, 0.25) 840px, rgba(79, 79, 221, 0.25) 870px, rgba(0, 0, 0, 0) 870px, rgba(0, 0, 0, 0) 880px, rgba(121, 121, 229, 0.25) 880px, rgba(79, 79, 221, 0.25) 910px, rgba(0, 0, 0, 0) 910px, rgba(0, 0, 0, 0) 920px, rgba(121, 121, 229, 0.25) 920px, rgba(79, 79, 221, 0.25) 950px, rgba(0, 0, 0, 0) 950px, rgba(0, 0, 0, 0) 960px);
20
19
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%), linear-gradient(to right, rgba(0, 0, 0, 0) 0px, rgba(121, 121, 229, 0.25) 0px, rgba(79, 79, 221, 0.25) 30px, rgba(0, 0, 0, 0) 30px, rgba(0, 0, 0, 0) 40px, rgba(121, 121, 229, 0.25) 40px, rgba(79, 79, 221, 0.25) 70px, rgba(0, 0, 0, 0) 70px, rgba(0, 0, 0, 0) 80px, rgba(121, 121, 229, 0.25) 80px, rgba(79, 79, 221, 0.25) 110px, rgba(0, 0, 0, 0) 110px, rgba(0, 0, 0, 0) 120px, rgba(121, 121, 229, 0.25) 120px, rgba(79, 79, 221, 0.25) 150px, rgba(0, 0, 0, 0) 150px, rgba(0, 0, 0, 0) 160px, rgba(121, 121, 229, 0.25) 160px, rgba(79, 79, 221, 0.25) 190px, rgba(0, 0, 0, 0) 190px, rgba(0, 0, 0, 0) 200px, rgba(121, 121, 229, 0.25) 200px, rgba(79, 79, 221, 0.25) 230px, rgba(0, 0, 0, 0) 230px, rgba(0, 0, 0, 0) 240px, rgba(121, 121, 229, 0.25) 240px, rgba(79, 79, 221, 0.25) 270px, rgba(0, 0, 0, 0) 270px, rgba(0, 0, 0, 0) 280px, rgba(121, 121, 229, 0.25) 280px, rgba(79, 79, 221, 0.25) 310px, rgba(0, 0, 0, 0) 310px, rgba(0, 0, 0, 0) 320px, rgba(121, 121, 229, 0.25) 320px, rgba(79, 79, 221, 0.25) 350px, rgba(0, 0, 0, 0) 350px, rgba(0, 0, 0, 0) 360px, rgba(121, 121, 229, 0.25) 360px, rgba(79, 79, 221, 0.25) 390px, rgba(0, 0, 0, 0) 390px, rgba(0, 0, 0, 0) 400px, rgba(121, 121, 229, 0.25) 400px, rgba(79, 79, 221, 0.25) 430px, rgba(0, 0, 0, 0) 430px, rgba(0, 0, 0, 0) 440px, rgba(121, 121, 229, 0.25) 440px, rgba(79, 79, 221, 0.25) 470px, rgba(0, 0, 0, 0) 470px, rgba(0, 0, 0, 0) 480px, rgba(121, 121, 229, 0.25) 480px, rgba(79, 79, 221, 0.25) 510px, rgba(0, 0, 0, 0) 510px, rgba(0, 0, 0, 0) 520px, rgba(121, 121, 229, 0.25) 520px, rgba(79, 79, 221, 0.25) 550px, rgba(0, 0, 0, 0) 550px, rgba(0, 0, 0, 0) 560px, rgba(121, 121, 229, 0.25) 560px, rgba(79, 79, 221, 0.25) 590px, rgba(0, 0, 0, 0) 590px, rgba(0, 0, 0, 0) 600px, rgba(121, 121, 229, 0.25) 600px, rgba(79, 79, 221, 0.25) 630px, rgba(0, 0, 0, 0) 630px, rgba(0, 0, 0, 0) 640px, rgba(121, 121, 229, 0.25) 640px, rgba(79, 79, 221, 0.25) 670px, rgba(0, 0, 0, 0) 670px, rgba(0, 0, 0, 0) 680px, rgba(121, 121, 229, 0.25) 680px, rgba(79, 79, 221, 0.25) 710px, rgba(0, 0, 0, 0) 710px, rgba(0, 0, 0, 0) 720px, rgba(121, 121, 229, 0.25) 720px, rgba(79, 79, 221, 0.25) 750px, rgba(0, 0, 0, 0) 750px, rgba(0, 0, 0, 0) 760px, rgba(121, 121, 229, 0.25) 760px, rgba(79, 79, 221, 0.25) 790px, rgba(0, 0, 0, 0) 790px, rgba(0, 0, 0, 0) 800px, rgba(121, 121, 229, 0.25) 800px, rgba(79, 79, 221, 0.25) 830px, rgba(0, 0, 0, 0) 830px, rgba(0, 0, 0, 0) 840px, rgba(121, 121, 229, 0.25) 840px, rgba(79, 79, 221, 0.25) 870px, rgba(0, 0, 0, 0) 870px, rgba(0, 0, 0, 0) 880px, rgba(121, 121, 229, 0.25) 880px, rgba(79, 79, 221, 0.25) 910px, rgba(0, 0, 0, 0) 910px, rgba(0, 0, 0, 0) 920px, rgba(121, 121, 229, 0.25) 920px, rgba(79, 79, 221, 0.25) 950px, rgba(0, 0, 0, 0) 950px, rgba(0, 0, 0, 0) 960px);
21
20
  -moz-background-size: 100% 1.5em, auto;
22
- -o-background-size: 100% 1.5em, auto;
23
21
  -webkit-background-size: 100% 1.5em, auto;
24
22
  background-size: 100% 1.5em, auto;
25
23
  background-position: left top; }
@@ -29,7 +27,6 @@
29
27
  background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%);
30
28
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%);
31
29
  -moz-background-size: 100% 1.5em;
32
- -o-background-size: 100% 1.5em;
33
30
  -webkit-background-size: 100% 1.5em;
34
31
  background-size: 100% 1.5em;
35
32
  background-position: left top; }
@@ -45,7 +42,6 @@
45
42
  background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%), -webkit-linear-gradient(left, rgba(0, 0, 0, 0) 11%, rgba(121, 121, 229, 0.25) 11%, rgba(79, 79, 221, 0.25) 16%, rgba(0, 0, 0, 0) 16%, rgba(0, 0, 0, 0) 17%, rgba(121, 121, 229, 0.25) 17%, rgba(79, 79, 221, 0.25) 22%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 23%, rgba(121, 121, 229, 0.25) 23%, rgba(79, 79, 221, 0.25) 28%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0) 29%, rgba(121, 121, 229, 0.25) 29%, rgba(79, 79, 221, 0.25) 34%, rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, 0) 35%, rgba(121, 121, 229, 0.25) 35%, rgba(79, 79, 221, 0.25) 40%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0) 41%, rgba(121, 121, 229, 0.25) 41%, rgba(79, 79, 221, 0.25) 46%, rgba(0, 0, 0, 0) 46%, rgba(0, 0, 0, 0) 47%, rgba(121, 121, 229, 0.25) 47%, rgba(79, 79, 221, 0.25) 52%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0) 53%, rgba(121, 121, 229, 0.25) 53%, rgba(79, 79, 221, 0.25) 58%, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, 0) 59%, rgba(121, 121, 229, 0.25) 59%, rgba(79, 79, 221, 0.25) 64%, rgba(0, 0, 0, 0) 64%, rgba(0, 0, 0, 0) 65%, rgba(121, 121, 229, 0.25) 65%, rgba(79, 79, 221, 0.25) 70%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0) 71%, rgba(121, 121, 229, 0.25) 71%, rgba(79, 79, 221, 0.25) 76%, rgba(0, 0, 0, 0) 76%, rgba(0, 0, 0, 0) 77%, rgba(121, 121, 229, 0.25) 77%, rgba(79, 79, 221, 0.25) 82%, rgba(0, 0, 0, 0) 82%, rgba(0, 0, 0, 0) 83%, rgba(121, 121, 229, 0.25) 83%, rgba(79, 79, 221, 0.25) 88%, rgba(0, 0, 0, 0) 88%, rgba(0, 0, 0, 0) 89%, rgba(121, 121, 229, 0.25) 89%, rgba(79, 79, 221, 0.25) 94%, rgba(0, 0, 0, 0) 94%, rgba(0, 0, 0, 0) 95%, rgba(121, 121, 229, 0.25) 95%, rgba(79, 79, 221, 0.25) 100%, rgba(0, 0, 0, 0) 100%, rgba(0, 0, 0, 0) 100%);
46
43
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%), linear-gradient(to right, rgba(0, 0, 0, 0) 11%, rgba(121, 121, 229, 0.25) 11%, rgba(79, 79, 221, 0.25) 16%, rgba(0, 0, 0, 0) 16%, rgba(0, 0, 0, 0) 17%, rgba(121, 121, 229, 0.25) 17%, rgba(79, 79, 221, 0.25) 22%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 23%, rgba(121, 121, 229, 0.25) 23%, rgba(79, 79, 221, 0.25) 28%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0) 29%, rgba(121, 121, 229, 0.25) 29%, rgba(79, 79, 221, 0.25) 34%, rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, 0) 35%, rgba(121, 121, 229, 0.25) 35%, rgba(79, 79, 221, 0.25) 40%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0) 41%, rgba(121, 121, 229, 0.25) 41%, rgba(79, 79, 221, 0.25) 46%, rgba(0, 0, 0, 0) 46%, rgba(0, 0, 0, 0) 47%, rgba(121, 121, 229, 0.25) 47%, rgba(79, 79, 221, 0.25) 52%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0) 53%, rgba(121, 121, 229, 0.25) 53%, rgba(79, 79, 221, 0.25) 58%, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, 0) 59%, rgba(121, 121, 229, 0.25) 59%, rgba(79, 79, 221, 0.25) 64%, rgba(0, 0, 0, 0) 64%, rgba(0, 0, 0, 0) 65%, rgba(121, 121, 229, 0.25) 65%, rgba(79, 79, 221, 0.25) 70%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0) 71%, rgba(121, 121, 229, 0.25) 71%, rgba(79, 79, 221, 0.25) 76%, rgba(0, 0, 0, 0) 76%, rgba(0, 0, 0, 0) 77%, rgba(121, 121, 229, 0.25) 77%, rgba(79, 79, 221, 0.25) 82%, rgba(0, 0, 0, 0) 82%, rgba(0, 0, 0, 0) 83%, rgba(121, 121, 229, 0.25) 83%, rgba(79, 79, 221, 0.25) 88%, rgba(0, 0, 0, 0) 88%, rgba(0, 0, 0, 0) 89%, rgba(121, 121, 229, 0.25) 89%, rgba(79, 79, 221, 0.25) 94%, rgba(0, 0, 0, 0) 94%, rgba(0, 0, 0, 0) 95%, rgba(121, 121, 229, 0.25) 95%, rgba(79, 79, 221, 0.25) 100%, rgba(0, 0, 0, 0) 100%, rgba(0, 0, 0, 0) 100%);
47
44
  -moz-background-size: 100% 1.5em, auto;
48
- -o-background-size: 100% 1.5em, auto;
49
45
  -webkit-background-size: 100% 1.5em, auto;
50
46
  background-size: 100% 1.5em, auto;
51
47
  background-position: left top; }
@@ -20,7 +20,7 @@
20
20
  15 Tests:
21
21
  - 15 Passed
22
22
  - 0 Failed */
23
- /* Capability css-animation is prefixed with -moz because 0.82852% of users need it which is more than the threshold of 0.1%. */
23
+ /* Capability css-animation is prefixed with -moz because 0.59827% of users need it which is more than the threshold of 0.1%. */
24
24
  /* Creating new -moz context. */
25
25
  @-moz-keyframes foo {
26
26
  0% {
@@ -33,8 +33,8 @@
33
33
  Not allowed in the current scope: ie 8 is incompatible with -moz. */
34
34
  opacity: 1; } }
35
35
  /* Capability css-animation is not prefixed with -ms because 0% of users are affected which is less than the threshold of 0.1. */
36
- /* Capability css-animation is not prefixed with -o because 0.03013% of users are affected which is less than the threshold of 0.1. */
37
- /* Capability css-animation is prefixed with -webkit because 54.08437% of users need it which is more than the threshold of 0.1%. */
36
+ /* Capability css-animation is not prefixed with -o because 0.02189% of users are affected which is less than the threshold of 0.1. */
37
+ /* Capability css-animation is prefixed with -webkit because 57.26093% of users need it which is more than the threshold of 0.1%. */
38
38
  /* Creating new -webkit context. */
39
39
  @-webkit-keyframes foo {
40
40
  0% {
@@ -57,12 +57,12 @@
57
57
  Not allowed in the current scope: The current scope only works with ie 10 - 11. */
58
58
  opacity: 1; } }
59
59
  .foo {
60
- /* Capability css-animation is prefixed with -moz because 0.82852% of users need it which is more than the threshold of 0.1%. */
60
+ /* Capability css-animation is prefixed with -moz because 0.59827% of users need it which is more than the threshold of 0.1%. */
61
61
  /* Creating new -moz context. */
62
62
  -moz-animation: foo 1s;
63
63
  /* Capability css-animation is not prefixed with -ms because 0% of users are affected which is less than the threshold of 0.1. */
64
- /* Capability css-animation is not prefixed with -o because 0.03013% of users are affected which is less than the threshold of 0.1. */
65
- /* Capability css-animation is prefixed with -webkit because 54.08437% of users need it which is more than the threshold of 0.1%. */
64
+ /* Capability css-animation is not prefixed with -o because 0.02189% of users are affected which is less than the threshold of 0.1. */
65
+ /* Capability css-animation is prefixed with -webkit because 57.26093% of users need it which is more than the threshold of 0.1%. */
66
66
  /* Creating new -webkit context. */
67
67
  -webkit-animation: foo 1s;
68
68
  animation: foo 1s; }
@@ -1,116 +1,97 @@
1
1
  .single-transition-without-delay {
2
2
  -moz-transition: all 0.6s ease-out;
3
- -o-transition: all 0.6s ease-out;
4
3
  -webkit-transition: all 0.6s ease-out;
5
4
  transition: all 0.6s ease-out; }
6
5
 
7
6
  .single-transition-with-delay {
8
7
  -moz-transition: all 0.6s ease-out 0.2s;
9
- -o-transition: all 0.6s ease-out 0.2s;
10
8
  -webkit-transition: all 0.6s ease-out;
11
9
  -webkit-transition-delay: 0.2s;
12
10
  transition: all 0.6s ease-out 0.2s; }
13
11
 
14
12
  .transition-duration-list {
15
13
  -moz-transition-duration: 0.2s, 0.5s, 0.2s;
16
- -o-transition-duration: 0.2s, 0.5s, 0.2s;
17
14
  -webkit-transition-duration: 0.2s, 0.5s, 0.2s;
18
15
  transition-duration: 0.2s, 0.5s, 0.2s; }
19
16
 
20
17
  .multiple-transition-durations {
21
18
  -moz-transition-duration: 0.2s, 0.5s, 0.2s;
22
- -o-transition-duration: 0.2s, 0.5s, 0.2s;
23
19
  -webkit-transition-duration: 0.2s, 0.5s, 0.2s;
24
20
  transition-duration: 0.2s, 0.5s, 0.2s; }
25
21
 
26
22
  .single-transform-transition-without-delay {
27
23
  -moz-transition: -moz-transform 0.6s ease-out;
28
- -o-transition: -o-transform 0.6s ease-out;
29
24
  -webkit-transition: -webkit-transform 0.6s ease-out;
30
25
  transition: transform 0.6s ease-out; }
31
26
 
32
27
  .single-transform-transition-with-delay {
33
28
  -moz-transition: -moz-transform 0.6s ease-out 0.2s;
34
- -o-transition: -o-transform 0.6s ease-out 0.2s;
35
29
  -webkit-transition: -webkit-transform 0.6s ease-out;
36
30
  -webkit-transition-delay: 0.2s;
37
31
  transition: transform 0.6s ease-out 0.2s; }
38
32
 
39
33
  .transform-transition {
40
34
  -moz-transition: -moz-transform 0.6s ease-out;
41
- -o-transition: -o-transform 0.6s ease-out;
42
35
  -webkit-transition: -webkit-transform 0.6s ease-out;
43
36
  transition: transform 0.6s ease-out; }
44
37
 
45
38
  .multiple-transitions {
46
39
  -moz-transition: -moz-transform 0.6s ease-out, opacity 0.2s ease-in;
47
- -o-transition: -o-transform 0.6s ease-out, opacity 0.2s ease-in;
48
40
  -webkit-transition: -webkit-transform 0.6s ease-out, opacity 0.2s ease-in;
49
41
  transition: transform 0.6s ease-out, opacity 0.2s ease-in; }
50
42
 
51
43
  .transition-property {
52
44
  -moz-transition-property: -moz-transform;
53
- -o-transition-property: -o-transform;
54
45
  -webkit-transition-property: -webkit-transform;
55
46
  transition-property: transform; }
56
47
 
57
48
  .transition-properties {
58
49
  -moz-transition-property: -moz-transform, opacity, width, height, left, top;
59
- -o-transition-property: -o-transform, opacity, width, height, left, top;
60
50
  -webkit-transition-property: -webkit-transform, opacity, width, height, left, top;
61
51
  transition-property: transform, opacity, width, height, left, top; }
62
52
 
63
53
  .multiple-transition-properties {
64
54
  -moz-transition-property: opacity, -moz-transform, left;
65
- -o-transition-property: opacity, -o-transform, left;
66
55
  -webkit-transition-property: opacity, -webkit-transform, left;
67
56
  transition-property: opacity, transform, left; }
68
57
 
69
58
  .default-transition {
70
59
  -moz-transition: all 1s;
71
- -o-transition: all 1s;
72
60
  -webkit-transition: all 1s;
73
61
  transition: all 1s; }
74
62
 
75
63
  .transition-timing {
76
64
  -moz-transition-timing-function: ease-in;
77
- -o-transition-timing-function: ease-in;
78
65
  -webkit-transition-timing-function: ease-in;
79
66
  transition-timing-function: ease-in; }
80
67
 
81
68
  .transition-timings {
82
69
  -moz-transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0);
83
- -o-transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0);
84
70
  -webkit-transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0);
85
71
  transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0); }
86
72
 
87
73
  .transition-timings-list {
88
74
  -moz-transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0);
89
- -o-transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0);
90
75
  -webkit-transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0);
91
76
  transition-timing-function: ease-in, cubic-bezier(1, 0, 1, 0); }
92
77
 
93
78
  .transition-delay {
94
79
  -moz-transition-delay: 1s;
95
- -o-transition-delay: 1s;
96
80
  -webkit-transition-delay: 1s;
97
81
  transition-delay: 1s; }
98
82
 
99
83
  .transition-delays {
100
84
  -moz-transition-delay: 1s, 2s, 3s;
101
- -o-transition-delay: 1s, 2s, 3s;
102
85
  -webkit-transition-delay: 1s, 2s, 3s;
103
86
  transition-delay: 1s, 2s, 3s; }
104
87
 
105
88
  .transition-delays-list {
106
89
  -moz-transition-delay: 1s, 2s, 3s;
107
- -o-transition-delay: 1s, 2s, 3s;
108
90
  -webkit-transition-delay: 1s, 2s, 3s;
109
91
  transition-delay: 1s, 2s, 3s; }
110
92
 
111
93
  .regression-912 {
112
- -moz-transition: background-color, 0.5s, ease-in, 0s width 0.5s ease-out 0s height 0.5s ease-in 0s top 0.5s ease-out 0s;
113
- -o-transition: background-color, 0.5s, ease-in, 0s width 0.5s ease-out 0s height 0.5s ease-in 0s top 0.5s ease-out 0s;
114
- -webkit-transition: background-color, 0.5s, ease-in, 0s width 0.5s ease-out 0s height 0.5s ease-in 0s;
115
- -webkit-transition-delay: top 0.5s ease-out 0s;
116
- transition: background-color 0.5s ease-in 0s width 0.5s ease-out 0s height 0.5s ease-in 0s top 0.5s ease-out 0s; }
94
+ -moz-transition: background-color 0.5s ease-in 0s, width 0.5s ease-out 0s, height 0.5s ease-in 0s, top 0.5s ease-out 0s;
95
+ -webkit-transition: background-color 0.5s ease-in, width 0.5s ease-out, height 0.5s ease-in, top 0.5s ease-out;
96
+ -webkit-transition-delay: 0s, 0s, 0s, 0s;
97
+ transition: background-color 0.5s ease-in 0s, width 0.5s ease-out 0s, height 0.5s ease-in 0s, top 0.5s ease-out 0s; }
@@ -8,7 +8,6 @@ html {
8
8
  background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%);
9
9
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%);
10
10
  -moz-background-size: 100% 1.4em;
11
- -o-background-size: 100% 1.4em;
12
11
  -webkit-background-size: 100% 1.4em;
13
12
  background-size: 100% 1.4em;
14
13
  background-position: left top; }
@@ -8,7 +8,6 @@ html {
8
8
  background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%);
9
9
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%);
10
10
  -moz-background-size: 100% 25px;
11
- -o-background-size: 100% 25px;
12
11
  -webkit-background-size: 100% 25px;
13
12
  background-size: 100% 25px;
14
13
  background-position: left top; }
@@ -8,7 +8,6 @@ html {
8
8
  background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%);
9
9
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5) 5%, rgba(0, 0, 0, 0) 5%);
10
10
  -moz-background-size: 100% 1.4rem;
11
- -o-background-size: 100% 1.4rem;
12
11
  -webkit-background-size: 100% 1.4rem;
13
12
  background-size: 100% 1.4rem;
14
13
  background-position: left top; }
@@ -1,3 +1,8 @@
1
1
  @import compass/css3/font-face
2
2
 
3
- +font-face("font1", font-files("font1.woff", woff), "font1.eot")
3
+ +font-face("font1", font-files("font1.woff", woff), "font1.eot")
4
+
5
+ @font-face
6
+ font-family: 'Issue1491'
7
+ src: font-url('font1.eot')
8
+ src: font-url('font1.eot?#iefix') format('embedded-opentype'), font-url('font1.woff') format('woff')
@@ -0,0 +1,26 @@
1
+ require 'sass-globbing'
2
+ require 'compass/import-once/activate'
3
+ # Require any additional compass plugins here.
4
+
5
+ # Set this to the root of your project when deployed:
6
+ http_path = "/"
7
+ css_dir = "tmp"
8
+ sass_dir = "sass"
9
+ images_dir = "images"
10
+ javascripts_dir = "javascripts"
11
+
12
+ # You can select your preferred output style here (can be overridden via the command line):
13
+ output_style = :expanded
14
+
15
+ # To enable relative paths to assets via compass helper functions. Uncomment:
16
+ relative_assets = true
17
+
18
+ # To disable debugging comments that display the original location of your selectors. Uncomment:
19
+ line_comments = true
20
+
21
+
22
+ # If you prefer the indented syntax, you might want to regenerate this
23
+ # project again passing --syntax sass, or you can uncomment this:
24
+ # preferred_syntax = :sass
25
+ # and then run:
26
+ # sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass
@@ -0,0 +1,19 @@
1
+ /* line 1, ../sass/partials/_1.scss */
2
+ .one {
3
+ value: 1;
4
+ }
5
+
6
+ /* line 1, ../sass/partials/_2.scss */
7
+ .two {
8
+ value: 2;
9
+ }
10
+
11
+ /* line 1, ../sass/partials/_3.scss */
12
+ .three {
13
+ value: 3;
14
+ }
15
+
16
+ /* line 3, ../sass/screen.scss */
17
+ .something {
18
+ awww: yeah;
19
+ }
@@ -0,0 +1,3 @@
1
+ @import "partials/*";
2
+
3
+ .something { awww: yeah; }
@@ -119,6 +119,17 @@ class CompassTest < Test::Unit::TestCase
119
119
  end
120
120
  end
121
121
 
122
+ def test_with_sass_globbing
123
+ within_project('with_sass_globbing') do |proj|
124
+ each_css_file(proj.css_path) do |css_file|
125
+ assert_no_errors css_file, 'with_sass_globbing'
126
+ end
127
+ each_sass_file do |sass_file|
128
+ assert_renders_correctly sass_file
129
+ end
130
+ end
131
+ end
132
+
122
133
  def test_image_urls
123
134
  within_project('image_urls') do |proj|
124
135
  each_css_file(proj.css_path) do |css_file|
@@ -202,6 +213,7 @@ private
202
213
  def each_sass_file(sass_dir = nil)
203
214
  sass_dir ||= template_path(@current_project)
204
215
  Dir.glob("#{sass_dir}/**/*.s[ac]ss").each do |sass_file|
216
+ next if File.basename(sass_file).start_with?("_")
205
217
  yield sass_file[(sass_dir.length+1)..-6]
206
218
  end
207
219
  end
@@ -59,8 +59,10 @@ class CanIUseTest < Test::Unit::TestCase
59
59
  "css-gradients",
60
60
  "css-grid",
61
61
  "css-hyphens",
62
+ "css-image-orientation",
62
63
  "css-masks",
63
64
  "css-mediaqueries",
65
+ "css-mixblendmode",
64
66
  "css-opacity",
65
67
  "css-placeholder",
66
68
  "css-reflections",
@@ -70,6 +72,7 @@ class CanIUseTest < Test::Unit::TestCase
70
72
  "css-sel2",
71
73
  "css-sel3",
72
74
  "css-selection",
75
+ "css-shapes",
73
76
  "css-sticky",
74
77
  "css-table",
75
78
  "css-textshadow",
@@ -85,6 +88,7 @@ class CanIUseTest < Test::Unit::TestCase
85
88
  "getcomputedstyle",
86
89
  "inline-block",
87
90
  "intrinsic-width",
91
+ "kerning-pairs-ligatures",
88
92
  "minmaxwh",
89
93
  "multibackgrounds",
90
94
  "multicolumn",
@@ -94,7 +98,9 @@ class CanIUseTest < Test::Unit::TestCase
94
98
  "rem",
95
99
  "style-scoped",
96
100
  "svg-css",
101
+ "text-decoration",
97
102
  "text-overflow",
103
+ "text-size-adjust",
98
104
  "text-stroke",
99
105
  "transforms2d",
100
106
  "transforms3d",
@@ -155,10 +161,10 @@ class CanIUseTest < Test::Unit::TestCase
155
161
  def test_browser_ranges_including_unprefixed
156
162
  mins = caniuse.browser_ranges("border-radius", "-webkit")
157
163
  expected = {
158
- "android"=>["2.1", "4.4"],
159
- "chrome"=>["4", "36"],
160
- "ios-safari"=>["3.2", "7.0"],
161
- "safari"=>["3.1", "7"]
164
+ "android"=>["2.1", "4.4.3"],
165
+ "chrome"=>["4", "38"],
166
+ "ios-safari"=>["3.2", "8"],
167
+ "safari"=>["3.1", "8"]
162
168
  }
163
169
  assert_equal(expected, mins)
164
170
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.alpha.19
4
+ version: 1.0.0.alpha.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Eppstein
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2014-03-12 00:00:00.000000000 Z
15
+ date: 2014-06-27 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: sass
@@ -40,28 +40,28 @@ dependencies:
40
40
  requirements:
41
41
  - - ~>
42
42
  - !ruby/object:Gem::Version
43
- version: 1.0.0.alpha.19
43
+ version: 1.0.0.alpha.20
44
44
  type: :runtime
45
45
  prerelease: false
46
46
  version_requirements: !ruby/object:Gem::Requirement
47
47
  requirements:
48
48
  - - ~>
49
49
  - !ruby/object:Gem::Version
50
- version: 1.0.0.alpha.19
50
+ version: 1.0.0.alpha.20
51
51
  - !ruby/object:Gem::Dependency
52
52
  name: compass-import-once
53
53
  requirement: !ruby/object:Gem::Requirement
54
54
  requirements:
55
55
  - - ~>
56
56
  - !ruby/object:Gem::Version
57
- version: 1.0.3
57
+ version: 1.0.4
58
58
  type: :runtime
59
59
  prerelease: false
60
60
  version_requirements: !ruby/object:Gem::Requirement
61
61
  requirements:
62
62
  - - ~>
63
63
  - !ruby/object:Gem::Version
64
- version: 1.0.3
64
+ version: 1.0.4
65
65
  - !ruby/object:Gem::Dependency
66
66
  name: chunky_png
67
67
  requirement: !ruby/object:Gem::Requirement
@@ -77,33 +77,33 @@ dependencies:
77
77
  - !ruby/object:Gem::Version
78
78
  version: '1.2'
79
79
  - !ruby/object:Gem::Dependency
80
- name: listen
80
+ name: rb-fsevent
81
81
  requirement: !ruby/object:Gem::Requirement
82
82
  requirements:
83
- - - ~>
83
+ - - '>='
84
84
  - !ruby/object:Gem::Version
85
- version: 1.1.0
85
+ version: 0.9.3
86
86
  type: :runtime
87
87
  prerelease: false
88
88
  version_requirements: !ruby/object:Gem::Requirement
89
89
  requirements:
90
- - - ~>
90
+ - - '>='
91
91
  - !ruby/object:Gem::Version
92
- version: 1.1.0
92
+ version: 0.9.3
93
93
  - !ruby/object:Gem::Dependency
94
- name: json
94
+ name: rb-inotify
95
95
  requirement: !ruby/object:Gem::Requirement
96
96
  requirements:
97
97
  - - '>='
98
98
  - !ruby/object:Gem::Version
99
- version: '0'
99
+ version: '0.9'
100
100
  type: :runtime
101
101
  prerelease: false
102
102
  version_requirements: !ruby/object:Gem::Requirement
103
103
  requirements:
104
104
  - - '>='
105
105
  - !ruby/object:Gem::Version
106
- version: '0'
106
+ version: '0.9'
107
107
  description: Compass is a Sass-based Stylesheet Framework that streamlines the creation
108
108
  and maintenance of CSS.
109
109
  email: chris@eppsteins.net
@@ -158,7 +158,6 @@ files:
158
158
  - lib/compass/exec/project_options_parser.rb
159
159
  - lib/compass/exec/sub_command_ui.rb
160
160
  - lib/compass/exec.rb
161
- - lib/compass/frameworks.rb
162
161
  - lib/compass/installers/bare_installer.rb
163
162
  - lib/compass/installers/base.rb
164
163
  - lib/compass/installers/manifest.rb
@@ -640,6 +639,12 @@ files:
640
639
  - test/fixtures/stylesheets/valid/css/simple.css
641
640
  - test/fixtures/stylesheets/valid/sass/another_simple.scss
642
641
  - test/fixtures/stylesheets/valid/sass/simple.sass
642
+ - test/fixtures/stylesheets/with_sass_globbing/config.rb
643
+ - test/fixtures/stylesheets/with_sass_globbing/css/screen.css
644
+ - test/fixtures/stylesheets/with_sass_globbing/sass/partials/_1.scss
645
+ - test/fixtures/stylesheets/with_sass_globbing/sass/partials/_2.scss
646
+ - test/fixtures/stylesheets/with_sass_globbing/sass/partials/_3.scss
647
+ - test/fixtures/stylesheets/with_sass_globbing/sass/screen.scss
643
648
  - test/helpers/command_line.rb
644
649
  - test/helpers/diff.rb
645
650
  - test/helpers/io.rb
@@ -651,7 +656,6 @@ files:
651
656
  - test/units/actions_test.rb
652
657
  - test/units/caniuse_test.rb
653
658
  - test/units/command_line_test.rb
654
- - test/units/compass_module_test.rb
655
659
  - test/units/compass_util_test.rb
656
660
  - test/units/compiler_test.rb
657
661
  - test/units/configuration_test.rb
@@ -1141,6 +1145,12 @@ test_files:
1141
1145
  - test/fixtures/stylesheets/valid/css/simple.css
1142
1146
  - test/fixtures/stylesheets/valid/sass/another_simple.scss
1143
1147
  - test/fixtures/stylesheets/valid/sass/simple.sass
1148
+ - test/fixtures/stylesheets/with_sass_globbing/config.rb
1149
+ - test/fixtures/stylesheets/with_sass_globbing/css/screen.css
1150
+ - test/fixtures/stylesheets/with_sass_globbing/sass/partials/_1.scss
1151
+ - test/fixtures/stylesheets/with_sass_globbing/sass/partials/_2.scss
1152
+ - test/fixtures/stylesheets/with_sass_globbing/sass/partials/_3.scss
1153
+ - test/fixtures/stylesheets/with_sass_globbing/sass/screen.scss
1144
1154
  - test/helpers/command_line.rb
1145
1155
  - test/helpers/diff.rb
1146
1156
  - test/helpers/io.rb
@@ -1152,7 +1162,6 @@ test_files:
1152
1162
  - test/units/actions_test.rb
1153
1163
  - test/units/caniuse_test.rb
1154
1164
  - test/units/command_line_test.rb
1155
- - test/units/compass_module_test.rb
1156
1165
  - test/units/compass_util_test.rb
1157
1166
  - test/units/compiler_test.rb
1158
1167
  - test/units/configuration_test.rb
@@ -1,181 +0,0 @@
1
- module Compass
2
- module Frameworks
3
- extend self
4
-
5
- ALL = []
6
-
7
- class Framework
8
- attr_accessor :name
9
- attr_accessor :path
10
- attr_accessor :version
11
- attr_accessor :templates_directory, :stylesheets_directory
12
- def initialize(name, *arguments)
13
- options = arguments.last.is_a?(Hash) ? arguments.pop : {}
14
- self.path = path = options[:path] || arguments.shift
15
- @name = name
16
- @templates_directory = options[:templates_directory]
17
- @templates_directory ||= File.join(path, 'templates') if path
18
- @stylesheets_directory = options[:stylesheets_directory]
19
- @stylesheets_directory ||= File.join(path, 'stylesheets') if path
20
- @version = options[:version]
21
- end
22
-
23
- def template_directories
24
- if templates_directory
25
- Dir.glob(File.join(templates_directory, "*")).map{|f| File.basename(f)}
26
- else
27
- []
28
- end
29
- end
30
-
31
- def manifest_file(pattern)
32
- File.join(templates_directory, pattern.to_s, "manifest.rb")
33
- end
34
-
35
- def manifest(pattern, options = {})
36
- options[:pattern_name] ||= pattern
37
- Compass::Installers::Manifest.new(manifest_file(pattern), options)
38
- end
39
- end
40
-
41
- def detect_registration
42
- @registered = nil
43
- yield
44
- @registered
45
- ensure
46
- @registered = nil
47
- end
48
-
49
- def register(name, *arguments)
50
- opts = if arguments.last.is_a?(Hash)
51
- arguments.last
52
- else
53
- o = {}
54
- arguments << o
55
- o
56
- end
57
- opts[:version] ||= guess_gem_version(caller[0])
58
- @registered = Framework.new(name, *arguments)
59
- if idx = ALL.index(self[name])
60
- ALL[idx] = @registered
61
- else
62
- ALL << @registered
63
- end
64
- end
65
-
66
- def [](name)
67
- ALL.detect{|f| f.name.to_s == name.to_s}
68
- end
69
-
70
- def guess_gem_version(line_reference)
71
- if line_reference =~ %r{/gems/([^/]*-[^/]*)/}
72
- split_at = $1.rindex("-")
73
- name = $1[1...split_at]
74
- version = $1[(split_at + 1)..-1]
75
- version unless name == "compass"
76
- end
77
- end
78
-
79
- def discover(frameworks_directory)
80
- if frameworks_directory == :defaults
81
- warn("The :defaults argument to Compass::Frameworks.discover is no longer necessary")
82
- return
83
- end
84
- frameworks_directory = Dir.new(frameworks_directory) unless frameworks_directory.is_a?(Dir)
85
- dirs = frameworks_directory.entries.reject{|e| e =~ /^\./}.sort_by{|n| n =~ /^_/ ? n[1..-1] : n}
86
- dirs.each do |framework|
87
- register_directory File.join(frameworks_directory.path, framework)
88
- end
89
- end
90
-
91
- def register_directory(directory)
92
- loaders = [
93
- File.join(directory, "compass_init.rb"),
94
- File.join(directory, 'lib', File.basename(directory)+".rb"),
95
- File.join(directory, File.basename(directory)+".rb")
96
- ]
97
- loader = loaders.detect{|l| File.exists?(l)}
98
- registered_framework = detect_registration do
99
- require loader if loader
100
- end
101
- unless registered_framework
102
- register File.basename(directory), directory
103
- end
104
- end
105
-
106
- def template_exists?(template)
107
- framework_name, template = template.split(%r{/}, 2)
108
- template ||= "project"
109
- if (framework = self[framework_name]) && framework.templates_directory
110
- return File.directory?(File.join(framework.templates_directory, template))
111
- end
112
- false
113
- end
114
-
115
- def template_usage(template)
116
- framework_name, template = template.split(%r{/}, 2)
117
- framework = self[framework_name]
118
- template ||= "project"
119
- usage_file = File.join(framework.templates_directory, template, "USAGE.markdown")
120
- if File.exists?(usage_file)
121
- File.read(usage_file)
122
- elsif help = framework.manifest(template).help
123
- help
124
- else
125
- <<-END.gsub(/^ {8}/, '')
126
- No Usage!
127
- END
128
- end
129
- end
130
-
131
- def pretty_print(skip_patterns = false)
132
- result = ""
133
- max = Compass::Frameworks::ALL.inject(0) do |gm, framework|
134
- fm = framework.template_directories.inject(0) do |lm,pattern|
135
- [lm, 7 + framework.name.size + pattern.size].max
136
- end
137
- [gm, fm].max
138
- end
139
- Compass::Frameworks::ALL.each do |framework|
140
- next if framework.name =~ /^_/
141
- result << " * #{framework.name}\n"
142
- unless skip_patterns
143
- framework.template_directories.each do |pattern|
144
- result << " - #{framework.name}/#{pattern}".ljust(max)
145
- if description = framework.manifest(pattern).description
146
- result << " - #{description}"
147
- end
148
- result << "\n"
149
- end
150
- end
151
- end
152
- result
153
- end
154
- end
155
-
156
- class << self
157
- def discover_gem_extensions!
158
- if defined?(Gem)
159
- Gem.find_files("compass-*").map{|f| File.basename(f, ".rb")}.each do |compass_extension|
160
- begin
161
- require compass_extension
162
- rescue Gem::LoadError, LoadError
163
- Compass::Util.compass_warn "Unable to load extension: #{compass_extension}"
164
- end
165
- end
166
- end
167
- end
168
-
169
- def discover_extensions!
170
- Compass.shared_extension_paths.each do |extensions_path|
171
- if File.directory?(extensions_path)
172
- Compass::Frameworks.discover(extensions_path)
173
- end
174
- end
175
- if File.directory?(configuration.extensions_path)
176
- Compass::Frameworks.discover(configuration.extensions_path)
177
- end
178
- discover_gem_extensions!
179
- end
180
- end
181
- end
@@ -1,36 +0,0 @@
1
- require 'test_helper'
2
-
3
- class CompassModuleTest < Test::Unit::TestCase
4
-
5
- def setup
6
- Compass.reset_configuration!
7
- Compass.instance_variable_set("@shared_extension_paths", nil)
8
- @original_home = ENV["HOME"]
9
- end
10
-
11
- def teardown
12
- ENV["HOME"] = @original_home
13
- Compass.reset_configuration!
14
- end
15
-
16
- def test_shared_extension_paths_with_valid_home
17
- ENV["HOME"] = "/"
18
- assert_equal ["/.compass/extensions"], Compass.shared_extension_paths
19
- end
20
-
21
- def test_shared_extension_paths_with_nil_home
22
- ENV["HOME"] = nil
23
- assert_equal [], Compass.shared_extension_paths
24
- end
25
-
26
- def test_shared_extension_paths_with_file_home
27
- ENV["HOME"] = __FILE__
28
- assert_equal [], Compass.shared_extension_paths
29
- end
30
-
31
- def test_shared_extension_paths_with_relative_home
32
- ENV["HOME"] = "."
33
- assert_equal ["./.compass/extensions"], Compass.shared_extension_paths
34
- end
35
-
36
- end