archetype 0.0.1.pre.12 → 0.0.1.pre.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/archetype.rb +4 -0
- data/lib/archetype/actions/help.rb +16 -0
- data/lib/archetype/actions/theme.rb +73 -0
- data/lib/archetype/executor.rb +27 -0
- data/lib/archetype/functions/hash.rb +28 -12
- data/lib/archetype/functions/helpers.rb +46 -13
- data/lib/archetype/functions/styleguide_memoizer.rb +10 -2
- data/lib/archetype/sass_extensions/functions/lists.rb +36 -42
- data/lib/archetype/sass_extensions/functions/locale.rb +32 -16
- data/lib/archetype/sass_extensions/functions/styleguide.rb +127 -38
- data/lib/archetype/sass_extensions/functions/ui.rb +3 -2
- data/lib/archetype/sass_extensions/functions/version.rb +11 -6
- data/lib/archetype/sass_extensions/monkey_patches.rb +1 -1
- data/lib/archetype/version.rb +2 -2
- data/stylesheets/archetype/_base.scss +7 -2
- data/stylesheets/archetype/_config.scss +8 -1
- data/stylesheets/archetype/_hacks.scss +51 -17
- data/stylesheets/archetype/_ui.scss +16 -5
- data/stylesheets/archetype/base/_h5bp.scss +12 -12
- data/stylesheets/archetype/base/_normalize.scss +178 -139
- data/stylesheets/archetype/grid/_grid.scss +13 -13
- data/stylesheets/archetype/styleguide/components/_buttons.scss +1 -0
- data/stylesheets/archetype/util/_debug.scss +4 -4
- data/stylesheets/archetype/util/_lists.scss +1 -1
- data/stylesheets/archetype/util/_misc.scss +1 -1
- data/stylesheets/archetype/util/_rtl.scss +1 -1
- data/stylesheets/archetype/util/_spacing.scss +6 -6
- data/stylesheets/archetype/util/_styles.scss +21 -10
- data/stylesheets/archetype/util/_targeting.scss +1 -1
- data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders-s7889ccc8c1.png +0 -0
- data/test/fixtures/stylesheets/archetype/config.rb +2 -0
- data/test/fixtures/stylesheets/archetype/source/base.scss +3 -0
- data/test/fixtures/stylesheets/archetype/source/hacks/transparent_focusable.scss +5 -0
- data/test/fixtures/stylesheets/archetype/source/locale.scss +43 -0
- data/test/fixtures/stylesheets/archetype/source/styleguide/alerts.scss +21 -0
- data/test/fixtures/stylesheets/archetype/source/styleguide/buttons.scss +5 -1
- data/test/fixtures/stylesheets/archetype/source/styleguide/drop.scss +101 -0
- data/test/fixtures/stylesheets/archetype/source/styleguide/extend.scss +24 -0
- data/test/fixtures/stylesheets/archetype/source/styleguide/invalid_structures.scss +85 -0
- data/test/fixtures/stylesheets/archetype/source/styleguide/multi_value.scss +18 -0
- data/test/fixtures/stylesheets/archetype/source/styleguide/nested_styleguides.scss +1 -1
- data/test/fixtures/stylesheets/archetype/source/styleguide/selective_state.scss +1 -1
- data/test/fixtures/stylesheets/archetype/source/ui/glyph_icon.scss +30 -0
- data/test/fixtures/stylesheets/archetype/source/utilities/associative.scss +24 -0
- data/test/fixtures/stylesheets/archetype/source/utilities/custom_output_styler.scss +4 -3
- data/test/fixtures/stylesheets/archetype/source/utilities/targeting/target-browser.scss +8 -1
- data/test/fixtures/stylesheets/archetype/tmp/b.css +14 -0
- data/test/fixtures/stylesheets/archetype/tmp/base.css +349 -0
- data/test/fixtures/stylesheets/archetype/tmp/hacks/ie_pseudo.css +11 -0
- data/test/fixtures/stylesheets/archetype/tmp/hacks/transparent_focusable.css +4 -0
- data/test/fixtures/stylesheets/archetype/tmp/locale.css +23 -0
- data/test/fixtures/stylesheets/archetype/tmp/styleguide/alerts.css +711 -0
- data/test/fixtures/stylesheets/archetype/tmp/styleguide/buttons.css +2119 -0
- data/test/fixtures/stylesheets/archetype/tmp/styleguide/drop.css +63 -0
- data/test/fixtures/stylesheets/archetype/tmp/styleguide/extend.css +11 -0
- data/test/fixtures/stylesheets/archetype/tmp/styleguide/fallback_styles.css +10 -0
- data/test/fixtures/stylesheets/archetype/tmp/styleguide/invalid_structures.css +21 -0
- data/test/fixtures/stylesheets/archetype/tmp/styleguide/multi_value.css +13 -0
- data/test/fixtures/stylesheets/archetype/tmp/styleguide/nested_styleguides.css +28 -0
- data/test/fixtures/stylesheets/archetype/tmp/styleguide/selective_state.css +177 -0
- data/test/fixtures/stylesheets/archetype/tmp/ui/glyph_icon.css +127 -0
- data/test/fixtures/stylesheets/archetype/tmp/ui/hide_element.css +8 -0
- data/test/fixtures/stylesheets/archetype/tmp/ui/stroke.css +17 -0
- data/test/fixtures/stylesheets/archetype/tmp/ui/triangle.css +35 -0
- data/test/fixtures/stylesheets/archetype/tmp/utilities/associative.css +9 -0
- data/test/fixtures/stylesheets/archetype/tmp/utilities/custom_output_styler.css +8 -0
- data/test/fixtures/stylesheets/archetype/tmp/utilities/if-set.css +9 -0
- data/test/fixtures/stylesheets/archetype/tmp/utilities/spacing/horizontal-spacing.css +29 -0
- data/test/fixtures/stylesheets/archetype/tmp/utilities/spacing/vertical-spacing.css +29 -0
- data/test/fixtures/stylesheets/archetype/tmp/utilities/styles/filter.css +11 -0
- data/test/fixtures/stylesheets/archetype/tmp/utilities/styles/font-family.css +16 -0
- data/test/fixtures/stylesheets/archetype/tmp/utilities/styles/z-index.css +15 -0
- data/test/fixtures/stylesheets/archetype/tmp/utilities/targeting/target-browser.css +105 -0
- data/test/fixtures/stylesheets/archetype/tmp/utilities/targeting/target-os.css +55 -0
- data/test/helpers/test_case.rb +2 -2
- data/test/integrations/archetype_test.rb +3 -1
- data/test/units/sass_extensions_test.rb +18 -25
- metadata +81 -3
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: archetype
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1.pre.
|
4
|
+
version: 0.0.1.pre.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eugene ONeill
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-06-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sass
|
@@ -79,6 +79,9 @@ files:
|
|
79
79
|
- bin/archetype
|
80
80
|
- lib/README.rdoc
|
81
81
|
- lib/archetype.rb
|
82
|
+
- lib/archetype/actions/help.rb
|
83
|
+
- lib/archetype/actions/theme.rb
|
84
|
+
- lib/archetype/executor.rb
|
82
85
|
- lib/archetype/functions.rb
|
83
86
|
- lib/archetype/functions/hash.rb
|
84
87
|
- lib/archetype/functions/helpers.rb
|
@@ -203,6 +206,7 @@ files:
|
|
203
206
|
- test/fixtures/stylesheets/archetype/assets/fonts/fontawesome-webfont.svg
|
204
207
|
- test/fixtures/stylesheets/archetype/assets/fonts/fontawesome-webfont.ttf
|
205
208
|
- test/fixtures/stylesheets/archetype/assets/fonts/fontawesome-webfont.woff
|
209
|
+
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders-s7889ccc8c1.png
|
206
210
|
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/large/large.png
|
207
211
|
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/large/large_dark.png
|
208
212
|
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/large/large_dark_static.png
|
@@ -218,15 +222,24 @@ files:
|
|
218
222
|
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/sprites/hovercard_tip.png
|
219
223
|
- test/fixtures/stylesheets/archetype/config.rb
|
220
224
|
- test/fixtures/stylesheets/archetype/source/b.scss
|
225
|
+
- test/fixtures/stylesheets/archetype/source/base.scss
|
221
226
|
- test/fixtures/stylesheets/archetype/source/hacks/ie_pseudo.scss
|
227
|
+
- test/fixtures/stylesheets/archetype/source/hacks/transparent_focusable.scss
|
228
|
+
- test/fixtures/stylesheets/archetype/source/locale.scss
|
229
|
+
- test/fixtures/stylesheets/archetype/source/styleguide/alerts.scss
|
222
230
|
- test/fixtures/stylesheets/archetype/source/styleguide/buttons.scss
|
231
|
+
- test/fixtures/stylesheets/archetype/source/styleguide/drop.scss
|
232
|
+
- test/fixtures/stylesheets/archetype/source/styleguide/extend.scss
|
223
233
|
- test/fixtures/stylesheets/archetype/source/styleguide/fallback_styles.scss
|
234
|
+
- test/fixtures/stylesheets/archetype/source/styleguide/invalid_structures.scss
|
235
|
+
- test/fixtures/stylesheets/archetype/source/styleguide/multi_value.scss
|
224
236
|
- test/fixtures/stylesheets/archetype/source/styleguide/nested_styleguides.scss
|
225
237
|
- test/fixtures/stylesheets/archetype/source/styleguide/selective_state.scss
|
226
238
|
- test/fixtures/stylesheets/archetype/source/ui/glyph_icon.scss
|
227
239
|
- test/fixtures/stylesheets/archetype/source/ui/hide_element.scss
|
228
240
|
- test/fixtures/stylesheets/archetype/source/ui/stroke.scss
|
229
241
|
- test/fixtures/stylesheets/archetype/source/ui/triangle.scss
|
242
|
+
- test/fixtures/stylesheets/archetype/source/utilities/associative.scss
|
230
243
|
- test/fixtures/stylesheets/archetype/source/utilities/custom_output_styler.scss
|
231
244
|
- test/fixtures/stylesheets/archetype/source/utilities/if-set.scss
|
232
245
|
- test/fixtures/stylesheets/archetype/source/utilities/spacing/horizontal-spacing.scss
|
@@ -236,6 +249,34 @@ files:
|
|
236
249
|
- test/fixtures/stylesheets/archetype/source/utilities/styles/z-index.scss
|
237
250
|
- test/fixtures/stylesheets/archetype/source/utilities/targeting/target-browser.scss
|
238
251
|
- test/fixtures/stylesheets/archetype/source/utilities/targeting/target-os.scss
|
252
|
+
- test/fixtures/stylesheets/archetype/tmp/b.css
|
253
|
+
- test/fixtures/stylesheets/archetype/tmp/base.css
|
254
|
+
- test/fixtures/stylesheets/archetype/tmp/hacks/ie_pseudo.css
|
255
|
+
- test/fixtures/stylesheets/archetype/tmp/hacks/transparent_focusable.css
|
256
|
+
- test/fixtures/stylesheets/archetype/tmp/locale.css
|
257
|
+
- test/fixtures/stylesheets/archetype/tmp/styleguide/alerts.css
|
258
|
+
- test/fixtures/stylesheets/archetype/tmp/styleguide/buttons.css
|
259
|
+
- test/fixtures/stylesheets/archetype/tmp/styleguide/drop.css
|
260
|
+
- test/fixtures/stylesheets/archetype/tmp/styleguide/extend.css
|
261
|
+
- test/fixtures/stylesheets/archetype/tmp/styleguide/fallback_styles.css
|
262
|
+
- test/fixtures/stylesheets/archetype/tmp/styleguide/invalid_structures.css
|
263
|
+
- test/fixtures/stylesheets/archetype/tmp/styleguide/multi_value.css
|
264
|
+
- test/fixtures/stylesheets/archetype/tmp/styleguide/nested_styleguides.css
|
265
|
+
- test/fixtures/stylesheets/archetype/tmp/styleguide/selective_state.css
|
266
|
+
- test/fixtures/stylesheets/archetype/tmp/ui/glyph_icon.css
|
267
|
+
- test/fixtures/stylesheets/archetype/tmp/ui/hide_element.css
|
268
|
+
- test/fixtures/stylesheets/archetype/tmp/ui/stroke.css
|
269
|
+
- test/fixtures/stylesheets/archetype/tmp/ui/triangle.css
|
270
|
+
- test/fixtures/stylesheets/archetype/tmp/utilities/associative.css
|
271
|
+
- test/fixtures/stylesheets/archetype/tmp/utilities/custom_output_styler.css
|
272
|
+
- test/fixtures/stylesheets/archetype/tmp/utilities/if-set.css
|
273
|
+
- test/fixtures/stylesheets/archetype/tmp/utilities/spacing/horizontal-spacing.css
|
274
|
+
- test/fixtures/stylesheets/archetype/tmp/utilities/spacing/vertical-spacing.css
|
275
|
+
- test/fixtures/stylesheets/archetype/tmp/utilities/styles/filter.css
|
276
|
+
- test/fixtures/stylesheets/archetype/tmp/utilities/styles/font-family.css
|
277
|
+
- test/fixtures/stylesheets/archetype/tmp/utilities/styles/z-index.css
|
278
|
+
- test/fixtures/stylesheets/archetype/tmp/utilities/targeting/target-browser.css
|
279
|
+
- test/fixtures/stylesheets/archetype/tmp/utilities/targeting/target-os.css
|
239
280
|
- test/helpers/diff.rb
|
240
281
|
- test/helpers/io.rb
|
241
282
|
- test/helpers/test_case.rb
|
@@ -283,18 +324,28 @@ test_files:
|
|
283
324
|
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/small/small_dark.png
|
284
325
|
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/small/small_dark_static.png
|
285
326
|
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/small/small_static.png
|
327
|
+
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders-s7889ccc8c1.png
|
286
328
|
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/sprites/hovercard_tip.png
|
287
329
|
- test/fixtures/stylesheets/archetype/config.rb
|
288
330
|
- test/fixtures/stylesheets/archetype/source/b.scss
|
331
|
+
- test/fixtures/stylesheets/archetype/source/base.scss
|
289
332
|
- test/fixtures/stylesheets/archetype/source/hacks/ie_pseudo.scss
|
333
|
+
- test/fixtures/stylesheets/archetype/source/hacks/transparent_focusable.scss
|
334
|
+
- test/fixtures/stylesheets/archetype/source/locale.scss
|
335
|
+
- test/fixtures/stylesheets/archetype/source/styleguide/alerts.scss
|
290
336
|
- test/fixtures/stylesheets/archetype/source/styleguide/buttons.scss
|
337
|
+
- test/fixtures/stylesheets/archetype/source/styleguide/drop.scss
|
338
|
+
- test/fixtures/stylesheets/archetype/source/styleguide/extend.scss
|
291
339
|
- test/fixtures/stylesheets/archetype/source/styleguide/fallback_styles.scss
|
340
|
+
- test/fixtures/stylesheets/archetype/source/styleguide/invalid_structures.scss
|
341
|
+
- test/fixtures/stylesheets/archetype/source/styleguide/multi_value.scss
|
292
342
|
- test/fixtures/stylesheets/archetype/source/styleguide/nested_styleguides.scss
|
293
343
|
- test/fixtures/stylesheets/archetype/source/styleguide/selective_state.scss
|
294
344
|
- test/fixtures/stylesheets/archetype/source/ui/glyph_icon.scss
|
295
345
|
- test/fixtures/stylesheets/archetype/source/ui/hide_element.scss
|
296
346
|
- test/fixtures/stylesheets/archetype/source/ui/stroke.scss
|
297
347
|
- test/fixtures/stylesheets/archetype/source/ui/triangle.scss
|
348
|
+
- test/fixtures/stylesheets/archetype/source/utilities/associative.scss
|
298
349
|
- test/fixtures/stylesheets/archetype/source/utilities/custom_output_styler.scss
|
299
350
|
- test/fixtures/stylesheets/archetype/source/utilities/if-set.scss
|
300
351
|
- test/fixtures/stylesheets/archetype/source/utilities/spacing/horizontal-spacing.scss
|
@@ -304,10 +355,37 @@ test_files:
|
|
304
355
|
- test/fixtures/stylesheets/archetype/source/utilities/styles/z-index.scss
|
305
356
|
- test/fixtures/stylesheets/archetype/source/utilities/targeting/target-browser.scss
|
306
357
|
- test/fixtures/stylesheets/archetype/source/utilities/targeting/target-os.scss
|
358
|
+
- test/fixtures/stylesheets/archetype/tmp/b.css
|
359
|
+
- test/fixtures/stylesheets/archetype/tmp/base.css
|
360
|
+
- test/fixtures/stylesheets/archetype/tmp/hacks/ie_pseudo.css
|
361
|
+
- test/fixtures/stylesheets/archetype/tmp/hacks/transparent_focusable.css
|
362
|
+
- test/fixtures/stylesheets/archetype/tmp/locale.css
|
363
|
+
- test/fixtures/stylesheets/archetype/tmp/styleguide/alerts.css
|
364
|
+
- test/fixtures/stylesheets/archetype/tmp/styleguide/buttons.css
|
365
|
+
- test/fixtures/stylesheets/archetype/tmp/styleguide/drop.css
|
366
|
+
- test/fixtures/stylesheets/archetype/tmp/styleguide/extend.css
|
367
|
+
- test/fixtures/stylesheets/archetype/tmp/styleguide/fallback_styles.css
|
368
|
+
- test/fixtures/stylesheets/archetype/tmp/styleguide/invalid_structures.css
|
369
|
+
- test/fixtures/stylesheets/archetype/tmp/styleguide/multi_value.css
|
370
|
+
- test/fixtures/stylesheets/archetype/tmp/styleguide/nested_styleguides.css
|
371
|
+
- test/fixtures/stylesheets/archetype/tmp/styleguide/selective_state.css
|
372
|
+
- test/fixtures/stylesheets/archetype/tmp/ui/glyph_icon.css
|
373
|
+
- test/fixtures/stylesheets/archetype/tmp/ui/hide_element.css
|
374
|
+
- test/fixtures/stylesheets/archetype/tmp/ui/stroke.css
|
375
|
+
- test/fixtures/stylesheets/archetype/tmp/ui/triangle.css
|
376
|
+
- test/fixtures/stylesheets/archetype/tmp/utilities/associative.css
|
377
|
+
- test/fixtures/stylesheets/archetype/tmp/utilities/custom_output_styler.css
|
378
|
+
- test/fixtures/stylesheets/archetype/tmp/utilities/if-set.css
|
379
|
+
- test/fixtures/stylesheets/archetype/tmp/utilities/spacing/horizontal-spacing.css
|
380
|
+
- test/fixtures/stylesheets/archetype/tmp/utilities/spacing/vertical-spacing.css
|
381
|
+
- test/fixtures/stylesheets/archetype/tmp/utilities/styles/filter.css
|
382
|
+
- test/fixtures/stylesheets/archetype/tmp/utilities/styles/font-family.css
|
383
|
+
- test/fixtures/stylesheets/archetype/tmp/utilities/styles/z-index.css
|
384
|
+
- test/fixtures/stylesheets/archetype/tmp/utilities/targeting/target-browser.css
|
385
|
+
- test/fixtures/stylesheets/archetype/tmp/utilities/targeting/target-os.css
|
307
386
|
- test/helpers/diff.rb
|
308
387
|
- test/helpers/io.rb
|
309
388
|
- test/helpers/test_case.rb
|
310
389
|
- test/integrations/archetype_test.rb
|
311
390
|
- test/test_helper.rb
|
312
391
|
- test/units/sass_extensions_test.rb
|
313
|
-
has_rdoc:
|