spree_api 2.2.7 → 2.2.8
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: c6cef400669415cd05a55d98c9e2f493c539508a
|
4
|
+
data.tar.gz: 305debfccf5da3c252cf172d8308d59dd68e2b28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 607e520fd39c93373e13356e6cd4dc7e929267b5df722101b55a0968d19f6adb6ff4b85bad85d47bbd25b5b6e40398c09d097b1e5089c42736b506944fcfff24
|
7
|
+
data.tar.gz: d948a5dad4cf07bea7371b72e9b2e2deabfea227ce7ac8a19be2ed75b8fa40d9824cb685220ed161c68bc49a01d7e819e2e75756c45227a5418803156358097b
|
@@ -42,7 +42,7 @@ module Spree
|
|
42
42
|
# users should be able to set price when importing orders via api
|
43
43
|
def permitted_line_item_attributes
|
44
44
|
if current_api_user.has_spree_role?("admin")
|
45
|
-
super
|
45
|
+
super + [:price, :variant_id, :sku]
|
46
46
|
else
|
47
47
|
super
|
48
48
|
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.2.
|
4
|
+
version: 2.2.8
|
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.2.
|
19
|
+
version: 2.2.8
|
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.2.
|
26
|
+
version: 2.2.8
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rabl
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|