woo 0.0.1 → 0.1.0.pre1
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 +7 -0
- data/Rakefile +1 -2
- data/app/assets/fonts/{styleguide → woo}/styleguide.eot +0 -0
- data/app/assets/fonts/{styleguide → woo}/styleguide.json +0 -0
- data/app/assets/fonts/{styleguide → woo}/styleguide.svg +0 -0
- data/app/assets/fonts/{styleguide → woo}/styleguide.ttf +0 -0
- data/app/assets/fonts/{styleguide → woo}/styleguide.woff +0 -0
- data/app/assets/javascripts/{styleguide → woo}/application.js +19 -16
- data/app/assets/stylesheets/woo/application.css.scss +20 -0
- data/app/assets/stylesheets/{styleguide → woo}/config/_colors.scss +0 -0
- data/app/assets/stylesheets/{styleguide → woo}/config/_fonts.scss +1 -1
- data/app/assets/stylesheets/{styleguide → woo}/config/_icons.scss +1 -1
- data/app/assets/stylesheets/{styleguide → woo}/config/_media-queries.scss +0 -0
- data/app/assets/stylesheets/{styleguide → woo}/config/_settings.scss +0 -0
- data/app/assets/stylesheets/{styleguide → woo}/lib/_animation-mixins.scss +0 -0
- data/app/assets/stylesheets/{styleguide → woo}/lib/_functions.scss +0 -0
- data/app/assets/stylesheets/{styleguide → woo}/lib/_icon-factory.scss +0 -0
- data/app/assets/stylesheets/{styleguide → woo}/mixins/_color-block.scss +0 -0
- data/app/assets/stylesheets/{styleguide → woo}/mixins/_hover-border.scss +0 -0
- data/app/assets/stylesheets/{styleguide → woo}/partials/_main.scss +18 -4
- data/app/controllers/{styleguide → woo}/application_controller.rb +1 -1
- data/app/controllers/{styleguide → woo}/styleguide_controller.rb +1 -1
- data/app/helpers/{styleguide → woo}/application_helper.rb +1 -1
- data/app/helpers/{styleguide → woo}/styleguide_helper.rb +1 -1
- data/app/views/layouts/{styleguide → woo}/application.html.haml +3 -4
- data/app/views/{styleguide → woo}/shared/_navigation.html.haml +2 -1
- data/app/views/{styleguide → woo}/shared/_navigation_link.html.haml +0 -0
- data/app/views/{styleguide → woo}/shared/_single_page.html.haml +0 -0
- data/app/views/woo/styleguide/index.html.haml +3 -0
- data/app/views/woo/styleguide/page.html.haml +3 -0
- data/config/routes.rb +4 -1
- data/lib/generators/woo/USAGE +17 -0
- data/lib/generators/woo/page_generator.rb +28 -0
- data/lib/generators/woo/templates/_module.erb +8 -0
- data/lib/generators/woo/templates/example_page.erb +7 -0
- data/lib/generators/woo/ui_element_generator.rb +14 -0
- data/lib/tasks/{styleguide_tasks.rake → woo_tasks.rake} +0 -0
- data/lib/{styleguide → woo}/engine.rb +2 -2
- data/lib/woo/version.rb +3 -0
- data/lib/{styleguide.rb → woo.rb} +3 -3
- data/spec/dummy/config/application.rb +1 -11
- data/spec/dummy/config/routes.rb +1 -1
- data/spec/dummy/log/test.log +77 -355
- data/spec/dummy/tmp/cache/assets/test/sass/{1801d541a5989ffaf7492457e257ec09b687cdef → 3faea7b1e89702d2f6cbb0b737cd214198b07d66}/_animation-mixins.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{1801d541a5989ffaf7492457e257ec09b687cdef → 3faea7b1e89702d2f6cbb0b737cd214198b07d66}/_functions.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{1801d541a5989ffaf7492457e257ec09b687cdef → 3faea7b1e89702d2f6cbb0b737cd214198b07d66}/_icon-factory.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{3e654c1f9e7d6749b1bdb09c28dbfd60292cf201 → 4f7bf9d9bc19acf07055dd4d8f44f163ed9b42a5}/_bourbon-deprecated-upcoming.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{3e654c1f9e7d6749b1bdb09c28dbfd60292cf201 → 4f7bf9d9bc19acf07055dd4d8f44f163ed9b42a5}/_bourbon.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/53cdcbe9d14631c5d85e84c25c479ed64f040bd9/application.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{2708ff5ff5ba63039f9a086efdcf7c87d1a66b67 → 597a6aa52df36382191af2d8a8fd7f610114ac84}/_animation.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{2708ff5ff5ba63039f9a086efdcf7c87d1a66b67 → 597a6aa52df36382191af2d8a8fd7f610114ac84}/_appearance.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{2708ff5ff5ba63039f9a086efdcf7c87d1a66b67 → 597a6aa52df36382191af2d8a8fd7f610114ac84}/_backface-visibility.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{2708ff5ff5ba63039f9a086efdcf7c87d1a66b67 → 597a6aa52df36382191af2d8a8fd7f610114ac84}/_background-image.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{2708ff5ff5ba63039f9a086efdcf7c87d1a66b67 → 597a6aa52df36382191af2d8a8fd7f610114ac84}/_background.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{2708ff5ff5ba63039f9a086efdcf7c87d1a66b67 → 597a6aa52df36382191af2d8a8fd7f610114ac84}/_border-image.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{2708ff5ff5ba63039f9a086efdcf7c87d1a66b67 → 597a6aa52df36382191af2d8a8fd7f610114ac84}/_border-radius.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{2708ff5ff5ba63039f9a086efdcf7c87d1a66b67 → 597a6aa52df36382191af2d8a8fd7f610114ac84}/_box-sizing.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{2708ff5ff5ba63039f9a086efdcf7c87d1a66b67 → 597a6aa52df36382191af2d8a8fd7f610114ac84}/_calc.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{2708ff5ff5ba63039f9a086efdcf7c87d1a66b67 → 597a6aa52df36382191af2d8a8fd7f610114ac84}/_columns.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{2708ff5ff5ba63039f9a086efdcf7c87d1a66b67 → 597a6aa52df36382191af2d8a8fd7f610114ac84}/_filter.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{2708ff5ff5ba63039f9a086efdcf7c87d1a66b67 → 597a6aa52df36382191af2d8a8fd7f610114ac84}/_flex-box.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{2708ff5ff5ba63039f9a086efdcf7c87d1a66b67 → 597a6aa52df36382191af2d8a8fd7f610114ac84}/_font-face.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{2708ff5ff5ba63039f9a086efdcf7c87d1a66b67 → 597a6aa52df36382191af2d8a8fd7f610114ac84}/_font-feature-settings.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{2708ff5ff5ba63039f9a086efdcf7c87d1a66b67 → 597a6aa52df36382191af2d8a8fd7f610114ac84}/_hidpi-media-query.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{2708ff5ff5ba63039f9a086efdcf7c87d1a66b67 → 597a6aa52df36382191af2d8a8fd7f610114ac84}/_hyphens.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{2708ff5ff5ba63039f9a086efdcf7c87d1a66b67 → 597a6aa52df36382191af2d8a8fd7f610114ac84}/_image-rendering.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{2708ff5ff5ba63039f9a086efdcf7c87d1a66b67 → 597a6aa52df36382191af2d8a8fd7f610114ac84}/_inline-block.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{2708ff5ff5ba63039f9a086efdcf7c87d1a66b67 → 597a6aa52df36382191af2d8a8fd7f610114ac84}/_keyframes.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{2708ff5ff5ba63039f9a086efdcf7c87d1a66b67 → 597a6aa52df36382191af2d8a8fd7f610114ac84}/_linear-gradient.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{2708ff5ff5ba63039f9a086efdcf7c87d1a66b67 → 597a6aa52df36382191af2d8a8fd7f610114ac84}/_perspective.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{2708ff5ff5ba63039f9a086efdcf7c87d1a66b67 → 597a6aa52df36382191af2d8a8fd7f610114ac84}/_placeholder.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{2708ff5ff5ba63039f9a086efdcf7c87d1a66b67 → 597a6aa52df36382191af2d8a8fd7f610114ac84}/_radial-gradient.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{2708ff5ff5ba63039f9a086efdcf7c87d1a66b67 → 597a6aa52df36382191af2d8a8fd7f610114ac84}/_transform.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{2708ff5ff5ba63039f9a086efdcf7c87d1a66b67 → 597a6aa52df36382191af2d8a8fd7f610114ac84}/_transition.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{2708ff5ff5ba63039f9a086efdcf7c87d1a66b67 → 597a6aa52df36382191af2d8a8fd7f610114ac84}/_user-select.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{e392f4294bba0348ea805db6c9152599a2b26b74 → 5fd3876eecef2e9bd8fc80d4c493f057f354dd8c}/_colors.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{e392f4294bba0348ea805db6c9152599a2b26b74 → 5fd3876eecef2e9bd8fc80d4c493f057f354dd8c}/_fonts.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{e392f4294bba0348ea805db6c9152599a2b26b74 → 5fd3876eecef2e9bd8fc80d4c493f057f354dd8c}/_icons.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{e392f4294bba0348ea805db6c9152599a2b26b74 → 5fd3876eecef2e9bd8fc80d4c493f057f354dd8c}/_media-queries.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{e392f4294bba0348ea805db6c9152599a2b26b74 → 5fd3876eecef2e9bd8fc80d4c493f057f354dd8c}/_settings.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{38b68d2bc0adfc5c693bdbe45080166bf5ba79fe → 66bbfb907f8f84a4dda73516f79323832d3c658f}/_gradient-positions-parser.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{38b68d2bc0adfc5c693bdbe45080166bf5ba79fe → 66bbfb907f8f84a4dda73516f79323832d3c658f}/_linear-positions-parser.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{38b68d2bc0adfc5c693bdbe45080166bf5ba79fe → 66bbfb907f8f84a4dda73516f79323832d3c658f}/_radial-arg-parser.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{38b68d2bc0adfc5c693bdbe45080166bf5ba79fe → 66bbfb907f8f84a4dda73516f79323832d3c658f}/_radial-positions-parser.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{38b68d2bc0adfc5c693bdbe45080166bf5ba79fe → 66bbfb907f8f84a4dda73516f79323832d3c658f}/_render-gradients.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{38b68d2bc0adfc5c693bdbe45080166bf5ba79fe → 66bbfb907f8f84a4dda73516f79323832d3c658f}/_shape-size-stripper.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{d4acd46669bf2e39dd28e0f4309fe901dcf2ed06 → 6de8de914625226cbde8c5231d9d457927c43bc5}/_asset-pipeline.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{d4acd46669bf2e39dd28e0f4309fe901dcf2ed06 → 6de8de914625226cbde8c5231d9d457927c43bc5}/_prefixer.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{d4acd46669bf2e39dd28e0f4309fe901dcf2ed06 → 6de8de914625226cbde8c5231d9d457927c43bc5}/_px-to-em.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{be657e1ebe76b4319695275b777559a635f0eb0b → aac277ff600ab5460d84701f5292b14f2b4ed639}/_color-lightness.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{be657e1ebe76b4319695275b777559a635f0eb0b → aac277ff600ab5460d84701f5292b14f2b4ed639}/_flex-grid.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{be657e1ebe76b4319695275b777559a635f0eb0b → aac277ff600ab5460d84701f5292b14f2b4ed639}/_golden-ratio.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{be657e1ebe76b4319695275b777559a635f0eb0b → aac277ff600ab5460d84701f5292b14f2b4ed639}/_grid-width.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{be657e1ebe76b4319695275b777559a635f0eb0b → aac277ff600ab5460d84701f5292b14f2b4ed639}/_linear-gradient.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{be657e1ebe76b4319695275b777559a635f0eb0b → aac277ff600ab5460d84701f5292b14f2b4ed639}/_modular-scale.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{be657e1ebe76b4319695275b777559a635f0eb0b → aac277ff600ab5460d84701f5292b14f2b4ed639}/_px-to-em.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{be657e1ebe76b4319695275b777559a635f0eb0b → aac277ff600ab5460d84701f5292b14f2b4ed639}/_px-to-rem.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{be657e1ebe76b4319695275b777559a635f0eb0b → aac277ff600ab5460d84701f5292b14f2b4ed639}/_radial-gradient.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{be657e1ebe76b4319695275b777559a635f0eb0b → aac277ff600ab5460d84701f5292b14f2b4ed639}/_strip-units.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{be657e1ebe76b4319695275b777559a635f0eb0b → aac277ff600ab5460d84701f5292b14f2b4ed639}/_tint-shade.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{be657e1ebe76b4319695275b777559a635f0eb0b → aac277ff600ab5460d84701f5292b14f2b4ed639}/_transition-property-name.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{be657e1ebe76b4319695275b777559a635f0eb0b → aac277ff600ab5460d84701f5292b14f2b4ed639}/_unpack.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{6ae24caf21d9a373ddab51a973badb8787d497db → cb1ed82265b8109d9126785c7241ed33b44ef0dc}/_button.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{6ae24caf21d9a373ddab51a973badb8787d497db → cb1ed82265b8109d9126785c7241ed33b44ef0dc}/_clearfix.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{6ae24caf21d9a373ddab51a973badb8787d497db → cb1ed82265b8109d9126785c7241ed33b44ef0dc}/_directional-values.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{6ae24caf21d9a373ddab51a973badb8787d497db → cb1ed82265b8109d9126785c7241ed33b44ef0dc}/_ellipsis.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{6ae24caf21d9a373ddab51a973badb8787d497db → cb1ed82265b8109d9126785c7241ed33b44ef0dc}/_font-family.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{6ae24caf21d9a373ddab51a973badb8787d497db → cb1ed82265b8109d9126785c7241ed33b44ef0dc}/_hide-text.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{6ae24caf21d9a373ddab51a973badb8787d497db → cb1ed82265b8109d9126785c7241ed33b44ef0dc}/_html5-input-types.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{6ae24caf21d9a373ddab51a973badb8787d497db → cb1ed82265b8109d9126785c7241ed33b44ef0dc}/_position.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{6ae24caf21d9a373ddab51a973badb8787d497db → cb1ed82265b8109d9126785c7241ed33b44ef0dc}/_prefixer.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{6ae24caf21d9a373ddab51a973badb8787d497db → cb1ed82265b8109d9126785c7241ed33b44ef0dc}/_retina-image.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{6ae24caf21d9a373ddab51a973badb8787d497db → cb1ed82265b8109d9126785c7241ed33b44ef0dc}/_size.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{6ae24caf21d9a373ddab51a973badb8787d497db → cb1ed82265b8109d9126785c7241ed33b44ef0dc}/_timing-functions.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{6ae24caf21d9a373ddab51a973badb8787d497db → cb1ed82265b8109d9126785c7241ed33b44ef0dc}/_triangle.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{6ae24caf21d9a373ddab51a973badb8787d497db → cb1ed82265b8109d9126785c7241ed33b44ef0dc}/_word-wrap.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/d7ac028af260026cd3b3bd45cf2361a18ce93f9f/_main.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{3e924086eaf4a69990f259d1480dde032b0049c0 → e2ce3019c46b9c7027751df11f2882a950935992}/_color-block.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{3e924086eaf4a69990f259d1480dde032b0049c0 → e2ce3019c46b9c7027751df11f2882a950935992}/_hover-border.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/{fc498c3fcba98bece9d2c0f8e8cc7add → 08600075f52af9d468fe34bcea6d0d57} +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/1754c677c454f8b81d27324e042b5a65 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/3308159ddc9775ba0f9ec0f6191639cc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/{7eebe4bfaea24e43176732eb5b1c7a1b → 3cf56fbaeb11a71641cb51665887dd42} +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/4ba82a90ac6fb663689e3e8b6195474c +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/554868cceed0ff20b16880175624f733 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/78dea6b195d50673f4f9699a5f7e2ded +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/7dcce2b68cbc289c07b2459d634adb59 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/7f6ea693302218a049b9b1e6ba3431dc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/84c1be0faecbf40a3afcf6951ee17491 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/94d16f82212c6d4e1c3961162ab39841 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/9640ee5cbc50fdd78aa4e312f3a8ea9e +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/{376f2aaa806b203d9629b538d1f3c165 → a53116191c95e01103f5c75eccdad41d} +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b676b4e71ea4aba9cb5f900d0069f808 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d3acdb2f7a7f0787aa49cd54287026b6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/{f12901ffadce417983ed7b4b5b824ce7 → d3b8704e383845890a2dffe15df3cd18} +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ecd61bdb5cd6261fc8da8d6c7d35c059 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/{b0becd2e3c00668ba309cf65af87e46c → f1d877035839e65c2d5425d59e44bb2a} +0 -0
- data/spec/features/{styleguide_spec.rb → woo_spec.rb} +1 -1
- metadata +256 -290
- data/README.rdoc +0 -3
- data/app/assets/stylesheets/styleguide/application.css.scss +0 -20
- data/app/views/styleguide/styleguide/index.html.haml +0 -3
- data/lib/styleguide/version.rb +0 -3
- data/spec/dummy/tmp/cache/assets/test/sass/2b2790ec8b4cd70e250a13b83f1c029cb40c65fd/_main.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/c7efa635f3444096ac687dd06020550ba563f393/application.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/04acbf5b33b91aa9da1943504eb5afa6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/1d71d75773f417dbe9b7b77720cdb863 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/228fa94ec3fb3dab5b949ebf68147c9c +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2c7c521501ccfa2acf525bdd77bf3f0a +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/5984a3df242d59c074b99565aabfc410 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/68a1be219c5f28abde8e508743098849 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6f8710a7961b83ff2f0745974af3bbc2 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/8de6884091cb5b477f1e1e39a7db8119 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/9493130ae6146f32012d474e534555b8 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b27a6ff083e857238d42243a6084f88b +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/cd5dcbe2dba335440a63df3c8073b88f +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d72fa45a91193cbd01c52087bdf48251 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e80af8c6904d4e4a9c5bbfe63774211b +0 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 798e2471c7925bd5fb0c8ca47a0bf798c44d2679
|
|
4
|
+
data.tar.gz: 9f7246f08661483fdf886cb8f3c6b927f5913520
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: b60116a2643ce78bbbab40c5ae22edb358e8dd415c670b5dbc2f0a2b15e547f5076e72f786dcf34b2157de7dd8d038680886e8f04465be1def18b9f1718a76ba
|
|
7
|
+
data.tar.gz: 834f3c966f3e4cdce3a1c73d135bfd0c134607e422201920ce29e4c99a4cc55d869705515f06d8d36e4b836947c2ae043ae58df08b0b1461340e442d5c10b39d
|
data/Rakefile
CHANGED
|
@@ -8,7 +8,6 @@ end
|
|
|
8
8
|
APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
|
|
9
9
|
load 'rails/tasks/engine.rake'
|
|
10
10
|
|
|
11
|
-
|
|
12
11
|
Bundler::GemHelper.install_tasks
|
|
13
12
|
|
|
14
13
|
Dir[File.join(File.dirname(__FILE__), 'tasks/**/*.rake')].each {|f| load f }
|
|
@@ -17,4 +16,4 @@ require 'rspec/core'
|
|
|
17
16
|
require 'rspec/core/rake_task'
|
|
18
17
|
|
|
19
18
|
desc "Run all specs in spec directory (excluding plugin specs)"
|
|
20
|
-
task default: :
|
|
19
|
+
task default: :spec
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -18473,7 +18473,7 @@ return jQuery;
|
|
|
18473
18473
|
}.call(this));
|
|
18474
18474
|
|
|
18475
18475
|
},{}],97:[function(require,module,exports){
|
|
18476
|
-
var $,
|
|
18476
|
+
var $, Woo, hljs, _,
|
|
18477
18477
|
__bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };
|
|
18478
18478
|
|
|
18479
18479
|
$ = require('jquery');
|
|
@@ -18482,10 +18482,10 @@ _ = require('underscore');
|
|
|
18482
18482
|
|
|
18483
18483
|
window.hljs = hljs = require('highlight.js');
|
|
18484
18484
|
|
|
18485
|
-
|
|
18486
|
-
|
|
18485
|
+
Woo = (function() {
|
|
18486
|
+
Woo.prototype.menuPreviewTolerance = 150;
|
|
18487
18487
|
|
|
18488
|
-
function
|
|
18488
|
+
function Woo() {
|
|
18489
18489
|
this.closeMenuEventually = __bind(this.closeMenuEventually, this);
|
|
18490
18490
|
this.openMenu = __bind(this.openMenu, this);
|
|
18491
18491
|
hljs.initHighlighting();
|
|
@@ -18494,22 +18494,22 @@ Styleguide = (function() {
|
|
|
18494
18494
|
this.activateCodeShowing();
|
|
18495
18495
|
}
|
|
18496
18496
|
|
|
18497
|
-
|
|
18497
|
+
Woo.prototype.openMenu = function() {
|
|
18498
18498
|
$('body').addClass('open');
|
|
18499
18499
|
if (this.delayedClose) {
|
|
18500
18500
|
return clearTimeout(this.delayedClose);
|
|
18501
18501
|
}
|
|
18502
18502
|
};
|
|
18503
18503
|
|
|
18504
|
-
|
|
18504
|
+
Woo.prototype.closeMenuEventually = function() {
|
|
18505
18505
|
return this.delayedClose = _.delay(this.closeMenu, 300);
|
|
18506
18506
|
};
|
|
18507
18507
|
|
|
18508
|
-
|
|
18508
|
+
Woo.prototype.closeMenu = function() {
|
|
18509
18509
|
return $('body').removeClass('open');
|
|
18510
18510
|
};
|
|
18511
18511
|
|
|
18512
|
-
|
|
18512
|
+
Woo.prototype.bindWidthPickers = function() {
|
|
18513
18513
|
return $('a[data-width]').click(function() {
|
|
18514
18514
|
$('dd.preview').css('width', $(this).data('width'));
|
|
18515
18515
|
$(this).siblings().removeClass('selected');
|
|
@@ -18517,13 +18517,13 @@ Styleguide = (function() {
|
|
|
18517
18517
|
});
|
|
18518
18518
|
};
|
|
18519
18519
|
|
|
18520
|
-
|
|
18520
|
+
Woo.prototype.activateCodeShowing = function() {
|
|
18521
18521
|
return $('div.location').click(function() {
|
|
18522
18522
|
return $(this).toggleClass('show-code');
|
|
18523
18523
|
});
|
|
18524
18524
|
};
|
|
18525
18525
|
|
|
18526
|
-
|
|
18526
|
+
Woo.prototype.setupEvents = function() {
|
|
18527
18527
|
$('body').on('mouseleave', 'nav', this.closeMenuEventually);
|
|
18528
18528
|
$('body').on('mouseover', 'nav', this.openMenu);
|
|
18529
18529
|
$('body nav').on('click', '.menu', this.closeMenu);
|
|
@@ -18537,18 +18537,21 @@ Styleguide = (function() {
|
|
|
18537
18537
|
}
|
|
18538
18538
|
};
|
|
18539
18539
|
})(this));
|
|
18540
|
-
|
|
18541
|
-
|
|
18542
|
-
|
|
18543
|
-
|
|
18540
|
+
$('nav .nav-item .nav-item-icon').on('mouseover', this.openNavItem);
|
|
18541
|
+
return $('nav .nav-item .nav-item-title').on('click', this.openNavItem);
|
|
18542
|
+
};
|
|
18543
|
+
|
|
18544
|
+
Woo.prototype.openNavItem = function(e) {
|
|
18545
|
+
$('nav .nav-item').removeClass('open');
|
|
18546
|
+
return $(this).parent().toggleClass('open');
|
|
18544
18547
|
};
|
|
18545
18548
|
|
|
18546
|
-
return
|
|
18549
|
+
return Woo;
|
|
18547
18550
|
|
|
18548
18551
|
})();
|
|
18549
18552
|
|
|
18550
18553
|
$(function() {
|
|
18551
|
-
return new
|
|
18554
|
+
return new Woo();
|
|
18552
18555
|
});
|
|
18553
18556
|
|
|
18554
18557
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
@import "bourbon";
|
|
2
|
+
|
|
3
|
+
// config
|
|
4
|
+
@import "woo/config/colors";
|
|
5
|
+
@import "woo/config/fonts";
|
|
6
|
+
@import "woo/config/icons";
|
|
7
|
+
@import "woo/config/settings";
|
|
8
|
+
@import "woo/config/media-queries";
|
|
9
|
+
|
|
10
|
+
// My lyberries
|
|
11
|
+
@import "woo/lib/functions";
|
|
12
|
+
@import "woo/lib/animation-mixins";
|
|
13
|
+
@import "woo/lib/icon-factory";
|
|
14
|
+
|
|
15
|
+
// Mixins
|
|
16
|
+
@import "woo/mixins/color-block";
|
|
17
|
+
@import "woo/mixins/hover-border";
|
|
18
|
+
|
|
19
|
+
// partials
|
|
20
|
+
@import "woo/partials/main";
|
|
File without changes
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,300italic,400italic,700italic);
|
|
9
9
|
|
|
10
10
|
//
|
|
11
|
-
//
|
|
11
|
+
// Woo font-family overrides
|
|
12
12
|
$header-font: 'Source Sans Pro', sans-serif;
|
|
13
13
|
$body-font: 'Source Sans Pro', Helvetica, sans-serif;
|
|
14
14
|
$code-font: 'Source Code Pro', Fixed, monospace;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -8,7 +8,7 @@ $notes-background-color: $white;
|
|
|
8
8
|
// Smoove dem fonts!
|
|
9
9
|
* { -webkit-font-smoothing: antialiased; }
|
|
10
10
|
|
|
11
|
-
#styleguide
|
|
11
|
+
#woo-styleguide {
|
|
12
12
|
background: $black;
|
|
13
13
|
padding: 0;
|
|
14
14
|
margin: 0;
|
|
@@ -71,12 +71,16 @@ $notes-background-color: $white;
|
|
|
71
71
|
|
|
72
72
|
.nav-item {
|
|
73
73
|
@include transition(all .3s ease .2s);
|
|
74
|
+
cursor: pointer;
|
|
75
|
+
position: relative;
|
|
74
76
|
opacity: 0;
|
|
75
77
|
|
|
76
78
|
&.open {
|
|
77
|
-
.nav-item-
|
|
78
|
-
|
|
79
|
-
|
|
79
|
+
.nav-item-icon {
|
|
80
|
+
&:after {
|
|
81
|
+
@include icon('arrow-down');
|
|
82
|
+
color: $white;
|
|
83
|
+
}
|
|
80
84
|
}
|
|
81
85
|
ul.nav-item-list { display: block; }
|
|
82
86
|
}
|
|
@@ -86,11 +90,21 @@ $notes-background-color: $white;
|
|
|
86
90
|
font-weight: 500;
|
|
87
91
|
margin-bottom: 1px;
|
|
88
92
|
text-transform: uppercase;
|
|
93
|
+
}
|
|
89
94
|
|
|
95
|
+
.nav-item-icon {
|
|
96
|
+
position: absolute;
|
|
97
|
+
bottom: 0;
|
|
98
|
+
right: 0;
|
|
99
|
+
top: 0;
|
|
100
|
+
width: 40px;
|
|
90
101
|
&:after {
|
|
91
102
|
@include icon('arrow-up');
|
|
103
|
+
color: $grey;
|
|
104
|
+
top: 20px;
|
|
92
105
|
position: absolute;
|
|
93
106
|
right: 20px;
|
|
107
|
+
line-height: 100%;
|
|
94
108
|
}
|
|
95
109
|
}
|
|
96
110
|
}
|
|
@@ -4,10 +4,9 @@
|
|
|
4
4
|
%title Application Style Guide
|
|
5
5
|
%meta(content="width=device-width, initial-scale=1.0, maximum-scale=1.0" name="viewport")
|
|
6
6
|
|
|
7
|
-
= javascript_include_tag '
|
|
8
|
-
= stylesheet_link_tag '
|
|
7
|
+
= javascript_include_tag 'woo/application'
|
|
8
|
+
= stylesheet_link_tag 'woo/application', media: 'all', 'data-turbolinks-track' => true
|
|
9
9
|
= stylesheet_link_tag "//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.1/styles/github.min.css"
|
|
10
|
-
%body#styleguide
|
|
10
|
+
%body#woo-styleguide
|
|
11
11
|
= yield
|
|
12
12
|
|
|
13
|
-
/ %script(src="/assets/styleguide/main.js")
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
- navigation_hash.each do |folder_name, folder_contents|
|
|
5
5
|
.nav-item
|
|
6
6
|
%a.nav-item-title= folder_name.titleize
|
|
7
|
-
%ul.nav-item-list= render partial: '
|
|
7
|
+
%ul.nav-item-list= render partial: 'woo/shared/navigation_link', collection: folder_contents, as: :page, locals: { folder: folder_name }
|
|
8
|
+
.nav-item-icon
|
|
8
9
|
.nav-item
|
|
9
10
|
%a.nav-item-title Width
|
|
10
11
|
%ul.nav-item-list
|
|
File without changes
|
|
File without changes
|
data/config/routes.rb
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
Description:
|
|
2
|
+
Creates views used within the woo styleguide.
|
|
3
|
+
|
|
4
|
+
Usage:
|
|
5
|
+
Pass the name of the page or ui_element as the first argument.
|
|
6
|
+
|
|
7
|
+
Example:
|
|
8
|
+
rails generate woo:page [DIRECTORY/]NAME
|
|
9
|
+
|
|
10
|
+
Creates app/views/styleguide/DIRECTORY/NAME
|
|
11
|
+
If <DIRECTORY> is not specified, it will default to 'pages'
|
|
12
|
+
|
|
13
|
+
rails generate styleguide:ui_element NAME
|
|
14
|
+
|
|
15
|
+
Creates app/views/styleguide/ui_elements/_NAME
|
|
16
|
+
ui_elements are rendered as partials
|
|
17
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
module Woo
|
|
2
|
+
module Generators
|
|
3
|
+
class PageGenerator < Rails::Generators::Base
|
|
4
|
+
source_root File.expand_path('../templates', __FILE__)
|
|
5
|
+
argument :file_path
|
|
6
|
+
|
|
7
|
+
desc 'Create a Page for woo!'
|
|
8
|
+
|
|
9
|
+
def create_page
|
|
10
|
+
path_array = Pathname.new(file_path).each_filename.to_a
|
|
11
|
+
if path_array.length > 2
|
|
12
|
+
puts '
|
|
13
|
+
Rut Roh! You specified a path with more than one directory
|
|
14
|
+
|
|
15
|
+
Example:
|
|
16
|
+
rails generate woo:page [DIRECTORY/]NAME
|
|
17
|
+
|
|
18
|
+
Creates: app/views/styleguide/DIRECTORY/NAME
|
|
19
|
+
If <DIRECTORY> is not specified, it will default to \'pages\''
|
|
20
|
+
return
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
@page_path = Pathname.new(file_path).cleanpath.to_s
|
|
24
|
+
template 'example_page.erb', "app/views/styleguide/#{@page_path}.html.haml"
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
---
|
|
2
|
+
%h1 These are my <%= file_name %> notes
|
|
3
|
+
%p Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium sapiente nobis nisi doloremque ipsum adipisci, cupiditate, consequatur animi tempore praesentium? Cum laudantium voluptate ipsa, assumenda, tempore soluta distinctio? Maxime, aliquam.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
.<%= file_name %> Default <%= file_name %>
|
|
7
|
+
.<%= file_name %>.primary Primary <%= file_name %>
|
|
8
|
+
.<%= file_name %>.secondary Secondary <%= file_name %>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
%h1 These are my <%= @page_path %> notes
|
|
3
|
+
%p Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eum id a placeat perferendis magnam repellendus aliquam. Numquam quod, totam corrupti consequatur fuga qui minus, placeat sapiente deleniti sed vitae non.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
%h1 <%= @page_path %> page
|
|
7
|
+
%p Lorem ipsum dolor sit amet, consectetur adipisicing elit. Architecto dolores obcaecati, laborum ratione expedita sapiente? Rem fugiat nemo voluptates dignissimos, iure ducimus, cumque eaque sed nihil ut, doloremque repellendus in.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
module Woo
|
|
2
|
+
module Generators
|
|
3
|
+
class UiElementGenerator < Rails::Generators::Base
|
|
4
|
+
source_root File.expand_path('../templates', __FILE__)
|
|
5
|
+
argument :file_name
|
|
6
|
+
|
|
7
|
+
desc 'Create a UI Element for woo!'
|
|
8
|
+
|
|
9
|
+
def create_ui_element
|
|
10
|
+
template '_module.erb', "app/views/styleguide/ui_elements/_#{file_name}.html.haml"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
File without changes
|
data/lib/woo/version.rb
ADDED
|
@@ -3,21 +3,11 @@ require File.expand_path('../boot', __FILE__)
|
|
|
3
3
|
require 'rails/all'
|
|
4
4
|
|
|
5
5
|
Bundler.require(*Rails.groups)
|
|
6
|
-
require
|
|
6
|
+
require 'woo'
|
|
7
7
|
|
|
8
8
|
module Dummy
|
|
9
9
|
class Application < Rails::Application
|
|
10
|
-
# Settings in config/environments/* take precedence over those specified here.
|
|
11
|
-
# Application configuration should go into files in config/initializers
|
|
12
|
-
# -- all .rb files in that directory are automatically loaded.
|
|
13
10
|
|
|
14
|
-
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
|
15
|
-
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
|
16
|
-
# config.time_zone = 'Central Time (US & Canada)'
|
|
17
|
-
|
|
18
|
-
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
|
19
|
-
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
|
20
|
-
# config.i18n.default_locale = :de
|
|
21
11
|
end
|
|
22
12
|
end
|
|
23
13
|
|
data/spec/dummy/config/routes.rb
CHANGED