solidus_i18n 2.2.0 → 4.8.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 +4 -4
- data/README.md +55 -9
- data/Rakefile +21 -10
- data/bin/rails +9 -11
- data/config/locales/da.yml +1 -1
- data/config/locales/de.yml +1 -1
- data/config/locales/es-CL.yml +1 -1
- data/config/locales/es-MX.yml +3 -3
- data/config/locales/es.yml +3 -3
- data/config/locales/fa.yml +1 -1
- data/config/locales/fr.yml +4 -4
- data/config/locales/id.yml +1 -1
- data/config/locales/it.yml +1 -1
- data/config/locales/ja.yml +2 -2
- data/config/locales/nb.yml +1 -1
- data/config/locales/nl.yml +1 -1
- data/config/locales/pl.yml +1 -1
- data/config/locales/pt-BR.yml +426 -145
- data/config/locales/ru.yml +1 -1
- data/config/locales/tr.yml +1 -1
- data/i18n-tasks.yml +22 -0
- data/lib/solidus_i18n/engine.rb +2 -12
- data/lib/solidus_i18n.rb +1 -5
- data/solidus_i18n.gemspec +30 -34
- metadata +18 -245
- data/.circleci/config.yml +0 -61
- data/.gem_release.yml +0 -5
- data/.github/stale.yml +0 -1
- data/.gitignore +0 -16
- data/.hound.yml +0 -25
- data/.rspec +0 -2
- data/.rubocop.yml +0 -4
- data/.rubocop_todo.yml +0 -18
- data/CONTRIBUTING.md +0 -70
- data/Gemfile +0 -37
- data/LICENSE +0 -26
- data/bin/console +0 -17
- data/bin/rake +0 -7
- data/bin/setup +0 -8
- data/config/routes.rb +0 -4
- data/lib/generators/solidus_i18n/install/install_generator.rb +0 -24
- data/lib/solidus_i18n/factories.rb +0 -4
- data/lib/solidus_i18n/version.rb +0 -5
- data/lib/tasks/solidus_i18n/upgrade.rake +0 -45
- data/spec/dummy/README.md +0 -24
- data/spec/dummy/Rakefile +0 -6
- data/spec/dummy/app/assets/config/manifest.js +0 -2
- data/spec/dummy/app/assets/stylesheets/application.css +0 -15
- data/spec/dummy/app/channels/application_cable/channel.rb +0 -4
- data/spec/dummy/app/channels/application_cable/connection.rb +0 -4
- data/spec/dummy/app/controllers/application_controller.rb +0 -2
- data/spec/dummy/app/helpers/application_helper.rb +0 -2
- data/spec/dummy/app/jobs/application_job.rb +0 -7
- data/spec/dummy/app/mailers/application_mailer.rb +0 -4
- data/spec/dummy/app/models/application_record.rb +0 -3
- data/spec/dummy/app/views/layouts/application.html.erb +0 -15
- data/spec/dummy/app/views/layouts/mailer.html.erb +0 -13
- data/spec/dummy/app/views/layouts/mailer.text.erb +0 -1
- data/spec/dummy/bin/rails +0 -4
- data/spec/dummy/bin/rake +0 -4
- data/spec/dummy/bin/setup +0 -33
- data/spec/dummy/config/application.rb +0 -53
- data/spec/dummy/config/boot.rb +0 -6
- data/spec/dummy/config/cable.yml +0 -10
- data/spec/dummy/config/credentials.yml.enc +0 -1
- data/spec/dummy/config/database.yml +0 -12
- data/spec/dummy/config/environment.rb +0 -5
- data/spec/dummy/config/environments/development.rb +0 -76
- data/spec/dummy/config/environments/production.rb +0 -120
- data/spec/dummy/config/environments/test.rb +0 -36
- data/spec/dummy/config/initializers/application_controller_renderer.rb +0 -8
- data/spec/dummy/config/initializers/assets.rb +0 -12
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -8
- data/spec/dummy/config/initializers/content_security_policy.rb +0 -28
- data/spec/dummy/config/initializers/cookies_serializer.rb +0 -5
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -6
- data/spec/dummy/config/initializers/inflections.rb +0 -16
- data/spec/dummy/config/initializers/mime_types.rb +0 -4
- data/spec/dummy/config/initializers/permissions_policy.rb +0 -11
- data/spec/dummy/config/initializers/spree.rb +0 -74
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/spec/dummy/config/locales/en.yml +0 -33
- data/spec/dummy/config/master.key +0 -1
- data/spec/dummy/config/routes.rb +0 -9
- data/spec/dummy/config/storage.yml +0 -34
- data/spec/dummy/config.ru +0 -6
- data/spec/dummy/db/migrate/20210218213814_create_active_storage_tables.active_storage.rb +0 -36
- data/spec/dummy/db/migrate/20210218213818_create_action_mailbox_tables.action_mailbox.rb +0 -14
- data/spec/dummy/db/migrate/20210218213819_create_action_text_tables.action_text.rb +0 -14
- data/spec/dummy/db/migrate/20210218213820_solidus_one_four.spree.rb +0 -1103
- data/spec/dummy/db/migrate/20210218213821_create_spree_wallet_payment_sources.spree.rb +0 -28
- data/spec/dummy/db/migrate/20210218213822_migrate_credit_cards_to_wallet_payment_sources.spree.rb +0 -30
- data/spec/dummy/db/migrate/20210218213823_remove_is_default_from_prices.spree.rb +0 -8
- data/spec/dummy/db/migrate/20210218213824_remove_currency_from_line_items.spree.rb +0 -8
- data/spec/dummy/db/migrate/20210218213825_add_available_to_columns_and_remove_display_on_from_payment_methods.spree.rb +0 -31
- data/spec/dummy/db/migrate/20210218213826_create_spree_promotion_code_batch.spree.rb +0 -39
- data/spec/dummy/db/migrate/20210218213827_add_available_to_users_and_remove_display_on_from_shipping_methods.spree.rb +0 -23
- data/spec/dummy/db/migrate/20210218213828_add_index_to_spree_payments_number.spree.rb +0 -8
- data/spec/dummy/db/migrate/20210218213829_remove_spree_store_credits_column.spree.rb +0 -8
- data/spec/dummy/db/migrate/20210218213830_add_lft_and_rgt_indexes_to_taxons.spree.rb +0 -9
- data/spec/dummy/db/migrate/20210218213831_remove_order_id_from_inventory_units.spree.rb +0 -31
- data/spec/dummy/db/migrate/20210218213832_transform_tax_rate_category_relation.spree.rb +0 -51
- data/spec/dummy/db/migrate/20210218213833_add_roles_unique_constraints.spree.rb +0 -9
- data/spec/dummy/db/migrate/20210218213834_add_time_range_to_tax_rate.spree.rb +0 -9
- data/spec/dummy/db/migrate/20210218213835_rename_bogus_gateways.spree.rb +0 -19
- data/spec/dummy/db/migrate/20210218213836_remove_default_tax_from_spree_zones.spree.rb +0 -8
- data/spec/dummy/db/migrate/20210218213837_create_promotion_rule_stores.spree.rb +0 -13
- data/spec/dummy/db/migrate/20210218213838_create_store_shipping_methods.spree.rb +0 -13
- data/spec/dummy/db/migrate/20210218213839_add_available_locales_to_stores.spree.rb +0 -10
- data/spec/dummy/db/migrate/20210218213840_add_amount_remaining_to_store_credit_events.spree.rb +0 -62
- data/spec/dummy/db/migrate/20210218213841_add_join_characters_to_promotion_code_batch.spree.rb +0 -12
- data/spec/dummy/db/migrate/20210218213842_add_apply_to_all_to_variant_property_rule.spree.rb +0 -13
- data/spec/dummy/db/migrate/20210218213843_create_spree_store_credit_reasons_table.spree.rb +0 -56
- data/spec/dummy/db/migrate/20210218213844_remove_code_from_spree_promotions.spree.rb +0 -43
- data/spec/dummy/db/migrate/20210218213845_drop_spree_store_credit_update_reasons.spree.rb +0 -20
- data/spec/dummy/db/migrate/20210218213846_add_default_billng_flag_to_user_addresses.spree.rb +0 -7
- data/spec/dummy/db/migrate/20210218213847_add_bcc_email_to_spree_stores.spree.rb +0 -8
- data/spec/dummy/db/migrate/20210218213848_add_discontinue_on_to_spree_products.spree.rb +0 -8
- data/spec/dummy/db/migrate/20210218213849_add_name_to_spree_addresses.spree.rb +0 -14
- data/spec/dummy/db/migrate/20210218213850_add_api_key_to_spree_users.spree_api.rb +0 -10
- data/spec/dummy/db/migrate/20210218213851_resize_api_key_field.spree_api.rb +0 -10
- data/spec/dummy/db/migrate/20210218213852_rename_api_key_to_spree_api_key.spree_api.rb +0 -10
- data/spec/dummy/db/migrate/20210218213853_add_index_to_user_spree_api_key.spree_api.rb +0 -10
- data/spec/dummy/db/schema.rb +0 -1215
- data/spec/dummy/db/seeds.rb +0 -10
- data/spec/dummy/db/solidus_test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +0 -1198
- data/spec/dummy/public/404.html +0 -67
- data/spec/dummy/public/422.html +0 -67
- data/spec/dummy/public/500.html +0 -66
- data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/public/apple-touch-icon.png +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/tmp/development_secret.txt +0 -1
- data/spec/dummy/vendor/assets/javascripts/spree/backend/all.js +0 -10
- data/spec/dummy/vendor/assets/javascripts/spree/frontend/all.js +0 -10
- data/spec/dummy/vendor/assets/stylesheets/spree/backend/all.css +0 -9
- data/spec/dummy/vendor/assets/stylesheets/spree/frontend/all.css +0 -9
- data/spec/examples.txt +0 -4
- data/spec/solidus_i18n_spec.rb +0 -67
- data/spec/spec_helper.rb +0 -33
data/config/locales/ru.yml
CHANGED
|
@@ -1331,7 +1331,7 @@ ru:
|
|
|
1331
1331
|
discontinue_on: После этой даты продукт станет недоступным. Если ничего не указано, то продукт всегда будет активен.
|
|
1332
1332
|
promotionable: Указывает может ли этот продукт использоваться в промо-акциях. По умолчанию активно.
|
|
1333
1333
|
shipping_category: Указывает набор способов для доставки продукта.
|
|
1334
|
-
tax_category: Указывает налогообложение применяемое для данного
|
|
1334
|
+
tax_category: "Указывает налогообложение применяемое для данного продукта.<br> По умолчанию: %{default_tax_category}"
|
|
1335
1335
|
spree/promotion:
|
|
1336
1336
|
expires_at: Дата после которой акция становится недействительной. Если ничего не указано, то акция всегда будет активна.
|
|
1337
1337
|
starts_at: Дата после которой акция становится активной. Если ничего не указано, то акция сразу станет активной.
|
data/config/locales/tr.yml
CHANGED
|
@@ -775,7 +775,7 @@ tr:
|
|
|
775
775
|
thanks: Alışverişiniz için teşekkürler
|
|
776
776
|
total: Toplam
|
|
777
777
|
order_not_found: Siparişinizi bulamadık. Lütfen tekrar deneyiniz.
|
|
778
|
-
order_number: Sipariş
|
|
778
|
+
order_number: "Sipariş %{number}"
|
|
779
779
|
order_processed_successfully: Siparişiniz başarıyla işlenmiştir.
|
|
780
780
|
order_resumed:
|
|
781
781
|
order_state:
|
data/i18n-tasks.yml
CHANGED
|
@@ -1,4 +1,26 @@
|
|
|
1
|
+
base_locale: en
|
|
1
2
|
data:
|
|
3
|
+
read:
|
|
4
|
+
- config/locales/%{locale}.yml
|
|
5
|
+
# en.yml lives in solidus_core; this gem only ships the translations.
|
|
6
|
+
# Without it i18n-tasks has no base locale and every check passes trivially.
|
|
7
|
+
- <%= File.expand_path("../core/config/locales", Dir.pwd) %>/%{locale}.yml
|
|
2
8
|
yaml:
|
|
3
9
|
write:
|
|
4
10
|
line_width: 140
|
|
11
|
+
|
|
12
|
+
# Translations of an older English string that lost a variable when en.yml changed.
|
|
13
|
+
# They render, just without the detail, and need a translator rather than a token fix.
|
|
14
|
+
# Remove a key from this list once its translations are updated.
|
|
15
|
+
ignore_inconsistent_interpolations:
|
|
16
|
+
- spree.inventory_error_flash_for_insufficient_quantity
|
|
17
|
+
- spree.shipment_details
|
|
18
|
+
- spree.no_resource_found
|
|
19
|
+
- spree.successfully_refunded
|
|
20
|
+
- spree.reimbursement_perform_failed
|
|
21
|
+
- spree.reimbursement_mailer.reimbursement_email.days_to_send
|
|
22
|
+
- spree.no_option_values_on_product_html
|
|
23
|
+
- spree.validation.unpaid_amount_not_zero
|
|
24
|
+
- activerecord.errors.models.spree/return_item.attributes.inventory_unit.other_completed_return_item_exists
|
|
25
|
+
# Correct as is: Russian "one" also covers 21, 31, … so it needs the count.
|
|
26
|
+
- spree.payments_failed_count.one
|
data/lib/solidus_i18n/engine.rb
CHANGED
|
@@ -1,18 +1,8 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
require
|
|
4
|
-
|
|
3
|
+
require "solidus_core"
|
|
5
4
|
module SolidusI18n
|
|
6
5
|
class Engine < Rails::Engine
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
isolate_namespace ::Spree
|
|
10
|
-
|
|
11
|
-
engine_name 'solidus_i18n'
|
|
12
|
-
|
|
13
|
-
# use rspec for tests
|
|
14
|
-
config.generators do |g|
|
|
15
|
-
g.test_framework :rspec
|
|
16
|
-
end
|
|
6
|
+
engine_name "solidus_i18n"
|
|
17
7
|
end
|
|
18
8
|
end
|
data/lib/solidus_i18n.rb
CHANGED
data/solidus_i18n.gemspec
CHANGED
|
@@ -1,37 +1,33 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
s.add_runtime_dependency 'solidus_core', ['>= 1.1', '< 5']
|
|
34
|
-
s.add_runtime_dependency 'solidus_support', '~> 0.4'
|
|
35
|
-
|
|
36
|
-
s.add_development_dependency 'solidus_dev_support'
|
|
3
|
+
require_relative "../core/lib/spree/core/version"
|
|
4
|
+
|
|
5
|
+
Gem::Specification.new do |spec|
|
|
6
|
+
spec.name = "solidus_i18n"
|
|
7
|
+
spec.version = Spree.solidus_version
|
|
8
|
+
spec.authors = ["Thomas von Deyen"]
|
|
9
|
+
spec.email = "thomas@vondeyen.com"
|
|
10
|
+
|
|
11
|
+
spec.summary = "Provides locale information for use in Solidus."
|
|
12
|
+
spec.description = "A collection of translations for Solidus."
|
|
13
|
+
spec.homepage = "https://github.com/solidusio/solidus"
|
|
14
|
+
spec.license = "BSD-3-Clause"
|
|
15
|
+
|
|
16
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
|
17
|
+
spec.metadata["source_code_uri"] = "https://github.com/solidusio/solidus"
|
|
18
|
+
spec.metadata["changelog_uri"] = "https://github.com/solidusio/solidus/releases"
|
|
19
|
+
|
|
20
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 3.2", "< 5")
|
|
21
|
+
|
|
22
|
+
# Specify which files should be added to the gem when it is released.
|
|
23
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
24
|
+
files = Dir.chdir(__dir__) { `git ls-files -z`.split("\x0") }
|
|
25
|
+
|
|
26
|
+
spec.files = files.grep_v(%r{^(test|spec|features)/})
|
|
27
|
+
spec.bindir = "exe"
|
|
28
|
+
spec.executables = files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
29
|
+
spec.require_paths = ["lib"]
|
|
30
|
+
|
|
31
|
+
spec.add_dependency "solidus_core", [">= 4.0", "< 5"]
|
|
32
|
+
spec.add_dependency "solidus_support", ">= 0.12.0"
|
|
37
33
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: solidus_i18n
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 4.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Thomas von Deyen
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: solidus_core
|
|
@@ -16,7 +15,7 @@ dependencies:
|
|
|
16
15
|
requirements:
|
|
17
16
|
- - ">="
|
|
18
17
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '
|
|
18
|
+
version: '4.0'
|
|
20
19
|
- - "<"
|
|
21
20
|
- !ruby/object:Gem::Version
|
|
22
21
|
version: '5'
|
|
@@ -26,62 +25,34 @@ dependencies:
|
|
|
26
25
|
requirements:
|
|
27
26
|
- - ">="
|
|
28
27
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: '
|
|
28
|
+
version: '4.0'
|
|
30
29
|
- - "<"
|
|
31
30
|
- !ruby/object:Gem::Version
|
|
32
31
|
version: '5'
|
|
33
32
|
- !ruby/object:Gem::Dependency
|
|
34
33
|
name: solidus_support
|
|
35
|
-
requirement: !ruby/object:Gem::Requirement
|
|
36
|
-
requirements:
|
|
37
|
-
- - "~>"
|
|
38
|
-
- !ruby/object:Gem::Version
|
|
39
|
-
version: '0.4'
|
|
40
|
-
type: :runtime
|
|
41
|
-
prerelease: false
|
|
42
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
43
|
-
requirements:
|
|
44
|
-
- - "~>"
|
|
45
|
-
- !ruby/object:Gem::Version
|
|
46
|
-
version: '0.4'
|
|
47
|
-
- !ruby/object:Gem::Dependency
|
|
48
|
-
name: solidus_dev_support
|
|
49
34
|
requirement: !ruby/object:Gem::Requirement
|
|
50
35
|
requirements:
|
|
51
36
|
- - ">="
|
|
52
37
|
- !ruby/object:Gem::Version
|
|
53
|
-
version:
|
|
54
|
-
type: :
|
|
38
|
+
version: 0.12.0
|
|
39
|
+
type: :runtime
|
|
55
40
|
prerelease: false
|
|
56
41
|
version_requirements: !ruby/object:Gem::Requirement
|
|
57
42
|
requirements:
|
|
58
43
|
- - ">="
|
|
59
44
|
- !ruby/object:Gem::Version
|
|
60
|
-
version:
|
|
45
|
+
version: 0.12.0
|
|
61
46
|
description: A collection of translations for Solidus.
|
|
62
|
-
email:
|
|
47
|
+
email: thomas@vondeyen.com
|
|
63
48
|
executables: []
|
|
64
49
|
extensions: []
|
|
65
50
|
extra_rdoc_files: []
|
|
66
51
|
files:
|
|
67
|
-
- ".circleci/config.yml"
|
|
68
|
-
- ".gem_release.yml"
|
|
69
|
-
- ".github/stale.yml"
|
|
70
|
-
- ".gitignore"
|
|
71
|
-
- ".hound.yml"
|
|
72
|
-
- ".rspec"
|
|
73
|
-
- ".rubocop.yml"
|
|
74
|
-
- ".rubocop_todo.yml"
|
|
75
52
|
- CHANGELOG.md
|
|
76
|
-
- CONTRIBUTING.md
|
|
77
|
-
- Gemfile
|
|
78
|
-
- LICENSE
|
|
79
53
|
- README.md
|
|
80
54
|
- Rakefile
|
|
81
|
-
- bin/console
|
|
82
55
|
- bin/rails
|
|
83
|
-
- bin/rake
|
|
84
|
-
- bin/setup
|
|
85
56
|
- config/locales/bg.yml
|
|
86
57
|
- config/locales/ca.yml
|
|
87
58
|
- config/locales/cs.yml
|
|
@@ -121,120 +92,17 @@ files:
|
|
|
121
92
|
- config/locales/vi.yml
|
|
122
93
|
- config/locales/zh-CN.yml
|
|
123
94
|
- config/locales/zh-TW.yml
|
|
124
|
-
- config/routes.rb
|
|
125
95
|
- i18n-tasks.yml
|
|
126
|
-
- lib/generators/solidus_i18n/install/install_generator.rb
|
|
127
96
|
- lib/solidus_i18n.rb
|
|
128
97
|
- lib/solidus_i18n/engine.rb
|
|
129
|
-
- lib/solidus_i18n/factories.rb
|
|
130
|
-
- lib/solidus_i18n/version.rb
|
|
131
|
-
- lib/tasks/solidus_i18n/upgrade.rake
|
|
132
98
|
- solidus_i18n.gemspec
|
|
133
|
-
|
|
134
|
-
- spec/dummy/Rakefile
|
|
135
|
-
- spec/dummy/app/assets/config/manifest.js
|
|
136
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
|
137
|
-
- spec/dummy/app/channels/application_cable/channel.rb
|
|
138
|
-
- spec/dummy/app/channels/application_cable/connection.rb
|
|
139
|
-
- spec/dummy/app/controllers/application_controller.rb
|
|
140
|
-
- spec/dummy/app/helpers/application_helper.rb
|
|
141
|
-
- spec/dummy/app/jobs/application_job.rb
|
|
142
|
-
- spec/dummy/app/mailers/application_mailer.rb
|
|
143
|
-
- spec/dummy/app/models/application_record.rb
|
|
144
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
|
145
|
-
- spec/dummy/app/views/layouts/mailer.html.erb
|
|
146
|
-
- spec/dummy/app/views/layouts/mailer.text.erb
|
|
147
|
-
- spec/dummy/bin/rails
|
|
148
|
-
- spec/dummy/bin/rake
|
|
149
|
-
- spec/dummy/bin/setup
|
|
150
|
-
- spec/dummy/config.ru
|
|
151
|
-
- spec/dummy/config/application.rb
|
|
152
|
-
- spec/dummy/config/boot.rb
|
|
153
|
-
- spec/dummy/config/cable.yml
|
|
154
|
-
- spec/dummy/config/credentials.yml.enc
|
|
155
|
-
- spec/dummy/config/database.yml
|
|
156
|
-
- spec/dummy/config/environment.rb
|
|
157
|
-
- spec/dummy/config/environments/development.rb
|
|
158
|
-
- spec/dummy/config/environments/production.rb
|
|
159
|
-
- spec/dummy/config/environments/test.rb
|
|
160
|
-
- spec/dummy/config/initializers/application_controller_renderer.rb
|
|
161
|
-
- spec/dummy/config/initializers/assets.rb
|
|
162
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
|
163
|
-
- spec/dummy/config/initializers/content_security_policy.rb
|
|
164
|
-
- spec/dummy/config/initializers/cookies_serializer.rb
|
|
165
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
|
166
|
-
- spec/dummy/config/initializers/inflections.rb
|
|
167
|
-
- spec/dummy/config/initializers/mime_types.rb
|
|
168
|
-
- spec/dummy/config/initializers/permissions_policy.rb
|
|
169
|
-
- spec/dummy/config/initializers/spree.rb
|
|
170
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
|
171
|
-
- spec/dummy/config/locales/en.yml
|
|
172
|
-
- spec/dummy/config/master.key
|
|
173
|
-
- spec/dummy/config/routes.rb
|
|
174
|
-
- spec/dummy/config/storage.yml
|
|
175
|
-
- spec/dummy/db/migrate/20210218213814_create_active_storage_tables.active_storage.rb
|
|
176
|
-
- spec/dummy/db/migrate/20210218213818_create_action_mailbox_tables.action_mailbox.rb
|
|
177
|
-
- spec/dummy/db/migrate/20210218213819_create_action_text_tables.action_text.rb
|
|
178
|
-
- spec/dummy/db/migrate/20210218213820_solidus_one_four.spree.rb
|
|
179
|
-
- spec/dummy/db/migrate/20210218213821_create_spree_wallet_payment_sources.spree.rb
|
|
180
|
-
- spec/dummy/db/migrate/20210218213822_migrate_credit_cards_to_wallet_payment_sources.spree.rb
|
|
181
|
-
- spec/dummy/db/migrate/20210218213823_remove_is_default_from_prices.spree.rb
|
|
182
|
-
- spec/dummy/db/migrate/20210218213824_remove_currency_from_line_items.spree.rb
|
|
183
|
-
- spec/dummy/db/migrate/20210218213825_add_available_to_columns_and_remove_display_on_from_payment_methods.spree.rb
|
|
184
|
-
- spec/dummy/db/migrate/20210218213826_create_spree_promotion_code_batch.spree.rb
|
|
185
|
-
- spec/dummy/db/migrate/20210218213827_add_available_to_users_and_remove_display_on_from_shipping_methods.spree.rb
|
|
186
|
-
- spec/dummy/db/migrate/20210218213828_add_index_to_spree_payments_number.spree.rb
|
|
187
|
-
- spec/dummy/db/migrate/20210218213829_remove_spree_store_credits_column.spree.rb
|
|
188
|
-
- spec/dummy/db/migrate/20210218213830_add_lft_and_rgt_indexes_to_taxons.spree.rb
|
|
189
|
-
- spec/dummy/db/migrate/20210218213831_remove_order_id_from_inventory_units.spree.rb
|
|
190
|
-
- spec/dummy/db/migrate/20210218213832_transform_tax_rate_category_relation.spree.rb
|
|
191
|
-
- spec/dummy/db/migrate/20210218213833_add_roles_unique_constraints.spree.rb
|
|
192
|
-
- spec/dummy/db/migrate/20210218213834_add_time_range_to_tax_rate.spree.rb
|
|
193
|
-
- spec/dummy/db/migrate/20210218213835_rename_bogus_gateways.spree.rb
|
|
194
|
-
- spec/dummy/db/migrate/20210218213836_remove_default_tax_from_spree_zones.spree.rb
|
|
195
|
-
- spec/dummy/db/migrate/20210218213837_create_promotion_rule_stores.spree.rb
|
|
196
|
-
- spec/dummy/db/migrate/20210218213838_create_store_shipping_methods.spree.rb
|
|
197
|
-
- spec/dummy/db/migrate/20210218213839_add_available_locales_to_stores.spree.rb
|
|
198
|
-
- spec/dummy/db/migrate/20210218213840_add_amount_remaining_to_store_credit_events.spree.rb
|
|
199
|
-
- spec/dummy/db/migrate/20210218213841_add_join_characters_to_promotion_code_batch.spree.rb
|
|
200
|
-
- spec/dummy/db/migrate/20210218213842_add_apply_to_all_to_variant_property_rule.spree.rb
|
|
201
|
-
- spec/dummy/db/migrate/20210218213843_create_spree_store_credit_reasons_table.spree.rb
|
|
202
|
-
- spec/dummy/db/migrate/20210218213844_remove_code_from_spree_promotions.spree.rb
|
|
203
|
-
- spec/dummy/db/migrate/20210218213845_drop_spree_store_credit_update_reasons.spree.rb
|
|
204
|
-
- spec/dummy/db/migrate/20210218213846_add_default_billng_flag_to_user_addresses.spree.rb
|
|
205
|
-
- spec/dummy/db/migrate/20210218213847_add_bcc_email_to_spree_stores.spree.rb
|
|
206
|
-
- spec/dummy/db/migrate/20210218213848_add_discontinue_on_to_spree_products.spree.rb
|
|
207
|
-
- spec/dummy/db/migrate/20210218213849_add_name_to_spree_addresses.spree.rb
|
|
208
|
-
- spec/dummy/db/migrate/20210218213850_add_api_key_to_spree_users.spree_api.rb
|
|
209
|
-
- spec/dummy/db/migrate/20210218213851_resize_api_key_field.spree_api.rb
|
|
210
|
-
- spec/dummy/db/migrate/20210218213852_rename_api_key_to_spree_api_key.spree_api.rb
|
|
211
|
-
- spec/dummy/db/migrate/20210218213853_add_index_to_user_spree_api_key.spree_api.rb
|
|
212
|
-
- spec/dummy/db/schema.rb
|
|
213
|
-
- spec/dummy/db/seeds.rb
|
|
214
|
-
- spec/dummy/db/solidus_test.sqlite3
|
|
215
|
-
- spec/dummy/log/test.log
|
|
216
|
-
- spec/dummy/public/404.html
|
|
217
|
-
- spec/dummy/public/422.html
|
|
218
|
-
- spec/dummy/public/500.html
|
|
219
|
-
- spec/dummy/public/apple-touch-icon-precomposed.png
|
|
220
|
-
- spec/dummy/public/apple-touch-icon.png
|
|
221
|
-
- spec/dummy/public/favicon.ico
|
|
222
|
-
- spec/dummy/tmp/development_secret.txt
|
|
223
|
-
- spec/dummy/vendor/assets/javascripts/spree/backend/all.js
|
|
224
|
-
- spec/dummy/vendor/assets/javascripts/spree/frontend/all.js
|
|
225
|
-
- spec/dummy/vendor/assets/stylesheets/spree/backend/all.css
|
|
226
|
-
- spec/dummy/vendor/assets/stylesheets/spree/frontend/all.css
|
|
227
|
-
- spec/examples.txt
|
|
228
|
-
- spec/solidus_i18n_spec.rb
|
|
229
|
-
- spec/spec_helper.rb
|
|
230
|
-
homepage: https://github.com/solidusio/solidus_i18n
|
|
99
|
+
homepage: https://github.com/solidusio/solidus
|
|
231
100
|
licenses:
|
|
232
101
|
- BSD-3-Clause
|
|
233
102
|
metadata:
|
|
234
|
-
homepage_uri: https://github.com/solidusio/
|
|
235
|
-
source_code_uri: https://github.com/solidusio/
|
|
236
|
-
changelog_uri: https://github.com/solidusio/
|
|
237
|
-
post_install_message:
|
|
103
|
+
homepage_uri: https://github.com/solidusio/solidus
|
|
104
|
+
source_code_uri: https://github.com/solidusio/solidus
|
|
105
|
+
changelog_uri: https://github.com/solidusio/solidus/releases
|
|
238
106
|
rdoc_options: []
|
|
239
107
|
require_paths:
|
|
240
108
|
- lib
|
|
@@ -242,112 +110,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
242
110
|
requirements:
|
|
243
111
|
- - ">="
|
|
244
112
|
- !ruby/object:Gem::Version
|
|
245
|
-
version: 2
|
|
113
|
+
version: '3.2'
|
|
114
|
+
- - "<"
|
|
115
|
+
- !ruby/object:Gem::Version
|
|
116
|
+
version: '5'
|
|
246
117
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
247
118
|
requirements:
|
|
248
119
|
- - ">="
|
|
249
120
|
- !ruby/object:Gem::Version
|
|
250
121
|
version: '0'
|
|
251
122
|
requirements: []
|
|
252
|
-
rubygems_version:
|
|
253
|
-
signing_key:
|
|
123
|
+
rubygems_version: 4.0.20
|
|
254
124
|
specification_version: 4
|
|
255
125
|
summary: Provides locale information for use in Solidus.
|
|
256
|
-
test_files:
|
|
257
|
-
- spec/dummy/README.md
|
|
258
|
-
- spec/dummy/Rakefile
|
|
259
|
-
- spec/dummy/app/assets/config/manifest.js
|
|
260
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
|
261
|
-
- spec/dummy/app/channels/application_cable/channel.rb
|
|
262
|
-
- spec/dummy/app/channels/application_cable/connection.rb
|
|
263
|
-
- spec/dummy/app/controllers/application_controller.rb
|
|
264
|
-
- spec/dummy/app/helpers/application_helper.rb
|
|
265
|
-
- spec/dummy/app/jobs/application_job.rb
|
|
266
|
-
- spec/dummy/app/mailers/application_mailer.rb
|
|
267
|
-
- spec/dummy/app/models/application_record.rb
|
|
268
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
|
269
|
-
- spec/dummy/app/views/layouts/mailer.html.erb
|
|
270
|
-
- spec/dummy/app/views/layouts/mailer.text.erb
|
|
271
|
-
- spec/dummy/bin/rails
|
|
272
|
-
- spec/dummy/bin/rake
|
|
273
|
-
- spec/dummy/bin/setup
|
|
274
|
-
- spec/dummy/config/application.rb
|
|
275
|
-
- spec/dummy/config/boot.rb
|
|
276
|
-
- spec/dummy/config/cable.yml
|
|
277
|
-
- spec/dummy/config/credentials.yml.enc
|
|
278
|
-
- spec/dummy/config/database.yml
|
|
279
|
-
- spec/dummy/config/environment.rb
|
|
280
|
-
- spec/dummy/config/environments/development.rb
|
|
281
|
-
- spec/dummy/config/environments/production.rb
|
|
282
|
-
- spec/dummy/config/environments/test.rb
|
|
283
|
-
- spec/dummy/config/initializers/application_controller_renderer.rb
|
|
284
|
-
- spec/dummy/config/initializers/assets.rb
|
|
285
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
|
286
|
-
- spec/dummy/config/initializers/content_security_policy.rb
|
|
287
|
-
- spec/dummy/config/initializers/cookies_serializer.rb
|
|
288
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
|
289
|
-
- spec/dummy/config/initializers/inflections.rb
|
|
290
|
-
- spec/dummy/config/initializers/mime_types.rb
|
|
291
|
-
- spec/dummy/config/initializers/permissions_policy.rb
|
|
292
|
-
- spec/dummy/config/initializers/spree.rb
|
|
293
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
|
294
|
-
- spec/dummy/config/locales/en.yml
|
|
295
|
-
- spec/dummy/config/master.key
|
|
296
|
-
- spec/dummy/config/routes.rb
|
|
297
|
-
- spec/dummy/config/storage.yml
|
|
298
|
-
- spec/dummy/config.ru
|
|
299
|
-
- spec/dummy/db/migrate/20210218213814_create_active_storage_tables.active_storage.rb
|
|
300
|
-
- spec/dummy/db/migrate/20210218213818_create_action_mailbox_tables.action_mailbox.rb
|
|
301
|
-
- spec/dummy/db/migrate/20210218213819_create_action_text_tables.action_text.rb
|
|
302
|
-
- spec/dummy/db/migrate/20210218213820_solidus_one_four.spree.rb
|
|
303
|
-
- spec/dummy/db/migrate/20210218213821_create_spree_wallet_payment_sources.spree.rb
|
|
304
|
-
- spec/dummy/db/migrate/20210218213822_migrate_credit_cards_to_wallet_payment_sources.spree.rb
|
|
305
|
-
- spec/dummy/db/migrate/20210218213823_remove_is_default_from_prices.spree.rb
|
|
306
|
-
- spec/dummy/db/migrate/20210218213824_remove_currency_from_line_items.spree.rb
|
|
307
|
-
- spec/dummy/db/migrate/20210218213825_add_available_to_columns_and_remove_display_on_from_payment_methods.spree.rb
|
|
308
|
-
- spec/dummy/db/migrate/20210218213826_create_spree_promotion_code_batch.spree.rb
|
|
309
|
-
- spec/dummy/db/migrate/20210218213827_add_available_to_users_and_remove_display_on_from_shipping_methods.spree.rb
|
|
310
|
-
- spec/dummy/db/migrate/20210218213828_add_index_to_spree_payments_number.spree.rb
|
|
311
|
-
- spec/dummy/db/migrate/20210218213829_remove_spree_store_credits_column.spree.rb
|
|
312
|
-
- spec/dummy/db/migrate/20210218213830_add_lft_and_rgt_indexes_to_taxons.spree.rb
|
|
313
|
-
- spec/dummy/db/migrate/20210218213831_remove_order_id_from_inventory_units.spree.rb
|
|
314
|
-
- spec/dummy/db/migrate/20210218213832_transform_tax_rate_category_relation.spree.rb
|
|
315
|
-
- spec/dummy/db/migrate/20210218213833_add_roles_unique_constraints.spree.rb
|
|
316
|
-
- spec/dummy/db/migrate/20210218213834_add_time_range_to_tax_rate.spree.rb
|
|
317
|
-
- spec/dummy/db/migrate/20210218213835_rename_bogus_gateways.spree.rb
|
|
318
|
-
- spec/dummy/db/migrate/20210218213836_remove_default_tax_from_spree_zones.spree.rb
|
|
319
|
-
- spec/dummy/db/migrate/20210218213837_create_promotion_rule_stores.spree.rb
|
|
320
|
-
- spec/dummy/db/migrate/20210218213838_create_store_shipping_methods.spree.rb
|
|
321
|
-
- spec/dummy/db/migrate/20210218213839_add_available_locales_to_stores.spree.rb
|
|
322
|
-
- spec/dummy/db/migrate/20210218213840_add_amount_remaining_to_store_credit_events.spree.rb
|
|
323
|
-
- spec/dummy/db/migrate/20210218213841_add_join_characters_to_promotion_code_batch.spree.rb
|
|
324
|
-
- spec/dummy/db/migrate/20210218213842_add_apply_to_all_to_variant_property_rule.spree.rb
|
|
325
|
-
- spec/dummy/db/migrate/20210218213843_create_spree_store_credit_reasons_table.spree.rb
|
|
326
|
-
- spec/dummy/db/migrate/20210218213844_remove_code_from_spree_promotions.spree.rb
|
|
327
|
-
- spec/dummy/db/migrate/20210218213845_drop_spree_store_credit_update_reasons.spree.rb
|
|
328
|
-
- spec/dummy/db/migrate/20210218213846_add_default_billng_flag_to_user_addresses.spree.rb
|
|
329
|
-
- spec/dummy/db/migrate/20210218213847_add_bcc_email_to_spree_stores.spree.rb
|
|
330
|
-
- spec/dummy/db/migrate/20210218213848_add_discontinue_on_to_spree_products.spree.rb
|
|
331
|
-
- spec/dummy/db/migrate/20210218213849_add_name_to_spree_addresses.spree.rb
|
|
332
|
-
- spec/dummy/db/migrate/20210218213850_add_api_key_to_spree_users.spree_api.rb
|
|
333
|
-
- spec/dummy/db/migrate/20210218213851_resize_api_key_field.spree_api.rb
|
|
334
|
-
- spec/dummy/db/migrate/20210218213852_rename_api_key_to_spree_api_key.spree_api.rb
|
|
335
|
-
- spec/dummy/db/migrate/20210218213853_add_index_to_user_spree_api_key.spree_api.rb
|
|
336
|
-
- spec/dummy/db/schema.rb
|
|
337
|
-
- spec/dummy/db/seeds.rb
|
|
338
|
-
- spec/dummy/db/solidus_test.sqlite3
|
|
339
|
-
- spec/dummy/log/test.log
|
|
340
|
-
- spec/dummy/public/404.html
|
|
341
|
-
- spec/dummy/public/422.html
|
|
342
|
-
- spec/dummy/public/500.html
|
|
343
|
-
- spec/dummy/public/apple-touch-icon-precomposed.png
|
|
344
|
-
- spec/dummy/public/apple-touch-icon.png
|
|
345
|
-
- spec/dummy/public/favicon.ico
|
|
346
|
-
- spec/dummy/tmp/development_secret.txt
|
|
347
|
-
- spec/dummy/vendor/assets/javascripts/spree/backend/all.js
|
|
348
|
-
- spec/dummy/vendor/assets/javascripts/spree/frontend/all.js
|
|
349
|
-
- spec/dummy/vendor/assets/stylesheets/spree/backend/all.css
|
|
350
|
-
- spec/dummy/vendor/assets/stylesheets/spree/frontend/all.css
|
|
351
|
-
- spec/examples.txt
|
|
352
|
-
- spec/solidus_i18n_spec.rb
|
|
353
|
-
- spec/spec_helper.rb
|
|
126
|
+
test_files: []
|
data/.circleci/config.yml
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
version: 2.1
|
|
2
|
-
|
|
3
|
-
orbs:
|
|
4
|
-
# Always take the latest version of the orb, this allows us to
|
|
5
|
-
# run specs against Solidus supported versions only without the need
|
|
6
|
-
# to change this configuration every time a Solidus version is released
|
|
7
|
-
# or goes EOL.
|
|
8
|
-
solidusio_extensions: solidusio/extensions@volatile
|
|
9
|
-
|
|
10
|
-
jobs:
|
|
11
|
-
run-specs:
|
|
12
|
-
parameters:
|
|
13
|
-
solidus:
|
|
14
|
-
type: string
|
|
15
|
-
default: master
|
|
16
|
-
db:
|
|
17
|
-
type: string
|
|
18
|
-
default: "postgres"
|
|
19
|
-
ruby:
|
|
20
|
-
type: string
|
|
21
|
-
default: "3.2"
|
|
22
|
-
executor:
|
|
23
|
-
name: solidusio_extensions/<< parameters.db >>
|
|
24
|
-
ruby_version: << parameters.ruby >>
|
|
25
|
-
steps:
|
|
26
|
-
- checkout
|
|
27
|
-
- solidusio_extensions/run-tests-solidus-<< parameters.solidus >>
|
|
28
|
-
|
|
29
|
-
workflows:
|
|
30
|
-
"Run specs on supported Solidus versions":
|
|
31
|
-
jobs:
|
|
32
|
-
- run-specs:
|
|
33
|
-
name: &name "run-specs-solidus-<< matrix.solidus >>-ruby-<< matrix.ruby >>-db-<< matrix.db >>"
|
|
34
|
-
matrix:
|
|
35
|
-
parameters: { solidus: ["master"], ruby: ["3.2"], db: ["postgres"] }
|
|
36
|
-
- run-specs:
|
|
37
|
-
name: *name
|
|
38
|
-
matrix:
|
|
39
|
-
parameters: { solidus: ["current"], ruby: ["3.1"], db: ["mysql"] }
|
|
40
|
-
- run-specs:
|
|
41
|
-
name: *name
|
|
42
|
-
matrix:
|
|
43
|
-
parameters: { solidus: ["older"], ruby: ["3.0"], db: ["sqlite"] }
|
|
44
|
-
|
|
45
|
-
"Weekly run specs against master":
|
|
46
|
-
triggers:
|
|
47
|
-
- schedule:
|
|
48
|
-
cron: "0 0 * * 4" # every Thursday
|
|
49
|
-
filters:
|
|
50
|
-
branches:
|
|
51
|
-
only:
|
|
52
|
-
- master
|
|
53
|
-
jobs:
|
|
54
|
-
- run-specs:
|
|
55
|
-
name: *name
|
|
56
|
-
matrix:
|
|
57
|
-
parameters: { solidus: ["master"], ruby: ["3.2"], db: ["postgres"] }
|
|
58
|
-
- run-specs:
|
|
59
|
-
name: *name
|
|
60
|
-
matrix:
|
|
61
|
-
parameters: { solidus: ["current"], ruby: ["3.1"], db: ["mysql"] }
|
data/.gem_release.yml
DELETED
data/.github/stale.yml
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
_extends: .github
|
data/.gitignore
DELETED
data/.hound.yml
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
# Keep it high to avoid spam.
|
|
3
|
-
Metrics/LineLength:
|
|
4
|
-
Max: 140
|
|
5
|
-
|
|
6
|
-
# This should truly be on for well documented gems.
|
|
7
|
-
Style/Documentation:
|
|
8
|
-
Enabled: false
|
|
9
|
-
|
|
10
|
-
# Neatly aligned code is too swell.
|
|
11
|
-
Layout/SpaceBeforeFirstArg:
|
|
12
|
-
Enabled: false
|
|
13
|
-
|
|
14
|
-
# Don't mess with RSpec DSL.
|
|
15
|
-
Style/BlockDelimiters:
|
|
16
|
-
Exclude:
|
|
17
|
-
- 'spec/**/*'
|
|
18
|
-
|
|
19
|
-
# Avoid contradictory style rules by enforce single quotes.
|
|
20
|
-
Style/StringLiterals:
|
|
21
|
-
EnforcedStyle: single_quotes
|
|
22
|
-
|
|
23
|
-
# It say we should use fail over raise..yeah right
|
|
24
|
-
Style/SignalException:
|
|
25
|
-
Enabled: false
|
data/.rspec
DELETED
data/.rubocop.yml
DELETED
data/.rubocop_todo.yml
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# This configuration was generated by
|
|
2
|
-
# `rubocop --auto-gen-config`
|
|
3
|
-
# on 2020-01-24 11:23:54 +0100 using RuboCop version 0.76.0.
|
|
4
|
-
# The point is for the user to remove these configuration records
|
|
5
|
-
# one by one as the offenses are removed from the code base.
|
|
6
|
-
# Note that changes in the inspected code, or installation of new
|
|
7
|
-
# versions of RuboCop, may require this file to be generated again.
|
|
8
|
-
|
|
9
|
-
# Offense count: 1
|
|
10
|
-
RSpec/DescribeClass:
|
|
11
|
-
Exclude:
|
|
12
|
-
- 'spec/solidus_i18n_spec.rb'
|
|
13
|
-
|
|
14
|
-
# Offense count: 2
|
|
15
|
-
# Configuration parameters: IgnoreSharedExamples.
|
|
16
|
-
RSpec/NamedSubject:
|
|
17
|
-
Exclude:
|
|
18
|
-
- 'spec/solidus_i18n_spec.rb'
|