spree_api 2.3.5 → 2.3.6
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 +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f78953e2dc4ab4b07de81ff60db959426f927a9
|
4
|
+
data.tar.gz: 43b95fa9fd8e33acfc75646403d17024ca1171a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 08a12b906a2e54fdb9ed02a27890aa725b7218c8adc649331a75b65b5c254ff9712b9bcdd52ae68e528502ff3cb80b91ded4dca24750a9eab05f90658d9d665d
|
7
|
+
data.tar.gz: d8c0f8b39454cfb8e8d84f3295c5a20ff1e7f4b37ef51199e58a028b3d9477666484fe9ad4e4a91b4cd51588c8056dc0f975cb78791cf5db30b17673c366ced5
|
@@ -46,7 +46,7 @@ module Spree
|
|
46
46
|
# users should be able to set price when importing orders via api
|
47
47
|
def permitted_line_item_attributes
|
48
48
|
if @current_user_roles.include?("admin")
|
49
|
-
super
|
49
|
+
super + [:price, :variant_id, :sku]
|
50
50
|
else
|
51
51
|
super
|
52
52
|
end
|
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: 2.3.
|
4
|
+
version: 2.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Bigg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-05 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: 2.3.
|
19
|
+
version: 2.3.6
|
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.3.
|
26
|
+
version: 2.3.6
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rabl
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|