spree_api 4.3.0.rc1 → 4.3.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
@@ -50,12 +50,12 @@ JSON_API_FILTER_DESCRIPTION = ''
50
50
 
51
51
  def json_api_include_parameter(example = '')
52
52
  let(:include) { nil }
53
- parameter name: :include, in: :query, type: :string, descripton: JSON_API_INCLUDES_DESCRIPTION, example: example
53
+ parameter name: :include, in: :query, type: :string, description: JSON_API_INCLUDES_DESCRIPTION, example: example
54
54
  end
55
55
 
56
56
  def json_api_filter_parameter(example = '')
57
57
  let(:filter) { nil }
58
- parameter name: :filter, in: :query, type: :string, descripton: JSON_API_FILTER_DESCRIPTION, example: example
58
+ parameter name: :filter, in: :query, type: :string, description: JSON_API_FILTER_DESCRIPTION, example: example
59
59
  end
60
60
 
61
61
  shared_examples 'authentication failed' do
@@ -199,7 +199,7 @@ shared_examples 'DELETE record' do |resource_name|
199
199
  end
200
200
 
201
201
  shared_examples 'CRUD examples' do |resource_name, include_example, filter_example|
202
- resource_path = resource_name.pluralize.parameterize
202
+ resource_path = resource_name.tableize.pluralize
203
203
 
204
204
  path "/api/v2/platform/#{resource_path}" do
205
205
  include_examples 'GET records list', resource_name, include_example, filter_example
data/spree_api.gemspec CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
14
14
  s.metadata = {
15
15
  "bug_tracker_uri" => "https://github.com/spree/spree/issues",
16
16
  "changelog_uri" => "https://github.com/spree/spree/releases/tag/v#{s.version}",
17
- "documentation_uri" => "https://guides.spreecommerce.org/",
17
+ "documentation_uri" => "https://dev-docs.spreecommerce.org/",
18
18
  "source_code_uri" => "https://github.com/spree/spree/tree/v#{s.version}",
19
19
  }
20
20
 
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: 4.3.0.rc1
4
+ version: 4.3.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Bigg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-11 00:00:00.000000000 Z
11
+ date: 2021-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jsonapi-rspec
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 4.3.0.rc1
61
+ version: 4.3.0.rc2
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: 4.3.0.rc1
68
+ version: 4.3.0.rc2
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rabl
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -145,6 +145,7 @@ files:
145
145
  - Gemfile
146
146
  - LICENSE
147
147
  - Rakefile
148
+ - app/controllers/concerns/spree/api/v2/caching.rb
148
149
  - app/controllers/concerns/spree/api/v2/product_list_includes.rb
149
150
  - app/controllers/concerns/spree/api/v2/storefront/order_concern.rb
150
151
  - app/controllers/spree/api/base_controller.rb
@@ -406,9 +407,9 @@ licenses:
406
407
  - BSD-3-Clause
407
408
  metadata:
408
409
  bug_tracker_uri: https://github.com/spree/spree/issues
409
- changelog_uri: https://github.com/spree/spree/releases/tag/v4.3.0.rc1
410
- documentation_uri: https://guides.spreecommerce.org/
411
- source_code_uri: https://github.com/spree/spree/tree/v4.3.0.rc1
410
+ changelog_uri: https://github.com/spree/spree/releases/tag/v4.3.0.rc2
411
+ documentation_uri: https://dev-docs.spreecommerce.org/
412
+ source_code_uri: https://github.com/spree/spree/tree/v4.3.0.rc2
412
413
  post_install_message:
413
414
  rdoc_options: []
414
415
  require_paths: