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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52a8ca7dd6ec45062eb2f95fad2081b467cdbebc52252739cdb1016c8370d302
|
4
|
+
data.tar.gz: 29924921d03fcbc9f784b6633b552c0dd2a93997d0bce6110e1189c4e30317b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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: :
|
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.
|
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-
|
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.
|
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.
|
40
|
+
version: 3.7.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rabl
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|