gettext_simple_rails 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +2 -2
  3. data/lib/gettext_simple_rails.rb +47 -0
  4. data/lib/gettext_simple_rails/i18n_injector.rb +73 -3
  5. data/lib/gettext_simple_rails/translators/active_admin_translator.rb +22 -0
  6. data/lib/gettext_simple_rails/translators/date_translator.rb +30 -0
  7. data/lib/gettext_simple_rails/translators/devise_translator.rb +9 -0
  8. data/lib/gettext_simple_rails/translators/simple_form_translator.rb +9 -0
  9. data/lib/gettext_simple_rails/version.rb +1 -1
  10. data/lib/tasks/gettext_simple_rails_tasks.rake +23 -0
  11. data/spec/date_translator_spec.rb +24 -0
  12. data/{test → spec}/dummy/README.rdoc +0 -0
  13. data/{test → spec}/dummy/Rakefile +0 -0
  14. data/{test → spec}/dummy/app/assets/javascripts/application.js +0 -0
  15. data/{test → spec}/dummy/app/assets/stylesheets/application.css +0 -0
  16. data/{test → spec}/dummy/app/controllers/application_controller.rb +0 -0
  17. data/{test → spec}/dummy/app/helpers/application_helper.rb +0 -0
  18. data/{test → spec}/dummy/app/models/role.rb +0 -0
  19. data/{test → spec}/dummy/app/models/user.rb +0 -0
  20. data/{test → spec}/dummy/app/views/layouts/application.html.erb +0 -0
  21. data/{test → spec}/dummy/bin/bundle +0 -0
  22. data/{test → spec}/dummy/bin/rails +0 -0
  23. data/{test → spec}/dummy/bin/rake +0 -0
  24. data/{test → spec}/dummy/config.ru +0 -0
  25. data/{test → spec}/dummy/config/application.rb +0 -0
  26. data/{test → spec}/dummy/config/boot.rb +0 -0
  27. data/{test → spec}/dummy/config/database.yml +0 -0
  28. data/{test → spec}/dummy/config/environment.rb +0 -0
  29. data/{test → spec}/dummy/config/environments/development.rb +0 -0
  30. data/{test → spec}/dummy/config/environments/production.rb +0 -0
  31. data/{test → spec}/dummy/config/environments/test.rb +0 -0
  32. data/{test → spec}/dummy/config/initializers/backtrace_silencers.rb +0 -0
  33. data/{test → spec}/dummy/config/initializers/cookies_serializer.rb +0 -0
  34. data/{test → spec}/dummy/config/initializers/filter_parameter_logging.rb +0 -0
  35. data/{test → spec}/dummy/config/initializers/inflections.rb +0 -0
  36. data/{test → spec}/dummy/config/initializers/mime_types.rb +0 -0
  37. data/{test → spec}/dummy/config/initializers/session_store.rb +0 -0
  38. data/{test → spec}/dummy/config/initializers/wrap_parameters.rb +0 -0
  39. data/{test → spec}/dummy/config/locales/da.yml +0 -0
  40. data/{test → spec}/dummy/config/locales/en.yml +0 -0
  41. data/{test → spec}/dummy/config/routes.rb +0 -0
  42. data/{test → spec}/dummy/config/secrets.yml +0 -0
  43. data/{test → spec}/dummy/db/development.sqlite3 +0 -0
  44. data/{test → spec}/dummy/db/migrate/20140410170418_create_users.rb +0 -0
  45. data/{test → spec}/dummy/db/migrate/20140411112622_create_roles.rb +0 -0
  46. data/{test → spec}/dummy/db/schema.rb +0 -0
  47. data/{test → spec}/dummy/db/test.sqlite3 +0 -0
  48. data/{test → spec}/dummy/lib/gettext_simple_rails/models/role_model_translations.rb +3 -0
  49. data/{test → spec}/dummy/lib/gettext_simple_rails/models/user_model_translations.rb +3 -0
  50. data/{test → spec}/dummy/log/development.log +0 -0
  51. data/{test → spec}/dummy/public/404.html +0 -0
  52. data/{test → spec}/dummy/public/422.html +0 -0
  53. data/{test → spec}/dummy/public/500.html +0 -0
  54. data/{test → spec}/dummy/public/favicon.ico +0 -0
  55. data/{test → spec}/dummy/test/fixtures/roles.yml +0 -0
  56. data/{test → spec}/dummy/test/fixtures/users.yml +0 -0
  57. data/{test → spec}/dummy/test/models/role_test.rb +0 -0
  58. data/{test → spec}/dummy/test/models/user_test.rb +0 -0
  59. data/{test/gettext_simple_rails_test.rb → spec/gettext_simple_rails_spec.rb} +5 -5
  60. data/spec/spec_helper.rb +45 -0
  61. data/{test → spec}/test_helper.rb +0 -0
  62. metadata +122 -105
  63. data/lib/gettext_simple_rails/simple_form_detector.rb +0 -9
  64. data/test/dummy/log/test.log +0 -630
  65. data/test/integration/navigation_test.rb +0 -10
@@ -1,10 +0,0 @@
1
- require 'test_helper'
2
-
3
- class NavigationTest < ActionDispatch::IntegrationTest
4
- fixtures :all
5
-
6
- # test "the truth" do
7
- # assert true
8
- # end
9
- end
10
-