awesome_translations 0.0.58 → 0.0.62
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/app/controllers/awesome_translations/clean_ups_controller.rb +1 -1
- data/app/controllers/awesome_translations/groups_controller.rb +1 -0
- data/app/controllers/awesome_translations/handlers_controller.rb +1 -0
- data/app/helpers/awesome_translations/application_helper.rb +0 -1
- data/app/helpers/awesome_translations/views_helper.rb +2 -2
- data/app/models/awesome_translations/group.rb +2 -2
- data/app/models/awesome_translations/translated_value.rb +6 -3
- data/app/models/awesome_translations/translation.rb +9 -4
- data/app/views/awesome_translations/duplicates/index.html.erb +2 -2
- data/app/views/awesome_translations/groups/show.html.erb +9 -4
- data/app/views/awesome_translations/handler_translations/index.html.erb +21 -6
- data/app/views/awesome_translations/handlers/show.html.erb +29 -6
- data/app/views/awesome_translations/movals/index.html.erb +2 -2
- data/lib/awesome_translations/cache_database_generator/group.rb +10 -3
- data/lib/awesome_translations/cache_database_generator/handler.rb +9 -2
- data/lib/awesome_translations/cache_database_generator/handler_translation.rb +13 -3
- data/lib/awesome_translations/cache_database_generator/translation_key.rb +4 -4
- data/lib/awesome_translations/cache_database_generator/translation_value.rb +3 -1
- data/lib/awesome_translations/cache_database_generator.rb +2 -2
- data/lib/awesome_translations/config.rb +3 -3
- data/lib/awesome_translations/controller_translate_functionality.rb +2 -2
- data/lib/awesome_translations/engine.rb +0 -4
- data/lib/awesome_translations/erb_inspector/file_inspector.rb +4 -4
- data/lib/awesome_translations/erb_inspector/translation_inspector.rb +8 -8
- data/lib/awesome_translations/erb_inspector.rb +1 -0
- data/lib/awesome_translations/global_translator.rb +24 -38
- data/lib/awesome_translations/handlers/file_handler.rb +1 -0
- data/lib/awesome_translations/handlers/model_handler.rb +1 -1
- data/lib/awesome_translations/handlers/validations_handler.rb +4 -4
- data/lib/awesome_translations/handlers.rb +1 -0
- data/lib/awesome_translations/model_inspector.rb +18 -18
- data/lib/awesome_translations/object_extensions.rb +2 -2
- data/lib/awesome_translations/translate_functionality.rb +2 -2
- data/lib/awesome_translations/translation_migrator.rb +3 -3
- data/lib/awesome_translations/version.rb +1 -1
- data/lib/awesome_translations.rb +1 -1
- data/lib/tasks/awesome_translations_tasks.rake +1 -4
- data/spec/controllers/groups_controller_spec.rb +5 -5
- data/spec/controllers/handlers_controller_spec.rb +4 -4
- data/spec/controllers/users_controller_spec.rb +4 -2
- data/spec/dummy/Rakefile +1 -1
- data/spec/dummy/app/assets/config/manifest.js +3 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -7
- data/spec/dummy/app/controllers/users_controller.rb +1 -1
- data/spec/dummy/app/mailers/my_mailer.rb +1 -1
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/app/models/role.rb +2 -5
- data/spec/dummy/app/models/user.rb +1 -1
- data/spec/dummy/app/services/application_service.rb +3 -0
- data/spec/dummy/app/services/test_translate_service.rb +9 -0
- data/spec/dummy/bin/bundle +1 -1
- data/spec/dummy/bin/rails +1 -1
- data/spec/dummy/config/application.rb +7 -2
- data/spec/dummy/config/boot.rb +2 -2
- data/spec/dummy/config/environment.rb +1 -1
- data/spec/dummy/config.ru +1 -1
- data/spec/dummy/db/awesome_translations.sqlite3 +0 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +52 -0
- data/spec/dummy/log/test.log +1188 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/2m/2mnPY9uUnBNkGHLxtFaWv5hB3oA7sY2K1ZtwQlZLnAY.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/3N/3NnKgR2TsTI1qCXKZpts0uJzp2dRJcoYp3nnFU6YE4o.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/5r/5rpKlqLSFsRCibev7g6MQkIOhWuOah-1KAN3aqV_fYI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/6E/6ExTs_VkmUe-fovt99Kw8rq-xCfx0_qGsSoldSWScZI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/8O/8OrG8phjC9s5-_7GAI2TEmRjsrGsuvq1gnJQPdMm8v8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/8f/8f4REKYOWkNfHexyAVqGXnbOP3vky_ANapWzlRMDeQ4.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/8n/8n_viDw_qMQaQmqHM0ObPADed5uRyEYo3gDZIiTqUyA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/9e/9euY4B26kaHeiqfd1Qc0bsfRjpzmq36X6uqUfaRNtIs.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/AB/AB5PxrhEqi8qOm7AmSf-sHDs9ffj_iTsytaHas2ryPA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/AI/AICJO1oM9dzlQ_N1QlHcCN9e8PC0wjtYk7-VmuNdfwg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Ca/CaGQBiCuFgkHQ5gw8ZnGQqO8iP1md3GcllDsmaKBFdQ.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Ch/ChWez9UVXMuuBpLJMDRGuDmMuXy8gIuFo6794-wBgXc.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/D9/D9eOwgl8pLlC7LJu-LL59UeHm9d-CH1mPgsA8j6xkMg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Do/Do83AoOat5W-c1g7piDGy2GMmffsY6JY0Qfuh5PY3GM.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Hn/Hn53895nYKzu-g1FJKYS_yszYqCADXasTmN615R_qMQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/It/ItV7jxV0bfHndR-H3cidDwpTFGhvs0ETLRqCTmZMXB8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/LL/LL0EenAcTXP-UNCqfcKtMF4Z8oDeWvdlwLQfuOVRPdw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Mj/MjwYGG9GkHD1fwwH2bg66EBYl3zCA_mqeDF9otey4-U.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/NU/NUN9oO9gyoo-sY32AOLHdDACjLIxisCxXdKd84ou6cs.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Ob/ObuKkBd-camcT52YpgeuyheU-GDFLZCJnoVtq2plgW0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Og/Og_HPfE6734sqkQ0_h4EkOOx3Aoq1LABLH9ovjl6Bvw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Pw/Pwuhz_6So_JcSrxT0Uf4VaLhh_FFSJMKxLZFMbS0LNQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/R-/R-nohuDiORrLlJJtKc5bQsjIRS8yTQFVR3EIxJx3JZw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/SX/SXA6qKBlsAQ-MLPi7-KPCPcSx9Gg2VR1xa-lCmgipgA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Sb/Sb1Vug319YfPL2Rci1PLMLXJjeIFYcNbHb5hKOvO1eo.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/_f/_f0DjbdXTMEPb52THCCF5qbKkDs28tHHnap5ag4jsdU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/dT/dTb1O_9BwFdhA3VT1UTxY-XIIoAGDHGHVO9bzRUNIfc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/dV/dVTKOfd8qDIHT3VD-4emnl0yAIxcSF1pY0CUESPHwdM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/i0/i0TQIUsntlYrsibtn9YfB3qbI6bj8hLPom8KUfxR078.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/jF/jFFXBsyFdv_TiNykX219AHs3Q7dQInYRP_80cAWZsgE.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/mX/mXfx3VRudxpXrRx1aejtNA5YHOwND3kwWUfvdXHSors.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/nG/nGQXdOLWsP4c926DJJBNXFUE0cKfZynnqN5aQ4T1I48.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/oX/oXeqOS7RZb4eFbKrraeQtr6TUrXPTueLN_Crp7S0RLE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/p2/p27Ube4R6tciXRc0F8lpz6wUzmXIPxwqz7dKaUYVVuc.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/pv/pv6tV3CDkIAmLXdU8EPLlNEkXAKJPufVD4VP30o4fWo.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/r5/r5draRYO72lGMZZKpqYbscAWxAawJVG7uO0uyx3iw24.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/r7/r7kGQJTsdrqs3i-prYAVnngsoc6uAtrjLTULTJdgy9g.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/rI/rITk_65QtUwq61bjRPAksGeJxbLUFfz-sFPnQiZPHjw.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/rR/rRS9OkVGJ9Wvs1fwZH-raqD4sXkbV8WmlLGIibYpZmI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/u9/u9nsXMBU9hA4UnH4SDHgk19ev_JNeeiS1-EZDrgStCI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/un/unZXcRqhGJwHvVWJmJ1rTizBZq6H5jF28E5-FHyTYL4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/wP/wP-1NwhQC0Sp_5PHpwAI7N0_N99vLNy0TA2FcMd6zgE.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/xr/xrDdkyCzfXr-pIE8gfvD8iFiWPuq9EwuZIl-uU9s0_o.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/yc/yc3EXb1cvVLmwnk8aQN89bgVFeuwsVz2k2p0mvC2c3c.cache +1 -0
- data/spec/factories/group.rb +2 -2
- data/spec/factories/handler.rb +4 -4
- data/spec/factories/handler_translation.rb +5 -5
- data/spec/factories/translation_key.rb +1 -1
- data/spec/factories/translation_value.rb +3 -3
- data/spec/features/clean_ups_spec.rb +2 -5
- data/spec/features/duplicates_spec.rb +5 -7
- data/spec/features/movals_spec.rb +8 -10
- data/spec/handlers/file_handler_spec.rb +8 -8
- data/spec/handlers/model_handler_spec.rb +4 -4
- data/spec/handlers/validations_handler_spec.rb +3 -3
- data/spec/handlers_spec.rb +1 -1
- data/spec/lib/cache_database_generator_spec.rb +4 -4
- data/spec/lib/erb_inspector/file_inspector_spec.rb +2 -2
- data/spec/lib/erb_inspector/translation_inspector_spec.rb +2 -2
- data/spec/lib/erb_inspector_spec.rb +5 -5
- data/spec/lib/model_inspector_spec.rb +4 -4
- data/spec/lib/translation_migrator_spec.rb +3 -3
- data/spec/models/awesome_translations/handler_spec.rb +1 -1
- data/spec/models/awesome_translations/translated_value_spec.rb +1 -3
- data/spec/models/awesome_translations/translation_spec.rb +7 -2
- data/spec/services/test_translate_service_spec.rb +11 -0
- data/spec/spec_helper.rb +7 -8
- metadata +182 -91
- data/config/initializers/simple_form_ransack.rb +0 -1
@@ -17,7 +17,7 @@ describe AwesomeTranslations::TranslationMigrator do
|
|
17
17
|
|
18
18
|
before do
|
19
19
|
File.unlink(translation_value.file_path) if File.exist?(translation_value.file_path)
|
20
|
-
File.
|
20
|
+
File.write(translation_value.file_path, YAML.dump(content))
|
21
21
|
end
|
22
22
|
|
23
23
|
after do
|
@@ -27,8 +27,8 @@ describe AwesomeTranslations::TranslationMigrator do
|
|
27
27
|
it "moves the translation from one file to another and deletes the old file" do
|
28
28
|
old_path = translation_value.file_path
|
29
29
|
|
30
|
-
expect(old_path).
|
31
|
-
expect(translation_value.file_path).
|
30
|
+
expect(old_path).not_to eq nil
|
31
|
+
expect(translation_value.file_path).not_to eq handler_translation.file_path
|
32
32
|
expect(translation_value.key).to eq handler_translation.key
|
33
33
|
|
34
34
|
migrator = AwesomeTranslations::TranslationMigrator.new(
|
@@ -3,14 +3,14 @@ require "spec_helper"
|
|
3
3
|
describe AwesomeTranslations::Translation do
|
4
4
|
let(:day_names_monday_translation) do
|
5
5
|
AwesomeTranslations::Translation.new(
|
6
|
-
dir: Rails.root.join("config
|
6
|
+
dir: Rails.root.join("config/locales/awesome_translations/date_time"),
|
7
7
|
key: "date.day_names[1]"
|
8
8
|
)
|
9
9
|
end
|
10
10
|
|
11
11
|
let(:am_translation) do
|
12
12
|
AwesomeTranslations::Translation.new(
|
13
|
-
dir: Rails.root.join("config
|
13
|
+
dir: Rails.root.join("config/locales/awesome_translations/date_time"),
|
14
14
|
key: "time.am"
|
15
15
|
)
|
16
16
|
end
|
@@ -35,6 +35,11 @@ describe AwesomeTranslations::Translation do
|
|
35
35
|
it "returns correct value for normal translations" do
|
36
36
|
expect(am_translation.value(locale: "en")).to eq "am"
|
37
37
|
end
|
38
|
+
|
39
|
+
it "doesnt use fallbacks" do
|
40
|
+
expect(I18n).to receive(:t).with("time.am", default: nil, fallback: false).and_call_original
|
41
|
+
am_translation.value
|
42
|
+
end
|
38
43
|
end
|
39
44
|
|
40
45
|
describe "#value_for?" do
|
@@ -0,0 +1,11 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe TestTranslateService do
|
4
|
+
it "uses translations" do
|
5
|
+
expect(TestTranslateService.new.perform).to eq "translation missing: en.services.test_translate_service.hello_world"
|
6
|
+
end
|
7
|
+
|
8
|
+
it "uses translations in instance methods" do
|
9
|
+
expect(TestTranslateService.static_method).to eq "translation missing: en.services.test_translate_service.hello_static_method"
|
10
|
+
end
|
11
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -6,14 +6,14 @@ require "rspec/rails"
|
|
6
6
|
require "baza_models"
|
7
7
|
require "database_cleaner"
|
8
8
|
require "capybara"
|
9
|
-
require "capybara-webkit"
|
10
9
|
require "factory_bot"
|
11
10
|
require "forgery"
|
12
11
|
require "globalize"
|
12
|
+
require "simple_form"
|
13
13
|
|
14
14
|
# Requires supporting ruby files with custom matchers and macros, etc,
|
15
15
|
# in spec/support/ and its subdirectories.
|
16
|
-
Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
|
16
|
+
Dir[Rails.root.join("spec/support/**/*.rb")].sort.each { |f| require f }
|
17
17
|
|
18
18
|
# Checks for pending migrations before tests are run.
|
19
19
|
# If you are not using ActiveRecord, you can remove this line.
|
@@ -25,7 +25,6 @@ FactoryBot.find_definitions
|
|
25
25
|
AwesomeTranslations.load_object_extensions
|
26
26
|
|
27
27
|
Capybara.app = AwesomeTranslations::Engine
|
28
|
-
Capybara.javascript_driver = :webkit
|
29
28
|
|
30
29
|
RSpec.configure do |config|
|
31
30
|
config.include AwesomeTranslations::Engine.routes.url_helpers
|
@@ -40,7 +39,7 @@ RSpec.configure do |config|
|
|
40
39
|
generator.cache_translations
|
41
40
|
end
|
42
41
|
|
43
|
-
config.before
|
42
|
+
config.before do
|
44
43
|
Capybara.reset_sessions!
|
45
44
|
|
46
45
|
DatabaseCleaner.strategy = :transaction
|
@@ -55,7 +54,7 @@ RSpec.configure do |config|
|
|
55
54
|
DatabaseCleaner.strategy = :truncation
|
56
55
|
end
|
57
56
|
|
58
|
-
config.after
|
57
|
+
config.after do
|
59
58
|
DatabaseCleaner.clean
|
60
59
|
end
|
61
60
|
|
@@ -67,11 +66,11 @@ RSpec.configure do |config|
|
|
67
66
|
generator = AwesomeTranslations::CacheDatabaseGenerator.current
|
68
67
|
generator.close
|
69
68
|
|
70
|
-
translation_file = Rails.root.join("config
|
69
|
+
translation_file = Rails.root.join("config/locales/translations.yml").to_s
|
71
70
|
File.unlink(translation_file) if File.exist?(translation_file)
|
72
71
|
|
73
|
-
at_dir = Rails.root.join("config
|
72
|
+
at_dir = Rails.root.join("config/locales/awesome_translations").to_s
|
74
73
|
FileUtils.rm_rf(at_dir) if File.exist?(at_dir)
|
75
|
-
FileUtils.touch(Rails.root.join("config
|
74
|
+
FileUtils.touch(Rails.root.join("config/locales/.keep").to_s)
|
76
75
|
end
|
77
76
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awesome_translations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.62
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kasper Johansen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active-record-transactioner
|
@@ -28,14 +28,14 @@ dependencies:
|
|
28
28
|
name: array_enumerator
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 0.0.10
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.0.10
|
41
41
|
- !ruby/object:Gem::Dependency
|
@@ -58,20 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.0.
|
62
|
-
- - "<="
|
63
|
-
- !ruby/object:Gem::Version
|
64
|
-
version: 0.0.33
|
61
|
+
version: 0.0.37
|
65
62
|
type: :runtime
|
66
63
|
prerelease: false
|
67
64
|
version_requirements: !ruby/object:Gem::Requirement
|
68
65
|
requirements:
|
69
66
|
- - ">="
|
70
67
|
- !ruby/object:Gem::Version
|
71
|
-
version: 0.0.
|
72
|
-
- - "<="
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: 0.0.33
|
68
|
+
version: 0.0.37
|
75
69
|
- !ruby/object:Gem::Dependency
|
76
70
|
name: baza_migrations
|
77
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -92,50 +86,50 @@ dependencies:
|
|
92
86
|
requirements:
|
93
87
|
- - ">="
|
94
88
|
- !ruby/object:Gem::Version
|
95
|
-
version: 0.0.
|
89
|
+
version: 0.0.14
|
96
90
|
type: :runtime
|
97
91
|
prerelease: false
|
98
92
|
version_requirements: !ruby/object:Gem::Requirement
|
99
93
|
requirements:
|
100
94
|
- - ">="
|
101
95
|
- !ruby/object:Gem::Version
|
102
|
-
version: 0.0.
|
96
|
+
version: 0.0.14
|
103
97
|
- !ruby/object:Gem::Dependency
|
104
98
|
name: rails
|
105
99
|
requirement: !ruby/object:Gem::Requirement
|
106
100
|
requirements:
|
107
101
|
- - ">="
|
108
102
|
- !ruby/object:Gem::Version
|
109
|
-
version:
|
103
|
+
version: 6.0.0
|
110
104
|
type: :runtime
|
111
105
|
prerelease: false
|
112
106
|
version_requirements: !ruby/object:Gem::Requirement
|
113
107
|
requirements:
|
114
108
|
- - ">="
|
115
109
|
- !ruby/object:Gem::Version
|
116
|
-
version:
|
110
|
+
version: 6.0.0
|
117
111
|
- !ruby/object:Gem::Dependency
|
118
|
-
name:
|
112
|
+
name: string-cases
|
119
113
|
requirement: !ruby/object:Gem::Requirement
|
120
114
|
requirements:
|
121
115
|
- - ">="
|
122
116
|
- !ruby/object:Gem::Version
|
123
|
-
version:
|
117
|
+
version: 0.0.3
|
124
118
|
type: :runtime
|
125
119
|
prerelease: false
|
126
120
|
version_requirements: !ruby/object:Gem::Requirement
|
127
121
|
requirements:
|
128
122
|
- - ">="
|
129
123
|
- !ruby/object:Gem::Version
|
130
|
-
version:
|
124
|
+
version: 0.0.3
|
131
125
|
- !ruby/object:Gem::Dependency
|
132
|
-
name:
|
126
|
+
name: sassc
|
133
127
|
requirement: !ruby/object:Gem::Requirement
|
134
128
|
requirements:
|
135
129
|
- - ">="
|
136
130
|
- !ruby/object:Gem::Version
|
137
131
|
version: '0'
|
138
|
-
type: :
|
132
|
+
type: :development
|
139
133
|
prerelease: false
|
140
134
|
version_requirements: !ruby/object:Gem::Requirement
|
141
135
|
requirements:
|
@@ -143,36 +137,22 @@ dependencies:
|
|
143
137
|
- !ruby/object:Gem::Version
|
144
138
|
version: '0'
|
145
139
|
- !ruby/object:Gem::Dependency
|
146
|
-
name:
|
147
|
-
requirement: !ruby/object:Gem::Requirement
|
148
|
-
requirements:
|
149
|
-
- - ">="
|
150
|
-
- !ruby/object:Gem::Version
|
151
|
-
version: 0.0.18
|
152
|
-
type: :runtime
|
153
|
-
prerelease: false
|
154
|
-
version_requirements: !ruby/object:Gem::Requirement
|
155
|
-
requirements:
|
156
|
-
- - ">="
|
157
|
-
- !ruby/object:Gem::Version
|
158
|
-
version: 0.0.18
|
159
|
-
- !ruby/object:Gem::Dependency
|
160
|
-
name: string-cases
|
140
|
+
name: simple_form
|
161
141
|
requirement: !ruby/object:Gem::Requirement
|
162
142
|
requirements:
|
163
143
|
- - ">="
|
164
144
|
- !ruby/object:Gem::Version
|
165
|
-
version: 0
|
166
|
-
type: :
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
167
147
|
prerelease: false
|
168
148
|
version_requirements: !ruby/object:Gem::Requirement
|
169
149
|
requirements:
|
170
150
|
- - ">="
|
171
151
|
- !ruby/object:Gem::Version
|
172
|
-
version: 0
|
152
|
+
version: '0'
|
173
153
|
description: Semi-automatic maintenance of most translations in a Rails app.
|
174
154
|
email:
|
175
|
-
-
|
155
|
+
- kaspernj@gmail.com
|
176
156
|
executables: []
|
177
157
|
extensions: []
|
178
158
|
extra_rdoc_files: []
|
@@ -208,7 +188,6 @@ files:
|
|
208
188
|
- app/views/awesome_translations/migrations/new.html.erb
|
209
189
|
- app/views/awesome_translations/movals/index.html.erb
|
210
190
|
- app/views/layouts/awesome_translations/application.html.erb
|
211
|
-
- config/initializers/simple_form_ransack.rb
|
212
191
|
- config/rails_best_practices.yml
|
213
192
|
- config/routes.rb
|
214
193
|
- db/baza_translations_migrations/20150902155200_create_translation_keys.rb
|
@@ -253,6 +232,7 @@ files:
|
|
253
232
|
- spec/controllers/users_controller_spec.rb
|
254
233
|
- spec/dummy/README.rdoc
|
255
234
|
- spec/dummy/Rakefile
|
235
|
+
- spec/dummy/app/assets/config/manifest.js
|
256
236
|
- spec/dummy/app/assets/javascripts/application.js
|
257
237
|
- spec/dummy/app/assets/javascripts/translations.js
|
258
238
|
- spec/dummy/app/assets/stylesheets/application.css
|
@@ -261,8 +241,11 @@ files:
|
|
261
241
|
- spec/dummy/app/controllers/users_controller.rb
|
262
242
|
- spec/dummy/app/helpers/application_helper.rb
|
263
243
|
- spec/dummy/app/mailers/my_mailer.rb
|
244
|
+
- spec/dummy/app/models/application_record.rb
|
264
245
|
- spec/dummy/app/models/role.rb
|
265
246
|
- spec/dummy/app/models/user.rb
|
247
|
+
- spec/dummy/app/services/application_service.rb
|
248
|
+
- spec/dummy/app/services/test_translate_service.rb
|
266
249
|
- spec/dummy/app/views/layouts/application.html.erb
|
267
250
|
- spec/dummy/app/views/users/_partial_test.html.erb
|
268
251
|
- spec/dummy/app/views/users/edit.html.liquid
|
@@ -287,14 +270,65 @@ files:
|
|
287
270
|
- spec/dummy/config/initializers/session_store.rb
|
288
271
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
289
272
|
- spec/dummy/config/routes.rb
|
273
|
+
- spec/dummy/db/awesome_translations.sqlite3
|
274
|
+
- spec/dummy/db/development.sqlite3
|
290
275
|
- spec/dummy/db/migrate/20141018081559_create_users.rb
|
291
276
|
- spec/dummy/db/migrate/20141018081640_create_roles.rb
|
292
277
|
- spec/dummy/db/migrate/20150607110245_add_price_cents_to_roles.rb
|
293
278
|
- spec/dummy/db/schema.rb
|
279
|
+
- spec/dummy/db/test.sqlite3
|
280
|
+
- spec/dummy/log/development.log
|
281
|
+
- spec/dummy/log/test.log
|
294
282
|
- spec/dummy/public/404.html
|
295
283
|
- spec/dummy/public/422.html
|
296
284
|
- spec/dummy/public/500.html
|
297
285
|
- spec/dummy/public/favicon.ico
|
286
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/2m/2mnPY9uUnBNkGHLxtFaWv5hB3oA7sY2K1ZtwQlZLnAY.cache
|
287
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/3N/3NnKgR2TsTI1qCXKZpts0uJzp2dRJcoYp3nnFU6YE4o.cache
|
288
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/5r/5rpKlqLSFsRCibev7g6MQkIOhWuOah-1KAN3aqV_fYI.cache
|
289
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/6E/6ExTs_VkmUe-fovt99Kw8rq-xCfx0_qGsSoldSWScZI.cache
|
290
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/8O/8OrG8phjC9s5-_7GAI2TEmRjsrGsuvq1gnJQPdMm8v8.cache
|
291
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/8f/8f4REKYOWkNfHexyAVqGXnbOP3vky_ANapWzlRMDeQ4.cache
|
292
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/8n/8n_viDw_qMQaQmqHM0ObPADed5uRyEYo3gDZIiTqUyA.cache
|
293
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/9e/9euY4B26kaHeiqfd1Qc0bsfRjpzmq36X6uqUfaRNtIs.cache
|
294
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/AB/AB5PxrhEqi8qOm7AmSf-sHDs9ffj_iTsytaHas2ryPA.cache
|
295
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/AI/AICJO1oM9dzlQ_N1QlHcCN9e8PC0wjtYk7-VmuNdfwg.cache
|
296
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Ca/CaGQBiCuFgkHQ5gw8ZnGQqO8iP1md3GcllDsmaKBFdQ.cache
|
297
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Ch/ChWez9UVXMuuBpLJMDRGuDmMuXy8gIuFo6794-wBgXc.cache
|
298
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/D9/D9eOwgl8pLlC7LJu-LL59UeHm9d-CH1mPgsA8j6xkMg.cache
|
299
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Do/Do83AoOat5W-c1g7piDGy2GMmffsY6JY0Qfuh5PY3GM.cache
|
300
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Hn/Hn53895nYKzu-g1FJKYS_yszYqCADXasTmN615R_qMQ.cache
|
301
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/It/ItV7jxV0bfHndR-H3cidDwpTFGhvs0ETLRqCTmZMXB8.cache
|
302
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/LL/LL0EenAcTXP-UNCqfcKtMF4Z8oDeWvdlwLQfuOVRPdw.cache
|
303
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Mj/MjwYGG9GkHD1fwwH2bg66EBYl3zCA_mqeDF9otey4-U.cache
|
304
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/NU/NUN9oO9gyoo-sY32AOLHdDACjLIxisCxXdKd84ou6cs.cache
|
305
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Ob/ObuKkBd-camcT52YpgeuyheU-GDFLZCJnoVtq2plgW0.cache
|
306
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Og/Og_HPfE6734sqkQ0_h4EkOOx3Aoq1LABLH9ovjl6Bvw.cache
|
307
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Pw/Pwuhz_6So_JcSrxT0Uf4VaLhh_FFSJMKxLZFMbS0LNQ.cache
|
308
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/R-/R-nohuDiORrLlJJtKc5bQsjIRS8yTQFVR3EIxJx3JZw.cache
|
309
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/SX/SXA6qKBlsAQ-MLPi7-KPCPcSx9Gg2VR1xa-lCmgipgA.cache
|
310
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Sb/Sb1Vug319YfPL2Rci1PLMLXJjeIFYcNbHb5hKOvO1eo.cache
|
311
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/_f/_f0DjbdXTMEPb52THCCF5qbKkDs28tHHnap5ag4jsdU.cache
|
312
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/dT/dTb1O_9BwFdhA3VT1UTxY-XIIoAGDHGHVO9bzRUNIfc.cache
|
313
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/dV/dVTKOfd8qDIHT3VD-4emnl0yAIxcSF1pY0CUESPHwdM.cache
|
314
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/i0/i0TQIUsntlYrsibtn9YfB3qbI6bj8hLPom8KUfxR078.cache
|
315
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/jF/jFFXBsyFdv_TiNykX219AHs3Q7dQInYRP_80cAWZsgE.cache
|
316
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/mX/mXfx3VRudxpXrRx1aejtNA5YHOwND3kwWUfvdXHSors.cache
|
317
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/nG/nGQXdOLWsP4c926DJJBNXFUE0cKfZynnqN5aQ4T1I48.cache
|
318
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/oX/oXeqOS7RZb4eFbKrraeQtr6TUrXPTueLN_Crp7S0RLE.cache
|
319
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/p2/p27Ube4R6tciXRc0F8lpz6wUzmXIPxwqz7dKaUYVVuc.cache
|
320
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/pv/pv6tV3CDkIAmLXdU8EPLlNEkXAKJPufVD4VP30o4fWo.cache
|
321
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache
|
322
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/r5/r5draRYO72lGMZZKpqYbscAWxAawJVG7uO0uyx3iw24.cache
|
323
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/r7/r7kGQJTsdrqs3i-prYAVnngsoc6uAtrjLTULTJdgy9g.cache
|
324
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/rI/rITk_65QtUwq61bjRPAksGeJxbLUFfz-sFPnQiZPHjw.cache
|
325
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/rR/rRS9OkVGJ9Wvs1fwZH-raqD4sXkbV8WmlLGIibYpZmI.cache
|
326
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/u9/u9nsXMBU9hA4UnH4SDHgk19ev_JNeeiS1-EZDrgStCI.cache
|
327
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/un/unZXcRqhGJwHvVWJmJ1rTizBZq6H5jF28E5-FHyTYL4.cache
|
328
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/wP/wP-1NwhQC0Sp_5PHpwAI7N0_N99vLNy0TA2FcMd6zgE.cache
|
329
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache
|
330
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/xr/xrDdkyCzfXr-pIE8gfvD8iFiWPuq9EwuZIl-uU9s0_o.cache
|
331
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/yc/yc3EXb1cvVLmwnk8aQN89bgVFeuwsVz2k2p0mvC2c3c.cache
|
298
332
|
- spec/factories/group.rb
|
299
333
|
- spec/factories/handler.rb
|
300
334
|
- spec/factories/handler_translation.rb
|
@@ -319,10 +353,12 @@ files:
|
|
319
353
|
- spec/models/awesome_translations/handler_spec.rb
|
320
354
|
- spec/models/awesome_translations/translated_value_spec.rb
|
321
355
|
- spec/models/awesome_translations/translation_spec.rb
|
356
|
+
- spec/services/test_translate_service_spec.rb
|
322
357
|
- spec/spec_helper.rb
|
323
358
|
homepage: https://www.github.com/kaspernj/awesome_translations
|
324
359
|
licenses: []
|
325
|
-
metadata:
|
360
|
+
metadata:
|
361
|
+
rubygems_mfa_required: 'true'
|
326
362
|
post_install_message:
|
327
363
|
rdoc_options: []
|
328
364
|
require_paths:
|
@@ -331,88 +367,143 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
331
367
|
requirements:
|
332
368
|
- - ">="
|
333
369
|
- !ruby/object:Gem::Version
|
334
|
-
version: '
|
370
|
+
version: '2.7'
|
335
371
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
336
372
|
requirements:
|
337
373
|
- - ">="
|
338
374
|
- !ruby/object:Gem::Version
|
339
375
|
version: '0'
|
340
376
|
requirements: []
|
341
|
-
|
342
|
-
rubygems_version: 2.7.7
|
377
|
+
rubygems_version: 3.2.32
|
343
378
|
signing_key:
|
344
379
|
specification_version: 4
|
345
380
|
summary: Semi-automatic maintenance of most translations in a Rails app.
|
346
381
|
test_files:
|
347
|
-
- spec/lib/translation_migrator_spec.rb
|
348
|
-
- spec/lib/cache_database_generator_spec.rb
|
349
|
-
- spec/lib/erb_inspector/file_inspector_spec.rb
|
350
|
-
- spec/lib/erb_inspector/translation_inspector_spec.rb
|
351
|
-
- spec/lib/object_extensions_spec.rb
|
352
|
-
- spec/lib/erb_inspector_spec.rb
|
353
|
-
- spec/lib/model_inspector/attribute_spec.rb
|
354
|
-
- spec/lib/model_inspector_spec.rb
|
355
|
-
- spec/models/awesome_translations/translation_spec.rb
|
356
|
-
- spec/models/awesome_translations/handler_spec.rb
|
357
|
-
- spec/models/awesome_translations/translated_value_spec.rb
|
358
|
-
- spec/controllers/users_controller_spec.rb
|
359
382
|
- spec/controllers/groups_controller_spec.rb
|
360
383
|
- spec/controllers/handlers_controller_spec.rb
|
361
|
-
- spec/
|
362
|
-
- spec/features/movals_spec.rb
|
363
|
-
- spec/features/clean_ups_spec.rb
|
364
|
-
- spec/handlers/model_handler_spec.rb
|
365
|
-
- spec/handlers/file_handler_spec.rb
|
366
|
-
- spec/handlers/validations_handler_spec.rb
|
367
|
-
- spec/dummy/bin/rails
|
368
|
-
- spec/dummy/bin/rake
|
369
|
-
- spec/dummy/bin/bundle
|
384
|
+
- spec/controllers/users_controller_spec.rb
|
370
385
|
- spec/dummy/README.rdoc
|
371
386
|
- spec/dummy/Rakefile
|
372
|
-
- spec/dummy/config.
|
373
|
-
- spec/dummy/public/favicon.ico
|
374
|
-
- spec/dummy/public/500.html
|
375
|
-
- spec/dummy/public/422.html
|
376
|
-
- spec/dummy/public/404.html
|
377
|
-
- spec/dummy/app/models/user.rb
|
378
|
-
- spec/dummy/app/models/role.rb
|
379
|
-
- spec/dummy/app/controllers/locales_controller.rb
|
380
|
-
- spec/dummy/app/controllers/users_controller.rb
|
381
|
-
- spec/dummy/app/controllers/application_controller.rb
|
382
|
-
- spec/dummy/app/assets/javascripts/translations.js
|
387
|
+
- spec/dummy/app/assets/config/manifest.js
|
383
388
|
- spec/dummy/app/assets/javascripts/application.js
|
389
|
+
- spec/dummy/app/assets/javascripts/translations.js
|
384
390
|
- spec/dummy/app/assets/stylesheets/application.css
|
391
|
+
- spec/dummy/app/controllers/application_controller.rb
|
392
|
+
- spec/dummy/app/controllers/locales_controller.rb
|
393
|
+
- spec/dummy/app/controllers/users_controller.rb
|
385
394
|
- spec/dummy/app/helpers/application_helper.rb
|
386
395
|
- spec/dummy/app/mailers/my_mailer.rb
|
387
|
-
- spec/dummy/app/
|
396
|
+
- spec/dummy/app/models/application_record.rb
|
397
|
+
- spec/dummy/app/models/role.rb
|
398
|
+
- spec/dummy/app/models/user.rb
|
399
|
+
- spec/dummy/app/services/application_service.rb
|
400
|
+
- spec/dummy/app/services/test_translate_service.rb
|
401
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
388
402
|
- spec/dummy/app/views/users/_partial_test.html.erb
|
389
|
-
- spec/dummy/app/views/users/index.html.haml
|
390
403
|
- spec/dummy/app/views/users/edit.html.liquid
|
391
|
-
- spec/dummy/app/views/
|
404
|
+
- spec/dummy/app/views/users/index.html.haml
|
405
|
+
- spec/dummy/app/views/users/show.html.erb
|
406
|
+
- spec/dummy/bin/bundle
|
407
|
+
- spec/dummy/bin/rails
|
408
|
+
- spec/dummy/bin/rake
|
392
409
|
- spec/dummy/config/application.rb
|
393
|
-
- spec/dummy/config/
|
410
|
+
- spec/dummy/config/boot.rb
|
394
411
|
- spec/dummy/config/database.yml
|
395
|
-
- spec/dummy/config/
|
396
|
-
- spec/dummy/config/environments/production.rb
|
412
|
+
- spec/dummy/config/environment.rb
|
397
413
|
- spec/dummy/config/environments/development.rb
|
414
|
+
- spec/dummy/config/environments/production.rb
|
398
415
|
- spec/dummy/config/environments/test.rb
|
399
|
-
- spec/dummy/config/
|
416
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
417
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
400
418
|
- spec/dummy/config/initializers/inflections.rb
|
401
|
-
- spec/dummy/config/initializers/secret_token.rb
|
402
419
|
- spec/dummy/config/initializers/mime_types.rb
|
403
|
-
- spec/dummy/config/initializers/
|
420
|
+
- spec/dummy/config/initializers/secret_token.rb
|
404
421
|
- spec/dummy/config/initializers/session_store.rb
|
405
422
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
406
|
-
- spec/dummy/config/
|
423
|
+
- spec/dummy/config/routes.rb
|
424
|
+
- spec/dummy/config.ru
|
425
|
+
- spec/dummy/db/awesome_translations.sqlite3
|
426
|
+
- spec/dummy/db/development.sqlite3
|
427
|
+
- spec/dummy/db/migrate/20141018081559_create_users.rb
|
407
428
|
- spec/dummy/db/migrate/20141018081640_create_roles.rb
|
408
429
|
- spec/dummy/db/migrate/20150607110245_add_price_cents_to_roles.rb
|
409
|
-
- spec/dummy/db/migrate/20141018081559_create_users.rb
|
410
430
|
- spec/dummy/db/schema.rb
|
411
|
-
- spec/
|
431
|
+
- spec/dummy/db/test.sqlite3
|
432
|
+
- spec/dummy/log/development.log
|
433
|
+
- spec/dummy/log/test.log
|
434
|
+
- spec/dummy/public/404.html
|
435
|
+
- spec/dummy/public/422.html
|
436
|
+
- spec/dummy/public/500.html
|
437
|
+
- spec/dummy/public/favicon.ico
|
438
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/2m/2mnPY9uUnBNkGHLxtFaWv5hB3oA7sY2K1ZtwQlZLnAY.cache
|
439
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/3N/3NnKgR2TsTI1qCXKZpts0uJzp2dRJcoYp3nnFU6YE4o.cache
|
440
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/5r/5rpKlqLSFsRCibev7g6MQkIOhWuOah-1KAN3aqV_fYI.cache
|
441
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/6E/6ExTs_VkmUe-fovt99Kw8rq-xCfx0_qGsSoldSWScZI.cache
|
442
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/8O/8OrG8phjC9s5-_7GAI2TEmRjsrGsuvq1gnJQPdMm8v8.cache
|
443
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/8f/8f4REKYOWkNfHexyAVqGXnbOP3vky_ANapWzlRMDeQ4.cache
|
444
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/8n/8n_viDw_qMQaQmqHM0ObPADed5uRyEYo3gDZIiTqUyA.cache
|
445
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/9e/9euY4B26kaHeiqfd1Qc0bsfRjpzmq36X6uqUfaRNtIs.cache
|
446
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/AB/AB5PxrhEqi8qOm7AmSf-sHDs9ffj_iTsytaHas2ryPA.cache
|
447
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/AI/AICJO1oM9dzlQ_N1QlHcCN9e8PC0wjtYk7-VmuNdfwg.cache
|
448
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Ca/CaGQBiCuFgkHQ5gw8ZnGQqO8iP1md3GcllDsmaKBFdQ.cache
|
449
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Ch/ChWez9UVXMuuBpLJMDRGuDmMuXy8gIuFo6794-wBgXc.cache
|
450
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/D9/D9eOwgl8pLlC7LJu-LL59UeHm9d-CH1mPgsA8j6xkMg.cache
|
451
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Do/Do83AoOat5W-c1g7piDGy2GMmffsY6JY0Qfuh5PY3GM.cache
|
452
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Hn/Hn53895nYKzu-g1FJKYS_yszYqCADXasTmN615R_qMQ.cache
|
453
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/It/ItV7jxV0bfHndR-H3cidDwpTFGhvs0ETLRqCTmZMXB8.cache
|
454
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/LL/LL0EenAcTXP-UNCqfcKtMF4Z8oDeWvdlwLQfuOVRPdw.cache
|
455
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Mj/MjwYGG9GkHD1fwwH2bg66EBYl3zCA_mqeDF9otey4-U.cache
|
456
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/NU/NUN9oO9gyoo-sY32AOLHdDACjLIxisCxXdKd84ou6cs.cache
|
457
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Ob/ObuKkBd-camcT52YpgeuyheU-GDFLZCJnoVtq2plgW0.cache
|
458
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Og/Og_HPfE6734sqkQ0_h4EkOOx3Aoq1LABLH9ovjl6Bvw.cache
|
459
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Pw/Pwuhz_6So_JcSrxT0Uf4VaLhh_FFSJMKxLZFMbS0LNQ.cache
|
460
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/R-/R-nohuDiORrLlJJtKc5bQsjIRS8yTQFVR3EIxJx3JZw.cache
|
461
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/SX/SXA6qKBlsAQ-MLPi7-KPCPcSx9Gg2VR1xa-lCmgipgA.cache
|
462
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Sb/Sb1Vug319YfPL2Rci1PLMLXJjeIFYcNbHb5hKOvO1eo.cache
|
463
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/_f/_f0DjbdXTMEPb52THCCF5qbKkDs28tHHnap5ag4jsdU.cache
|
464
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/dT/dTb1O_9BwFdhA3VT1UTxY-XIIoAGDHGHVO9bzRUNIfc.cache
|
465
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/dV/dVTKOfd8qDIHT3VD-4emnl0yAIxcSF1pY0CUESPHwdM.cache
|
466
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/i0/i0TQIUsntlYrsibtn9YfB3qbI6bj8hLPom8KUfxR078.cache
|
467
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/jF/jFFXBsyFdv_TiNykX219AHs3Q7dQInYRP_80cAWZsgE.cache
|
468
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/mX/mXfx3VRudxpXrRx1aejtNA5YHOwND3kwWUfvdXHSors.cache
|
469
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/nG/nGQXdOLWsP4c926DJJBNXFUE0cKfZynnqN5aQ4T1I48.cache
|
470
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/oX/oXeqOS7RZb4eFbKrraeQtr6TUrXPTueLN_Crp7S0RLE.cache
|
471
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/p2/p27Ube4R6tciXRc0F8lpz6wUzmXIPxwqz7dKaUYVVuc.cache
|
472
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/pv/pv6tV3CDkIAmLXdU8EPLlNEkXAKJPufVD4VP30o4fWo.cache
|
473
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache
|
474
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/r5/r5draRYO72lGMZZKpqYbscAWxAawJVG7uO0uyx3iw24.cache
|
475
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/r7/r7kGQJTsdrqs3i-prYAVnngsoc6uAtrjLTULTJdgy9g.cache
|
476
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/rI/rITk_65QtUwq61bjRPAksGeJxbLUFfz-sFPnQiZPHjw.cache
|
477
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/rR/rRS9OkVGJ9Wvs1fwZH-raqD4sXkbV8WmlLGIibYpZmI.cache
|
478
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/u9/u9nsXMBU9hA4UnH4SDHgk19ev_JNeeiS1-EZDrgStCI.cache
|
479
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/un/unZXcRqhGJwHvVWJmJ1rTizBZq6H5jF28E5-FHyTYL4.cache
|
480
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/wP/wP-1NwhQC0Sp_5PHpwAI7N0_N99vLNy0TA2FcMd6zgE.cache
|
481
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache
|
482
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/xr/xrDdkyCzfXr-pIE8gfvD8iFiWPuq9EwuZIl-uU9s0_o.cache
|
483
|
+
- spec/dummy/tmp/cache/assets/sprockets/v4.0.0/yc/yc3EXb1cvVLmwnk8aQN89bgVFeuwsVz2k2p0mvC2c3c.cache
|
412
484
|
- spec/factories/group.rb
|
413
|
-
- spec/factories/translation_value.rb
|
414
|
-
- spec/factories/handler_translation.rb
|
415
485
|
- spec/factories/handler.rb
|
486
|
+
- spec/factories/handler_translation.rb
|
416
487
|
- spec/factories/translation_key.rb
|
488
|
+
- spec/factories/translation_value.rb
|
489
|
+
- spec/factories/user.rb
|
490
|
+
- spec/features/clean_ups_spec.rb
|
491
|
+
- spec/features/duplicates_spec.rb
|
492
|
+
- spec/features/movals_spec.rb
|
493
|
+
- spec/handlers/file_handler_spec.rb
|
494
|
+
- spec/handlers/model_handler_spec.rb
|
495
|
+
- spec/handlers/validations_handler_spec.rb
|
417
496
|
- spec/handlers_spec.rb
|
497
|
+
- spec/lib/cache_database_generator_spec.rb
|
498
|
+
- spec/lib/erb_inspector/file_inspector_spec.rb
|
499
|
+
- spec/lib/erb_inspector/translation_inspector_spec.rb
|
500
|
+
- spec/lib/erb_inspector_spec.rb
|
501
|
+
- spec/lib/model_inspector/attribute_spec.rb
|
502
|
+
- spec/lib/model_inspector_spec.rb
|
503
|
+
- spec/lib/object_extensions_spec.rb
|
504
|
+
- spec/lib/translation_migrator_spec.rb
|
505
|
+
- spec/models/awesome_translations/handler_spec.rb
|
506
|
+
- spec/models/awesome_translations/translated_value_spec.rb
|
507
|
+
- spec/models/awesome_translations/translation_spec.rb
|
508
|
+
- spec/services/test_translate_service_spec.rb
|
418
509
|
- spec/spec_helper.rb
|
@@ -1 +0,0 @@
|
|
1
|
-
Rails.application.config.i18n.load_path += SimpleFormRansack.locale_files
|