spree_api 3.7.0 → 3.7.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of spree_api might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 44cc06b0850a333645e6a6d2bf64cf12f4027c00c384d63b93cb5f300e078d24
4
- data.tar.gz: b4afc56d8582365d30138740d9801048204f41a457b8586ecab81e2bda551d41
3
+ metadata.gz: 52a8ca7dd6ec45062eb2f95fad2081b467cdbebc52252739cdb1016c8370d302
4
+ data.tar.gz: 29924921d03fcbc9f784b6633b552c0dd2a93997d0bce6110e1189c4e30317b5
5
5
  SHA512:
6
- metadata.gz: 2d23e8bf8132452698c0a7e5e837e4c602786ffc6643b4816d9f9b800c86411fd89c73acab7caf67dd13a547d562a8135260bb4603e7d54cc6c93ba2ca790ef5
7
- data.tar.gz: d8c110fd93c97c51e03d02c8783ae232afdf18227fe9c6ae8a6b7aba755d4638b004a3af6760953dbc67089850cce19923beb498761f6a855e25aaed8699e334
6
+ metadata.gz: 49ad14a8cfcf55a30b9e02dddf8ed7aa4f2366af86755a0cb47f51f24855f32f43dc2c3771cca9e2ea00eb845a5d328f4bdbab67abd715f2ce84eea9a4ed429d
7
+ data.tar.gz: 809dbcb0bfc5dfb53901b50e4e7e3da242a0f1c24b993be9387df242d822dca50209eabf85a26cb668e2747248fd9f321d9101d9080c19c2669966e17c0389d2
@@ -14,7 +14,7 @@ module Spree
14
14
  belongs_to :parent, record_type: :taxon, serializer: :taxon
15
15
  belongs_to :taxonomy, record_type: :taxonomy
16
16
 
17
- has_many :children, record_type: :child, serializer: :taxon
17
+ has_many :children, record_type: :taxon, serializer: :taxon
18
18
  has_many :products, record_type: :product
19
19
 
20
20
  has_one :image,
@@ -761,6 +761,7 @@ paths:
761
761
  operationId: 'Products List'
762
762
  parameters:
763
763
  - $ref: '#/components/parameters/FilterByIds'
764
+ - $ref: '#/components/parameters/FilterBySKUs'
764
765
  - in: query
765
766
  name: filter[price]
766
767
  schema:
@@ -2517,6 +2518,13 @@ components:
2517
2518
  type: string
2518
2519
  example: 1,2,3
2519
2520
  description: Fetch only resources with corresponding IDs
2521
+ FilterBySKUs:
2522
+ in: query
2523
+ name: filter[skus]
2524
+ schema:
2525
+ type: string
2526
+ example: SKU-123,SKU-345
2527
+ description: Fetch only resources with corresponding SKUs
2520
2528
  FilterByName:
2521
2529
  in: query
2522
2530
  name: filter[name]
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: 3.7.0
4
+ version: 3.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Bigg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-04 00:00:00.000000000 Z
11
+ date: 2019-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jsonapi-rspec
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.7.0
33
+ version: 3.7.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 3.7.0
40
+ version: 3.7.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rabl
43
43
  requirement: !ruby/object:Gem::Requirement