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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bf48939c8d5c9e705d069f0e86a1cc25671797ac
4
- data.tar.gz: 5bc9f3903e8d012c20f36469825b2bc24ab73742
3
+ metadata.gz: 4f78953e2dc4ab4b07de81ff60db959426f927a9
4
+ data.tar.gz: 43b95fa9fd8e33acfc75646403d17024ca1171a0
5
5
  SHA512:
6
- metadata.gz: 173933e3f5cfdc718056035c232401e48cde88491280b912dd173378021a4bf304f1d5dd83c9bcd2e7951a87359a4ad24b3c64e0ac35e701f5fdfb70f733197f
7
- data.tar.gz: faddf7e2c60e3d8eef60620f8ba971708ca81d12c783ce2d67d20dc6d03513d577847f6fc04b1ee762fbf0c23ab9930033309e1217f7c3aae0404ff4a9720b15
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 << [:price, :variant_id, :sku]
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.5
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-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.3.5
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.5
26
+ version: 2.3.6
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rabl
29
29
  requirement: !ruby/object:Gem::Requirement