mountain_view 0.3.3 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -8
- data/app/assets/stylesheets/mountain_view/styleguide.css +13 -12
- data/app/helpers/mountain_view/component_helper.rb +1 -1
- data/app/views/mountain_view/styleguide/show.html.erb +6 -4
- data/lib/mountain_view/version.rb +1 -1
- data/test/dummy/app/views/home/index.html.erb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +1470 -641
- data/test/dummy/log/test.log +2534 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-GpALYHbSw1Q45UnudsOStKm7rtOrFoSUVIe-8Iuoz0.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1f7wu3-HRLu9Rw5iFGZLzz0T5hMRgOGFRMfjso0KVNA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/21jsU7fubYMGj8ebxenh1dqSE1Ga19ZibN3q6xUGBVs.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/27eaJ6_a7Wc0uq_lfJgDzO8_gUNzTxHCZBrLiVio5ts.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/29gu-Z_16PfDGn_pSK9TyT3blEshUxQgsrMS15wVorI.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/2DuexqGTTiePLLWoFcwWKsKmIA4-GuNpQwdPYXBJzIk.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/2JTotiRFCF1eL1TJmuXM4ZyBqPky53LGOX1lSpdi5gE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/5Bmzl9iaUr7L-VT8icUpAzR9BQQI6qBX6JEv5Vths3k.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/6LApH9esjjQpvlqDcDyDle_4H8CYu8CIq_vo2GW9o_k.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/6Zu-L3vl11LpysCu8_3s5Ljm9pJZpKegEObwbT8AUJE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8-ehuqX7Ga-9m33LzqPqQW-F3PAnlBJOXJSQiXxlPjQ.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8Y55CbwZWwOBbwpP-EmYhUguQmvses-jROVrFmPML14.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8_BV4rIBo1KEOm5q78JeiTJVhbhS62POAYo-Pu75hro.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8y1riQ2t6idtT_mzkiTF9H6m3AQwzQK0PedX4ZVoHBc.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/90OMI3oEKBnXHnoWd6Fu0EYTDEoFBcV-jYDcBBixzfU.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{7eb84ecf34a4f7e714d58448a8eb10bd → v3.0/CW2mnSx_LLgIDOek3NYRfX4yh-QS4PUPhCg_l7jdmPs.cache} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/CiEZcv9maBLDpB8KyK7UUbhEjL1roM7MgsYFYRKrAJI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/D2tT0R1qJbVzDlquoGeR4sdzEh8uGRd1EnB-Oot_H5Q.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/DRbuGPZH_1ouhDNmYhYX0JlIsUUSsgxpDJXxJaYqdFA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Dad4uQa2nSAhHFWCbstCUMorPthwgoWaUAcSmJqgaJ8.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/E7IRfKzk_3CW0gNCR_JcxbGbbSeud8O1Tclo4XE51N0.cache +3 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/EO43w8fIfyB0qPKAFpA_lfUPlTOgD7dsZMpE8A8AFOw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/EY0cb0W8xKN-n7MdUo2h--13uoCdrbMtxA9mn1sCK2Y.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/FRrRfLGh__Iatk6ux7qvheGjHRJ2_KNOErW5g8uCAwo.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/G6DEClxQMGFISEs9tHuRxQ978kVOVwcX5y49LpGF34I.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/GUNiNnxBuCtqSTUiP0Ea8F2svb6T_qrIosz6HRv_KUQ.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Gd0dgHjO1nG58woqHPHWc9FFziGmbQXPJ-H4s-7c8FA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/GmEn1l6YnB0T6Juqszb-uQrz_EEXay1wE9_3n_Je4vw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{1025fb0f151fc866114ecf98044f10ee → v3.0/HfI-GD315XSRwx2qDpt9myhRbuIQyif_wJGL_LWS9Zw.cache} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/J6jxk5nHAT5dOm-_fdDlbNBTxw1A0guB_M4uCXK81qI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/KM-Cf-mrjSsSXRC4CeDIx9iU9LBj7oD2KI5ZNf5GVZU.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/LeqTPJtbBvIEv9omeZRhqDDx3CUM4vWW3EhAycrtAJQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MWHS_uic1r47FdOYxRX3RLNbJvaDmwlxLUZcds8zHXE.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/OVcc36X8NCidcxiVr5UG0MMQEc-yQ-_34oBkku5kDcM.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/P9IYoqQ7d8hyM9jCIox7f_9pXHZ-Kl3hvSQ3UjCDd0M.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QG4C1CEyFlzLcBePcAJ8DFmrc-o_JJNlpC3fO3VhFko.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/R8b75U-4A1-GYvlgdyiYScwR-AdlvyeZu9yCC-dq1Pk.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/RTVj27EUs5_mw2Yy-TnolUcSSZQsK8oIw3yNs_bXZSE.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/TqW53AG-TN4de8Snmv8eDWl6QMxRs2T2L1sjA8Mcbq8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Vv63gXlv6fZqFgsbMzvSphcqLwdeewIgbCEHxS8SPIo.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Vz4-ZEibOumEsMs1bLzUxpe7XmyX9AryqXYFmZ4-eo0.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/YPi3xw1pgOB3iaY7Ig9DY66iD_mjLsOkpa0UY-EKxpM.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/YyNY5EUoRAgPR8SpcdVrsSkJ3jsZ_VgLHJcgHoWP8pU.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZJH4R6OjwYOr3xCHXLjUr02Q-VBC7M_DLkW46YmV6do.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZdZmOPZOqP_Rosli_sBOTiLaDYL4ScewK1LeMcg0jI0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZkA8OltonbUI_t4yR6_8VP9_CC_QNxLMIkAV--R960s.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_u4ZxOyWPAO6GeAYUd69NQiMrhFA8tychmbybKxGCTA.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/aCulLiZKJ_2QIWBwUh09arY5mlEaBg6PzWA6HKLYaSY.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/aLyWwRFXDQs06IqMM3YjKAh6JHxTU_ZtBmLIBRglJ98.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/bgap1FW1aFNZxugIaKaopMhmNpFJL4-YW4n9HyJmufI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/dlRWGXx7LHzBb3h3ls4hOPB4E1a2Fq7jla35tqTyLzo.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ej1VyymSmAZd05wCFy70keaWoXgTv36m8JHKcgabhyI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/fJJcuNXHZzr2s5_TO_uO-_nqqp1yBle2aOdJY_QEWrk.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/fUqz7FY1eYGhhpfUnHqMyEUM_dCpzlUAKXKEOXFSZhA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/fx87itNFISiJM7-XeWpcG_J35MGKNu3t74mMJApw8nY.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/g1i3ztenjDy8UOWi9991WHFAHHT-wp3wRsTcs1pvN1Q.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gAEiN-kK8R5hT8X4fUeQLvzPqf0btf2mIymyrpFPfEI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gdEBJE009Wn0IuodQ8n3xePT7EsyAKlriQX_FlEgIpE.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gxNE25Yl2JCWeZr74lxHDRydzr7UmVS2c9P65WCHWt0.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/hjbrvsQHMj8j560vyTB8eTe-7Tmmoh7CfvBbbQGYCnQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/i0gI7DH9-v3EgvD_DvmuNBvlsDqoKonhG0s3cYh38o0.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/i6dy8UnNLKCPpjAifs2qp0_N5Uj5UGBQYY-4O3rLQhk.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/j8QAydW5OiGuvPqVnCU99YEHS_5sr7q1zpiuSXuJl5A.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jo-G8o-Js5JYTgx40LQpWKrPqoimZXmasXcEcM65iwg.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/kAeRSSdU2X8FlDbR-Co-RnBBk6Yh3bGAwOXxhECA2Ug.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/kzFIP3q2HHoxgZvCYEELYkkCIt7Ia-cjbLK46oHkn4w.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/lDjpI6nkzsGJcR13t1qAxXqNkHr5M3CN8JInZPO3WLo.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/lfyLhAlWONDOpeTnnpG26Xmqfr4vVjZvSfZb-EJjR-M.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/mzCuN7XNXqNVOPR7fauivVI3UJPTmGWiSB0iOxc75f0.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/nI-PEFp6hFaWiYyke6RYUACxhWyUtM0guTb1ryFPiWg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/nOZj8tFM8JDzGWR2CwIL9TgisXcpfYGfH-4Aq5FdyXQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/oInJh5x51e2sUOZEdOYs8ijhGYnLxInuI-EGj0n8BOM.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ogyQIsCd56cggSQpVoQbgtBF7BUbSEyCok-Rw4saFm0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qaUq28NwAZhYH0E0_CPKyMwtolu-g_t6MMCC6clZyQk.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qjwCD08n0s96JjOdMwhbErM03Br93uWGRHan1nddafI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qpA7TmUkRC7cei1FMQynwIAdPUjMzZ6CoTfUPA5-fnc.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qqNW-Jbrc7Emh-sVDjuE9pr6VWbOBTbEx_6pDq0Ep78.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/rvRmFD8J5k6QAMJSTiWgBnSapLXMEeR_1rDkY04V8Bo.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tKEiVwB1qyUh7hx1_tJpV2pKHW7-qOw7rOnEczNbDXk.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tTnBq-vLY-ReqQdSqqtfnN_qk1WaMRunUkf9mt2RuY8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/txXraSeaY5s8giT4eYPeVwKDIyV2SkyiRGvBwgXDxxQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xFDIMtzkF6FkreTenoi_sRzDgIr6rsvbGaAjZFvFomo.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xXIB2ylr8kQ52pPG6l9VtXzg-cD3waJgS4N9Pe9Rheg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/yMFGZQStTOFJqCmboYlML6NLUfF8maoLLTOj1mX4snw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/yg6oDbF3oSJSkNR6eaQubhOIgBei7OXpZecNGjNdUSs.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/zQ4C1cBJDIJu6RRK-diUv-eguEblADHx6DALRfQtim0.cache +1 -0
- data/test/helpers/mountain_view/component_helper_test.rb +1 -1
- data/test/tmp/app/components/widget/_widget.html.haml +0 -0
- data/test/tmp/app/components/widget/widget.coffee +0 -0
- data/test/tmp/app/components/widget/widget.scss +0 -0
- data/test/tmp/app/components/widget/widget.yml +0 -0
- metadata +189 -87
- data/test/dummy/tmp/cache/assets/development/sprockets/05047392adf909e89a37882b1df46aa8 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/056a4da9bcd21e1bc54fc870c1bd1c93 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0848104d612d68babe788b064bb6a773 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0a5bb8ddcf321e88738e02ffb0cd02ef +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0c5cdad092202271d7dcd4a4e9434459 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0ee705b1349b8360286fea9ed4e5e40e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/1358febedd4ca96d2bffd10daf71a841 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/13e30b9b47c795b0bf1c24f728ef72bb +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/19cd783e0750e55a88466eaf34cf8ee3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/1a3befd27690385985935fbefadee114 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/37f90f006cee6a567571d9ef098f959c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/46844defcba01dc849d9b419893f98cc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4b8ca8528217ffd457d34f6d3c10390e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5288a3be9b42eac33a8c5107b2c1a3e7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6469b6494dfcb7811bd823eb37679edb +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/646c70596539b146a28d3463b52e331d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/676413c50ebcc02f3683f0b74d03cd10 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6b18a41e40b87e9cf56140076eaf8ee7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6d1c1dbe626c83b900adee3270c25207 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/895678836daa2e7d767a0b18998d3b32 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/90a2a412cf77f0878e811db239c79cbc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9e3fff55e666e905677ea1ec03cbf90c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a18133f41da2aa5e6c4ceeb0912758e4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a668b6ff88911a6fc7ee3ed2bce99925 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/adf63b8c230bec424832f299d6783649 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b9bd83a3b44c1d3d3f3475bd4c0cba7f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c6c9787ab538d56f0bf078335b046968 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c7ee05b0bd8082e947e7f11a52d43d4d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c8918b8c937b226f93f33acabc876a06 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cd2a0221f05ca5fd45fa56d923f36195 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cd456657bdefb4c3249301a5754fdbe2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d6c936f92dce001a74c5de9eff308ea2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d78f431479fa8ad43875544b8c50d206 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/fd60d93b12b3001c215f1c6581eca777 +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d65e26c365858e61121a0b3bbb8f2f90907f0c84
|
4
|
+
data.tar.gz: 05fc336f347ca1d67e6b9eff203b66fc74f8012e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19e480f95a51f78bdcd169040700c865ca2dd26bd8172699c8e002a31f43956b4f64411db83a75d0aadbc64ecca3bf5cabf70dc591a1d804484875919b367dcd
|
7
|
+
data.tar.gz: c1c20a2fa1e7c54514679f8873372f64b9667c7582c39b6c1b7df89e3bedad70b716e5e74382eb6667901f213cf245c92d2eae21b67c34fe38774e283907597a
|
data/README.md
CHANGED
@@ -1,7 +1,11 @@
|
|
1
1
|
# Mountain View
|
2
2
|
|
3
|
-
|
4
|
-
|
3
|
+
[![Build Status](https://travis-ci.org/jgnatch/mountain_view.svg?branch=master)](https://travis-ci.org/jgnatch/mountain_view)
|
4
|
+
[![Code Climate](https://codeclimate.com/github/jgnatch/mountain_view/badges/gpa.svg)](https://codeclimate.com/github/jgnatch/mountain_view)
|
5
|
+
|
6
|
+
With Mountain View you create reusable components for your Rails frontend, while generating a living style guide.
|
7
|
+
|
8
|
+
_FAQ_: Does it generate it automatically? You bet!
|
5
9
|
|
6
10
|
## Installation
|
7
11
|
|
@@ -56,7 +60,7 @@ You can then call your components on any view by using the following
|
|
56
60
|
helper:
|
57
61
|
|
58
62
|
```erb
|
59
|
-
<%=
|
63
|
+
<%= render_component "header", title: "This is a title", subtitle: "And this is a subtitle" %>
|
60
64
|
```
|
61
65
|
|
62
66
|
### Assets
|
@@ -104,11 +108,7 @@ E.g: `app/components/card/card.yml`
|
|
104
108
|
|
105
109
|
## Contributing
|
106
110
|
|
107
|
-
|
108
|
-
2. Create your feature branch (`git checkout -b my-new-feature`)
|
109
|
-
3. Commit your changes (`git commit -am 'Add some feature'`)
|
110
|
-
4. Push to the branch (`git push origin my-new-feature`)
|
111
|
-
5. Create new Pull Request
|
111
|
+
See the [contributing guide](./CONTRIBUTING.md).
|
112
112
|
|
113
113
|
## Team
|
114
114
|
|
@@ -56,21 +56,21 @@ body{
|
|
56
56
|
}
|
57
57
|
|
58
58
|
.mv-sidebar ul li a{
|
59
|
-
color
|
59
|
+
color: #555;
|
60
60
|
font-size: 14px;
|
61
61
|
text-decoration: none;
|
62
62
|
font-weight: 300;
|
63
63
|
}
|
64
64
|
|
65
65
|
.mv-sidebar ul li a:hover{
|
66
|
-
color
|
66
|
+
color: #000;
|
67
67
|
}
|
68
68
|
|
69
69
|
/* MAIN */
|
70
70
|
.mv-main{
|
71
71
|
box-sizing: border-box;
|
72
72
|
width: 82%;
|
73
|
-
float:left;
|
73
|
+
float: left;
|
74
74
|
padding: 30px 60px;
|
75
75
|
}
|
76
76
|
.mv-main__header{
|
@@ -98,28 +98,29 @@ body{
|
|
98
98
|
padding: 25px;
|
99
99
|
background: #F7F7F7;
|
100
100
|
border: 1px solid #E4E4E4;
|
101
|
-
margin-top:30px;
|
101
|
+
margin-top: 30px;
|
102
102
|
}
|
103
103
|
|
104
104
|
.mv-component__description h2{
|
105
|
-
font-weight:bold;
|
106
|
-
margin-bottom:20px;
|
105
|
+
font-weight: bold;
|
106
|
+
margin-bottom: 20px;
|
107
107
|
}
|
108
108
|
|
109
109
|
.mv-component__description__definition{
|
110
|
-
margin-bottom:20px;
|
110
|
+
margin-bottom: 20px;
|
111
111
|
}
|
112
112
|
|
113
|
-
.mv-component__description__definition code
|
113
|
+
.mv-component__description__definition code,
|
114
|
+
.mv-component__description__properties code {
|
114
115
|
background: none !important;
|
115
|
-
font-size:14px;
|
116
|
+
font-size: 14px;
|
116
117
|
}
|
117
118
|
|
118
119
|
.mv-component__description__properties{
|
119
120
|
background: #fff !important;
|
120
|
-
border:1px solid #e4e4e4;
|
121
|
-
max-height:230px;
|
122
|
-
overflow:auto;
|
121
|
+
border: 1px solid #e4e4e4;
|
122
|
+
max-height: 230px;
|
123
|
+
overflow: auto;
|
123
124
|
font-size: 13px;
|
124
125
|
padding: 30px 20px;
|
125
126
|
}
|
@@ -5,15 +5,17 @@
|
|
5
5
|
<% styleguide_stubs(@component).each_with_index do |component_properties, index| %>
|
6
6
|
<div class="mv-component">
|
7
7
|
<div class="mv-component__item">
|
8
|
-
<%=
|
8
|
+
<%= render_component @component, component_properties %>
|
9
9
|
</div>
|
10
10
|
<div class="mv-component__description">
|
11
11
|
<h2><%= @component.capitalize %> <%= index + 1 %></h2>
|
12
12
|
<div class="mv-component__description__definition">
|
13
|
-
<code class="language-ruby"><%=
|
13
|
+
<code class="language-ruby"><%= render_component("<%= @component %>", {properties as below}) %></code>
|
14
|
+
</div>
|
15
|
+
<%- formatted = JSON.pretty_generate component_properties %>
|
16
|
+
<div class="mv-component__description__properties">
|
17
|
+
<code class="language-ruby"><%= formatted.gsub(/\"(\S+)?\":/, '\1:') %></code>
|
14
18
|
</div>
|
15
|
-
<%- formatted = JSON.pretty_generate component_properties %>
|
16
|
-
<pre class="mv-component__description__properties language-ruby"><code><%= formatted.gsub(/\"(\S+)?\":/, '\1:') %></code></pre>
|
17
19
|
</div>
|
18
20
|
</div>
|
19
21
|
<% end %>
|
@@ -1,2 +1,2 @@
|
|
1
|
-
<%=
|
1
|
+
<%= render_component "header", title: "Pepe" %>
|
2
2
|
Hello
|
File without changes
|
File without changes
|