spree_api 3.6.0 → 3.6.1
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/api/base_controller.rb +2 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a39d977b95f765c9dc7616d74f765a1a06d3945b29c1bf05f5eaa2e86c27fd2
|
4
|
+
data.tar.gz: c8fb2d16007b7f87ce9e13083ccfc55b805d7388131c3fffa1ccea34c3e4c936
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1530bd75fae1b5712d19ed88d492162fb94dfaeba1cd8a8954cc06cfec3e68a7a558e663ef63636bf7770e7b8667ecb713bca498ce925cf03efe9204d5b5025
|
7
|
+
data.tar.gz: 872c722cdabf721d80388cb27c12fa8f287235b1d557095d5890dd5895af5b551b96520a22b336206f35236eda55b2f741d061738dde2dfbcdfa1ed76bf4565c
|
@@ -3,6 +3,8 @@ require_dependency 'spree/api/controller_setup'
|
|
3
3
|
module Spree
|
4
4
|
module Api
|
5
5
|
class BaseController < ActionController::Base
|
6
|
+
protect_from_forgery unless: -> { request.format.json? || request.format.xml? }
|
7
|
+
|
6
8
|
include Spree::Api::ControllerSetup
|
7
9
|
include Spree::Core::ControllerHelpers::Store
|
8
10
|
include Spree::Core::ControllerHelpers::StrongParameters
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.6.
|
4
|
+
version: 3.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Bigg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: spree_core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.6.
|
19
|
+
version: 3.6.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: 3.6.
|
26
|
+
version: 3.6.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rabl
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|