beyond_api 0.24.0.pre → 0.24.1.pre

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: 6da6567d2a64ac33b9c160fccaf6c8cd694b752450517b20ac60a9040c8227b6
4
- data.tar.gz: c88ebfdc202da7b8b17d14031bd1502b319a5754c3f575e96ba258b1641932dc
3
+ metadata.gz: 9d8675fa4225b9cbbab16aed477c2bc119be330cde5be9249e363263c292e7df
4
+ data.tar.gz: 4672536fd5daf3777a55cf253d699447c77c61d26905d65736fde17a4fa42b1e
5
5
  SHA512:
6
- metadata.gz: f954f6572aed87a243514cf798da0550e12013f26b1c0668379662318c959b0697ae74ab26795711298f3b05636cc7293622e6e9e7ef97cf51ad59463fcc4d98
7
- data.tar.gz: f48e8d78fa746d5166faca83e9713456f172626f49c5f2e2af3e6a999a30bdc480d9e48eadeff49ba60cfe0a8f4a1f5120f8b01b215e7ab1ae537a1805fccfb3
6
+ metadata.gz: 4b194a0f1819933338bd3241807a65372e4f6a44c440dcd3b7b575a39d188bff7fd4e5af7b97556984f95c5ccce820e73ac0de23691458cadac51588874095af
7
+ data.tar.gz: d47dad7d298e7b9093a545e28083ea42d0ed3d717d65d7ad6e6bbb0f04c4dd694d66778cd376e4882be956a2eb4c3b7083c62025c7c4d13beb0a91650f39a82e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### v0.24.1.pre
2
+
3
+ * bug-fixes
4
+ * Fix image upload
5
+
1
6
  ### v0.24.0.pre
2
7
 
3
8
  * features
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- beyond_api (0.24.0.pre)
4
+ beyond_api (0.24.1.pre)
5
5
  faraday (~> 1.9.0)
6
6
 
7
7
  GEM
@@ -221,7 +221,7 @@ module BeyondApi
221
221
  response, status = BeyondApi::Request.upload_by_form(@session,
222
222
  "/products/#{product_id}/images",
223
223
  images_path,
224
- file_name: images_name)
224
+ file_name: images_name.map { |e| URI.encode_www_form([e]) })
225
225
 
226
226
  handle_response(response, status)
227
227
  end
@@ -226,7 +226,7 @@ module BeyondApi
226
226
  response, status = BeyondApi::Request.upload_by_form(@session,
227
227
  "/products/#{product_id}/variations/#{variation_id}/images",
228
228
  images_path,
229
- file_name: images_name)
229
+ file_name: images_name.map { |e| URI.encode_www_form([e]) })
230
230
 
231
231
  handle_response(response, status)
232
232
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BeyondApi
4
- VERSION = "0.24.0.pre"
4
+ VERSION = "0.24.1.pre"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beyond_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0.pre
4
+ version: 0.24.1.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Unai Abrisketa
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2023-10-06 00:00:00.000000000 Z
14
+ date: 2023-11-20 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler