spree_frontend 4.2.3.1 → 4.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 76b7b2ed88530e5f7b5e500d8278b7b7ac329d9332fb6e62b59ca9829a4e846d
4
- data.tar.gz: 843dbe747db1c41d3d69946d98232bc0d8a64d566451ae05366221addf3a7a2e
3
+ metadata.gz: 92333c10b82224901dcf1c33bd0ae48284f7ae509658dbec4c3476e98141dea0
4
+ data.tar.gz: a253d70a6bacc5a1016031ced4097544fc8a77fd869d8bb52d2be20f91122497
5
5
  SHA512:
6
- metadata.gz: c1edeaf15d88a7e3417666e4d07154468d672e18032c2b53197475f19b9bee5d61660027e4ea1ae8342b9bbe8889567622ed89846e39ffd3dc7fd3d26f9af503
7
- data.tar.gz: 215319181ac46593f4e82b82716518c425fa9c9eb48a34e4bfa6d5159cbd1c168df62b5156c14240cc3bb2ac667cc04274ffea627782f1a1b1cc13498eea3fed
6
+ metadata.gz: 4f67effac42b6f9ca1d8a00550ece7660c86d40776fa4eede6d34172b3ea7769cb5405f2c6b1defd5e40e37e157066f28b24f4a5fb34ac1b7bdffae1d3e2a5e8
7
+ data.tar.gz: 7be908abefeb2aac20bdf1038ee3da2d68f4aec016fe46700d85d2240635dae13c21afc243d17e00f5dc2d1b81b5fb2b10b247829e41a66a39c5c0eee94fede2
@@ -29,15 +29,17 @@ document.addEventListener('turbolinks:load', function(event) {
29
29
  // fix back button issue with different currency set
30
30
  // invalidate page if cached page has different currency then the current one
31
31
  document.addEventListener('turbolinks:load', function(event) {
32
- if (SPREE_CURRENCY === SPREE_DEFAULT_CURRENCY) {
33
- var regexAnyCurrency = new RegExp('currency=')
34
- if (event.data.url.match(regexAnyCurrency) && !event.data.url.match(SPREE_CURRENCY)) {
35
- Spree.setCurrency(SPREE_CURRENCY)
36
- }
37
- } else {
38
- var regex = new RegExp('currency=' + SPREE_CURRENCY)
39
- if (!event.data.url.match(regex)) {
40
- Spree.setCurrency(SPREE_CURRENCY)
32
+ if (typeof (SPREE_DEFAULT_CURRENCY) !== 'undefined' && typeof (SPREE_CURRENCY) !== 'undefined') {
33
+ if (SPREE_CURRENCY === SPREE_DEFAULT_CURRENCY) {
34
+ var regexAnyCurrency = new RegExp('currency=')
35
+ if (event.data.url.match(regexAnyCurrency) && !event.data.url.match(SPREE_CURRENCY)) {
36
+ Spree.setCurrency(SPREE_CURRENCY)
37
+ }
38
+ } else {
39
+ var regex = new RegExp('currency=' + SPREE_CURRENCY)
40
+ if (!event.data.url.match(regex)) {
41
+ Spree.setCurrency(SPREE_CURRENCY)
42
+ }
41
43
  }
42
44
  }
43
45
  })
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
  "source_code_uri" => "https://github.com/spree/spree/tree/v#{s.version}",
20
20
  }
21
21
 
22
- s.required_ruby_version = '>= 2.5.0'
22
+ s.required_ruby_version = '>= 2.5'
23
23
 
24
24
  s.files = `git ls-files`.split("\n").reject { |f| f.match(/^spec/) && !f.match(/^spec\/fixtures/) }
25
25
  s.require_path = 'lib'
@@ -28,12 +28,12 @@ Gem::Specification.new do |s|
28
28
  s.add_dependency 'spree_api', s.version
29
29
  s.add_dependency 'spree_core', s.version
30
30
 
31
- s.add_dependency 'bootstrap', '>= 4.3.1', '< 4.7.0'
32
- s.add_dependency 'glyphicons', '~> 1.0.2'
33
- s.add_dependency 'canonical-rails', '~> 0.2.10'
31
+ s.add_dependency 'bootstrap', '~> 4.0'
32
+ s.add_dependency 'glyphicons', '~> 1.0'
33
+ s.add_dependency 'canonical-rails', '~> 0.2', '>= 0.2.10'
34
34
  s.add_dependency 'inline_svg', '~> 1.5'
35
35
  s.add_dependency 'jquery-rails', '~> 4.3'
36
- s.add_dependency 'turbolinks', '~> 5.2.0'
36
+ s.add_dependency 'turbolinks', '~> 5.2'
37
37
 
38
38
  s.add_development_dependency 'capybara-accessible'
39
39
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_frontend
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.3.1
4
+ version: 4.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-05-05 00:00:00.000000000 Z
12
+ date: 2022-06-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: spree_api
@@ -17,67 +17,64 @@ dependencies:
17
17
  requirements:
18
18
  - - '='
19
19
  - !ruby/object:Gem::Version
20
- version: 4.2.3.1
20
+ version: 4.2.6
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - '='
26
26
  - !ruby/object:Gem::Version
27
- version: 4.2.3.1
27
+ version: 4.2.6
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: spree_core
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - '='
33
33
  - !ruby/object:Gem::Version
34
- version: 4.2.3.1
34
+ version: 4.2.6
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - '='
40
40
  - !ruby/object:Gem::Version
41
- version: 4.2.3.1
41
+ version: 4.2.6
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: bootstrap
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ">="
47
- - !ruby/object:Gem::Version
48
- version: 4.3.1
49
- - - "<"
46
+ - - "~>"
50
47
  - !ruby/object:Gem::Version
51
- version: 4.7.0
48
+ version: '4.0'
52
49
  type: :runtime
53
50
  prerelease: false
54
51
  version_requirements: !ruby/object:Gem::Requirement
55
52
  requirements:
56
- - - ">="
57
- - !ruby/object:Gem::Version
58
- version: 4.3.1
59
- - - "<"
53
+ - - "~>"
60
54
  - !ruby/object:Gem::Version
61
- version: 4.7.0
55
+ version: '4.0'
62
56
  - !ruby/object:Gem::Dependency
63
57
  name: glyphicons
64
58
  requirement: !ruby/object:Gem::Requirement
65
59
  requirements:
66
60
  - - "~>"
67
61
  - !ruby/object:Gem::Version
68
- version: 1.0.2
62
+ version: '1.0'
69
63
  type: :runtime
70
64
  prerelease: false
71
65
  version_requirements: !ruby/object:Gem::Requirement
72
66
  requirements:
73
67
  - - "~>"
74
68
  - !ruby/object:Gem::Version
75
- version: 1.0.2
69
+ version: '1.0'
76
70
  - !ruby/object:Gem::Dependency
77
71
  name: canonical-rails
78
72
  requirement: !ruby/object:Gem::Requirement
79
73
  requirements:
80
74
  - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '0.2'
77
+ - - ">="
81
78
  - !ruby/object:Gem::Version
82
79
  version: 0.2.10
83
80
  type: :runtime
@@ -85,6 +82,9 @@ dependencies:
85
82
  version_requirements: !ruby/object:Gem::Requirement
86
83
  requirements:
87
84
  - - "~>"
85
+ - !ruby/object:Gem::Version
86
+ version: '0.2'
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: 0.2.10
90
90
  - !ruby/object:Gem::Dependency
@@ -121,14 +121,14 @@ dependencies:
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 5.2.0
124
+ version: '5.2'
125
125
  type: :runtime
126
126
  prerelease: false
127
127
  version_requirements: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 5.2.0
131
+ version: '5.2'
132
132
  - !ruby/object:Gem::Dependency
133
133
  name: capybara-accessible
134
134
  requirement: !ruby/object:Gem::Requirement
@@ -793,9 +793,9 @@ licenses:
793
793
  - BSD-3-Clause
794
794
  metadata:
795
795
  bug_tracker_uri: https://github.com/spree/spree/issues
796
- changelog_uri: https://github.com/spree/spree/releases/tag/v4.2.3.1
796
+ changelog_uri: https://github.com/spree/spree/releases/tag/v4.2.6
797
797
  documentation_uri: https://guides.spreecommerce.org/
798
- source_code_uri: https://github.com/spree/spree/tree/v4.2.3.1
798
+ source_code_uri: https://github.com/spree/spree/tree/v4.2.6
799
799
  post_install_message:
800
800
  rdoc_options: []
801
801
  require_paths:
@@ -804,7 +804,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
804
804
  requirements:
805
805
  - - ">="
806
806
  - !ruby/object:Gem::Version
807
- version: 2.5.0
807
+ version: '2.5'
808
808
  required_rubygems_version: !ruby/object:Gem::Requirement
809
809
  requirements:
810
810
  - - ">="
@@ -812,7 +812,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
812
812
  version: '0'
813
813
  requirements:
814
814
  - none
815
- rubygems_version: 3.1.4
815
+ rubygems_version: 3.0.9
816
816
  signing_key:
817
817
  specification_version: 4
818
818
  summary: Frontend e-commerce functionality for the Spree project.