pointless_feedback 3.0.2 → 4.0.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 +21 -11
- data/app/controllers/pointless_feedback/messages_controller.rb +10 -8
- data/app/models/pointless_feedback/message.rb +9 -4
- data/app/views/pointless_feedback/messages/new.html.erb +0 -10
- data/lib/generators/templates/pointless_feedback.rb +4 -6
- data/lib/pointless_feedback.rb +5 -12
- data/lib/pointless_feedback/controllers/helpers.rb +1 -1
- data/lib/pointless_feedback/version.rb +1 -1
- data/test/dummy/app/controllers/application_controller.rb +3 -1
- data/test/dummy/config/application.rb +0 -36
- data/test/dummy/config/boot.rb +4 -9
- data/test/dummy/config/environment.rb +3 -3
- data/test/dummy/config/environments/development.rb +12 -20
- data/test/dummy/config/environments/production.rb +41 -28
- data/test/dummy/config/environments/test.rb +15 -14
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +7 -6
- data/test/dummy/config/initializers/secret_token.rb +7 -2
- data/test/dummy/config/initializers/session_store.rb +0 -5
- data/test/dummy/config/initializers/wrap_parameters.rb +6 -6
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +5 -5
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +4 -198
- data/test/dummy/log/test.log +21894 -20989
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/0bJfAx65O1n70YN37G4XyXwEfG7OTlKhAnwAWtOU0Hk.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/0lN0G1IC4JG1tZX92bUferJsSrGn0PCNy8wS7EHOs0k.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/36PoiZnAzLmuv3-Cl1ravIdJa51pjvbFsRwFj1ogx0Q.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/3VR1ziKpG9SaWTWRPp8VPL8hoSWD4OgDpBj50kALl3s.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/59E4H59o_0IOqcgolXGb2Qv7_1tphdmlTI6BM9AlIVA.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/6RnsI5eiwJQnzHtj8WptkeurVeJxYVhl8l7YRBtKpug.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/6vArjIrs23uxQe5-Xekn0HIi-RusuA7N1i1obWwNHyA.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/79OeaG18HuJKeXEC8gkan8NdT-MWFWZr-GG7O5CRL4A.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/7JSyYC82UthVKnhQpetfJTnJpZ-p2I9FrAgOa277Ssk.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/7UhyXzW8lNWmBDHyH4YrROmfHqKydVcUfGlw7qcs3g8.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/7rxOpSCaVphMm8pS08OORkMq6vVY6p3HDMdraote5mw.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/7vB6KIhxVY1Q6SGDcIB9j4Oy-ZjxjZ46Sx8FQfFW6Ew.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/8DhAWWNJfOR5dJ1EAkF80f-LHE_cfdWDF5SWpHHNOXs.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/8PjtVRdSvTm8L6YRWIRysOQayhQl8iuXr50T5FiJHG8.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{v3AmkvXX9VMdfZyyd-z8ithE5Owk2ZJlVAkIhe17tMg.cache → 8QbjQLD3NWrhGa9CprZvTcu7A650_zcQO99A8b7y49s.cache} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/8S15H2CY0MwUJSYdugfWpJFa38_VVu7JWCJ8K0mTzXM.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{eOjZbG5UBr6JsOjkWATgOPLmaW2ia3l4C6kktfm3Z34.cache → AayxZvUedztKa2WzidbmF88ihFKm3oq3VRdIHr2XErM.cache} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Amf_J841iZFXMs7iMNDwLZ4GpCjXTbLZr9Fuk89qI60.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/BadOmKj1n2V43TWibFBo8pCdjpTtLFyiIEak2SRv2P4.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/BdNUEZz5A14yfBSBiXXVSZaUiNFpNiB_yzCZBpl32rw.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/BmBgwtTCy4XPa_sVmeSC2fxLUlQhf0uB3_wMOf79d74.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/BzhewyVQURDTOaCPk8sobfWEGc4N78cW-zOKUAp99qY.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/CeDZvxIzAmUg2jucghrzsqxZPM5VrmNRxQwF4hlMUFI.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Cp6zolENjK0V452tZ-ekX_VhTePH5uQT8xDuQUtOeIk.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/EIzBaqc5q0SvFaYTW82FZQfw-Eh6Ca7kbGjKjpNvV-I.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/EKzNVc3oFRaMZW7_POnXYKUF_SSp-rmsJiN6vpp6ewg.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/FC7z7F8du0X6hJmx-zZF3PIdW81G8WRtC06OePxs6N4.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/FJlzNUhH1rCszf4-nTD02S-HHtgBv-sNyB-7XBptMbc.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{F0CqWUXpkNoR0LOSbc17rrxtgLyikx41k2wULzYSgqA.cache → FKYgD1VJevVJQRLOY6Pbx5u9i1dKjiIMbS86-vpuCUA.cache} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/GUcOeSBQIxq8KeRka_YBmDzFqsj7n_f_lRQJFtlSNFI.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/GyPRbV2C_DxK22ZczwGxHfgpooxCgWgb6DXRDE2sfFI.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{Y_qvcRVseI-9a23RY-PoyK9mNy5OMrVwNsuYSK17Kyo.cache → Gy_v1YrF-y4zhlJCM9kf6luPV82VwZCO5kHf09Xfb3w.cache} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/HD355pxJ7x-SchpoANQ9MOaOgJ7ogqZzooLySz8CG3M.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/HOpHhAtrMUHqret33J8wQMj3owR8o0rMeHzPMmw_sSM.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ImoWMWySAqqzwxirgi32vlIsNvFajKQ5dkD1riluvp8.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/In8BhevXtT_6T15WB0QyYf63GIb5qhYuyJJuAiYiF_8.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/K8OrovsBLo91Ar3BuGaaY5cF_VaIhIFgnQLSwFQbPT8.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/KIt01gf8_ZSjCX4pEBkXoj5XaspnVSzFlM-3hWQO_W0.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/N3EOZuHarkrcSbHkhEciXwOibr0vky3DGnU5pqaWj2M.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/NzQEhPXWPjieK_7hKdCSNjA_KWnPLv-GkFyxAqc9y5E.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/OZz86IlAXSQduTAf_VbKigJTnvZX8MfYRIp8MG5dIC4.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/P37_Pex2W08pmf-3DZNghtBJfIztFMIkfYdVU2Ni-PU.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PHh6ZHgHoZ13W-D2_2WMRIS8LsplHcshAdxjbQOWZW4.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Pb7GApIVDM5PAGxzMghbTZZnEW_6D6-z4MMcrc9sNCU.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PbAK4NKIjIkQLs3njY7xlqzg0zhucTHraKqADUsj2MU.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/RTV_Ej7XH4yxmrXYI1kD5PkaFC-vKadcHkZGKRs6soo.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YRX10BPBviky8-zpd0YxW1Kr7tD4R-TsDoK9x-hpr4o.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Yds0Q4njEYCJPglGOItrALygHX9-2INySQMiKf38pDo.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Yj4OEnkBcyiJn6os-kc27vkRMIIN9waB1T2qxAyhLM0.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YzTMJmUfNHZUj05gCAZvnsGqOZpGM-nESn1e6kspETM.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ZC9uWTTU2K9tNxJ5woE6hJppt8I2_Mlw3Z4E57A8BXE.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ZUz0MRrbsVWlyzQTYkevS_jAu_gLPMQ11tFDNSWnTGU.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Zpmnwqg8KX6eH9u8pf05Km5Um4J6E93A5YQFrchf-fs.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_HgAXGb0U6h4l5arL43wvO0RIUDL8qxElRM0uqbFoDY.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/__RMj2hD1nyubOQplQfhJV2s9avVwcxd7O_WzTg2efo.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_lMMYi31fbcYhrfxp-EesWlgEyHOdO7m8PO_h1Ww2gI.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/auh7pOIYTzyILPJAMgivE8k9iddsLeS3N2aNRXiyJKk.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/b8Dca_cNXkt5Ra5D3VnqQNFifz1YK-UYe9YfIFudQzE.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/bRMcv3F6Ka3UZ3Ct-nuzGeC8m3IjYKXnNfHcfl3Jdds.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/cEck-31IHcywfoTCCGRyWn80qX9zPcwqA_2QeJ_-gUs.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/cQRkneYvhccFjETKdPwL5R5ypWS0Ewd84VxLUALPLQ8.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/d-hDHIrf8ZZgSVxXMNtGAE-M8lFn_YKc4z0u68nSv-s.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/dJx7yO4LDj928h6wDGCTzWefiBBz_svex5TJXicLfQA.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/dSMoW8QFOtWbh6xgSZniv0oi13MVrtPf6to1F-6ZMNU.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/dcj-0Vmu5j6tY3xlj51FmE-vXrSTLKaDsJ-B2zmmwd8.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/dlAG1_Bc3GjU-UyNR3c7ZUrmyqnlDzBV8LQ0qNmHNyc.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/gNQyo6diGckfOs0d4JnnFNoBNgF2_LschS90jyv7_7g.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/g_xrOAVbI58RFCyW9BbbJK28S-D6sBhdoVQdT6xuBrs.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/gspVh-Z__olxWPKi7cx0vvHp8un2KE_KkZFvupOEmy4.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/gw41KnJq2j5YXe4K9LWgT1bBN2zMSh0OVX47Y-lKoZE.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/h-TWaKzpZPr4Wkl3Z_XxLYvqL_8aI398g2UPQhS-ePQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hFHQ0c4oRsDPsAsWeBYobVzYfLcLBKdN36OkdUq9qcU.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hKqsSn5NEcQ8mp5dDISKXSfV73M6M3UnI1qSkQ5nUQM.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/iMya65ONOZTEjleYSHwIwFy0C59F7fgxgAKQCboE6FY.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{v8bGpj5Kint_mcnIuXRm1px694Vesh1s1NLt98QAveo.cache → ifuxrPUgaAYRNi85XwxK2zdBmeGTiufDeHrqrZ98PC8.cache} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/j729ObFa4rntb7eQ5JGEm1miN1z6SWupubSE3qLc5GA.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/jpt8MJPLpANFBcb5oZNICKY0tYIBz4e2nmVQ08m0s94.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/kCRGoTUD3LCfxksieZ8l6qzdLhoofSnD14PAJwayk0w.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/lUIqYH18X5lrhS-0qBbrGPQedlMtKHW6Hcc1IVZai5k.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/m_phoSLjnLZ20JEjbZUNjm_VPKa7VwWBjM8At8f3AGc.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/moX58rBNilX8VksIC-4KSAfZPYt_oni9cfrh7cMGyu0.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{vUKodLdMsNuvGuB196sDA0ZfGc7CeyhqNuL4gk45osk.cache → muHhKCc76IMwsHZZbx6nlZLPlRXSRyUIiyh2CAnTpuQ.cache} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/n5eR5czOsl06WzZFVpadxz7HGY4gTewf6wwAlvrO2to.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/n7zORuZMn8EVHXFANNqdljwF1U452-MQp79ptOF6BR0.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/nNS0E1mrey9qQJhek6Siqc24ljh-F-ElB_q2s74LKY4.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/niRD4iV7bKiSsAAmhgWWZkNTtBFZ2AtKXKPgUFsEJyE.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/noI-fO_ZZFMdw4yJHxHU2wl8Vm3e_8aqTI0Pk1sFhGU.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/nroxs8BgkHWcG4grpQ_qUzJEj5Dc1z-PXjYW4tr6dyU.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/oOFgIsaOU6cVeQ50J8gfCtWjsTBKuW2OoQB05i6r-c0.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/oSAASe3XpzWvdjb_p91h42m0NA5fyXVGTgYESG0dLw8.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/piDQ6GLVJEvYzUMH_DSYinmPKqXNw3FB_Jf4Atg59so.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/qA7zk9qyWCX8IjymwC_wo2D8ZH1RZc-F93yZmBYcuV8.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/qSavMuuZDT6tja5faTH06vgjQnKqYaso6N8YfMXrDxI.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/rAW6y-XpnjuNZUgHuKViMks7z6NuOH-e0SXimMyaGh8.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/rmBzbo1U0gbkJ8-1QvSlpgWm_KVhA82y0yy7xeIpMg8.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/udMIuM-bc2cHelErundawsnppzECq5WjKh9PWLH8wd8.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/{pvwl0IHI3tjE7sZSFAFABRVj0PJ1CVMhtHIZP5NvQSs.cache → v38ESOC6IjWOQgWLg9-XkWQecLZF8C9194zMUHG0Mu8.cache} +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/v4VmjpHjrRXd5wUg-ilNDi1W5Tyzt7ECEVboJ7jEnCs.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vH0ynvObPIAWfCekeRnwd7Jd-JgJp8KPzFYB-vc6Xi4.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/xaTDDGj2DpIK9iYhO3GKp16NaQ7XxIUq1t_VKPcWX6Q.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/xbu1hfRBbE_71sfBXXqN9-kyvbQP9m8jwH2uxl7UX8A.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/z9kPDmBo4Veil6VKwz-Dly9tG0yVjXHRsQ08b6pa_eY.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/zu_BM0Xv8uAAExeZ5FwiKvId9BGv2fbngQ99867Xzbc.cache +0 -0
- data/test/functional/pointless_feedback/messages_controller_test.rb +6 -3
- data/test/tmp/config/initializers/pointless_feedback.rb +4 -6
- data/test/unit/pointless_feedback/message_test.rb +1 -1
- metadata +231 -112
- data/lib/pointless_feedback/captcha.rb +0 -36
- data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/CDA/AF0/sprockets%2F2b009905de1eb97e693a12d62f76c221 +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/D72/890/sprockets%2F6208de944cfe6b5b3c3c37c89d32f41a +0 -0
- data/test/dummy/tmp/cache/assets/DD9/830/sprockets%2Fc25e8f936dbc8c2b26c7c7b3d7ff6d13 +0 -0
- data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/E02/8C0/sprockets%2Fdcaacb4effc911c9573def4b74b82590 +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2n_8czzUpfBbWmACOl-6k62Uv4TRJ4b8_-1T5nOdu4w.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/7BoWr8OUj0Xs35Wko795lR6SiZgm7tfXaAZ37yA26W8.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/8wow3SlwChlZlBQ7es2DDQN5BcbB_ixilHFBB_HRlg0.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/MhTtmm-8IR_RwYO5M7M_EIE62j-5TFKqN7brwbJ5PW4.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/SH3Dn4RbDTP_KC-390CAFbG-H1stL9FHJH5ufAgk9so.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/SKVSFDu-_sveWMkf3dEZ84rntaMhXsX3H2npPJWt7Lo.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/U7cU4H3gCAQ7AHhtfKpGNmR6nnSXg1UczlCqPYug1SU.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/W-5IUH4ZNJiArfbB85Ibo0CwI-AbGe8p1S08msd-JsA.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/WQT4Fg_WVrkuTniWMBbOm_acTHAasEzlK9KKBMnHeo0.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ae7N3SXHGvNl7qizFNQ3lDmuliB7AOc3lQHeIa0SnTw.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/fzMvlCHrUWupCILKI3zWgKg847TS_ofWZ_LF1SKftts.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/kWM1otfuMI_SAVFXCe-9XZdWAsvxYAHNwWxV7DQt1Z0.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/lSwe2quDzA-6FsNKg4BFQ1xhHmRv--HbAZGx9ihVHyE.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/mzGLzeYPI8wrZfE5RbBuJLolfb64eApgFUDTf-g6tLU.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/nSM4ifmNdBct6VP8CA0IdNsWxtH7EZb5Iphs-oA03hY.cache +0 -3
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/pPYm3XknilnD1WmL4BSML-c1hBmAjkkkapf7aqmY3-c.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/qMoHrJl0aibucJEt0011OPpr6sXKr0sFHai3ljDd1RU.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/wdjRpDa6XazR1CWhK7fcSO4Nb_Q0BT5bUuWSama4IiA.cache +0 -1
- data/test/dummy/tmp/capybara/capybara-201306030928415341101962.html +0 -48
- data/test/dummy/tmp/capybara/capybara-201306030937025132981181.html +0 -48
- data/test/dummy/tmp/capybara/capybara-201306030937083494523886.html +0 -48
- data/test/dummy/tmp/capybara/capybara-20130603093722783471600.html +0 -65
- data/test/dummy/tmp/capybara/capybara-20130603094056611257399.html +0 -241
- data/test/dummy/tmp/capybara/capybara-201306030944524823294090.html +0 -14
- data/test/dummy/tmp/capybara/capybara-20130828105343685535937.html +0 -50
- data/test/dummy/tmp/capybara/capybara-201308281055176538066301.html +0 -52
- data/test/dummy/tmp/capybara/capybara-201311071553562925508230.html +0 -58
@@ -1,36 +0,0 @@
|
|
1
|
-
require 'uri'
|
2
|
-
require 'net/http'
|
3
|
-
require 'json'
|
4
|
-
|
5
|
-
module PointlessFeedback
|
6
|
-
class Captcha
|
7
|
-
def self.pass?(captcha_response)
|
8
|
-
new(captcha_response).pass?
|
9
|
-
end
|
10
|
-
|
11
|
-
def initialize(captcha_response)
|
12
|
-
@captcha_response = captcha_response
|
13
|
-
end
|
14
|
-
|
15
|
-
def pass?
|
16
|
-
JSON.parse(response.body)["success"] == true
|
17
|
-
end
|
18
|
-
|
19
|
-
private
|
20
|
-
|
21
|
-
def response
|
22
|
-
@response ||= Typhoeus.post(url, body: body)
|
23
|
-
end
|
24
|
-
|
25
|
-
def url
|
26
|
-
"https://www.google.com/recaptcha/api/siteverify"
|
27
|
-
end
|
28
|
-
|
29
|
-
def body
|
30
|
-
{
|
31
|
-
secret: PointlessFeedback.google_captcha_secret_key,
|
32
|
-
response: @captcha_response
|
33
|
-
}
|
34
|
-
end
|
35
|
-
end
|
36
|
-
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,2 +0,0 @@
|
|
1
|
-
[o:Set:
|
2
|
-
@hash{I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"zfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/javascripts/application.js;TTI"kfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/javascripts;TTI"rfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/javascripts/jquery;TTI"kfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/stylesheets;TTI"rfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/stylesheets/jquery;TTI"bfile-digest:///Users/efatsi/.gem/ruby/2.1.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts;TTI"ifile-digest:///Users/efatsi/.gem/ruby/2.1.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery;TTI"lfile-digest:///Users/efatsi/.gem/ruby/2.1.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery.js;TTI"vfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/javascripts/jquery_ujs;TTI"vfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/stylesheets/jquery_ujs;TTI"mfile-digest:///Users/efatsi/.gem/ruby/2.1.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery_ujs;TTI"pfile-digest:///Users/efatsi/.gem/ruby/2.1.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery_ujs.js;TT
|
@@ -1 +0,0 @@
|
|
1
|
-
I"�file:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=17500db5610b4938eb5ad45e4773aae0d7c6c5c2003d006590789f6d99aa7f04:ET
|
Binary file
|
Binary file
|
@@ -1,2 +0,0 @@
|
|
1
|
-
[o:Set:
|
2
|
-
@hash{I"environment-version:ETTI"environment-paths;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"zfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/javascripts/application.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"lfile-digest:///Users/efatsi/.gem/ruby/2.1.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery.js;TTI"pfile-digest:///Users/efatsi/.gem/ruby/2.1.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery_ujs.js;TTI"kfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/javascripts;TTI"rfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/javascripts/jquery;TTI"kfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/stylesheets;TTI"rfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/stylesheets/jquery;TTI"bfile-digest:///Users/efatsi/.gem/ruby/2.1.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts;TTI"ifile-digest:///Users/efatsi/.gem/ruby/2.1.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery;TTI"vfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/javascripts/jquery_ujs;TTI"vfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/stylesheets/jquery_ujs;TTI"mfile-digest:///Users/efatsi/.gem/ruby/2.1.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery_ujs;TT
|
@@ -1 +0,0 @@
|
|
1
|
-
I"�file:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/stylesheets/application.css?type=text/css&id=c18ad03424afe90ad19d6369cd8a910fef8045867ebcacff0dd06f298e5245f3:ET
|
@@ -1 +0,0 @@
|
|
1
|
-
I"�file:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=b35497c3bc8093166b31f01429b4e5f242f9e3569a3b0c62e297e8a93f05856e:ET
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
I"�file:///Users/efatsi/.gem/ruby/2.1.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery_ujs.js?type=application/javascript&pipeline=self&id=8cc482c56167f503cb90ab7ac783f2af3a5c9c29e15fcf0496857296ff400d43:ET
|
@@ -1,3 +0,0 @@
|
|
1
|
-
[o:Set:
|
2
|
-
@hash{
|
3
|
-
I"environment-version:ETTI"environment-paths;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"{file-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/stylesheets/application.css;TTI"kfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/stylesheets;TT
|
@@ -1,2 +0,0 @@
|
|
1
|
-
[o:Set:
|
2
|
-
@hash{I"environment-version:ETTI"environment-paths;TTI"0processors:type=text/css&file_type=text/css;TTI"{file-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/stylesheets/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"kfile-digest:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/stylesheets;TT
|
@@ -1 +0,0 @@
|
|
1
|
-
I"�file:///Users/efatsi/.gem/ruby/2.1.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery.js?type=application/javascript&pipeline=self&id=7292425d62377ee4338adb82babeb8c024eb166d81ef891b1ce3ca18aebbddc7:ET
|
@@ -1 +0,0 @@
|
|
1
|
-
I"�file:///Users/efatsi/Desktop/Projects/Gems/pointless-feedback/test/dummy/app/assets/javascripts/application.js?type=application/javascript&id=1e0db5a8e179a32386fe89b2e56026b2e9cc71c8b70a9095b80f6c2d21591132:ET
|
@@ -1,48 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Dummy</title>
|
5
|
-
<link href="/assets/application.css" media="all" rel="stylesheet" type="text/css" />
|
6
|
-
<script src="/assets/application.js" type="text/javascript"></script>
|
7
|
-
|
8
|
-
</head>
|
9
|
-
<body>
|
10
|
-
|
11
|
-
<form accept-charset="UTF-8" action="/pointless_feedback/messages" class="new_message" id="new_message" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓" /></div>
|
12
|
-
|
13
|
-
<fieldset class="user-fields">
|
14
|
-
<legend>About You</legend>
|
15
|
-
|
16
|
-
<div class="field">
|
17
|
-
<label for="message_name">Name</label>
|
18
|
-
<input id="message_name" name="message[name]" size="30" type="text" />
|
19
|
-
</div>
|
20
|
-
|
21
|
-
<div class="field">
|
22
|
-
<label for="message_email_address">Email address</label>
|
23
|
-
<input id="message_email_address" name="message[email_address]" size="30" type="text" />
|
24
|
-
</div>
|
25
|
-
</fieldset>
|
26
|
-
|
27
|
-
<fieldset class="feedback-fields">
|
28
|
-
<legend>Leave Your Feedback</legend>
|
29
|
-
|
30
|
-
<div class="field">
|
31
|
-
<label for="message_topic">Topic</label>
|
32
|
-
<select id="message_topic" name="message[topic]"><option value="">Please select</option>
|
33
|
-
<option value="Error on page">Error on page</option>
|
34
|
-
<option value="Other">Other</option></select>
|
35
|
-
</div>
|
36
|
-
|
37
|
-
<div class="field">
|
38
|
-
<label for="message_description">Description</label>
|
39
|
-
<textarea cols="40" id="message_description" name="message[description]" rows="20">
|
40
|
-
</textarea>
|
41
|
-
</div>
|
42
|
-
</fieldset>
|
43
|
-
|
44
|
-
<input name="commit" type="submit" value="Create Message" />
|
45
|
-
</form>
|
46
|
-
|
47
|
-
</body>
|
48
|
-
</html>
|
@@ -1,48 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Dummy</title>
|
5
|
-
<link href="/assets/application.css" media="all" rel="stylesheet" type="text/css" />
|
6
|
-
<script src="/assets/application.js" type="text/javascript"></script>
|
7
|
-
|
8
|
-
</head>
|
9
|
-
<body>
|
10
|
-
|
11
|
-
<form accept-charset="UTF-8" action="/pointless_feedback/messages" class="new_message" id="new_message" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓" /></div>
|
12
|
-
|
13
|
-
<fieldset class="user-fields">
|
14
|
-
<legend>About You</legend>
|
15
|
-
|
16
|
-
<div class="field">
|
17
|
-
<label for="message_name">Name</label>
|
18
|
-
<input id="message_name" name="message[name]" size="30" type="text" />
|
19
|
-
</div>
|
20
|
-
|
21
|
-
<div class="field">
|
22
|
-
<label for="message_email_address">Email address</label>
|
23
|
-
<input id="message_email_address" name="message[email_address]" size="30" type="text" />
|
24
|
-
</div>
|
25
|
-
</fieldset>
|
26
|
-
|
27
|
-
<fieldset class="feedback-fields">
|
28
|
-
<legend>Leave Your Feedback</legend>
|
29
|
-
|
30
|
-
<div class="field">
|
31
|
-
<label for="message_topic">Topic</label>
|
32
|
-
<select id="message_topic" name="message[topic]"><option value="">Please select</option>
|
33
|
-
<option value="Error on page">Error on page</option>
|
34
|
-
<option value="Other">Other</option></select>
|
35
|
-
</div>
|
36
|
-
|
37
|
-
<div class="field">
|
38
|
-
<label for="message_description">Description</label>
|
39
|
-
<textarea cols="40" id="message_description" name="message[description]" rows="20">
|
40
|
-
</textarea>
|
41
|
-
</div>
|
42
|
-
</fieldset>
|
43
|
-
|
44
|
-
<input name="commit" type="submit" value="Create Message" />
|
45
|
-
</form>
|
46
|
-
|
47
|
-
</body>
|
48
|
-
</html>
|
@@ -1,48 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Dummy</title>
|
5
|
-
<link href="/assets/application.css" media="all" rel="stylesheet" type="text/css" />
|
6
|
-
<script src="/assets/application.js" type="text/javascript"></script>
|
7
|
-
|
8
|
-
</head>
|
9
|
-
<body>
|
10
|
-
|
11
|
-
<form accept-charset="UTF-8" action="/pointless_feedback/messages" class="new_message" id="new_message" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓" /></div>
|
12
|
-
|
13
|
-
<fieldset class="user-fields">
|
14
|
-
<legend>About You</legend>
|
15
|
-
|
16
|
-
<div class="field">
|
17
|
-
<label for="message_name">Name</label>
|
18
|
-
<input id="message_name" name="message[name]" size="30" type="text" />
|
19
|
-
</div>
|
20
|
-
|
21
|
-
<div class="field">
|
22
|
-
<label for="message_email_address">Email address</label>
|
23
|
-
<input id="message_email_address" name="message[email_address]" size="30" type="text" />
|
24
|
-
</div>
|
25
|
-
</fieldset>
|
26
|
-
|
27
|
-
<fieldset class="feedback-fields">
|
28
|
-
<legend>Leave Your Feedback</legend>
|
29
|
-
|
30
|
-
<div class="field">
|
31
|
-
<label for="message_topic">Topic</label>
|
32
|
-
<select id="message_topic" name="message[topic]"><option value="">Please select</option>
|
33
|
-
<option value="Error on page">Error on page</option>
|
34
|
-
<option value="Other">Other</option></select>
|
35
|
-
</div>
|
36
|
-
|
37
|
-
<div class="field">
|
38
|
-
<label for="message_description">Description</label>
|
39
|
-
<textarea cols="40" id="message_description" name="message[description]" rows="20">
|
40
|
-
</textarea>
|
41
|
-
</div>
|
42
|
-
</fieldset>
|
43
|
-
|
44
|
-
<input name="commit" type="submit" value="Create Message" />
|
45
|
-
</form>
|
46
|
-
|
47
|
-
</body>
|
48
|
-
</html>
|
@@ -1,65 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Dummy</title>
|
5
|
-
<link href="/assets/application.css" media="all" rel="stylesheet" type="text/css" />
|
6
|
-
<script src="/assets/application.js" type="text/javascript"></script>
|
7
|
-
|
8
|
-
</head>
|
9
|
-
<body>
|
10
|
-
|
11
|
-
<form accept-charset="UTF-8" action="/pointless_feedback/messages" class="new_message" id="new_message" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓" /></div>
|
12
|
-
<div class="error_messages">
|
13
|
-
<h2>
|
14
|
-
Invalid Fields
|
15
|
-
</h2>
|
16
|
-
|
17
|
-
<p>
|
18
|
-
Correct the following errors and try again.
|
19
|
-
</p>
|
20
|
-
|
21
|
-
<ul>
|
22
|
-
<li>Email address can't be blank</li>
|
23
|
-
<li>Topic can't be blank</li>
|
24
|
-
<li>Topic is not included in the list</li>
|
25
|
-
<li>Description can't be blank</li>
|
26
|
-
</ul>
|
27
|
-
</div>
|
28
|
-
|
29
|
-
<fieldset class="user-fields">
|
30
|
-
<legend>About You</legend>
|
31
|
-
|
32
|
-
<div class="field">
|
33
|
-
<label for="message_name">Name</label>
|
34
|
-
<input id="message_name" name="message[name]" size="30" type="text" value="Eli" />
|
35
|
-
</div>
|
36
|
-
|
37
|
-
<div class="field">
|
38
|
-
<div class="field_with_errors"><label for="message_email_address">Email address</label></div>
|
39
|
-
<div class="field_with_errors"><input id="message_email_address" name="message[email_address]" size="30" type="text" value="" /></div>
|
40
|
-
</div>
|
41
|
-
</fieldset>
|
42
|
-
|
43
|
-
<fieldset class="feedback-fields">
|
44
|
-
<legend>Leave Your Feedback</legend>
|
45
|
-
|
46
|
-
<div class="field">
|
47
|
-
<div class="field_with_errors"><label for="message_topic">Topic</label></div>
|
48
|
-
<div class="field_with_errors"><select id="message_topic" name="message[topic]"><option value="">Please select</option>
|
49
|
-
<option value="Error on page">Error on page</option>
|
50
|
-
<option value="Other">Other</option></select></div>
|
51
|
-
</div>
|
52
|
-
|
53
|
-
<div class="field">
|
54
|
-
<div class="field_with_errors"><label for="message_description">Description</label></div>
|
55
|
-
<div class="field_with_errors"><textarea cols="40" id="message_description" name="message[description]" rows="20">
|
56
|
-
|
57
|
-
</textarea></div>
|
58
|
-
</div>
|
59
|
-
</fieldset>
|
60
|
-
|
61
|
-
<input name="commit" type="submit" value="Create Message" />
|
62
|
-
</form>
|
63
|
-
|
64
|
-
</body>
|
65
|
-
</html>
|
@@ -1,241 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Ruby on Rails: Welcome aboard</title>
|
5
|
-
<style type="text/css" media="screen">
|
6
|
-
body {
|
7
|
-
margin: 0;
|
8
|
-
margin-bottom: 25px;
|
9
|
-
padding: 0;
|
10
|
-
background-color: #f0f0f0;
|
11
|
-
font-family: "Lucida Grande", "Bitstream Vera Sans", "Verdana";
|
12
|
-
font-size: 13px;
|
13
|
-
color: #333;
|
14
|
-
}
|
15
|
-
|
16
|
-
h1 {
|
17
|
-
font-size: 28px;
|
18
|
-
color: #000;
|
19
|
-
}
|
20
|
-
|
21
|
-
a {color: #03c}
|
22
|
-
a:hover {
|
23
|
-
background-color: #03c;
|
24
|
-
color: white;
|
25
|
-
text-decoration: none;
|
26
|
-
}
|
27
|
-
|
28
|
-
|
29
|
-
#page {
|
30
|
-
background-color: #f0f0f0;
|
31
|
-
width: 750px;
|
32
|
-
margin: 0;
|
33
|
-
margin-left: auto;
|
34
|
-
margin-right: auto;
|
35
|
-
}
|
36
|
-
|
37
|
-
#content {
|
38
|
-
float: left;
|
39
|
-
background-color: white;
|
40
|
-
border: 3px solid #aaa;
|
41
|
-
border-top: none;
|
42
|
-
padding: 25px;
|
43
|
-
width: 500px;
|
44
|
-
}
|
45
|
-
|
46
|
-
#sidebar {
|
47
|
-
float: right;
|
48
|
-
width: 175px;
|
49
|
-
}
|
50
|
-
|
51
|
-
#footer {
|
52
|
-
clear: both;
|
53
|
-
}
|
54
|
-
|
55
|
-
#header, #about, #getting-started {
|
56
|
-
padding-left: 75px;
|
57
|
-
padding-right: 30px;
|
58
|
-
}
|
59
|
-
|
60
|
-
|
61
|
-
#header {
|
62
|
-
background-image: url("assets/rails.png");
|
63
|
-
background-repeat: no-repeat;
|
64
|
-
background-position: top left;
|
65
|
-
height: 64px;
|
66
|
-
}
|
67
|
-
#header h1, #header h2 {margin: 0}
|
68
|
-
#header h2 {
|
69
|
-
color: #888;
|
70
|
-
font-weight: normal;
|
71
|
-
font-size: 16px;
|
72
|
-
}
|
73
|
-
|
74
|
-
|
75
|
-
#about h3 {
|
76
|
-
margin: 0;
|
77
|
-
margin-bottom: 10px;
|
78
|
-
font-size: 14px;
|
79
|
-
}
|
80
|
-
|
81
|
-
#about-content {
|
82
|
-
background-color: #ffd;
|
83
|
-
border: 1px solid #fc0;
|
84
|
-
margin-left: -55px;
|
85
|
-
margin-right: -10px;
|
86
|
-
}
|
87
|
-
#about-content table {
|
88
|
-
margin-top: 10px;
|
89
|
-
margin-bottom: 10px;
|
90
|
-
font-size: 11px;
|
91
|
-
border-collapse: collapse;
|
92
|
-
}
|
93
|
-
#about-content td {
|
94
|
-
padding: 10px;
|
95
|
-
padding-top: 3px;
|
96
|
-
padding-bottom: 3px;
|
97
|
-
}
|
98
|
-
#about-content td.name {color: #555}
|
99
|
-
#about-content td.value {color: #000}
|
100
|
-
|
101
|
-
#about-content ul {
|
102
|
-
padding: 0;
|
103
|
-
list-style-type: none;
|
104
|
-
}
|
105
|
-
|
106
|
-
#about-content.failure {
|
107
|
-
background-color: #fcc;
|
108
|
-
border: 1px solid #f00;
|
109
|
-
}
|
110
|
-
#about-content.failure p {
|
111
|
-
margin: 0;
|
112
|
-
padding: 10px;
|
113
|
-
}
|
114
|
-
|
115
|
-
|
116
|
-
#getting-started {
|
117
|
-
border-top: 1px solid #ccc;
|
118
|
-
margin-top: 25px;
|
119
|
-
padding-top: 15px;
|
120
|
-
}
|
121
|
-
#getting-started h1 {
|
122
|
-
margin: 0;
|
123
|
-
font-size: 20px;
|
124
|
-
}
|
125
|
-
#getting-started h2 {
|
126
|
-
margin: 0;
|
127
|
-
font-size: 14px;
|
128
|
-
font-weight: normal;
|
129
|
-
color: #333;
|
130
|
-
margin-bottom: 25px;
|
131
|
-
}
|
132
|
-
#getting-started ol {
|
133
|
-
margin-left: 0;
|
134
|
-
padding-left: 0;
|
135
|
-
}
|
136
|
-
#getting-started li {
|
137
|
-
font-size: 18px;
|
138
|
-
color: #888;
|
139
|
-
margin-bottom: 25px;
|
140
|
-
}
|
141
|
-
#getting-started li h2 {
|
142
|
-
margin: 0;
|
143
|
-
font-weight: normal;
|
144
|
-
font-size: 18px;
|
145
|
-
color: #333;
|
146
|
-
}
|
147
|
-
#getting-started li p {
|
148
|
-
color: #555;
|
149
|
-
font-size: 13px;
|
150
|
-
}
|
151
|
-
|
152
|
-
|
153
|
-
#sidebar ul {
|
154
|
-
margin-left: 0;
|
155
|
-
padding-left: 0;
|
156
|
-
}
|
157
|
-
#sidebar ul h3 {
|
158
|
-
margin-top: 25px;
|
159
|
-
font-size: 16px;
|
160
|
-
padding-bottom: 10px;
|
161
|
-
border-bottom: 1px solid #ccc;
|
162
|
-
}
|
163
|
-
#sidebar li {
|
164
|
-
list-style-type: none;
|
165
|
-
}
|
166
|
-
#sidebar ul.links li {
|
167
|
-
margin-bottom: 5px;
|
168
|
-
}
|
169
|
-
|
170
|
-
.filename {
|
171
|
-
font-style: italic;
|
172
|
-
}
|
173
|
-
</style>
|
174
|
-
<script type="text/javascript">
|
175
|
-
function about() {
|
176
|
-
info = document.getElementById('about-content');
|
177
|
-
if (window.XMLHttpRequest)
|
178
|
-
{ xhr = new XMLHttpRequest(); }
|
179
|
-
else
|
180
|
-
{ xhr = new ActiveXObject("Microsoft.XMLHTTP"); }
|
181
|
-
xhr.open("GET","rails/info/properties",false);
|
182
|
-
xhr.send("");
|
183
|
-
info.innerHTML = xhr.responseText;
|
184
|
-
info.style.display = 'block'
|
185
|
-
}
|
186
|
-
</script>
|
187
|
-
</head>
|
188
|
-
<body>
|
189
|
-
<div id="page">
|
190
|
-
<div id="sidebar">
|
191
|
-
<ul id="sidebar-items">
|
192
|
-
<li>
|
193
|
-
<h3>Browse the documentation</h3>
|
194
|
-
<ul class="links">
|
195
|
-
<li><a href="http://guides.rubyonrails.org/">Rails Guides</a></li>
|
196
|
-
<li><a href="http://api.rubyonrails.org/">Rails API</a></li>
|
197
|
-
<li><a href="http://www.ruby-doc.org/core/">Ruby core</a></li>
|
198
|
-
<li><a href="http://www.ruby-doc.org/stdlib/">Ruby standard library</a></li>
|
199
|
-
</ul>
|
200
|
-
</li>
|
201
|
-
</ul>
|
202
|
-
</div>
|
203
|
-
|
204
|
-
<div id="content">
|
205
|
-
<div id="header">
|
206
|
-
<h1>Welcome aboard</h1>
|
207
|
-
<h2>You’re riding Ruby on Rails!</h2>
|
208
|
-
</div>
|
209
|
-
|
210
|
-
<div id="about">
|
211
|
-
<h3><a href="rails/info/properties" onclick="about(); return false">About your application’s environment</a></h3>
|
212
|
-
<div id="about-content" style="display: none"></div>
|
213
|
-
</div>
|
214
|
-
|
215
|
-
<div id="getting-started">
|
216
|
-
<h1>Getting started</h1>
|
217
|
-
<h2>Here’s how to get rolling:</h2>
|
218
|
-
|
219
|
-
<ol>
|
220
|
-
<li>
|
221
|
-
<h2>Use <code>rails generate</code> to create your models and controllers</h2>
|
222
|
-
<p>To see all available options, run it without parameters.</p>
|
223
|
-
</li>
|
224
|
-
|
225
|
-
<li>
|
226
|
-
<h2>Set up a default route and remove <span class="filename">public/index.html</span></h2>
|
227
|
-
<p>Routes are set up in <span class="filename">config/routes.rb</span>.</p>
|
228
|
-
</li>
|
229
|
-
|
230
|
-
<li>
|
231
|
-
<h2>Create your database</h2>
|
232
|
-
<p>Run <code>rake db:create</code> to create your database. If you're not using SQLite (the default), edit <span class="filename">config/database.yml</span> with your username and password.</p>
|
233
|
-
</li>
|
234
|
-
</ol>
|
235
|
-
</div>
|
236
|
-
</div>
|
237
|
-
|
238
|
-
<div id="footer"> </div>
|
239
|
-
</div>
|
240
|
-
</body>
|
241
|
-
</html>
|