solidus_i18n 2.1.1 → 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/CHANGELOG.md +3 -0
- data/README.md +55 -9
- data/Rakefile +21 -9
- data/bin/rails +9 -11
- data/config/locales/bg.yml +0 -5
- data/config/locales/ca.yml +0 -5
- data/config/locales/da.yml +1 -6
- data/config/locales/de-CH.yml +0 -5
- data/config/locales/de.yml +64 -35
- data/config/locales/en-AU.yml +0 -5
- data/config/locales/en-GB.yml +1 -6
- data/config/locales/en-IN.yml +1 -6
- data/config/locales/en-NZ.yml +1 -6
- data/config/locales/es-CL.yml +1 -1
- data/config/locales/es-EC.yml +0 -5
- data/config/locales/es-MX.yml +3 -3
- data/config/locales/es.yml +3 -3
- data/config/locales/et.yml +0 -5
- data/config/locales/fa.yml +1 -1
- data/config/locales/fi.yml +0 -5
- data/config/locales/fr.yml +9 -4
- data/config/locales/id.yml +1 -6
- data/config/locales/it.yml +1 -1
- data/config/locales/ja.yml +2 -2
- data/config/locales/ko.yml +0 -5
- data/config/locales/lv.yml +0 -5
- data/config/locales/nb.yml +1 -6
- data/config/locales/nl.yml +1 -6
- data/config/locales/pl.yml +1 -1
- data/config/locales/pt-BR.yml +426 -145
- data/config/locales/pt.yml +0 -5
- data/config/locales/ro.yml +0 -5
- data/config/locales/ru.yml +97 -24
- data/config/locales/sl-SI.yml +0 -5
- data/config/locales/th.yml +0 -5
- data/config/locales/tr.yml +1 -6
- data/config/locales/vi.yml +0 -5
- data/config/locales/zh-CN.yml +0 -5
- data/config/locales/zh-TW.yml +0 -5
- 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 -33
- metadata +21 -245
- data/.circleci/config.yml +0 -35
- data/.gem_release.yml +0 -5
- data/.github/stale.yml +0 -17
- 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 -31
- data/LICENSE +0 -26
- data/bin/console +0 -17
- 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
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,70 +15,44 @@ 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
|
-
version: '
|
|
21
|
+
version: '5'
|
|
23
22
|
type: :runtime
|
|
24
23
|
prerelease: false
|
|
25
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
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
|
-
version: '
|
|
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
|
-
-
|
|
68
|
-
- ".gem_release.yml"
|
|
69
|
-
- ".github/stale.yml"
|
|
70
|
-
- ".gitignore"
|
|
71
|
-
- ".hound.yml"
|
|
72
|
-
- ".rspec"
|
|
73
|
-
- ".rubocop.yml"
|
|
74
|
-
- ".rubocop_todo.yml"
|
|
75
|
-
- CONTRIBUTING.md
|
|
76
|
-
- Gemfile
|
|
77
|
-
- LICENSE
|
|
52
|
+
- CHANGELOG.md
|
|
78
53
|
- README.md
|
|
79
54
|
- Rakefile
|
|
80
|
-
- bin/console
|
|
81
55
|
- bin/rails
|
|
82
|
-
- bin/setup
|
|
83
56
|
- config/locales/bg.yml
|
|
84
57
|
- config/locales/ca.yml
|
|
85
58
|
- config/locales/cs.yml
|
|
@@ -119,119 +92,17 @@ files:
|
|
|
119
92
|
- config/locales/vi.yml
|
|
120
93
|
- config/locales/zh-CN.yml
|
|
121
94
|
- config/locales/zh-TW.yml
|
|
122
|
-
- config/routes.rb
|
|
123
95
|
- i18n-tasks.yml
|
|
124
|
-
- lib/generators/solidus_i18n/install/install_generator.rb
|
|
125
96
|
- lib/solidus_i18n.rb
|
|
126
97
|
- lib/solidus_i18n/engine.rb
|
|
127
|
-
- lib/solidus_i18n/factories.rb
|
|
128
|
-
- lib/solidus_i18n/version.rb
|
|
129
|
-
- lib/tasks/solidus_i18n/upgrade.rake
|
|
130
98
|
- solidus_i18n.gemspec
|
|
131
|
-
|
|
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
|
|
226
|
-
- spec/solidus_i18n_spec.rb
|
|
227
|
-
- spec/spec_helper.rb
|
|
228
|
-
homepage: https://github.com/solidusio/solidus_i18n
|
|
99
|
+
homepage: https://github.com/solidusio/solidus
|
|
229
100
|
licenses:
|
|
230
101
|
- BSD-3-Clause
|
|
231
102
|
metadata:
|
|
232
|
-
homepage_uri: https://github.com/solidusio/
|
|
233
|
-
source_code_uri: https://github.com/solidusio/
|
|
234
|
-
|
|
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
|
|
235
106
|
rdoc_options: []
|
|
236
107
|
require_paths:
|
|
237
108
|
- lib
|
|
@@ -239,112 +110,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
239
110
|
requirements:
|
|
240
111
|
- - ">="
|
|
241
112
|
- !ruby/object:Gem::Version
|
|
242
|
-
version: 2
|
|
113
|
+
version: '3.2'
|
|
114
|
+
- - "<"
|
|
115
|
+
- !ruby/object:Gem::Version
|
|
116
|
+
version: '5'
|
|
243
117
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
244
118
|
requirements:
|
|
245
119
|
- - ">="
|
|
246
120
|
- !ruby/object:Gem::Version
|
|
247
121
|
version: '0'
|
|
248
122
|
requirements: []
|
|
249
|
-
rubygems_version:
|
|
250
|
-
signing_key:
|
|
123
|
+
rubygems_version: 4.0.20
|
|
251
124
|
specification_version: 4
|
|
252
125
|
summary: Provides locale information for use in Solidus.
|
|
253
|
-
test_files:
|
|
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
|
|
126
|
+
test_files: []
|
data/.circleci/config.yml
DELETED
|
@@ -1,35 +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-with-postgres:
|
|
12
|
-
executor: solidusio_extensions/postgres
|
|
13
|
-
steps:
|
|
14
|
-
- solidusio_extensions/run-tests
|
|
15
|
-
run-specs-with-mysql:
|
|
16
|
-
executor: solidusio_extensions/mysql
|
|
17
|
-
steps:
|
|
18
|
-
- solidusio_extensions/run-tests
|
|
19
|
-
|
|
20
|
-
workflows:
|
|
21
|
-
"Run specs on supported Solidus versions":
|
|
22
|
-
jobs:
|
|
23
|
-
- run-specs-with-postgres
|
|
24
|
-
- run-specs-with-mysql
|
|
25
|
-
"Weekly run specs against master":
|
|
26
|
-
triggers:
|
|
27
|
-
- schedule:
|
|
28
|
-
cron: "0 0 * * 4" # every Thursday
|
|
29
|
-
filters:
|
|
30
|
-
branches:
|
|
31
|
-
only:
|
|
32
|
-
- master
|
|
33
|
-
jobs:
|
|
34
|
-
- run-specs-with-postgres
|
|
35
|
-
- run-specs-with-mysql
|
data/.gem_release.yml
DELETED
data/.github/stale.yml
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# Number of days of inactivity before an issue becomes stale
|
|
2
|
-
daysUntilStale: 60
|
|
3
|
-
# Number of days of inactivity before a stale issue is closed
|
|
4
|
-
daysUntilClose: 7
|
|
5
|
-
# Issues with these labels will never be considered stale
|
|
6
|
-
exemptLabels:
|
|
7
|
-
- pinned
|
|
8
|
-
- security
|
|
9
|
-
# Label to use when marking an issue as stale
|
|
10
|
-
staleLabel: wontfix
|
|
11
|
-
# Comment to post when marking an issue as stale. Set to `false` to disable
|
|
12
|
-
markComment: >
|
|
13
|
-
This issue has been automatically marked as stale because it has not had
|
|
14
|
-
recent activity. It will be closed if no further activity occurs. Thank you
|
|
15
|
-
for your contributions.
|
|
16
|
-
# Comment to post when closing a stale issue. Set to `false` to disable
|
|
17
|
-
closeComment: false
|
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'
|
data/CONTRIBUTING.md
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
## Filing an issue
|
|
2
|
-
|
|
3
|
-
When filing an issue on the Solidus project, please provide these details:
|
|
4
|
-
|
|
5
|
-
* A comprehensive list of steps to reproduce the issue.
|
|
6
|
-
* What you're *expecting* to happen compared with what's *actually* happening.
|
|
7
|
-
* Your application's complete `Gemfile.lock`, and `Gemfile.lock` as text in a [Gist](https://gist.github.com) (*not as an image*)
|
|
8
|
-
* Any relevant stack traces ("Full trace" preferred)
|
|
9
|
-
|
|
10
|
-
In 99% of cases, this information is enough to determine the cause and solution
|
|
11
|
-
to the problem that is being described.
|
|
12
|
-
|
|
13
|
-
Please remember to format code using triple backticks (\`) so that it is neatly
|
|
14
|
-
formatted when the issue is posted.
|
|
15
|
-
|
|
16
|
-
Any issue that is open for 14 days without actionable information or activity
|
|
17
|
-
will be marked as "stalled" and then closed. Stalled issues can be re-opened if
|
|
18
|
-
the information requested is provided.
|
|
19
|
-
|
|
20
|
-
## Pull requests
|
|
21
|
-
|
|
22
|
-
We gladly accept pull requests to add documentation, fix bugs and, in some circumstances,
|
|
23
|
-
add new features to Solidus.
|
|
24
|
-
|
|
25
|
-
Here's a quick guide:
|
|
26
|
-
|
|
27
|
-
1. Fork the repo.
|
|
28
|
-
|
|
29
|
-
2. Run the tests. We only take pull requests with passing tests, and it's great
|
|
30
|
-
to know that you have a clean slate:
|
|
31
|
-
|
|
32
|
-
$ bash build.sh
|
|
33
|
-
|
|
34
|
-
3. Create new branch then make changes and add tests for your changes. Only
|
|
35
|
-
refactoring and documentation changes require no new tests. If you are adding
|
|
36
|
-
functionality or fixing a bug, we need tests!
|
|
37
|
-
|
|
38
|
-
4. Push to your fork and submit a pull request. If the changes will apply cleanly
|
|
39
|
-
to the latest stable branches and master branch, you will only need to submit one
|
|
40
|
-
pull request.
|
|
41
|
-
|
|
42
|
-
5. If a PR does not apply cleanly to one of its targeted branches, then a separate
|
|
43
|
-
PR should be created that does. For instance, if a PR applied to master & 2-1-stable but not 2-0-stable, then there should be one PR for master & 2-1-stable and another, separate PR for 2-0-stable.
|
|
44
|
-
|
|
45
|
-
At this point you're waiting on us. We like to at least comment on, if not
|
|
46
|
-
accept, pull requests within three business days (and, typically, one business
|
|
47
|
-
day). We may suggest some changes or improvements or alternatives.
|
|
48
|
-
|
|
49
|
-
Some things that will increase the chance that your pull request is accepted,
|
|
50
|
-
taken straight from the Ruby on Rails guide:
|
|
51
|
-
|
|
52
|
-
* Use Rails idioms and helpers
|
|
53
|
-
* Include tests that fail without your code, and pass with it
|
|
54
|
-
* Update the documentation, the surrounding one, examples elsewhere, guides,
|
|
55
|
-
whatever is affected by your contribution
|
|
56
|
-
|
|
57
|
-
Syntax:
|
|
58
|
-
|
|
59
|
-
* Two spaces, no tabs.
|
|
60
|
-
* No trailing whitespace. Blank lines should not have any space.
|
|
61
|
-
* Prefer &&/|| over and/or.
|
|
62
|
-
* `MyClass.my_method(my_arg)` not `my_method( my_arg )` or `my_method my_arg`.
|
|
63
|
-
* `a = b` and not `a=b`.
|
|
64
|
-
* `a_method { |block| ... }` and not `a_method { | block | ... }`
|
|
65
|
-
* Follow the conventions you see used in the source already.
|
|
66
|
-
* -> symbol over lambda
|
|
67
|
-
* Ruby 1.9 hash syntax `{ key: value }` over Ruby 1.8 hash syntax `{ :key => value }`
|
|
68
|
-
* Alphabetize the class methods to keep them organized
|
|
69
|
-
|
|
70
|
-
And in case we didn't emphasize it enough: we love tests!
|
data/Gemfile
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
source 'https://rubygems.org'
|
|
4
|
-
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
|
5
|
-
|
|
6
|
-
branch = ENV.fetch('SOLIDUS_BRANCH', 'master')
|
|
7
|
-
gem 'solidus', github: 'solidusio/solidus', branch: branch
|
|
8
|
-
|
|
9
|
-
# Needed to help Bundler figure out how to resolve dependencies,
|
|
10
|
-
# otherwise it takes forever to resolve them.
|
|
11
|
-
# See https://github.com/bundler/bundler/issues/6677
|
|
12
|
-
gem 'rails', '>0.a'
|
|
13
|
-
|
|
14
|
-
case ENV['DB']
|
|
15
|
-
when 'mysql'
|
|
16
|
-
gem 'mysql2'
|
|
17
|
-
when 'postgresql'
|
|
18
|
-
gem 'pg'
|
|
19
|
-
else
|
|
20
|
-
gem 'sqlite3'
|
|
21
|
-
end
|
|
22
|
-
|
|
23
|
-
group :development, :test do
|
|
24
|
-
gem 'i18n-tasks', '~> 0.9' if branch == 'master'
|
|
25
|
-
end
|
|
26
|
-
|
|
27
|
-
gemspec
|
|
28
|
-
|
|
29
|
-
# Use a local Gemfile to include development dependencies that might not be
|
|
30
|
-
# relevant for the project or for other contributors, e.g.: `gem 'pry-debug'`.
|
|
31
|
-
eval_gemfile 'Gemfile-local' if File.exist? 'Gemfile-local'
|
data/LICENSE
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2011-2015 Spree Commerce Inc. and other contributors
|
|
2
|
-
All rights reserved.
|
|
3
|
-
|
|
4
|
-
Redistribution and use in source and binary forms, with or without modification,
|
|
5
|
-
are permitted provided that the following conditions are met:
|
|
6
|
-
|
|
7
|
-
* Redistributions of source code must retain the above copyright notice,
|
|
8
|
-
this list of conditions and the following disclaimer.
|
|
9
|
-
* Redistributions in binary form must reproduce the above copyright notice,
|
|
10
|
-
this list of conditions and the following disclaimer in the documentation
|
|
11
|
-
and/or other materials provided with the distribution.
|
|
12
|
-
* Neither the name Solidus nor the names of its contributors may be used to
|
|
13
|
-
endorse or promote products derived from this software without specific
|
|
14
|
-
prior written permission.
|
|
15
|
-
|
|
16
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
17
|
-
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
18
|
-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
19
|
-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
|
20
|
-
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
21
|
-
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
22
|
-
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
23
|
-
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
24
|
-
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
25
|
-
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
26
|
-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
data/bin/console
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env ruby
|
|
2
|
-
|
|
3
|
-
# frozen_string_literal: true
|
|
4
|
-
|
|
5
|
-
require "bundler/setup"
|
|
6
|
-
require "solidus_i18n"
|
|
7
|
-
|
|
8
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
|
9
|
-
# with your gem easier. You can also use a different console, if you like.
|
|
10
|
-
$LOAD_PATH.unshift(*Dir["#{__dir__}/../app/*"])
|
|
11
|
-
|
|
12
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
|
13
|
-
# require "pry"
|
|
14
|
-
# Pry.start
|
|
15
|
-
|
|
16
|
-
require "irb"
|
|
17
|
-
IRB.start(__FILE__)
|
data/bin/setup
DELETED
data/config/routes.rb
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
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
|