solidus_frontend 2.9.0 → 2.9.1

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.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '021429976db5161133e0b99d6fe493da794d0b8c1a54062a3fe1f0dec420fb41'
4
- data.tar.gz: 89e3e0326e2aced1f9d1107442816b64a2c554c719f883e408cfc0cb4597b820
3
+ metadata.gz: 367cb22092ed631cb953c069fa9fdc2e6a0121259eb38b1c36eecdf489d21f35
4
+ data.tar.gz: e46898434ae8c382a8768e6cf1e2c6b2009f91a3a85df67730e713bf0124ddc1
5
5
  SHA512:
6
- metadata.gz: 274a3dceabef1220e03a11f56081ecfb9501076ef83b7a85b5efb7eaa1ee8858612dbcb516aa73451d89141f195dcfa55a64ef4a7601adedb77762ff7047655e
7
- data.tar.gz: 53f65dd4e588101f31592f22401617e8cf871fa58c6e3ff1d025e9af0c533890e39cffe65d8e5cde3f8fdd60da845a027bf95ed6a462d209e03c71bd4a07666b
6
+ metadata.gz: fb1bbe863325b89222395ed141151e62943890cfe27d165f1ea687de5e103b41f309a4092a9aefdab1c08ec566c24c7a2e073037d38eaa2c632a418157395ba6
7
+ data.tar.gz: b3868ed3d98a89bec8b804add42c842c563d098434ec4ba67c8488303cd8a8ef1717411ac2e2a9d086063c79221821a22610c9a2b86ae8e16e64b45729040d76
@@ -8,7 +8,7 @@ require 'spec_helper'
8
8
  describe Spree::ProductsController, type: :controller do
9
9
  before do
10
10
  I18n.enforce_available_locales = false
11
- Spree::Frontend::Config[:locale] = :de
11
+ stub_spree_preferences(Spree::Frontend::Config, locale: :de)
12
12
  I18n.backend.store_translations(:de, spree: {
13
13
  i18n: { this_file_language: "Deutsch (DE)" }
14
14
  })
@@ -16,7 +16,6 @@ describe Spree::ProductsController, type: :controller do
16
16
 
17
17
  after do
18
18
  I18n.reload!
19
- Spree::Frontend::Config[:locale] = :en
20
19
  I18n.locale = :en
21
20
  I18n.enforce_available_locales = true
22
21
  end
@@ -6,11 +6,10 @@ describe 'setting locale', type: :feature do
6
6
  let!(:store) { create(:store) }
7
7
  def with_locale(locale)
8
8
  I18n.locale = locale
9
- Spree::Frontend::Config[:locale] = locale
9
+ stub_spree_preferences(Spree::Frontend::Config, locale: locale)
10
10
  yield
11
11
  ensure
12
12
  I18n.locale = I18n.default_locale
13
- Spree::Frontend::Config[:locale] = 'en'
14
13
  end
15
14
 
16
15
  context 'shopping cart link and page' do
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.9.0
4
+ version: 2.9.1
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-07-16 00:00:00.000000000 Z
11
+ date: 2019-08-07 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.9.0
19
+ version: 2.9.1
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.9.0
26
+ version: 2.9.1
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.9.0
33
+ version: 2.9.1
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.9.0
40
+ version: 2.9.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: canonical-rails
43
43
  requirement: !ruby/object:Gem::Requirement