awesome_translations 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/awesome_translations/handlers/validations_handler.rb +22 -5
- data/lib/awesome_translations/version.rb +1 -1
- data/spec/dummy/app/models/user.rb +1 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +18190 -0
- data/spec/dummy/log/test.log +11400 -373
- data/spec/dummy/tmp/cache/assets/development/sass/79bc6a1530be4e47bb2bf0dda4943bc0e439789f/application.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/79bc6a1530be4e47bb2bf0dda4943bc0e439789f/groups.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/{test/sass/cd5c2e50cf21c8dd5320bc76db0c28d83e16429a → development/sass/79bc6a1530be4e47bb2bf0dda4943bc0e439789f}/layout.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/0cc5658eb161251c8bd64e1cf25e2191 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/1dfc909a73e53e47b341f67cfd8a3fc3 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2128d293dc8ef13115c1f5d64b5acfc9 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3bd5629974bb1919d009bcb1da7a7e49 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/50b9bcf05a8718d9cb5b99276f154ea9 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/5316fc0620afefc2ba81b690c8e2c34d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/538966109f3bbd58bfb717ad57a37096 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/58b9ed99ad62ba462ca6a9272b96bef3 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/697d977cf9fc7e54534f5e29b0832836 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6aab60b365535cc305f37a738e75868b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6db8498274efddac6691248cc9afe855 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/81ab882fef1228d654a7c697f2324309 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/908bf508cc68079cab720d6b9c36cb95 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/91090eda0f104056144ac17a4fcae91c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a3c8104e5830cd7047c6a3a1c1e2ba32 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b512f2b016bd3aef8c28fa661e01308c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/bd49bb0a6f5dfd284a750fb9cab40d85 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c39fce5fa19b758734af29527d4185ca +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c8ecba0dbc7774cd6db79cb7fbe1ef3e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/cb595904fcf7acdedf2b95571442fc59 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/eb9ed717a7ef467bf260b11dfc8451eb +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/-xIdrBXI3YmhV41txPWqpBSY9pK3nOlnMf_tEoH7N-M.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/04FzsaInr2Y6sYN2mm0rgOiwo6tir7gbY728nGUWLFo.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/1qsmk1lf7TX1GNRePYEZoKSDWfCwA7pyv7myARLkaQk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/2p155H920Y76tD9Gj4HuvSeyKPX48gW2EeT0uJ-qDC4.cache +2 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/4wrAyfUn-EK6EXn7W8gD4gVVVWlabjkGULZy1VWAz48.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/50fOcYI8btz2Ua8cJrAGfh7uxPgsxbmCU9_ElJsZR10.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/6AKSuLQ7-rmru8z6X93bpAnu7f-pBhVaPqrLnlZEEr4.cache +3 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/6COttfT2lr_OcQNS6FWwoe5Dckyn9GyLcG838tntSrI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/7EHTFFToRZu5VrDhHFvA9gEfhiAOmIFb0DQuWcbN7jk.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/7QKZ7V7qzDK3EtnZ695pi2UHVib9nj_W6crYsRXdL3k.cache +2 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/7gTxlHmDCoe0pK3toG5j6HVAgPWLlbnmsma34AAdLMU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/8EmhvumFd57Y2fDDpbaI6iqvzp7CFbJ2FSz2tmflk4Y.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/8g8-QNcNu5t3peDVtV3YsKlN1FsBOc2jNk2jgleD4C8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/8zUJR8yWUhGZJYABZTaSKnZxRKvu9k-IHW09ioTZ7a0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/9FtH8_zmw6vl-JBtl2mpWPTu1SZtJkwq7va6MsSuCK0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/9iQKiA8r9gbiEbHy1D1kb0hv-tqaFT6Jyw1b4P9flos.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Ap5o3Ju8LsP2SlQJ8q_CubJ6eGCjAvxtNiF4FaDTyn8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/AwkOC2gVDWMkSj54qADI_lu4Sfz9TS2FLAl0uAnoDkk.cache +2 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/BKzNyYOdP2xGdM8ta2UTFAVjZqG0hO3xxwRLRo0ZL7Y.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/BrDzTsxp9UnHHzHEX28hHrcLUZv2vC-CcToUdBmjgHo.cache +2 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/CZF_u2ho2W4C9GkGNOOBIMpdt2dTrBk2i1D2K-lhJmU.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/D-3iJYFRFCszoXQb3LfIC0LafCPRp34fERWGoFHCueo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/EWfamfuyaQxRui6HTk7sy39pc-i01LRgB2rlhjjgpo4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/FBwAuPK6BCbMbGWYxYwBMw3DoucwiFMce9YeNnwsQ0Q.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/GDzC1chWWGmhgF3fUvOghjlCyrUvZCCVC_YH1oldtsM.cache +2 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/HhP7z_-jM7ieRF_udBe4MjM25_qz8cYdxXBHe3CF3cY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/HxyrnSU7mRWWyTD4be5FrFnaPcu4FrWEIOFoLOb4ERg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/IANLfG9pasfKSn3jfOtNoftMpg1xuANLJOullYmgiAs.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ICWn4xffNF1HNqIMLVH45031SRVzi1bReaei0ppXuOM.cache +2 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/LtuKwRcTWtNm0-9U116mcMNSEOapgDhyZaj926hhVPs.cache +2 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/MV7nSlI_EawYLxAmzz363K2T_6_DRSgG7pikMLxcKFE.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/MzYsi2S393224patsQC_5aJpDwq4F97WspZCPEXC2Q0.cache +2 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/OKtVHXgCUmgeLEfHFHApLha4IRibCyCkw3GqBocxoSo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/PamLXmiOyVwyw3ftfD8aDs2TwFsBjAz97G7SDPGSdmQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/QFzQ2KIDt_SMO7fZENHlO8gKKSagceUdQlcIL16Geq0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Q_4489lWyuro8VI0w2abEep_5SKtImHW34j5ExXsaA8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Rhafj2GpRZtp-MvV8OPk2PMmp5ovrXMGbfkfJDC5rJk.cache +3 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/TMQdzYiLouXIt5E5YfAQG0CuYeJn9z0X-uG5N0kJfm0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/UpB_Ha9hbMTiPjLPu74wM2oQeFksqnwGf1o8ywDJ4Ek.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/dv-t_-azYNWr2Fxh4xuYgZ5IJHOubVDYbcaFQKwW5-k.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/gg9k3Z7hedEOKE3TitDeSpuh19j2yNXWtGyM9JXXpIA.cache +2 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/hZ88W4bAHtCwBVig-JsakmHNwpIfGIfixvKJ1b876Qw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ioHTiBF-8-6CURnZ7YlpQrSyfHbnQEoAncw3Hkpc-fI.cache +2 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/js_-GbuvJQ4VGhFUV6QutWkBN2J467qAxjx2Yf91Eak.cache +2 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/kCGpSXjVHLbwe04B7WxFFD21HfXCYpg3LC3PEky9sZI.cache +2 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/lBXKiv2k-ODSn6dfiYEUn3l_EDOu0ge79iuhn-DAqZk.cache +2 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/lYCH7zVb6ECpax-WuyKXHfMlu2Lim5XVE8jQKgqPurY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/luNSeFt-kFkFmbWnLPI-Td9g1m6FkZOlE8AGFhB1Mbw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/lw2zQNROUdFTa_sR2kQ9LivXX3Ba0c8FY2kBW3g4FFE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ov3EDe0iKlpPkgh1KjahCK1OVL8uWYQ1cVNUaiGmlG0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/qeJ2RaBHZkRM-mPrW6qCLdSi-iiJFmRiTjfDbVP66uw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/tIQSpYE9c-PiToBFBJOsSmd0V3AjOl72qo6jJRoc7_0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/u0jNXsg3M7MVjfjMUd35w_z7eJTwugxonLvMEwJRNXE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/upcnXbukMqcMbxXpDLFBr2SnYGoCqc6d5mMfrwuoVSc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/vg7YZAtUIKxon4DPUdCac22lnxPs0NyOjlXpbdFDgaQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/vlWxgBVBSTI0wY3TZw7lWnop3zBCeSBsWksOmuscto8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/w2WWeg633cG8q01-uNSRUMZw3s-S1ZVq3xO-1x_6F98.cache +1 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/zLIiPZHKBB7dMguv8917pHsofobSuT1C_bkatR1QRPw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ziuIMdFPkGTyTbAtDx8B7YubNSIvQdzkDOVXUwo7NIE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sass/{cd5c2e50cf21c8dd5320bc76db0c28d83e16429a → 79bc6a1530be4e47bb2bf0dda4943bc0e439789f}/application.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/79bc6a1530be4e47bb2bf0dda4943bc0e439789f/groups.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/79bc6a1530be4e47bb2bf0dda4943bc0e439789f/layout.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/{3fe48a470d9b6e4ceed3bd4302a3ead5 → 1b2a7d537faf315ae13485445854a5ef} +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2128d293dc8ef13115c1f5d64b5acfc9 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/3a98370f571a26666587622ab8526b31 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/50b9bcf05a8718d9cb5b99276f154ea9 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/5316fc0620afefc2ba81b690c8e2c34d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/538966109f3bbd58bfb717ad57a37096 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/58b9ed99ad62ba462ca6a9272b96bef3 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/{30d1b0dcdf4b100d1d37280a124f042c → 697d977cf9fc7e54534f5e29b0832836} +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/{5205e0ea4a81c07931d76f6621419f1b → 6aab60b365535cc305f37a738e75868b} +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6db8498274efddac6691248cc9afe855 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/81ab882fef1228d654a7c697f2324309 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/908bf508cc68079cab720d6b9c36cb95 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/{c2353b9baa836d259e56664b79ac4efc → 91090eda0f104056144ac17a4fcae91c} +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/{0e1e2425282f6439838f0c8d9072d789 → 91406f9a3422285f8475d13d5093271b} +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a3c8104e5830cd7047c6a3a1c1e2ba32 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/{8d153aa951c8833e3f6d3bd223e75f47 → b512f2b016bd3aef8c28fa661e01308c} +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/bd49bb0a6f5dfd284a750fb9cab40d85 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c1092209770ff950c5697ec886327353 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c2fda0b675f9f971e9328c76254e44b6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c39fce5fa19b758734af29527d4185ca +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/{aaa784da6c59545e6178b0adc661aafe → c6de7a48a0cb4668cc20ebe89d235b10} +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/cb595904fcf7acdedf2b95571442fc59 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d748e38dac6a003cac60f346aaaf324f +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/{b9426c2a279a937b82fa062bbb75af13 → dcd0b2d0aaa104a4e915d7d4a046436d} +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/eb9ed717a7ef467bf260b11dfc8451eb +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/-xIdrBXI3YmhV41txPWqpBSY9pK3nOlnMf_tEoH7N-M.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/1A8wQ-ifsy7jBs9T0QABiYGCpJWneLF2UPFgWl32mxU.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/2p155H920Y76tD9Gj4HuvSeyKPX48gW2EeT0uJ-qDC4.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/39nGyUnuGwDymSESW1DL-_ZP5z2KXgoqPQbO_PmFLVc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/5154fwnuK_3Md7cMy15EvOV7ga2yxeSoBQPQKxAhh1M.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/6AKSuLQ7-rmru8z6X93bpAnu7f-pBhVaPqrLnlZEEr4.cache +3 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/6ZydpogL4gO4wlwf40vzZLyPUgQNOqmRzzKY6VtWSFs.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/7EHTFFToRZu5VrDhHFvA9gEfhiAOmIFb0DQuWcbN7jk.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/7QKZ7V7qzDK3EtnZ695pi2UHVib9nj_W6crYsRXdL3k.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/7gTxlHmDCoe0pK3toG5j6HVAgPWLlbnmsma34AAdLMU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/7vocXMrImF5hz9rJvs2FpZjIhNQ5rk9XCPYcycMJAk4.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/9FtH8_zmw6vl-JBtl2mpWPTu1SZtJkwq7va6MsSuCK0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Ap5o3Ju8LsP2SlQJ8q_CubJ6eGCjAvxtNiF4FaDTyn8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/AwkOC2gVDWMkSj54qADI_lu4Sfz9TS2FLAl0uAnoDkk.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/BKzNyYOdP2xGdM8ta2UTFAVjZqG0hO3xxwRLRo0ZL7Y.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/BrDzTsxp9UnHHzHEX28hHrcLUZv2vC-CcToUdBmjgHo.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/CZF_u2ho2W4C9GkGNOOBIMpdt2dTrBk2i1D2K-lhJmU.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/FBwAuPK6BCbMbGWYxYwBMw3DoucwiFMce9YeNnwsQ0Q.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/GDzC1chWWGmhgF3fUvOghjlCyrUvZCCVC_YH1oldtsM.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/HUkunAxe9Fh8y2t11XZEpJnpvhHM_UKRHA6txWiKy8E.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ICWn4xffNF1HNqIMLVH45031SRVzi1bReaei0ppXuOM.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/LtuKwRcTWtNm0-9U116mcMNSEOapgDhyZaj926hhVPs.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/MzYsi2S393224patsQC_5aJpDwq4F97WspZCPEXC2Q0.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/PamLXmiOyVwyw3ftfD8aDs2TwFsBjAz97G7SDPGSdmQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Rhafj2GpRZtp-MvV8OPk2PMmp5ovrXMGbfkfJDC5rJk.cache +3 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/UpB_Ha9hbMTiPjLPu74wM2oQeFksqnwGf1o8ywDJ4Ek.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/VtjBUD7vGoYLG8W3JVW_vNWW_N5elhbf0e4RTee-7Ow.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Yi8I2PINpzaFSJWwVocKfpueusL8M1_5nrMx5lHIKTQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Zc7jGNCk6mFb05cRvvwBM-Qds541yngGy7rrHKmVU6s.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Zn1XhXMXJwsSCOKjkot9hZawN5qjOrMHbtjfEh1SpKg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/_3yNG_7ETpXbBK7hSr2P6Kgm_drWvRRJc0nD2iXzz8s.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/_fza5_g_S6qIdQahDpw4v5TxMgyfxRedZ2jaFX7GCiM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/a9ISJNTjcVsfdRCG5tgPZynUMkf1JoNJYmuLkkchBdA.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ac3id3tXT5UPTMmwAxnrNu59bzPIqeRr6KAEQmot3gg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/dbwoXGGpZ7O1xOhIg7hBjyuHSHmV1jzbmAFEI-wHgyI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/dv-t_-azYNWr2Fxh4xuYgZ5IJHOubVDYbcaFQKwW5-k.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/gTN-wmzz9QVnNJ2Ss4t6n37Gk7ixuoiNbTxESwT8-3o.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/gg9k3Z7hedEOKE3TitDeSpuh19j2yNXWtGyM9JXXpIA.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ioHTiBF-8-6CURnZ7YlpQrSyfHbnQEoAncw3Hkpc-fI.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/js_-GbuvJQ4VGhFUV6QutWkBN2J467qAxjx2Yf91Eak.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/kCGpSXjVHLbwe04B7WxFFD21HfXCYpg3LC3PEky9sZI.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/khZymZd6HrT91ZukScOLmxMgJqFSWZaPA6CkQuEBzuA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/lBXKiv2k-ODSn6dfiYEUn3l_EDOu0ge79iuhn-DAqZk.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/lYCH7zVb6ECpax-WuyKXHfMlu2Lim5XVE8jQKgqPurY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/n5Nok1YwPgyBiS2xW0dnDxT4fZzGmPZAbGbgdl0HgHk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/o3OPTr3pf07qCW0LsK5iuRMcsNy3q7BXmPyebfbayH4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ov3EDe0iKlpPkgh1KjahCK1OVL8uWYQ1cVNUaiGmlG0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/qtez3V5RoYAjFDOGqeMvg6p5zWk6WamsIOO5dYrFpNc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/tDyWfi6loGDH2VY6sIDeRy4ELlPce1d72GBFRDu0eoA.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/u0jNXsg3M7MVjfjMUd35w_z7eJTwugxonLvMEwJRNXE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/vg7YZAtUIKxon4DPUdCac22lnxPs0NyOjlXpbdFDgaQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/vxwwk_1slj4fcevNvfqES3BdOztJrJQ231TaeFLFUOQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/w-moWH2uaJxkP0iAQmPypxZoAJoOtMVVkeQ_3ucccFg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/w2WWeg633cG8q01-uNSRUMZw3s-S1ZVq3xO-1x_6F98.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/xoSaAGdIEiGSuQOIsR7F32U5bfhjw8_daxc8TyKjldw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/zLIiPZHKBB7dMguv8917pHsofobSuT1C_bkatR1QRPw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ziuIMdFPkGTyTbAtDx8B7YubNSIvQdzkDOVXUwo7NIE.cache +1 -0
- data/spec/handlers/validations_handler_spec.rb +7 -1
- data/spec/lib/erb_inspector/translation_inspector_spec.rb +12 -0
- metadata +408 -90
- data/spec/dummy/tmp/cache/assets/test/sass/cd5c2e50cf21c8dd5320bc76db0c28d83e16429a/groups.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/40c039851f1e9c7652e79559d5f0eb57 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/476b87a00813499bb0c5994cfb1617fe +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/4eaa569e863732fc01883e425e991e3b +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6f26f574ff8dfe3727a8b37e0eb78e89 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/8277106af358b15d5d9ea5f25e6c16b9 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d242c6bd6f900ddf1e2da56629ea4214 +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4612144d818d762a95b0f229936a21d2fc45a8e8
|
4
|
+
data.tar.gz: a7e747ff343c5e5725dcff124cbd239921501bd8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44ae421d1d3e6f35c6c355d07722b775fa0bcc45f509c941742232287fc48e895db9e730c1508ff9e7613eae8607d57ab1b5d7b49dea2c598f5eac16f6b21c7e
|
7
|
+
data.tar.gz: 9442400bc704ed650c0b34f042271e9fc5c5f453024c3bed4e63ef9770f1aff9e739b5e041326a1932e09ce6875e6b4348b1cd5fcec9f83ef0d7b0918570e09b
|
@@ -17,11 +17,19 @@ class AwesomeTranslations::Handlers::ValidationsHandler < AwesomeTranslations::H
|
|
17
17
|
|
18
18
|
model_inspector.clazz._validators.each do |attribute_name, validators|
|
19
19
|
validators.each do |validator|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
20
|
+
if validator.is_a?(ActiveModel::Validations::LengthValidator)
|
21
|
+
translations_for_length_validator(validator, model_inspector, attribute_name, yielder)
|
22
|
+
elsif validator.is_a?(ActiveModel::Validations::FormatValidator)
|
23
|
+
translations_for_format_validator(validator, model_inspector, attribute_name, yielder)
|
24
|
+
elsif validator.is_a?(ActiveRecord::Validations::UniquenessValidator)
|
25
|
+
translations_for_uniqueness_validator(validator, model_inspector, attribute_name, yielder)
|
26
|
+
elsif validator.class.name == "ActiveRecord::Validations::PresenceValidator"
|
27
|
+
translations_for_presence_validator(validator, model_inspector, attribute_name, yielder)
|
28
|
+
elsif validator.class.name == "EmailValidator"
|
29
|
+
translations_for_email_validator(validator, model_inspector, attribute_name, yielder)
|
30
|
+
elsif validator.class.name == "ActiveModel::Validations::ConfirmationValidator"
|
31
|
+
translations_for_confirmation_validator(validator, model_inspector, attribute_name, yielder)
|
32
|
+
end
|
25
33
|
end
|
26
34
|
end
|
27
35
|
end
|
@@ -59,6 +67,15 @@ private
|
|
59
67
|
add_translation("invalid", model_inspector, attribute_name, yielder) # "is invalid"
|
60
68
|
end
|
61
69
|
|
70
|
+
def translations_for_confirmation_validator(validator, model_inspector, attribute_name, yielder)
|
71
|
+
snake_clazz_name = StringCases.camel_to_snake(model_inspector.clazz.name)
|
72
|
+
|
73
|
+
yielder << AwesomeTranslations::Translation.new(
|
74
|
+
key: "activerecord.attributes.#{snake_clazz_name}.#{attribute_name}_confirmation",
|
75
|
+
dir: "#{Rails.root}/config/locales/awesome_translations/models/#{snake_clazz_name}"
|
76
|
+
)
|
77
|
+
end
|
78
|
+
|
62
79
|
def add_translation(key, model_inspector, attribute_name, yielder)
|
63
80
|
snake_clazz_name = StringCases.camel_to_snake(model_inspector.clazz.name)
|
64
81
|
|
Binary file
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|