solidus_frontend 2.5.2 → 2.6.0.rc1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of solidus_frontend might be problematic. Click here for more details.

Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +3 -1
  3. data/app/assets/javascripts/spree/frontend/checkout/address.js +4 -5
  4. data/app/assets/javascripts/spree/frontend/locale_selector.js +5 -0
  5. data/app/assets/javascripts/spree/frontend.js +1 -0
  6. data/app/assets/stylesheets/spree/frontend/screen.css.scss +33 -7
  7. data/app/controllers/spree/checkout_controller.rb +5 -4
  8. data/app/controllers/spree/content_controller.rb +2 -0
  9. data/app/controllers/spree/home_controller.rb +2 -0
  10. data/app/controllers/spree/locale_controller.rb +10 -6
  11. data/app/controllers/spree/orders_controller.rb +3 -1
  12. data/app/controllers/spree/products_controller.rb +3 -1
  13. data/app/controllers/spree/store_controller.rb +2 -0
  14. data/app/controllers/spree/taxons_controller.rb +3 -1
  15. data/app/helpers/spree/orders_helper.rb +2 -0
  16. data/app/helpers/spree/taxon_filters_helper.rb +13 -0
  17. data/app/models/spree/frontend_configuration.rb +2 -0
  18. data/app/views/spree/address/_form.html.erb +33 -33
  19. data/app/views/spree/checkout/_address.html.erb +2 -2
  20. data/app/views/spree/checkout/_delivery.html.erb +1 -1
  21. data/app/views/spree/checkout/_payment.html.erb +3 -3
  22. data/app/views/spree/checkout/edit.html.erb +2 -2
  23. data/app/views/spree/checkout/payment/_gateway.html.erb +12 -13
  24. data/app/views/spree/orders/_form.html.erb +1 -1
  25. data/app/views/spree/shared/_filters.html.erb +1 -1
  26. data/app/views/spree/shared/_locale_selector.html.erb +25 -0
  27. data/app/views/spree/shared/_nav_bar.html.erb +1 -0
  28. data/config/initializers/assets.rb +2 -0
  29. data/config/initializers/canonical_rails.rb +2 -0
  30. data/config/routes.rb +3 -0
  31. data/lib/generators/solidus/views/override_generator.rb +2 -0
  32. data/lib/solidus_frontend.rb +2 -0
  33. data/lib/spree/frontend/engine.rb +2 -0
  34. data/lib/spree/frontend/middleware/seo_assist.rb +2 -0
  35. data/lib/spree/frontend.rb +2 -0
  36. data/lib/spree_frontend.rb +2 -0
  37. data/lib/tasks/rake_util.rb +2 -0
  38. data/lib/tasks/taxon.rake +2 -0
  39. data/script/rails +4 -2
  40. data/solidus_frontend.gemspec +4 -3
  41. data/spec/controllers/controller_helpers_spec.rb +6 -0
  42. data/spec/controllers/locale_controller_spec.rb +57 -0
  43. data/spec/controllers/spree/checkout_controller_spec.rb +2 -0
  44. data/spec/controllers/spree/checkout_controller_with_views_spec.rb +3 -2
  45. data/spec/controllers/spree/content_controller_spec.rb +2 -0
  46. data/spec/controllers/spree/current_order_tracking_spec.rb +2 -0
  47. data/spec/controllers/spree/home_controller_spec.rb +2 -0
  48. data/spec/controllers/spree/orders_controller_ability_spec.rb +2 -0
  49. data/spec/controllers/spree/orders_controller_spec.rb +2 -0
  50. data/spec/controllers/spree/orders_controller_transitions_spec.rb +2 -0
  51. data/spec/controllers/spree/products_controller_spec.rb +2 -0
  52. data/spec/controllers/spree/taxons_controller_spec.rb +2 -0
  53. data/spec/features/address_spec.rb +2 -0
  54. data/spec/features/automatic_promotion_adjustments_spec.rb +2 -0
  55. data/spec/features/caching/products_spec.rb +2 -8
  56. data/spec/features/caching/taxons_spec.rb +2 -2
  57. data/spec/features/cart_spec.rb +2 -0
  58. data/spec/features/checkout_spec.rb +7 -5
  59. data/spec/features/checkout_unshippable_spec.rb +3 -1
  60. data/spec/features/coupon_code_spec.rb +2 -0
  61. data/spec/features/currency_spec.rb +2 -0
  62. data/spec/features/free_shipping_promotions_spec.rb +2 -0
  63. data/spec/features/locale_spec.rb +3 -7
  64. data/spec/features/order_spec.rb +3 -1
  65. data/spec/features/products_spec.rb +4 -3
  66. data/spec/features/promotion_code_invalidation_spec.rb +2 -0
  67. data/spec/features/quantity_promotions_spec.rb +2 -0
  68. data/spec/features/taxons_spec.rb +2 -0
  69. data/spec/features/template_rendering_spec.rb +2 -0
  70. data/spec/generators/solidus/views/override_generator_spec.rb +2 -0
  71. data/spec/helpers/base_helper_spec.rb +2 -0
  72. data/spec/helpers/order_helper_spec.rb +2 -0
  73. data/spec/helpers/taxon_filters_helper_spec.rb +12 -0
  74. data/spec/spec_helper.rb +4 -2
  75. data/spec/support/shared_contexts/checkout_setup.rb +2 -0
  76. data/spec/support/shared_contexts/custom_products.rb +2 -0
  77. data/spec/support/shared_contexts/locales.rb +16 -0
  78. data/spec/views/spree/checkout/_summary_spec.rb +2 -0
  79. metadata +35 -28
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_frontend
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.2
4
+ version: 2.6.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-22 00:00:00.000000000 Z
11
+ date: 2018-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_api
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.5.2
19
+ version: 2.6.0.rc1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 2.5.2
26
+ version: 2.6.0.rc1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: solidus_core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 2.5.2
33
+ version: 2.6.0.rc1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 2.5.2
40
+ version: 2.6.0.rc1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: canonical-rails
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -53,21 +53,21 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: 0.2.0
55
55
  - !ruby/object:Gem::Dependency
56
- name: jquery-rails
56
+ name: font-awesome-rails
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '4.0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: '4.0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: sass-rails
70
+ name: jquery-rails
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
@@ -81,53 +81,53 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: font-awesome-rails
84
+ name: kaminari
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '4.0'
89
+ version: '1.1'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '4.0'
96
+ version: '1.1'
97
97
  - !ruby/object:Gem::Dependency
98
- name: truncate_html
98
+ name: sass-rails
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '0.9'
104
101
  - - ">="
105
102
  - !ruby/object:Gem::Version
106
- version: 0.9.2
103
+ version: '0'
107
104
  type: :runtime
108
105
  prerelease: false
109
106
  version_requirements: !ruby/object:Gem::Requirement
110
107
  requirements:
111
- - - "~>"
112
- - !ruby/object:Gem::Version
113
- version: '0.9'
114
108
  - - ">="
115
109
  - !ruby/object:Gem::Version
116
- version: 0.9.2
110
+ version: '0'
117
111
  - !ruby/object:Gem::Dependency
118
- name: kaminari
112
+ name: truncate_html
119
113
  requirement: !ruby/object:Gem::Requirement
120
114
  requirements:
121
115
  - - "~>"
122
116
  - !ruby/object:Gem::Version
123
- version: '1.1'
117
+ version: '0.9'
118
+ - - ">="
119
+ - !ruby/object:Gem::Version
120
+ version: 0.9.2
124
121
  type: :runtime
125
122
  prerelease: false
126
123
  version_requirements: !ruby/object:Gem::Requirement
127
124
  requirements:
128
125
  - - "~>"
129
126
  - !ruby/object:Gem::Version
130
- version: '1.1'
127
+ version: '0.9'
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: 0.9.2
131
131
  - !ruby/object:Gem::Dependency
132
132
  name: capybara-accessible
133
133
  requirement: !ruby/object:Gem::Requirement
@@ -187,6 +187,7 @@ files:
187
187
  - app/assets/javascripts/spree/frontend/checkout/address.js
188
188
  - app/assets/javascripts/spree/frontend/checkout/coupon-code.js
189
189
  - app/assets/javascripts/spree/frontend/checkout/payment.js
190
+ - app/assets/javascripts/spree/frontend/locale_selector.js
190
191
  - app/assets/javascripts/spree/frontend/product.js
191
192
  - app/assets/stylesheets/spree/frontend.css
192
193
  - app/assets/stylesheets/spree/frontend/_skeleton.scss
@@ -201,6 +202,7 @@ files:
201
202
  - app/controllers/spree/store_controller.rb
202
203
  - app/controllers/spree/taxons_controller.rb
203
204
  - app/helpers/spree/orders_helper.rb
205
+ - app/helpers/spree/taxon_filters_helper.rb
204
206
  - app/models/spree/frontend_configuration.rb
205
207
  - app/views/spree/address/_form.html.erb
206
208
  - app/views/spree/address/_form_hidden.html.erb
@@ -239,6 +241,7 @@ files:
239
241
  - app/views/spree/shared/_header.html.erb
240
242
  - app/views/spree/shared/_image.html.erb
241
243
  - app/views/spree/shared/_link_to_cart.html.erb
244
+ - app/views/spree/shared/_locale_selector.html.erb
242
245
  - app/views/spree/shared/_login_bar_items.html.erb
243
246
  - app/views/spree/shared/_main_nav_bar.html.erb
244
247
  - app/views/spree/shared/_nav_bar.html.erb
@@ -266,6 +269,7 @@ files:
266
269
  - script/rails
267
270
  - solidus_frontend.gemspec
268
271
  - spec/controllers/controller_helpers_spec.rb
272
+ - spec/controllers/locale_controller_spec.rb
269
273
  - spec/controllers/spree/checkout_controller_spec.rb
270
274
  - spec/controllers/spree/checkout_controller_with_views_spec.rb
271
275
  - spec/controllers/spree/content_controller_spec.rb
@@ -297,9 +301,11 @@ files:
297
301
  - spec/generators/solidus/views/override_generator_spec.rb
298
302
  - spec/helpers/base_helper_spec.rb
299
303
  - spec/helpers/order_helper_spec.rb
304
+ - spec/helpers/taxon_filters_helper_spec.rb
300
305
  - spec/spec_helper.rb
301
306
  - spec/support/shared_contexts/checkout_setup.rb
302
307
  - spec/support/shared_contexts/custom_products.rb
308
+ - spec/support/shared_contexts/locales.rb
303
309
  - spec/views/spree/checkout/_summary_spec.rb
304
310
  homepage: http://solidus.io/
305
311
  licenses:
@@ -321,7 +327,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
321
327
  version: 1.8.23
322
328
  requirements:
323
329
  - none
324
- rubygems_version: 3.0.6
330
+ rubyforge_project:
331
+ rubygems_version: 2.7.6
325
332
  signing_key:
326
333
  specification_version: 4
327
334
  summary: Cart and storefront for the Solidus e-commerce project.