Class: RailsI18nUpdater::Config
- Inherits:
-
Object
- Object
- RailsI18nUpdater::Config
- Defined in:
- lib/rails_i18n_updater/config.rb
Class Method Summary collapse
-
.local_path ⇒ Object
Local path where to store fetched locales.
-
.repository_branch ⇒ Object
Repository branch to use.
-
.repository_path ⇒ Object
Path within repository to fetch.
-
.repository_url ⇒ Object
Repository URL to fetch locales from.
Class Method Details
.local_path ⇒ Object
Local path where to store fetched locales
20 21 22 |
# File 'lib/rails_i18n_updater/config.rb', line 20 def local_path File.join(Rails.root, 'vendor', 'rails-locales') end |
.repository_branch ⇒ Object
Repository branch to use
10 11 12 |
# File 'lib/rails_i18n_updater/config.rb', line 10 def repository_branch 'master' end |
.repository_path ⇒ Object
Path within repository to fetch
15 16 17 |
# File 'lib/rails_i18n_updater/config.rb', line 15 def repository_path 'rails/locale' end |
.repository_url ⇒ Object
Repository URL to fetch locales from
5 6 7 |
# File 'lib/rails_i18n_updater/config.rb', line 5 def repository_url 'git://github.com/svenfuchs/rails-i18n.git' end |