spree_frontend 3.7.0.rc1 → 3.7.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/spree/checkout_controller.rb +5 -1
- data/spree_frontend.gemspec +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 766ed21537e5bd1d8185893ed1349c5e42f443a1ae4035b3289195c9034c904e
|
4
|
+
data.tar.gz: b5b9cef789b61f1a3f78fb0a47f005d0a258b6c5672d09929ce0ae1c60c5af08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18a4ab2ccad483b8e6d5c654e3415732fe5a78eb7a760ad9fa12a1e6a9b78fd81aa5f53a52ce127dbeae4bc06abe20281db01082d719fc3439f0bcdf2ddfcba2
|
7
|
+
data.tar.gz: 55f47cb6376353347d1bd78db800d77a63bc4528dad8cc276a26c28a24da2eac2ed9713b7efde7aaef8269119259397d5c92d89c1b686f58bd34ed2cbb5f677d
|
@@ -4,7 +4,7 @@ module Spree
|
|
4
4
|
# checkout which has nothing to do with updating an order that this approach
|
5
5
|
# is waranted.
|
6
6
|
class CheckoutController < Spree::StoreController
|
7
|
-
before_action :
|
7
|
+
before_action :set_cache_header, only: [:edit]
|
8
8
|
before_action :load_order_with_lock
|
9
9
|
before_action :ensure_valid_state_lock_version, only: [:update]
|
10
10
|
before_action :set_state_if_present
|
@@ -190,5 +190,9 @@ module Spree
|
|
190
190
|
def check_authorization
|
191
191
|
authorize!(:edit, current_order, cookies.signed[:token])
|
192
192
|
end
|
193
|
+
|
194
|
+
def set_cache_header
|
195
|
+
response.headers['Cache-Control'] = 'no-store'
|
196
|
+
end
|
193
197
|
end
|
194
198
|
end
|
data/spree_frontend.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.summary = 'Frontend e-commerce functionality for the Spree project.'
|
9
9
|
s.description = s.summary
|
10
10
|
|
11
|
-
s.required_ruby_version = '>= 2.3.
|
11
|
+
s.required_ruby_version = '>= 2.3.3'
|
12
12
|
|
13
13
|
s.author = 'Sean Schofield'
|
14
14
|
s.email = 'sean@spreecommerce.com'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_frontend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.7.0.
|
4
|
+
version: 3.7.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Schofield
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: spree_api
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.7.0.
|
19
|
+
version: 3.7.0.rc2
|
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: 3.7.0.
|
26
|
+
version: 3.7.0.rc2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: spree_core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 3.7.0.
|
33
|
+
version: 3.7.0.rc2
|
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: 3.7.0.
|
40
|
+
version: 3.7.0.rc2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bootstrap-sass
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -234,7 +234,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
234
234
|
requirements:
|
235
235
|
- - ">="
|
236
236
|
- !ruby/object:Gem::Version
|
237
|
-
version: 2.3.
|
237
|
+
version: 2.3.3
|
238
238
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
239
239
|
requirements:
|
240
240
|
- - ">"
|
@@ -243,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
243
243
|
requirements:
|
244
244
|
- none
|
245
245
|
rubyforge_project:
|
246
|
-
rubygems_version: 2.7.
|
246
|
+
rubygems_version: 2.7.8
|
247
247
|
signing_key:
|
248
248
|
specification_version: 4
|
249
249
|
summary: Frontend e-commerce functionality for the Spree project.
|