spree_api 2.1.10 → 2.1.11

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
  SHA1:
3
- metadata.gz: c1f9b1298a2dd86ee6a66b6bc12757ec94e58205
4
- data.tar.gz: 13eec3f604d5b8fa799ead9414c5e7ad81df642f
3
+ metadata.gz: 167e764eaf9ea388016831a3d5eb54f5757e473e
4
+ data.tar.gz: 270eafd69e6df06636b2d449dfac6706228391be
5
5
  SHA512:
6
- metadata.gz: e1178d2e88a2a51d685616b687663103ab35457404e068614597d53940f660c20b6e736196d6ab90300fe8dd6cffec5212c30aa2bd3d15a823810206f9f5ee5f
7
- data.tar.gz: e7eb123b0c0d71d3f14bf57dfe37f067b613916c577b46769d6f8f4ce4b71c60a770bf56a815959cd41a838528d291d515042b9169ce3f1b7999d870f01d9844
6
+ metadata.gz: d3c8d518f36d300c218e2504e59a2c20c9df23e075df05b3fb28050ae4df971d2acdb70a23a6ba2584d94b5e26adf85f1ac73fb38ed9700ac1b2a90db744ee41
7
+ data.tar.gz: eb668f1902f81379358fd8a53f6d0b17e23f890f255949602a36f120ddeef4c242d1f1bee7461854c166fb0e614632614bc6098f13db21877e02d040b85d7934
@@ -51,7 +51,7 @@ module Spree
51
51
  # users should be able to set price when importing orders via api
52
52
  def permitted_line_item_attributes
53
53
  if current_api_user.has_spree_role?("admin")
54
- super << [:price, :variant_id, :sku]
54
+ super + [:price, :variant_id, :sku]
55
55
  else
56
56
  super
57
57
  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.1.10
4
+ version: 2.1.11
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-20 00:00:00.000000000 Z
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.1.10
19
+ version: 2.1.11
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.1.10
26
+ version: 2.1.11
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rabl
29
29
  requirement: !ruby/object:Gem::Requirement