i18n_model_translator 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 4a746825c89ec2e7e57fc815efc57f0e117b0f90
4
+ data.tar.gz: 15e80dc47f970bb7b049f650e93672aa6bad564e
5
+ SHA512:
6
+ metadata.gz: 33b4be7e0f01d5bd92d591b43d63307415c67961d5bfb206d917c47583d2a6c623716779dd97219cb26984161fd9d70611417276fcb69b38e83828248d12f6f9
7
+ data.tar.gz: 879c8e8f6af4465cd5c4184401afa2947b5b7a6927f1c327405d793bce8e5d846a12fd520afea054d1ccc33c2ff7e66bd7bb81e380ca39c740507d3f42ce8694
data/.gitignore ADDED
@@ -0,0 +1,20 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.bundle
11
+ *.so
12
+ *.o
13
+ *.a
14
+ mkmf.log
15
+ .idea
16
+
17
+ # Ignore RVM autoconfig file
18
+ .rvmrc
19
+ .ruby-version
20
+ .ruby-gemset
data/.idea/.name ADDED
@@ -0,0 +1 @@
1
+ i18n_translator
data/.idea/.rakeTasks ADDED
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Settings><!--This file was automatically generated by Ruby plugin.
3
+ You are allowed to:
4
+ 1. Remove rake task
5
+ 2. Add existing rake tasks
6
+ To add existing rake tasks automatically delete this file and reload the project.
7
+ --><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build i18n_translator-0.0.1.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Build and install i18n_translator-0.0.1.gem into system gems" fullCmd="install" taksId="install" /><RakeTask description="Create tag v0.0.1 and build and push i18n_translator-0.0.1.gem to Rubygems" fullCmd="release" taksId="release" /><RakeGroup description="" fullCmd="" taksId="release"><RakeTask description="" fullCmd="release:guard_clean" taksId="guard_clean" /><RakeTask description="" fullCmd="release:rubygem_push" taksId="rubygem_push" /><RakeTask description="" fullCmd="release:source_control_push" taksId="source_control_push" /></RakeGroup></RakeGroup></Settings>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
4
+ </project>
data/.idea/misc.xml ADDED
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectLevelVcsManager" settingsEditedManually="false">
4
+ <OptionsSetting value="true" id="Add" />
5
+ <OptionsSetting value="true" id="Remove" />
6
+ <OptionsSetting value="true" id="Checkout" />
7
+ <OptionsSetting value="true" id="Update" />
8
+ <OptionsSetting value="true" id="Status" />
9
+ <OptionsSetting value="true" id="Edit" />
10
+ <ConfirmationsSetting value="0" id="Add" />
11
+ <ConfirmationsSetting value="0" id="Remove" />
12
+ </component>
13
+ <component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-2.1.1" project-jdk-type="RUBY_SDK" />
14
+ </project>
data/.idea/modules.xml ADDED
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/i18n_model_translator.iml" filepath="$PROJECT_DIR$/.idea/i18n_model_translator.iml" />
6
+ <module fileurl="file://$PROJECT_DIR$/.idea/i18n_translator.iml" filepath="$PROJECT_DIR$/.idea/i18n_translator.iml" />
7
+ </modules>
8
+ </component>
9
+ </project>
@@ -0,0 +1,5 @@
1
+ <component name="DependencyValidationManager">
2
+ <state>
3
+ <option name="SKIP_IMPORT_STATEMENTS" value="false" />
4
+ </state>
5
+ </component>
data/.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ </component>
6
+ </project>
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in i18n_model_translator.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2015 Patrick Nitschke
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,73 @@
1
+ # I18nModelTranslator
2
+
3
+ Gem that generates i18n model translations for existing models. If you have descriptive column names in english it will generate the following files for your models:
4
+ config/locales/models/model_name/en.yml
5
+
6
+ This is an example outcome:
7
+
8
+ ```
9
+ en:
10
+ active_record:
11
+ models:
12
+ webinar_presenter:
13
+ one: Webinar presenter
14
+ other: Webinar presenters
15
+ attributes:
16
+ webinar_presenter:
17
+ webinar_id: Webinar
18
+ presenter_email: Presenter email
19
+ presenter_url: Presenter url
20
+ user_id: User
21
+ entry_time: Entry time
22
+ exit_time: Exit time
23
+ screen_name: Screen name
24
+ attended_minutes: Attended minutes
25
+ ```
26
+
27
+ It skips the columns :id, :created_at and :updated_at.
28
+
29
+ ## Installation
30
+
31
+ Add this line to your application's Gemfile:
32
+
33
+ ```ruby
34
+ gem 'i18n_model_translator'
35
+ ```
36
+
37
+ And then execute:
38
+
39
+ $ bundle
40
+
41
+ Or install it yourself as:
42
+
43
+ $ gem install i18n_model_translator
44
+
45
+ ## Usage
46
+
47
+
48
+ This gem gives you four rake tasks to create the model i18ns:
49
+
50
+ ####Print a specific model i18n. Pass the model name as parameter:
51
+
52
+ $ rake i18n_model_translator:print_model[model]
53
+
54
+ ####Prints all model (except HABTM) i18ns:
55
+
56
+ $ rake i18n_model_translator:print_all_models
57
+
58
+ ####Print a specific model i18n directly to the file 'config/locales/models/model_name/en.yml'. Pass the model name as parameter. It will not override existing files:
59
+
60
+ $ rake i18n_model_translator:print_model_to_file[model]
61
+
62
+ ####Print i18ns for each model directly to the file 'config/locales/models/model_name/en.yml'. It will not override existing files:
63
+
64
+ $ rake i18n_model_translator:print_all_models_to_file[model]
65
+
66
+
67
+ ## Contributing
68
+
69
+ 1. Fork it ( https://github.com/[my-github-username]/i18n_model_translator/fork )
70
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
71
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
72
+ 4. Push to the branch (`git push origin my-new-feature`)
73
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
@@ -0,0 +1,29 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'i18n_model_translator/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "i18n_model_translator"
8
+ spec.version = I18nModelTranslator::VERSION
9
+ spec.authors = ["Jens Freiling"]
10
+ spec.email = ["jcfrei@uni-koblenz.de"]
11
+ spec.summary = %q{Generate I18n Model Translation Files}
12
+ spec.description = %q{Yes...}
13
+ spec.homepage = ""
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_dependency 'rails', '~> 4.0'
22
+ spec.add_dependency 'i18n'
23
+
24
+ spec.add_development_dependency 'bundler', '~> 1.7'
25
+ spec.add_development_dependency 'rake', '~> 10.0'
26
+ spec.add_development_dependency 'sqlite3', '~> 0'
27
+ spec.add_development_dependency 'generator_spec'
28
+ spec.add_development_dependency 'rspec', '~> 3.2.0'
29
+ end
@@ -0,0 +1,23 @@
1
+ require 'i18n_model_translator/version'
2
+
3
+ module I18nModelTranslator
4
+ require 'i18n_model_translator/railtie' if defined?(Rails)
5
+ class << self
6
+ attr_accessor :configuration
7
+ end
8
+
9
+ def self.configure
10
+ self.configuration ||= Configuration.new
11
+ yield(configuration) if block_given?
12
+ end
13
+
14
+ class Configuration
15
+ attr_accessor :model_locale_path, :translation_source_locale, :locales
16
+
17
+ def initialize
18
+ @model_locale_path = 'config/locales/models'
19
+ @translation_source_locale = I18n.default_locale
20
+ @locales = I18n.available_locales rescue []
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,79 @@
1
+ require 'fileutils'
2
+
3
+ module I18nTranslator
4
+ module Models
5
+ module ModelTranslation
6
+ class << self
7
+
8
+ def generate_model_translation(model, locale)
9
+ active_record_hash = {active_record: {}}
10
+ names = generate_model_names(model)
11
+ attributes = generate_model_attributes(model)
12
+ active_record_hash[:active_record].merge!(names)
13
+ active_record_hash[:active_record].merge!(attributes)
14
+ {locale.to_sym => active_record_hash}.deep_stringify_keys.psych_to_yaml
15
+ end
16
+
17
+ def write_model_translation(model, locale)
18
+ content = generate_model_translation model, locale
19
+ write_to_file model, locale, content
20
+ end
21
+
22
+ def print_all_model_translations(locale)
23
+ load_models.each do |model|
24
+ puts generate_model_translation(model, locale)
25
+ end
26
+ end
27
+
28
+ def write_all_model_translations(locale)
29
+ load_models.each do |model|
30
+ write_model_translation model, locale
31
+ end
32
+ end
33
+
34
+ private
35
+
36
+ def generate_model_names(model)
37
+ model_name = model.to_s.tableize.split('/').last
38
+ {models: {model.to_s.tableize.singularize.to_sym => {
39
+ one: model_name.singularize.humanize,
40
+ other: model_name.pluralize.humanize
41
+ }}}
42
+ end
43
+
44
+ def generate_model_attributes(model)
45
+ hash = {}
46
+ exclude = %w[id created_at updated_at]
47
+ (model.column_names - exclude).each do |column_name|
48
+ hash.merge!({
49
+ column_name.to_sym => column_name.humanize
50
+ })
51
+ end
52
+ {attributes: {model.to_s.tableize.singularize.to_sym => hash}}
53
+ end
54
+
55
+ def load_models
56
+ Rails.application.eager_load!
57
+ models = ActiveRecord::Base.descendants
58
+ models.delete([ActiveRecord::SchemaMigration])
59
+ models.reject! { |model| model.name.include?('HABTM') | !model.table_exists? }
60
+ end
61
+
62
+ def write_to_file(model, locale, content)
63
+ path = "#{Rails.root}/config/locales/models/#{model.to_s.tableize.singularize}/#{locale}.yml"
64
+ unless File.exist?(path)
65
+
66
+ # create directories
67
+ dirname = File.dirname(path)
68
+ unless File.directory?(dirname)
69
+ FileUtils.mkdir_p(dirname)
70
+ end
71
+
72
+ # write to file
73
+ File.open(path, 'w') { |file| file.write(content) }
74
+ end
75
+ end
76
+ end
77
+ end
78
+ end
79
+ end
@@ -0,0 +1,11 @@
1
+ require 'i18n_model_translator'
2
+ require 'rails'
3
+ module MyPlugin
4
+ class Railtie < Rails::Railtie
5
+ railtie_name :i18n_model_translator
6
+
7
+ rake_tasks do
8
+ load "tasks/i18n_model_translator.rake"
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,3 @@
1
+ module I18nModelTranslator
2
+ VERSION = '1.0.0'
3
+ end
@@ -0,0 +1,25 @@
1
+ namespace :i18n_model_translator do
2
+
3
+ require 'i18n_model_translator/models/model_translation'
4
+
5
+ desc 'prints out the locale for one specific model'
6
+ task :print_model, [:model] => :environment do |t, args|
7
+ puts I18nTranslator::Models::ModelTranslation.generate_model_translation(args[:model].constantize, :en)
8
+ end
9
+
10
+ desc 'prints out the model locale for the given model into /config/locales/models/model_name/en.yml'
11
+ task :print_model_to_file, [:model] => :environment do |t, args|
12
+ I18nTranslator::Models::ModelTranslation.write_model_translation(args[:model].constantize, :en)
13
+ end
14
+
15
+ desc 'prints out the locales for each model in the environment'
16
+ task :print_all_models => :environment do |t, args|
17
+ I18nTranslator::Models::ModelTranslation.print_all_model_translations :en
18
+ end
19
+
20
+ desc 'prints out all model locale into /config/locales/models/model_name/en.yml'
21
+ task :print_all_models_to_file => :environment do |t, args|
22
+ I18nTranslator::Models::ModelTranslation.write_all_model_translations :en
23
+ end
24
+
25
+ end
@@ -0,0 +1,89 @@
1
+ require 'generator_spec'
2
+ require 'i18n_model_translator'
3
+ # This file was generated by the `rails generate rspec:install` command. Conventionally, all
4
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
5
+ # The generated `.rspec` file contains `--require spec_helper` which will cause
6
+ # this file to always be loaded, without a need to explicitly require it in any
7
+ # files.
8
+ #
9
+ # Given that it is always loaded, you are encouraged to keep this file as
10
+ # light-weight as possible. Requiring heavyweight dependencies from this file
11
+ # will add to the boot time of your test suite on EVERY test run, even for an
12
+ # individual file that may not need all of that loaded. Instead, consider making
13
+ # a separate helper file that requires the additional dependencies and performs
14
+ # the additional setup, and require it from the spec files that actually need
15
+ # it.
16
+ #
17
+ # The `.rspec` file also contains a few flags that are not defaults but that
18
+ # users commonly want.
19
+ #
20
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
21
+ RSpec.configure do |config|
22
+ # rspec-expectations config goes here. You can use an alternate
23
+ # assertion/expectation library such as wrong or the stdlib/minitest
24
+ # assertions if you prefer.
25
+ config.expect_with :rspec do |expectations|
26
+ # This option will default to `true` in RSpec 4. It makes the `description`
27
+ # and `failure_message` of custom matchers include text for helper methods
28
+ # defined using `chain`, e.g.:
29
+ # be_bigger_than(2).and_smaller_than(4).description
30
+ # # => "be bigger than 2 and smaller than 4"
31
+ # ...rather than:
32
+ # # => "be bigger than 2"
33
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
34
+ end
35
+
36
+ # rspec-mocks config goes here. You can use an alternate test double
37
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
38
+ config.mock_with :rspec do |mocks|
39
+ # Prevents you from mocking or stubbing a method that does not exist on
40
+ # a real object. This is generally recommended, and will default to
41
+ # `true` in RSpec 4.
42
+ mocks.verify_partial_doubles = true
43
+ end
44
+
45
+ # The settings below are suggested to provide a good initial experience
46
+ # with RSpec, but feel free to customize to your heart's content.
47
+ =begin
48
+ # These two settings work together to allow you to limit a spec run
49
+ # to individual examples or groups you care about by tagging them with
50
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
51
+ # get run.
52
+ config.filter_run :focus
53
+ config.run_all_when_everything_filtered = true
54
+
55
+ # Limits the available syntax to the non-monkey patched syntax that is
56
+ # recommended. For more details, see:
57
+ # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
58
+ # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
59
+ # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
60
+ config.disable_monkey_patching!
61
+
62
+ # Many RSpec users commonly either run the entire suite or an individual
63
+ # file, and it's useful to allow more verbose output when running an
64
+ # individual spec file.
65
+ if config.files_to_run.one?
66
+ # Use the documentation formatter for detailed output,
67
+ # unless a formatter has already been configured
68
+ # (e.g. via a command-line flag).
69
+ config.default_formatter = 'doc'
70
+ end
71
+
72
+ # Print the 10 slowest examples and example groups at the
73
+ # end of the spec run, to help surface which specs are running
74
+ # particularly slow.
75
+ config.profile_examples = 10
76
+
77
+ # Run specs in random order to surface order dependencies. If you find an
78
+ # order dependency and want to debug it, you can fix the order by providing
79
+ # the seed, which is printed after each run.
80
+ # --seed 1234
81
+ config.order = :random
82
+
83
+ # Seed global randomization in this process using the `--seed` CLI option.
84
+ # Setting this allows you to use `--seed` to deterministically reproduce
85
+ # test failures related to randomization by passing the same `--seed` value
86
+ # as the one that triggered the failure.
87
+ Kernel.srand config.seed
88
+ =end
89
+ end
metadata ADDED
@@ -0,0 +1,162 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: i18n_model_translator
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Jens Freiling
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-06-16 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '4.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: i18n
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.7'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.7'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: sqlite3
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: generator_spec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 3.2.0
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 3.2.0
111
+ description: Yes...
112
+ email:
113
+ - jcfrei@uni-koblenz.de
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - ".gitignore"
119
+ - ".idea/.name"
120
+ - ".idea/.rakeTasks"
121
+ - ".idea/encodings.xml"
122
+ - ".idea/misc.xml"
123
+ - ".idea/modules.xml"
124
+ - ".idea/scopes/scope_settings.xml"
125
+ - ".idea/vcs.xml"
126
+ - Gemfile
127
+ - LICENSE.txt
128
+ - README.md
129
+ - Rakefile
130
+ - i18n_model_translator.gemspec
131
+ - lib/i18n_model_translator.rb
132
+ - lib/i18n_model_translator/models/model_translation.rb
133
+ - lib/i18n_model_translator/railtie.rb
134
+ - lib/i18n_model_translator/version.rb
135
+ - lib/tasks/i18n_model_translator.rake
136
+ - spec/spec_helper.rb
137
+ homepage: ''
138
+ licenses:
139
+ - MIT
140
+ metadata: {}
141
+ post_install_message:
142
+ rdoc_options: []
143
+ require_paths:
144
+ - lib
145
+ required_ruby_version: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - ">="
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
150
+ required_rubygems_version: !ruby/object:Gem::Requirement
151
+ requirements:
152
+ - - ">="
153
+ - !ruby/object:Gem::Version
154
+ version: '0'
155
+ requirements: []
156
+ rubyforge_project:
157
+ rubygems_version: 2.4.6
158
+ signing_key:
159
+ specification_version: 4
160
+ summary: Generate I18n Model Translation Files
161
+ test_files:
162
+ - spec/spec_helper.rb