Skip to content

Commit

Permalink
Version 4.3.1 (#121)
Browse files Browse the repository at this point in the history
* Update description

* Allow ENV keys to be configured after the load

* Update changelog

* Fix rubocop offences
  • Loading branch information
kraft001 authored Mar 17, 2023
1 parent 98ecc34 commit 08e1e1d
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 9 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/gem-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Publish Gem

on:
push:
branches:
- "*"
tags:
- v*
jobs:
Expand Down
12 changes: 10 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
# Changelog

## 4.3.1 — 2023-03-17

### Changed

- Update the gem description
- Allow ENV keys to be configured after the gem load

## 4.3.0 — 2023-03-15

Add support of new ruby versions

### Breaking Сhanges

Drop support of unmaintainable Ruby versions (2.4, 2.5, 2.6).
- Drop support of unmaintainable Ruby versions (2.4, 2.5, 2.6).
- Replace unmaintainable `api_struct` with `uploadcare-api_struct`

### Added

Add support for Ruby 3+ (3.0, 3.1, 3.2).
- Add support for Ruby 3+ (3.0, 3.1, 3.2).

## 4.0.0 — 2022-12-29

Expand Down
4 changes: 2 additions & 2 deletions lib/uploadcare.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ def self.setting(name, default:, **options, &block)
end
end

setting :public_key, default: ENV.fetch('UPLOADCARE_PUBLIC_KEY')
setting :secret_key, default: ENV.fetch('UPLOADCARE_SECRET_KEY')
setting :public_key, default: ENV.fetch('UPLOADCARE_PUBLIC_KEY', '')
setting :secret_key, default: ENV.fetch('UPLOADCARE_SECRET_KEY', '')
setting :auth_type, default: 'Uploadcare'
setting :multipart_size_threshold, default: 100 * 1024 * 1024
setting :rest_api_root, default: 'https://api.uploadcare.com'
Expand Down
2 changes: 1 addition & 1 deletion lib/uploadcare/ruby/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Uploadcare
VERSION = '4.3.0'
VERSION = '4.3.1'
end
File renamed without changes.
6 changes: 4 additions & 2 deletions uploadcare-ruby.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ require 'uploadcare/ruby/version'
Gem::Specification.new do |spec|
spec.name = 'uploadcare-ruby'
spec.version = Uploadcare::VERSION
spec.authors = ['@dmitrijivanchenko (Dmitrij Ivanchenko), @T0mbery (Andrey Aksenov)']
spec.authors = ['@dmitrijivanchenko (Dmitrij Ivanchenko), @T0mbery (Andrey Aksenov)',
'kraft001 (Konstantin Rafalskii)']

spec.summary = 'Ruby wrapper for uploadcare API'
spec.description = spec.summary
spec.description = 'Ruby API client that handles uploads and further operations with files ' \
'by wrapping Uploadcare Upload and REST APIs.'
spec.homepage = 'https://github.com/uploadcare/uploadcare-ruby'
spec.license = 'MIT'

Expand Down

0 comments on commit 08e1e1d

Please sign in to comment.