uploadcare-ruby 4.3.0 → 4.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf8a5684245c373f5f84e4aa67daae89eab8202ffdee98e64468bffa1336832e
4
- data.tar.gz: 10437f9330e348641c2e68507e1290b481c05cf7f8432a5fc02ea16979249914
3
+ metadata.gz: b5a41f0e682da0993059311f280acd2b5e1121de5cdc7815646ee209b6dedbd8
4
+ data.tar.gz: 37ec4e95272358faf14c597569cf10045fc3982935685c265a90a0f8cf70c2f1
5
5
  SHA512:
6
- metadata.gz: 79c53ddc0fad34527fce0c3d15362c6d18479bad625ccce2b127c97089bea4d650cc2fa5c698a76f534b2631aca356bfd4a829d1fc44f08ba466c76f2926eba1
7
- data.tar.gz: 44ba70a98651ec3d764491335d754684634bb3ccff1719197ca6b0a9117bcef50b45bf9e8b2f09be2f85a151f60837216032c63f0a514caebf9afe5eb5e755a7
6
+ metadata.gz: d03e62ad958c06e2695f77a9cb2d2d521efd56b056b09ed6aa3c8fc99015e486dacdf96923fccc191995b75d1caeaa549b751f60de0068a197854ecc4353af45
7
+ data.tar.gz: 7f14a80dc1c2408ec652feb37183f90c36c12799facec201b7f6076195669367bc4fa5487c051f19ecd4a6a50751fd39426a7e2906e75415eeeec421f17a548c
@@ -2,8 +2,6 @@ name: Publish Gem
2
2
 
3
3
  on:
4
4
  push:
5
- branches:
6
- - "*"
7
5
  tags:
8
6
  - v*
9
7
  jobs:
data/CHANGELOG.md CHANGED
@@ -1,16 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.3.1 — 2023-03-17
4
+
5
+ ### Changed
6
+
7
+ - Update the gem description
8
+ - Allow ENV keys to be configured after the gem load
9
+
3
10
  ## 4.3.0 — 2023-03-15
4
11
 
5
12
  Add support of new ruby versions
6
13
 
7
14
  ### Breaking Сhanges
8
15
 
9
- Drop support of unmaintainable Ruby versions (2.4, 2.5, 2.6).
16
+ - Drop support of unmaintainable Ruby versions (2.4, 2.5, 2.6).
17
+ - Replace unmaintainable `api_struct` with `uploadcare-api_struct`
10
18
 
11
19
  ### Added
12
20
 
13
- Add support for Ruby 3+ (3.0, 3.1, 3.2).
21
+ - Add support for Ruby 3+ (3.0, 3.1, 3.2).
14
22
 
15
23
  ## 4.0.0 — 2022-12-29
16
24
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Uploadcare
4
- VERSION = '4.3.0'
4
+ VERSION = '4.3.1'
5
5
  end
data/lib/uploadcare.rb CHANGED
@@ -45,8 +45,8 @@ module Uploadcare
45
45
  end
46
46
  end
47
47
 
48
- setting :public_key, default: ENV.fetch('UPLOADCARE_PUBLIC_KEY')
49
- setting :secret_key, default: ENV.fetch('UPLOADCARE_SECRET_KEY')
48
+ setting :public_key, default: ENV.fetch('UPLOADCARE_PUBLIC_KEY', '')
49
+ setting :secret_key, default: ENV.fetch('UPLOADCARE_SECRET_KEY', '')
50
50
  setting :auth_type, default: 'Uploadcare'
51
51
  setting :multipart_size_threshold, default: 100 * 1024 * 1024
52
52
  setting :rest_api_root, default: 'https://api.uploadcare.com'
@@ -7,10 +7,12 @@ require 'uploadcare/ruby/version'
7
7
  Gem::Specification.new do |spec|
8
8
  spec.name = 'uploadcare-ruby'
9
9
  spec.version = Uploadcare::VERSION
10
- spec.authors = ['@dmitrijivanchenko (Dmitrij Ivanchenko), @T0mbery (Andrey Aksenov)']
10
+ spec.authors = ['@dmitrijivanchenko (Dmitrij Ivanchenko), @T0mbery (Andrey Aksenov)',
11
+ 'kraft001 (Konstantin Rafalskii)']
11
12
 
12
13
  spec.summary = 'Ruby wrapper for uploadcare API'
13
- spec.description = spec.summary
14
+ spec.description = 'Ruby API client that handles uploads and further operations with files ' \
15
+ 'by wrapping Uploadcare Upload and REST APIs.'
14
16
  spec.homepage = 'https://github.com/uploadcare/uploadcare-ruby'
15
17
  spec.license = 'MIT'
16
18
 
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uploadcare-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.0
4
+ version: 4.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - "@dmitrijivanchenko (Dmitrij Ivanchenko), @T0mbery (Andrey Aksenov)"
8
+ - kraft001 (Konstantin Rafalskii)
8
9
  autorequire:
9
10
  bindir: exe
10
11
  cert_chain: []
11
- date: 2023-03-15 00:00:00.000000000 Z
12
+ date: 2023-03-17 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: mimemagic
@@ -156,7 +157,8 @@ dependencies:
156
157
  - - "~>"
157
158
  - !ruby/object:Gem::Version
158
159
  version: '3.18'
159
- description: Ruby wrapper for uploadcare API
160
+ description: Ruby API client that handles uploads and further operations with files
161
+ by wrapping Uploadcare Upload and REST APIs.
160
162
  email:
161
163
  executables: []
162
164
  extensions: []