solidus_api 2.11.2 → 2.11.3

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
  SHA256:
3
- metadata.gz: 19be3dde15aa7ef97b0ade87c65b18aeb71627e8065fa3099ad76a40268ef861
4
- data.tar.gz: 5c8436a444740c8260ee482f4bf4a548c8068ea30c386e3e0add5560120c4ff5
3
+ metadata.gz: 492977c679c15471169c97341bb5446a19c2121decb3f896457c4f3502415acb
4
+ data.tar.gz: 29178c458fb1227522840937202fb0cf1b0b07ce0836b2a0cc9be4b83c3bf2f2
5
5
  SHA512:
6
- metadata.gz: 6cbedb51d0d5090b15f28cb02a591b48a27f205a2ee19f6c5b429e7756f770a20dd428a5b40ab35a9473cba23757f7734d10c9c67837b07311e5044678103449
7
- data.tar.gz: 393dea9adc6c5335620f74c932d899979117a9275cc59dee56a1dcf9667272d955398b69a186069402625f398d2332e962d7bc7b97462e0e9dc6f67ab0d5803f
6
+ metadata.gz: 40b32d9988058e01960ae75b99ca34c6f093fb040163acacaeb771f0195530366aff494c61be6a6d14b238f30b6994e93973170ea0d060840e6ef6fadb8d4742
7
+ data.tar.gz: 6ab791f396d48cb5adc9d6ac6c8d90287b528c2b86b14aaa6c049bab084fa8b0b13fff5111a368e6b97b91eafea1ae9bc762ee537f5ff8954d903cd0096bd053
@@ -20,7 +20,7 @@ module Spree
20
20
  end
21
21
 
22
22
  def update
23
- @image = scope.images.accessible_by(current_ability, :update).find(params[:id])
23
+ @image = scope.gallery.images.accessible_by(current_ability, :update).find(params[:id])
24
24
  @image.update(image_params)
25
25
  respond_with(@image, default_template: :show)
26
26
  end
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: 2.11.2
4
+ version: 2.11.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-12 00:00:00.000000000 Z
11
+ date: 2020-11-18 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: 2.11.2
61
+ version: 2.11.3
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: 2.11.2
68
+ version: 2.11.3
69
69
  description: REST API for the Solidus e-commerce framework.
70
70
  email: contact@solidus.io
71
71
  executables: []