solidus_i18n 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +35 -0
  3. data/.gem_release.yml +5 -0
  4. data/.github/stale.yml +17 -0
  5. data/.gitignore +4 -8
  6. data/.rspec +2 -0
  7. data/.rubocop.yml +3 -6
  8. data/.rubocop_todo.yml +18 -0
  9. data/Gemfile +20 -12
  10. data/{LICENSE.md → LICENSE} +2 -2
  11. data/README.md +18 -2
  12. data/Rakefile +8 -24
  13. data/bin/console +17 -0
  14. data/bin/rails +12 -4
  15. data/bin/setup +8 -0
  16. data/config/locales/bg.yml +1 -1
  17. data/config/locales/ca.yml +0 -4
  18. data/config/locales/cs.yml +1 -1
  19. data/config/locales/da.yml +1 -1
  20. data/config/locales/de-CH.yml +0 -4
  21. data/config/locales/de.yml +398 -209
  22. data/config/locales/en-AU.yml +0 -4
  23. data/config/locales/en-GB.yml +1 -1
  24. data/config/locales/en-IN.yml +1 -1
  25. data/config/locales/en-NZ.yml +0 -4
  26. data/config/locales/es-CL.yml +1 -1
  27. data/config/locales/es-EC.yml +1 -1
  28. data/config/locales/es-MX.yml +411 -64
  29. data/config/locales/es.yml +14 -4
  30. data/config/locales/et.yml +0 -4
  31. data/config/locales/fa.yml +0 -4
  32. data/config/locales/fi.yml +1 -1
  33. data/config/locales/fr.yml +1 -210
  34. data/config/locales/id.yml +1 -1
  35. data/config/locales/it.yml +1202 -606
  36. data/config/locales/ja.yml +1 -1
  37. data/config/locales/ko.yml +0 -4
  38. data/config/locales/lv.yml +0 -4
  39. data/config/locales/nb.yml +0 -4
  40. data/config/locales/nl.yml +1 -1
  41. data/config/locales/pl.yml +1 -1
  42. data/config/locales/pt-BR.yml +60 -40
  43. data/config/locales/pt.yml +0 -4
  44. data/config/locales/ro.yml +3 -2
  45. data/config/locales/ru.yml +1885 -1194
  46. data/config/locales/sk.yml +1 -1
  47. data/config/locales/sl-SI.yml +0 -4
  48. data/config/locales/sv.yml +1 -1
  49. data/config/locales/th.yml +1 -1
  50. data/config/locales/tr.yml +1 -1
  51. data/config/locales/uk.yml +1 -1
  52. data/config/locales/vi.yml +1 -1
  53. data/config/locales/zh-CN.yml +1 -1
  54. data/config/locales/zh-TW.yml +1 -1
  55. data/config/routes.rb +2 -0
  56. data/i18n-tasks.yml +4 -0
  57. data/lib/generators/solidus_i18n/install/install_generator.rb +24 -0
  58. data/lib/solidus_i18n.rb +5 -1
  59. data/lib/solidus_i18n/engine.rb +13 -0
  60. data/lib/solidus_i18n/factories.rb +4 -0
  61. data/lib/solidus_i18n/version.rb +3 -16
  62. data/lib/tasks/solidus_i18n/upgrade.rake +13 -11
  63. data/solidus_i18n.gemspec +24 -20
  64. data/spec/solidus_i18n_spec.rb +5 -3
  65. data/spec/spec_helper.rb +15 -12
  66. metadata +229 -58
  67. data/.travis.yml +0 -35
@@ -628,7 +628,7 @@ sk:
628
628
  date_picker:
629
629
  first_day: 1
630
630
  format: "%d.%m.%Y"
631
- js_format: dd.mm.rr
631
+ js_format: d.m.Y
632
632
  date_range: "Obdobie"
633
633
  default: "Predvolené"
634
634
  default_refund_amount:
@@ -474,10 +474,6 @@ sl-SI:
474
474
  jirafe_settings_updated:
475
475
  date:
476
476
  date_completed:
477
- date_picker:
478
- first_day:
479
- format:
480
- js_format:
481
477
  date_range: Obdobje
482
478
  default: Privzeto
483
479
  default_refund_amount:
@@ -553,7 +553,7 @@ sv:
553
553
  date_picker:
554
554
  first_day: 0
555
555
  format: "%Y/%m/%d"
556
- js_format: yy/mm/dd
556
+ js_format: Y/m/d
557
557
  date_range: Datumintervall
558
558
  default: Förvald
559
559
  default_refund_amount:
@@ -517,7 +517,7 @@ th:
517
517
  date_picker:
518
518
  first_day:
519
519
  format: "%Y/%m/%d"
520
- js_format: yy/mm/dd
520
+ js_format: Y/m/d
521
521
  date_range: "ช่วงวันที่"
522
522
  default: "ค่าเริ่มต้น"
523
523
  default_refund_amount:
@@ -477,7 +477,7 @@ tr:
477
477
  date_picker:
478
478
  first_day:
479
479
  format: "%d.%m%Y"
480
- js_format: dd.mm.yyyy
480
+ js_format: d.m.Y
481
481
  date_range: Tarih Aralığı
482
482
  default: Varsayılan
483
483
  default_refund_amount:
@@ -619,7 +619,7 @@ uk:
619
619
  date_picker:
620
620
  first_day: 1
621
621
  format: "%d.%m.%Y"
622
- js_format: dd/mm/yy
622
+ js_format: d/m/Y
623
623
  date_range: "Період часу"
624
624
  default: "За замовчуванням"
625
625
  default_refund_amount: "Сума повернення грошей за замовчуванням"
@@ -477,7 +477,7 @@ vi:
477
477
  date_picker:
478
478
  first_day:
479
479
  format: "%d/%m/%Y"
480
- js_format: dd/mm/yy
480
+ js_format: d/m/Y
481
481
  date_range: Giới hạn ngày
482
482
  default:
483
483
  default_refund_amount:
@@ -530,7 +530,7 @@ zh-CN:
530
530
  date_picker:
531
531
  first_day:
532
532
  format: "%Y/%m/%d"
533
- js_format: yy/mm/dd
533
+ js_format: Y/m/d
534
534
  date_range: "时间范围"
535
535
  default: "默认"
536
536
  default_refund_amount:
@@ -480,7 +480,7 @@ zh-TW:
480
480
  date_picker:
481
481
  first_day: 0
482
482
  format: "%Y/%m/%d"
483
- js_format: yy/mm/dd
483
+ js_format: Y/m/d
484
484
  date_range: "日期範圍"
485
485
  default: "預設"
486
486
  default_refund_amount:
data/config/routes.rb CHANGED
@@ -1,2 +1,4 @@
1
+ # frozen_string_literal: true
2
+
1
3
  Spree::Core::Engine.routes.draw do
2
4
  end
data/i18n-tasks.yml ADDED
@@ -0,0 +1,4 @@
1
+ data:
2
+ yaml:
3
+ write:
4
+ line_width: 140
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ module SolidusI18n
4
+ module Generators
5
+ class InstallGenerator < Rails::Generators::Base
6
+ class_option :auto_run_migrations, type: :boolean, default: false
7
+
8
+ def add_migrations
9
+ run 'bundle exec rake railties:install:migrations FROM=solidus_i18n'
10
+ end
11
+
12
+ def run_migrations
13
+ run_migrations = options[:auto_run_migrations] || ['', 'y', 'Y'].include?(
14
+ ask('Would you like to run the migrations now? [Y/n]')
15
+ )
16
+ if run_migrations
17
+ run 'bundle exec rake db:migrate'
18
+ else
19
+ puts 'Skipping rake db:migrate, don\'t forget to run it!' # rubocop:disable Rails/Output
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
data/lib/solidus_i18n.rb CHANGED
@@ -1,3 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'solidus_core'
2
- require 'solidus_i18n/engine'
4
+ require 'solidus_support'
5
+
3
6
  require 'solidus_i18n/version'
7
+ require 'solidus_i18n/engine'
@@ -1,5 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'spree/core'
4
+
1
5
  module SolidusI18n
2
6
  class Engine < Rails::Engine
7
+ include SolidusSupport::EngineExtensions
8
+
9
+ isolate_namespace ::Spree
10
+
3
11
  engine_name 'solidus_i18n'
12
+
13
+ # use rspec for tests
14
+ config.generators do |g|
15
+ g.test_framework :rspec
16
+ end
4
17
  end
5
18
  end
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ FactoryBot.define do
4
+ end
@@ -1,18 +1,5 @@
1
- module SolidusI18n
2
- module_function
3
-
4
- # Returns the version of the currently loaded SolidusI18n as a
5
- # <tt>Gem::Version</tt>.
6
- def version
7
- Gem::Version.new VERSION::STRING
8
- end
1
+ # frozen_string_literal: true
9
2
 
10
- module VERSION
11
- MAJOR = 2
12
- MINOR = 0
13
- TINY = 0
14
- PRE = nil
15
-
16
- STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
17
- end
3
+ module SolidusI18n
4
+ VERSION = '2.1.0'
18
5
  end
@@ -1,9 +1,11 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'fileutils'
2
4
 
3
5
  namespace :solidus_i18n do
4
6
  desc 'Upgrades to version without globalize.'
5
7
  task upgrade: :environment do
6
- files = %w(
8
+ files = %w[
7
9
  add_translations_to_main_models
8
10
  add_translations_to_product_permalink
9
11
  add_translations_to_option_value
@@ -13,7 +15,7 @@ namespace :solidus_i18n do
13
15
  remove_null_constraints_from_spree_tables
14
16
  add_deleted_at_to_translation_tables
15
17
  add_translations_to_store
16
- ).collect do |file_name|
18
+ ].collect do |file_name|
17
19
  Dir.glob Rails.root.join('db', 'migrate', "*_#{file_name}*.rb")
18
20
  end.flatten
19
21
 
@@ -23,21 +25,21 @@ namespace :solidus_i18n do
23
25
  # Install new migrations
24
26
  Rake::Task['solidus_i18n:install:migrations'].invoke
25
27
 
26
- puts <<-DESC
27
- Upgraded migrations successfully.
28
+ puts <<~DESC
29
+ Upgraded migrations successfully.
28
30
 
29
- Now please remove these lines from your vendor/assets folder:
31
+ Now please remove these lines from your vendor/assets folder:
30
32
 
31
- From `vendor/assets/javascripts/spree/backend/all.js`
33
+ From `vendor/assets/javascripts/spree/backend/all.js`
32
34
 
33
- //= require spree/backend/spree_i18n
35
+ //= require spree/backend/spree_i18n
34
36
 
35
- and from `vendor/assets/stylesheets/spree/backend/all.css`
37
+ and from `vendor/assets/stylesheets/spree/backend/all.css`
36
38
 
37
- *= require spree/backend/spree_i18n
39
+ *= require spree/backend/spree_i18n
38
40
 
39
- Don't forget to run `rake db:migrate` now.
41
+ Don't forget to run `rake db:migrate` now.
40
42
 
41
- DESC
43
+ DESC
42
44
  end
43
45
  end
data/solidus_i18n.gemspec CHANGED
@@ -1,32 +1,36 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib/', __FILE__)
3
- $LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib)
1
+ # frozen_string_literal: true
4
2
 
3
+ $:.push File.expand_path('lib', __dir__)
5
4
  require 'solidus_i18n/version'
6
5
 
7
6
  Gem::Specification.new do |s|
8
- s.platform = Gem::Platform::RUBY
9
7
  s.name = 'solidus_i18n'
10
- s.version = SolidusI18n.version
8
+ s.version = SolidusI18n::VERSION
11
9
  s.summary = 'Provides locale information for use in Solidus.'
12
- s.description = s.summary
10
+ s.description = 'A collection of translations for Solidus.'
13
11
 
14
- s.author = 'Thomas von Deyen'
15
- s.email = 'tvd@magiclabs.de'
16
- s.homepage = 'https://solidus.io'
17
- s.license = 'BSD-3'
12
+ s.required_ruby_version = '~> 2.4'
18
13
 
19
- s.files = `git ls-files`.split("\n")
20
- s.test_files = `git ls-files -- spec/*`.split("\n")
21
- s.require_path = 'lib'
22
- s.requirements << 'none'
14
+ s.author = 'Thomas von Deyen'
15
+ s.email = 'tvd@magiclabs.de'
16
+ s.homepage = 'https://github.com/solidusio/solidus_i18n'
17
+ s.license = 'BSD-3-Clause'
23
18
 
24
- s.has_rdoc = false
19
+ s.files = Dir.chdir(File.expand_path(__dir__)) do
20
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
21
+ end
22
+ s.test_files = Dir['spec/**/*']
23
+ s.bindir = "exe"
24
+ s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
+ s.require_paths = ["lib"]
25
26
 
26
- s.add_runtime_dependency 'solidus_core', ['>= 1.1', '< 3']
27
+ if s.respond_to?(:metadata)
28
+ s.metadata["homepage_uri"] = s.homepage if s.homepage
29
+ s.metadata["source_code_uri"] = s.homepage if s.homepage
30
+ end
27
31
 
28
- s.add_development_dependency 'pry-rails', '>= 0.3.0'
29
- s.add_development_dependency 'rubocop', '>= 0.24.1'
30
- s.add_development_dependency 'rspec-rails', '~> 3.1'
31
- s.add_development_dependency 'simplecov', '~> 0.9'
32
+ s.add_runtime_dependency 'solidus_core', ['>= 1.1', '< 4']
33
+ s.add_runtime_dependency 'solidus_support', '~> 0.4'
34
+
35
+ s.add_development_dependency 'solidus_dev_support'
32
36
  end
@@ -1,6 +1,8 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'spec_helper'
2
4
 
3
- RSpec.describe "solidus_i18n" do
5
+ RSpec.describe 'solidus_i18n' do
4
6
  describe 'defined locales' do
5
7
  subject do
6
8
  I18n.available_locales.select do |locale|
@@ -8,7 +10,7 @@ RSpec.describe "solidus_i18n" do
8
10
  end
9
11
  end
10
12
 
11
- it "contains the added locales" do
13
+ it 'contains the added locales' do
12
14
  # Add to this list when adding/removing locales
13
15
  expect(subject).to match_array %i[
14
16
  en
@@ -54,7 +56,7 @@ RSpec.describe "solidus_i18n" do
54
56
  ]
55
57
  end
56
58
 
57
- it "has a unique description for each locale" do
59
+ it 'has a unique description for each locale' do
58
60
  descriptions = subject.map do |locale|
59
61
  I18n.t('spree.i18n.this_file_language', locale: locale)
60
62
  end
data/spec/spec_helper.rb CHANGED
@@ -1,17 +1,22 @@
1
- require 'simplecov'
2
- SimpleCov.start 'rails'
1
+ # frozen_string_literal: true
3
2
 
3
+ # Configure Rails Environment
4
4
  ENV['RAILS_ENV'] ||= 'test'
5
5
 
6
- begin
7
- require File.expand_path('../dummy/config/environment', __FILE__)
8
- rescue LoadError
9
- puts 'Could not load dummy application. Please ensure you have run `bundle exec rake test_app`'
10
- exit
11
- end
6
+ # Run Coverage report
7
+ require 'solidus_dev_support/rspec/coverage'
8
+
9
+ require File.expand_path('dummy/config/environment.rb', __dir__)
10
+
11
+ # Requires factories and other useful helpers defined in spree_core.
12
+ require 'solidus_dev_support/rspec/feature_helper'
12
13
 
13
- require 'pry'
14
- require 'rspec/rails'
14
+ # Requires supporting ruby files with custom matchers and macros, etc,
15
+ # in spec/support/ and its subdirectories.
16
+ Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each { |f| require f }
17
+
18
+ # Requires factories defined in lib/solidus_i18n/factories.rb
19
+ require 'solidus_i18n/factories'
15
20
 
16
21
  RSpec.configure do |config|
17
22
  config.fail_fast = false
@@ -26,5 +31,3 @@ RSpec.configure do |config|
26
31
  expectations.syntax = :expect
27
32
  end
28
33
  end
29
-
30
- Dir[File.join(File.dirname(__FILE__), '/support/**/*.rb')].each { |file| require file }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas von Deyen
8
- autorequire:
9
- bindir: bin
8
+ autorequire:
9
+ bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-03 00:00:00.000000000 Z
11
+ date: 2021-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '1.1'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '3'
22
+ version: '4'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,79 +29,57 @@ dependencies:
29
29
  version: '1.1'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '3'
32
+ version: '4'
33
33
  - !ruby/object:Gem::Dependency
34
- name: pry-rails
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - ">="
38
- - !ruby/object:Gem::Version
39
- version: 0.3.0
40
- type: :development
41
- prerelease: false
42
- version_requirements: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: 0.3.0
47
- - !ruby/object:Gem::Dependency
48
- name: rubocop
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- version: 0.24.1
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - ">="
59
- - !ruby/object:Gem::Version
60
- version: 0.24.1
61
- - !ruby/object:Gem::Dependency
62
- name: rspec-rails
34
+ name: solidus_support
63
35
  requirement: !ruby/object:Gem::Requirement
64
36
  requirements:
65
37
  - - "~>"
66
38
  - !ruby/object:Gem::Version
67
- version: '3.1'
68
- type: :development
39
+ version: '0.4'
40
+ type: :runtime
69
41
  prerelease: false
70
42
  version_requirements: !ruby/object:Gem::Requirement
71
43
  requirements:
72
44
  - - "~>"
73
45
  - !ruby/object:Gem::Version
74
- version: '3.1'
46
+ version: '0.4'
75
47
  - !ruby/object:Gem::Dependency
76
- name: simplecov
48
+ name: solidus_dev_support
77
49
  requirement: !ruby/object:Gem::Requirement
78
50
  requirements:
79
- - - "~>"
51
+ - - ">="
80
52
  - !ruby/object:Gem::Version
81
- version: '0.9'
53
+ version: '0'
82
54
  type: :development
83
55
  prerelease: false
84
56
  version_requirements: !ruby/object:Gem::Requirement
85
57
  requirements:
86
- - - "~>"
58
+ - - ">="
87
59
  - !ruby/object:Gem::Version
88
- version: '0.9'
89
- description: Provides locale information for use in Solidus.
60
+ version: '0'
61
+ description: A collection of translations for Solidus.
90
62
  email: tvd@magiclabs.de
91
63
  executables: []
92
64
  extensions: []
93
65
  extra_rdoc_files: []
94
66
  files:
67
+ - ".circleci/config.yml"
68
+ - ".gem_release.yml"
69
+ - ".github/stale.yml"
95
70
  - ".gitignore"
96
71
  - ".hound.yml"
72
+ - ".rspec"
97
73
  - ".rubocop.yml"
98
- - ".travis.yml"
74
+ - ".rubocop_todo.yml"
99
75
  - CONTRIBUTING.md
100
76
  - Gemfile
101
- - LICENSE.md
77
+ - LICENSE
102
78
  - README.md
103
79
  - Rakefile
80
+ - bin/console
104
81
  - bin/rails
82
+ - bin/setup
105
83
  - config/locales/bg.yml
106
84
  - config/locales/ca.yml
107
85
  - config/locales/cs.yml
@@ -142,38 +120,231 @@ files:
142
120
  - config/locales/zh-CN.yml
143
121
  - config/locales/zh-TW.yml
144
122
  - config/routes.rb
123
+ - i18n-tasks.yml
124
+ - lib/generators/solidus_i18n/install/install_generator.rb
145
125
  - lib/solidus_i18n.rb
146
126
  - lib/solidus_i18n/engine.rb
127
+ - lib/solidus_i18n/factories.rb
147
128
  - lib/solidus_i18n/version.rb
148
129
  - lib/tasks/solidus_i18n/upgrade.rake
149
130
  - solidus_i18n.gemspec
131
+ - spec/dummy/README.md
132
+ - spec/dummy/Rakefile
133
+ - spec/dummy/app/assets/config/manifest.js
134
+ - spec/dummy/app/assets/stylesheets/application.css
135
+ - spec/dummy/app/channels/application_cable/channel.rb
136
+ - spec/dummy/app/channels/application_cable/connection.rb
137
+ - spec/dummy/app/controllers/application_controller.rb
138
+ - spec/dummy/app/helpers/application_helper.rb
139
+ - spec/dummy/app/jobs/application_job.rb
140
+ - spec/dummy/app/mailers/application_mailer.rb
141
+ - spec/dummy/app/models/application_record.rb
142
+ - spec/dummy/app/views/layouts/application.html.erb
143
+ - spec/dummy/app/views/layouts/mailer.html.erb
144
+ - spec/dummy/app/views/layouts/mailer.text.erb
145
+ - spec/dummy/bin/rails
146
+ - spec/dummy/bin/rake
147
+ - spec/dummy/bin/setup
148
+ - spec/dummy/config.ru
149
+ - spec/dummy/config/application.rb
150
+ - spec/dummy/config/boot.rb
151
+ - spec/dummy/config/cable.yml
152
+ - spec/dummy/config/credentials.yml.enc
153
+ - spec/dummy/config/database.yml
154
+ - spec/dummy/config/environment.rb
155
+ - spec/dummy/config/environments/development.rb
156
+ - spec/dummy/config/environments/production.rb
157
+ - spec/dummy/config/environments/test.rb
158
+ - spec/dummy/config/initializers/application_controller_renderer.rb
159
+ - spec/dummy/config/initializers/assets.rb
160
+ - spec/dummy/config/initializers/backtrace_silencers.rb
161
+ - spec/dummy/config/initializers/content_security_policy.rb
162
+ - spec/dummy/config/initializers/cookies_serializer.rb
163
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
164
+ - spec/dummy/config/initializers/inflections.rb
165
+ - spec/dummy/config/initializers/mime_types.rb
166
+ - spec/dummy/config/initializers/permissions_policy.rb
167
+ - spec/dummy/config/initializers/spree.rb
168
+ - spec/dummy/config/initializers/wrap_parameters.rb
169
+ - spec/dummy/config/locales/en.yml
170
+ - spec/dummy/config/master.key
171
+ - spec/dummy/config/routes.rb
172
+ - spec/dummy/config/storage.yml
173
+ - spec/dummy/db/migrate/20210218213814_create_active_storage_tables.active_storage.rb
174
+ - spec/dummy/db/migrate/20210218213818_create_action_mailbox_tables.action_mailbox.rb
175
+ - spec/dummy/db/migrate/20210218213819_create_action_text_tables.action_text.rb
176
+ - spec/dummy/db/migrate/20210218213820_solidus_one_four.spree.rb
177
+ - spec/dummy/db/migrate/20210218213821_create_spree_wallet_payment_sources.spree.rb
178
+ - spec/dummy/db/migrate/20210218213822_migrate_credit_cards_to_wallet_payment_sources.spree.rb
179
+ - spec/dummy/db/migrate/20210218213823_remove_is_default_from_prices.spree.rb
180
+ - spec/dummy/db/migrate/20210218213824_remove_currency_from_line_items.spree.rb
181
+ - spec/dummy/db/migrate/20210218213825_add_available_to_columns_and_remove_display_on_from_payment_methods.spree.rb
182
+ - spec/dummy/db/migrate/20210218213826_create_spree_promotion_code_batch.spree.rb
183
+ - spec/dummy/db/migrate/20210218213827_add_available_to_users_and_remove_display_on_from_shipping_methods.spree.rb
184
+ - spec/dummy/db/migrate/20210218213828_add_index_to_spree_payments_number.spree.rb
185
+ - spec/dummy/db/migrate/20210218213829_remove_spree_store_credits_column.spree.rb
186
+ - spec/dummy/db/migrate/20210218213830_add_lft_and_rgt_indexes_to_taxons.spree.rb
187
+ - spec/dummy/db/migrate/20210218213831_remove_order_id_from_inventory_units.spree.rb
188
+ - spec/dummy/db/migrate/20210218213832_transform_tax_rate_category_relation.spree.rb
189
+ - spec/dummy/db/migrate/20210218213833_add_roles_unique_constraints.spree.rb
190
+ - spec/dummy/db/migrate/20210218213834_add_time_range_to_tax_rate.spree.rb
191
+ - spec/dummy/db/migrate/20210218213835_rename_bogus_gateways.spree.rb
192
+ - spec/dummy/db/migrate/20210218213836_remove_default_tax_from_spree_zones.spree.rb
193
+ - spec/dummy/db/migrate/20210218213837_create_promotion_rule_stores.spree.rb
194
+ - spec/dummy/db/migrate/20210218213838_create_store_shipping_methods.spree.rb
195
+ - spec/dummy/db/migrate/20210218213839_add_available_locales_to_stores.spree.rb
196
+ - spec/dummy/db/migrate/20210218213840_add_amount_remaining_to_store_credit_events.spree.rb
197
+ - spec/dummy/db/migrate/20210218213841_add_join_characters_to_promotion_code_batch.spree.rb
198
+ - spec/dummy/db/migrate/20210218213842_add_apply_to_all_to_variant_property_rule.spree.rb
199
+ - spec/dummy/db/migrate/20210218213843_create_spree_store_credit_reasons_table.spree.rb
200
+ - spec/dummy/db/migrate/20210218213844_remove_code_from_spree_promotions.spree.rb
201
+ - spec/dummy/db/migrate/20210218213845_drop_spree_store_credit_update_reasons.spree.rb
202
+ - spec/dummy/db/migrate/20210218213846_add_default_billng_flag_to_user_addresses.spree.rb
203
+ - spec/dummy/db/migrate/20210218213847_add_bcc_email_to_spree_stores.spree.rb
204
+ - spec/dummy/db/migrate/20210218213848_add_discontinue_on_to_spree_products.spree.rb
205
+ - spec/dummy/db/migrate/20210218213849_add_name_to_spree_addresses.spree.rb
206
+ - spec/dummy/db/migrate/20210218213850_add_api_key_to_spree_users.spree_api.rb
207
+ - spec/dummy/db/migrate/20210218213851_resize_api_key_field.spree_api.rb
208
+ - spec/dummy/db/migrate/20210218213852_rename_api_key_to_spree_api_key.spree_api.rb
209
+ - spec/dummy/db/migrate/20210218213853_add_index_to_user_spree_api_key.spree_api.rb
210
+ - spec/dummy/db/schema.rb
211
+ - spec/dummy/db/seeds.rb
212
+ - spec/dummy/db/solidus_test.sqlite3
213
+ - spec/dummy/log/test.log
214
+ - spec/dummy/public/404.html
215
+ - spec/dummy/public/422.html
216
+ - spec/dummy/public/500.html
217
+ - spec/dummy/public/apple-touch-icon-precomposed.png
218
+ - spec/dummy/public/apple-touch-icon.png
219
+ - spec/dummy/public/favicon.ico
220
+ - spec/dummy/tmp/development_secret.txt
221
+ - spec/dummy/vendor/assets/javascripts/spree/backend/all.js
222
+ - spec/dummy/vendor/assets/javascripts/spree/frontend/all.js
223
+ - spec/dummy/vendor/assets/stylesheets/spree/backend/all.css
224
+ - spec/dummy/vendor/assets/stylesheets/spree/frontend/all.css
225
+ - spec/examples.txt
150
226
  - spec/solidus_i18n_spec.rb
151
227
  - spec/spec_helper.rb
152
- homepage: https://solidus.io
228
+ homepage: https://github.com/solidusio/solidus_i18n
153
229
  licenses:
154
- - BSD-3
155
- metadata: {}
156
- post_install_message:
230
+ - BSD-3-Clause
231
+ metadata:
232
+ homepage_uri: https://github.com/solidusio/solidus_i18n
233
+ source_code_uri: https://github.com/solidusio/solidus_i18n
234
+ post_install_message:
157
235
  rdoc_options: []
158
236
  require_paths:
159
237
  - lib
160
238
  required_ruby_version: !ruby/object:Gem::Requirement
161
239
  requirements:
162
- - - ">="
240
+ - - "~>"
163
241
  - !ruby/object:Gem::Version
164
- version: '0'
242
+ version: '2.4'
165
243
  required_rubygems_version: !ruby/object:Gem::Requirement
166
244
  requirements:
167
245
  - - ">="
168
246
  - !ruby/object:Gem::Version
169
247
  version: '0'
170
- requirements:
171
- - none
172
- rubyforge_project:
173
- rubygems_version: 2.7.6
174
- signing_key:
248
+ requirements: []
249
+ rubygems_version: 3.1.4
250
+ signing_key:
175
251
  specification_version: 4
176
252
  summary: Provides locale information for use in Solidus.
177
253
  test_files:
178
- - spec/solidus_i18n_spec.rb
179
254
  - spec/spec_helper.rb
255
+ - spec/dummy/app/mailers/application_mailer.rb
256
+ - spec/dummy/app/models/application_record.rb
257
+ - spec/dummy/app/jobs/application_job.rb
258
+ - spec/dummy/app/controllers/application_controller.rb
259
+ - spec/dummy/app/views/layouts/application.html.erb
260
+ - spec/dummy/app/views/layouts/mailer.html.erb
261
+ - spec/dummy/app/views/layouts/mailer.text.erb
262
+ - spec/dummy/app/assets/config/manifest.js
263
+ - spec/dummy/app/assets/stylesheets/application.css
264
+ - spec/dummy/app/helpers/application_helper.rb
265
+ - spec/dummy/app/channels/application_cable/connection.rb
266
+ - spec/dummy/app/channels/application_cable/channel.rb
267
+ - spec/dummy/bin/rake
268
+ - spec/dummy/bin/setup
269
+ - spec/dummy/bin/rails
270
+ - spec/dummy/config/routes.rb
271
+ - spec/dummy/config/locales/en.yml
272
+ - spec/dummy/config/cable.yml
273
+ - spec/dummy/config/environments/production.rb
274
+ - spec/dummy/config/environments/development.rb
275
+ - spec/dummy/config/environments/test.rb
276
+ - spec/dummy/config/master.key
277
+ - spec/dummy/config/environment.rb
278
+ - spec/dummy/config/storage.yml
279
+ - spec/dummy/config/application.rb
280
+ - spec/dummy/config/credentials.yml.enc
281
+ - spec/dummy/config/database.yml
282
+ - spec/dummy/config/boot.rb
283
+ - spec/dummy/config/initializers/application_controller_renderer.rb
284
+ - spec/dummy/config/initializers/backtrace_silencers.rb
285
+ - spec/dummy/config/initializers/mime_types.rb
286
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
287
+ - spec/dummy/config/initializers/wrap_parameters.rb
288
+ - spec/dummy/config/initializers/assets.rb
289
+ - spec/dummy/config/initializers/spree.rb
290
+ - spec/dummy/config/initializers/cookies_serializer.rb
291
+ - spec/dummy/config/initializers/permissions_policy.rb
292
+ - spec/dummy/config/initializers/content_security_policy.rb
293
+ - spec/dummy/config/initializers/inflections.rb
294
+ - spec/dummy/config.ru
295
+ - spec/dummy/README.md
296
+ - spec/dummy/Rakefile
297
+ - spec/dummy/public/favicon.ico
298
+ - spec/dummy/public/422.html
299
+ - spec/dummy/public/apple-touch-icon.png
300
+ - spec/dummy/public/500.html
301
+ - spec/dummy/public/404.html
302
+ - spec/dummy/public/apple-touch-icon-precomposed.png
303
+ - spec/dummy/db/schema.rb
304
+ - spec/dummy/db/seeds.rb
305
+ - spec/dummy/db/solidus_test.sqlite3
306
+ - spec/dummy/db/migrate/20210218213838_create_store_shipping_methods.spree.rb
307
+ - spec/dummy/db/migrate/20210218213820_solidus_one_four.spree.rb
308
+ - spec/dummy/db/migrate/20210218213828_add_index_to_spree_payments_number.spree.rb
309
+ - spec/dummy/db/migrate/20210218213839_add_available_locales_to_stores.spree.rb
310
+ - spec/dummy/db/migrate/20210218213841_add_join_characters_to_promotion_code_batch.spree.rb
311
+ - spec/dummy/db/migrate/20210218213827_add_available_to_users_and_remove_display_on_from_shipping_methods.spree.rb
312
+ - spec/dummy/db/migrate/20210218213832_transform_tax_rate_category_relation.spree.rb
313
+ - spec/dummy/db/migrate/20210218213849_add_name_to_spree_addresses.spree.rb
314
+ - spec/dummy/db/migrate/20210218213836_remove_default_tax_from_spree_zones.spree.rb
315
+ - spec/dummy/db/migrate/20210218213850_add_api_key_to_spree_users.spree_api.rb
316
+ - spec/dummy/db/migrate/20210218213847_add_bcc_email_to_spree_stores.spree.rb
317
+ - spec/dummy/db/migrate/20210218213829_remove_spree_store_credits_column.spree.rb
318
+ - spec/dummy/db/migrate/20210218213821_create_spree_wallet_payment_sources.spree.rb
319
+ - spec/dummy/db/migrate/20210218213843_create_spree_store_credit_reasons_table.spree.rb
320
+ - spec/dummy/db/migrate/20210218213845_drop_spree_store_credit_update_reasons.spree.rb
321
+ - spec/dummy/db/migrate/20210218213851_resize_api_key_field.spree_api.rb
322
+ - spec/dummy/db/migrate/20210218213844_remove_code_from_spree_promotions.spree.rb
323
+ - spec/dummy/db/migrate/20210218213819_create_action_text_tables.action_text.rb
324
+ - spec/dummy/db/migrate/20210218213846_add_default_billng_flag_to_user_addresses.spree.rb
325
+ - spec/dummy/db/migrate/20210218213842_add_apply_to_all_to_variant_property_rule.spree.rb
326
+ - spec/dummy/db/migrate/20210218213834_add_time_range_to_tax_rate.spree.rb
327
+ - spec/dummy/db/migrate/20210218213823_remove_is_default_from_prices.spree.rb
328
+ - spec/dummy/db/migrate/20210218213831_remove_order_id_from_inventory_units.spree.rb
329
+ - spec/dummy/db/migrate/20210218213835_rename_bogus_gateways.spree.rb
330
+ - spec/dummy/db/migrate/20210218213818_create_action_mailbox_tables.action_mailbox.rb
331
+ - spec/dummy/db/migrate/20210218213853_add_index_to_user_spree_api_key.spree_api.rb
332
+ - spec/dummy/db/migrate/20210218213833_add_roles_unique_constraints.spree.rb
333
+ - spec/dummy/db/migrate/20210218213848_add_discontinue_on_to_spree_products.spree.rb
334
+ - spec/dummy/db/migrate/20210218213837_create_promotion_rule_stores.spree.rb
335
+ - spec/dummy/db/migrate/20210218213825_add_available_to_columns_and_remove_display_on_from_payment_methods.spree.rb
336
+ - spec/dummy/db/migrate/20210218213826_create_spree_promotion_code_batch.spree.rb
337
+ - spec/dummy/db/migrate/20210218213840_add_amount_remaining_to_store_credit_events.spree.rb
338
+ - spec/dummy/db/migrate/20210218213814_create_active_storage_tables.active_storage.rb
339
+ - spec/dummy/db/migrate/20210218213822_migrate_credit_cards_to_wallet_payment_sources.spree.rb
340
+ - spec/dummy/db/migrate/20210218213852_rename_api_key_to_spree_api_key.spree_api.rb
341
+ - spec/dummy/db/migrate/20210218213824_remove_currency_from_line_items.spree.rb
342
+ - spec/dummy/db/migrate/20210218213830_add_lft_and_rgt_indexes_to_taxons.spree.rb
343
+ - spec/dummy/log/test.log
344
+ - spec/dummy/tmp/development_secret.txt
345
+ - spec/dummy/vendor/assets/javascripts/spree/frontend/all.js
346
+ - spec/dummy/vendor/assets/javascripts/spree/backend/all.js
347
+ - spec/dummy/vendor/assets/stylesheets/spree/frontend/all.css
348
+ - spec/dummy/vendor/assets/stylesheets/spree/backend/all.css
349
+ - spec/solidus_i18n_spec.rb
350
+ - spec/examples.txt