awesome_translations 0.0.58 → 0.0.59

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +1 -1
  3. data/app/controllers/awesome_translations/groups_controller.rb +1 -0
  4. data/app/controllers/awesome_translations/handlers_controller.rb +1 -0
  5. data/app/helpers/awesome_translations/application_helper.rb +0 -1
  6. data/app/models/awesome_translations/group.rb +2 -2
  7. data/app/models/awesome_translations/translated_value.rb +4 -1
  8. data/app/models/awesome_translations/translation.rb +9 -4
  9. data/app/views/awesome_translations/duplicates/index.html.erb +2 -2
  10. data/app/views/awesome_translations/groups/show.html.erb +9 -4
  11. data/app/views/awesome_translations/handler_translations/index.html.erb +21 -6
  12. data/app/views/awesome_translations/handlers/show.html.erb +29 -6
  13. data/app/views/awesome_translations/movals/index.html.erb +2 -2
  14. data/lib/awesome_translations.rb +1 -1
  15. data/lib/awesome_translations/cache_database_generator.rb +2 -2
  16. data/lib/awesome_translations/cache_database_generator/group.rb +1 -1
  17. data/lib/awesome_translations/cache_database_generator/handler_translation.rb +2 -0
  18. data/lib/awesome_translations/config.rb +3 -3
  19. data/lib/awesome_translations/engine.rb +0 -4
  20. data/lib/awesome_translations/erb_inspector.rb +1 -0
  21. data/lib/awesome_translations/global_translator.rb +9 -23
  22. data/lib/awesome_translations/handlers.rb +1 -0
  23. data/lib/awesome_translations/handlers/file_handler.rb +1 -0
  24. data/lib/awesome_translations/handlers/model_handler.rb +1 -1
  25. data/lib/awesome_translations/handlers/validations_handler.rb +1 -1
  26. data/lib/awesome_translations/model_inspector.rb +8 -5
  27. data/lib/awesome_translations/translation_migrator.rb +1 -1
  28. data/lib/awesome_translations/version.rb +1 -1
  29. data/lib/tasks/awesome_translations_tasks.rake +1 -1
  30. data/spec/controllers/groups_controller_spec.rb +5 -5
  31. data/spec/controllers/handlers_controller_spec.rb +1 -1
  32. data/spec/dummy/Rakefile +1 -1
  33. data/spec/dummy/app/assets/config/manifest.js +3 -0
  34. data/spec/dummy/app/controllers/users_controller.rb +1 -1
  35. data/spec/dummy/app/mailers/my_mailer.rb +1 -1
  36. data/spec/dummy/app/models/application_record.rb +3 -0
  37. data/spec/dummy/app/models/role.rb +1 -1
  38. data/spec/dummy/app/models/user.rb +1 -1
  39. data/spec/dummy/bin/bundle +1 -1
  40. data/spec/dummy/bin/rails +1 -1
  41. data/spec/dummy/config/application.rb +7 -2
  42. data/spec/dummy/config/boot.rb +2 -2
  43. data/spec/dummy/config/environment.rb +1 -1
  44. data/spec/dummy/db/awesome_translations.sqlite3 +0 -0
  45. data/spec/dummy/db/development.sqlite3 +0 -0
  46. data/spec/dummy/db/test.sqlite3 +0 -0
  47. data/spec/dummy/log/development.log +79 -0
  48. data/spec/dummy/log/test.log +1910 -0
  49. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/-o/-oFcVYifzG9CN5_s1hdowmNEkOY9nMkeYSN1wi8jK9k.cache +0 -0
  50. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/0-/0-1MiAUTzmkJ19QVNrjLw3HNw2Cu4279NlmUcUv0lnU.cache +1 -0
  51. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/1R/1RUC_iIhcuw4UJeKhOqLFN8264iDG1axfV3uVyPv0wg.cache +1 -0
  52. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/2m/2mnPY9uUnBNkGHLxtFaWv5hB3oA7sY2K1ZtwQlZLnAY.cache +2 -0
  53. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/3N/3NnKgR2TsTI1qCXKZpts0uJzp2dRJcoYp3nnFU6YE4o.cache +2 -0
  54. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/5U/5U8HCshUrO4uN8GT_N4K-MtrOiG-4cWdiepxNuvIjAw.cache +1 -0
  55. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/6y/6y2qhWDpnSTpsocv2lVSclXFxpCRU78VjU0sy2FGrWc.cache +0 -0
  56. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/8f/8f4REKYOWkNfHexyAVqGXnbOP3vky_ANapWzlRMDeQ4.cache +3 -0
  57. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/8p/8pzZq0f95KJrJtOmdr_19FPTeyHX3zMnw6Epsu3T_6c.cache +1 -0
  58. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/8x/8xTH_c2XZMdMXFHSjlUQD4pTAYTNqnrTrjDURs8jlFI.cache +1 -0
  59. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/AC/ACPB0Rs6DHQU6RIjgT-BODcpFLYUC_sPb9CvJGvg6ro.cache +1 -0
  60. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/AJ/AJ3ShPZKDgRfZy8niYD_tk4u0Ur5Y6oC85d-0oXgc3w.cache +1 -0
  61. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/AU/AUklJJKwz_vqy3TUoKDyB5ounU8pAqv6-_tES3aPoZ8.cache +0 -0
  62. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/CP/CPuNl6dzr9CzS_s74a_K5yuTPy1ch0_-ehTglX1zaEE.cache +1 -0
  63. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/CV/CVBUxdOogbkuDTae7pFS7i66HyowCSP07Os91LwRmHY.cache +0 -0
  64. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Ca/CaGQBiCuFgkHQ5gw8ZnGQqO8iP1md3GcllDsmaKBFdQ.cache +2 -0
  65. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Do/Do83AoOat5W-c1g7piDGy2GMmffsY6JY0Qfuh5PY3GM.cache +2 -0
  66. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/ER/EREGJziB-yMwOXwJeDrZ6Tie8HJU33_JSMXwzy7JsG4.cache +0 -0
  67. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Fc/FcJbnT7qHcLV5Zp_u7NV_yomOI9o9yG-F00bV0Gzm_Q.cache +1 -0
  68. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Mj/MjwYGG9GkHD1fwwH2bg66EBYl3zCA_mqeDF9otey4-U.cache +3 -0
  69. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/O6/O6K_G66TEscDh-j-DIIwfAqivslF8smPlcj9dJCvrh4.cache +0 -0
  70. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/O6/O6zA2BS4Y306Mmq4fuRnINim1pUdJgZvv_GJkGYXFxw.cache +1 -0
  71. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Ql/QlbxNnG-vjEDZ8GyOJHhNZY-GeHvDiuCj8IATbE9C8w.cache +1 -0
  72. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/S5/S57ilTeMjIW4abqhMiTmEi59zjS9uSXp697eO1D1Wjo.cache +1 -0
  73. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/S8/S86Mp1PRbiyejdN42WqWkRnoIoKRl4WoqM5lKxqw1w4.cache +1 -0
  74. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Sb/Sb1Vug319YfPL2Rci1PLMLXJjeIFYcNbHb5hKOvO1eo.cache +2 -0
  75. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/TC/TCAloV783-iAe72Q34cyIRfs-xPaNfSgPcPF2dl-zYI.cache +0 -0
  76. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Xn/Xn4epb06guWXnirWNYPta7ddzOkxd1aVDzRMoXp8pjM.cache +1 -0
  77. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/aa/aaoYFMRQGOYTpfFXf34S0CVVWaAJUx6s8QsSHm476OQ.cache +1 -0
  78. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/cK/cK9VEAGHFBzTxd0ICAK2Fv9RWWgiv9I6347by_BYm1w.cache +0 -0
  79. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/gc/gcjjMGVBrPIbM3oh-VsmXt-W8kWTs2Hc0sM2r5hicgQ.cache +1 -0
  80. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/hc/hc75Wwlo1W1FF6zeSSelZ-DXn-n6YkTrvq3_yoXpydw.cache +0 -0
  81. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/iF/iFAZApKjMydtC8Y6hvIXTy-zC2cfmbTrsYlU62u8sJU.cache +1 -0
  82. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/iR/iRIYdMKKwG2D6Tnj-0pGybHLEINmWZ8211nkI700-0Y.cache +0 -0
  83. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/l2/l2s6YvBxO6tXxM01zv13Dv6jpXaksukCd31VGPl6vPI.cache +1 -0
  84. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/mX/mXfx3VRudxpXrRx1aejtNA5YHOwND3kwWUfvdXHSors.cache +2 -0
  85. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/p7/p70iWC7uyeRLwIEniw-3RltmTZ-lz45IJdePewoXyHY.cache +0 -0
  86. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/pv/pv6tV3CDkIAmLXdU8EPLlNEkXAKJPufVD4VP30o4fWo.cache +2 -0
  87. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache +2 -0
  88. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/qZ/qZ6ZFXF-wqwyHA2DvJW0tnnFPW-sRmoNY7ysyNfUdi0.cache +1 -0
  89. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/rH/rH2d5ogZr608pUvHYHKRlqMZTk7BNi8Qp5nL1PLrir8.cache +0 -0
  90. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/rI/rITk_65QtUwq61bjRPAksGeJxbLUFfz-sFPnQiZPHjw.cache +3 -0
  91. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/sH/sHqNaY2cQIVvwCv9thQRcI9KaeVjzBt9-dJ8mKnCKMk.cache +0 -0
  92. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache +2 -0
  93. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/xk/xkvAEoJDntdxUR56voDrW44MZ8Cx6i9WXQXrLDh2A_w.cache +2 -0
  94. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/za/zaxpzmSeETtWCbb5X2jLBDtr4Ei16ZUatImF5HE6Mpo.cache +1 -0
  95. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/zh/zhMgApDdWwFGN9H6KcXRKPtCaQtDHW91V9n3vt_EhoA.cache +1 -0
  96. data/spec/factories/group.rb +2 -2
  97. data/spec/factories/handler.rb +4 -4
  98. data/spec/factories/handler_translation.rb +5 -5
  99. data/spec/factories/translation_key.rb +1 -1
  100. data/spec/factories/translation_value.rb +3 -3
  101. data/spec/features/clean_ups_spec.rb +1 -1
  102. data/spec/features/duplicates_spec.rb +4 -4
  103. data/spec/features/movals_spec.rb +4 -4
  104. data/spec/handlers/file_handler_spec.rb +6 -6
  105. data/spec/handlers/model_handler_spec.rb +2 -2
  106. data/spec/handlers/validations_handler_spec.rb +3 -3
  107. data/spec/handlers_spec.rb +1 -1
  108. data/spec/lib/cache_database_generator_spec.rb +3 -3
  109. data/spec/lib/erb_inspector/translation_inspector_spec.rb +1 -1
  110. data/spec/lib/erb_inspector_spec.rb +5 -5
  111. data/spec/lib/model_inspector_spec.rb +4 -4
  112. data/spec/lib/translation_migrator_spec.rb +2 -2
  113. data/spec/models/awesome_translations/handler_spec.rb +1 -1
  114. data/spec/models/awesome_translations/translation_spec.rb +7 -2
  115. data/spec/spec_helper.rb +8 -6
  116. metadata +179 -93
  117. data/config/initializers/simple_form_ransack.rb +0 -1
@@ -1 +0,0 @@
1
- Rails.application.config.i18n.load_path += SimpleFormRansack.locale_files