solidus_api 2.11.10 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/spree/api/base_controller.rb +1 -12
- data/app/controllers/spree/api/checkouts_controller.rb +3 -15
- data/app/controllers/spree/api/orders_controller.rb +0 -16
- data/app/controllers/spree/api/taxonomies_controller.rb +0 -6
- data/app/controllers/spree/api/taxons_controller.rb +0 -5
- data/app/helpers/spree/api/api_helpers.rb +1 -8
- data/app/views/spree/api/config/show.json.jbuilder +0 -1
- data/config/routes.rb +1 -14
- data/lib/spree/api/engine.rb +1 -1
- data/lib/spree/api/responders/jbuilder_template.rb +0 -2
- data/lib/spree/api/testing_support/helpers.rb +1 -1
- data/openapi/solidus-api.oas.yml +1087 -510
- metadata +5 -6
- data/app/views/spree/api/orders/could_not_transition.json.jbuilder +0 -9
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Solidus Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jbuilder
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 3.0.2
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 3.0.2
|
69
69
|
description: REST API for the Solidus e-commerce framework.
|
70
70
|
email: contact@solidus.io
|
71
71
|
executables: []
|
@@ -151,7 +151,6 @@ files:
|
|
151
151
|
- app/views/spree/api/orders/_big.json.jbuilder
|
152
152
|
- app/views/spree/api/orders/_order.json.jbuilder
|
153
153
|
- app/views/spree/api/orders/could_not_apply_coupon.json.jbuilder
|
154
|
-
- app/views/spree/api/orders/could_not_transition.json.jbuilder
|
155
154
|
- app/views/spree/api/orders/expected_total_mismatch.json.jbuilder
|
156
155
|
- app/views/spree/api/orders/index.json.jbuilder
|
157
156
|
- app/views/spree/api/orders/invalid_shipping_method.json.jbuilder
|
@@ -272,7 +271,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
272
271
|
- !ruby/object:Gem::Version
|
273
272
|
version: 1.8.23
|
274
273
|
requirements: []
|
275
|
-
rubygems_version: 3.
|
274
|
+
rubygems_version: 3.2.20
|
276
275
|
signing_key:
|
277
276
|
specification_version: 4
|
278
277
|
summary: REST API for the Solidus e-commerce framework.
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
Spree::Deprecation.warn(
|
4
|
-
'spree/api/orders/could_not_transition is deprecated.' \
|
5
|
-
' Please use spree/api/errors/could_not_transition'
|
6
|
-
)
|
7
|
-
|
8
|
-
json.error(I18n.t(:could_not_transition, scope: "spree.api.order"))
|
9
|
-
json.errors(@order.errors.to_hash)
|