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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 552423ad87e0055689731580be5866f71756286f
4
- data.tar.gz: 2158c845b83c58ce9d2d1109296b2e590d61b506
3
+ metadata.gz: c6cef400669415cd05a55d98c9e2f493c539508a
4
+ data.tar.gz: 305debfccf5da3c252cf172d8308d59dd68e2b28
5
5
  SHA512:
6
- metadata.gz: f4dc598439b0c5efb7dee15afc5ceaba4ba0cd34459834bf725e892540a8d76689532265f65c57ab2a603636f60802ec94b78c7e125bbb17c0b56eb18129ce49
7
- data.tar.gz: 979ccee54a8e8906d76cda45c7d4b6424905fbc8ce3df112cddf9b911058ed850d9cdf747e11d72115ec55d35b37ac55dafd0fe4dfcbe17e162dd2d989abb99e
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 << [:price, :variant_id, :sku]
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.7
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-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.2.7
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.7
26
+ version: 2.2.8
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rabl
29
29
  requirement: !ruby/object:Gem::Requirement