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.
- checksums.yaml +4 -4
- data/Rakefile +2 -2
- data/lib/gettext_simple_rails.rb +47 -0
- data/lib/gettext_simple_rails/i18n_injector.rb +73 -3
- data/lib/gettext_simple_rails/translators/active_admin_translator.rb +22 -0
- data/lib/gettext_simple_rails/translators/date_translator.rb +30 -0
- data/lib/gettext_simple_rails/translators/devise_translator.rb +9 -0
- data/lib/gettext_simple_rails/translators/simple_form_translator.rb +9 -0
- data/lib/gettext_simple_rails/version.rb +1 -1
- data/lib/tasks/gettext_simple_rails_tasks.rake +23 -0
- data/spec/date_translator_spec.rb +24 -0
- data/{test → spec}/dummy/README.rdoc +0 -0
- data/{test → spec}/dummy/Rakefile +0 -0
- data/{test → spec}/dummy/app/assets/javascripts/application.js +0 -0
- data/{test → spec}/dummy/app/assets/stylesheets/application.css +0 -0
- data/{test → spec}/dummy/app/controllers/application_controller.rb +0 -0
- data/{test → spec}/dummy/app/helpers/application_helper.rb +0 -0
- data/{test → spec}/dummy/app/models/role.rb +0 -0
- data/{test → spec}/dummy/app/models/user.rb +0 -0
- data/{test → spec}/dummy/app/views/layouts/application.html.erb +0 -0
- data/{test → spec}/dummy/bin/bundle +0 -0
- data/{test → spec}/dummy/bin/rails +0 -0
- data/{test → spec}/dummy/bin/rake +0 -0
- data/{test → spec}/dummy/config.ru +0 -0
- data/{test → spec}/dummy/config/application.rb +0 -0
- data/{test → spec}/dummy/config/boot.rb +0 -0
- data/{test → spec}/dummy/config/database.yml +0 -0
- data/{test → spec}/dummy/config/environment.rb +0 -0
- data/{test → spec}/dummy/config/environments/development.rb +0 -0
- data/{test → spec}/dummy/config/environments/production.rb +0 -0
- data/{test → spec}/dummy/config/environments/test.rb +0 -0
- data/{test → spec}/dummy/config/initializers/backtrace_silencers.rb +0 -0
- data/{test → spec}/dummy/config/initializers/cookies_serializer.rb +0 -0
- data/{test → spec}/dummy/config/initializers/filter_parameter_logging.rb +0 -0
- data/{test → spec}/dummy/config/initializers/inflections.rb +0 -0
- data/{test → spec}/dummy/config/initializers/mime_types.rb +0 -0
- data/{test → spec}/dummy/config/initializers/session_store.rb +0 -0
- data/{test → spec}/dummy/config/initializers/wrap_parameters.rb +0 -0
- data/{test → spec}/dummy/config/locales/da.yml +0 -0
- data/{test → spec}/dummy/config/locales/en.yml +0 -0
- data/{test → spec}/dummy/config/routes.rb +0 -0
- data/{test → spec}/dummy/config/secrets.yml +0 -0
- data/{test → spec}/dummy/db/development.sqlite3 +0 -0
- data/{test → spec}/dummy/db/migrate/20140410170418_create_users.rb +0 -0
- data/{test → spec}/dummy/db/migrate/20140411112622_create_roles.rb +0 -0
- data/{test → spec}/dummy/db/schema.rb +0 -0
- data/{test → spec}/dummy/db/test.sqlite3 +0 -0
- data/{test → spec}/dummy/lib/gettext_simple_rails/models/role_model_translations.rb +3 -0
- data/{test → spec}/dummy/lib/gettext_simple_rails/models/user_model_translations.rb +3 -0
- data/{test → spec}/dummy/log/development.log +0 -0
- data/{test → spec}/dummy/public/404.html +0 -0
- data/{test → spec}/dummy/public/422.html +0 -0
- data/{test → spec}/dummy/public/500.html +0 -0
- data/{test → spec}/dummy/public/favicon.ico +0 -0
- data/{test → spec}/dummy/test/fixtures/roles.yml +0 -0
- data/{test → spec}/dummy/test/fixtures/users.yml +0 -0
- data/{test → spec}/dummy/test/models/role_test.rb +0 -0
- data/{test → spec}/dummy/test/models/user_test.rb +0 -0
- data/{test/gettext_simple_rails_test.rb → spec/gettext_simple_rails_spec.rb} +5 -5
- data/spec/spec_helper.rb +45 -0
- data/{test → spec}/test_helper.rb +0 -0
- metadata +122 -105
- data/lib/gettext_simple_rails/simple_form_detector.rb +0 -9
- data/test/dummy/log/test.log +0 -630
- data/test/integration/navigation_test.rb +0 -10