diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8d80720..3398a0d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,26 +7,25 @@ jobs: matrix: gemfile: - Gemfile + - gemfiles/Gemfile-rails-7-1 - gemfiles/Gemfile-rails-7-0 - gemfiles/Gemfile-rails-6-1 - - gemfiles/Gemfile-rails-6-0 ruby: - - 2.7 - 3.0 - 3.1 - 3.2 + - 3.3 runs-on: ubuntu-latest env: BUNDLE_GEMFILE: ${{ matrix.gemfile }} UPLOADCARE_PUBLIC_KEY: demopublickey UPLOADCARE_SECRET_KEY: demoprivatekey steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true # runs bundle install and caches installed gems automatically - bundler: latest - run: bundle exec rake code-analysis: @@ -34,16 +33,13 @@ jobs: strategy: matrix: ruby-version: - - 2.7 - - 3.2 + - 3.3 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true - - name: Install gems - run: gem install rubocop - name: Check code run: bundle exec rubocop diff --git a/CHANGELOG.md b/CHANGELOG.md index d0c7354..ae82359 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file. The format is based now on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## 3.3.5 — 2023-10-15 + +### Fixed + +* Documentation issue with `uploadcare_include_tag` + +### Breaking Changes + +* Drop support for Ruby < 3.x +* Drop support for Rails < 6.1x + ## 3.3.4 — 2023-04-04 ### Changed @@ -40,7 +51,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. Guarantee support of maintainable versions of Ruby and Rails. -### Breaking Сhanges +### Breaking Changes Drop support of unmaintainable Ruby 2.4, 2.5, 2.6 and Rails before 6.0. @@ -57,7 +68,7 @@ This version supports latest Uploadcare REST API — [v0.7](https://uploadcare.c * [Virus checking](https://uploadcare.com/docs/security/malware-protection/) * [Object recognition](https://uploadcare.com/docs/intelligence/object-recognition/) -### Breaking Сhanges +### Breaking Changes - For `Uploadcare::FileApi#get_file` - File information doesn't return `image_info` and `video_info` fields anymore diff --git a/Gemfile b/Gemfile index 55ee577..a71328a 100644 --- a/Gemfile +++ b/Gemfile @@ -7,4 +7,8 @@ gemspec gem 'http-parser', '~> 1.2', '>= 1.2.3' gem 'rake', '~> 13.0.6' -gem 'rspec', '~> 3.10' +gem 'rspec', '~> 3.12' +gem 'rspec-rails', '>= 5.1' +gem 'rubocop', '~> 1.48' +gem 'vcr', '~> 6.1' +gem 'webmock', '~> 3.18' diff --git a/README.md b/README.md index 2f3f271..e0ac9c3 100644 --- a/README.md +++ b/README.md @@ -153,7 +153,7 @@ Add this string to your `` html-tag RailsApp - <%= uploadcare_widget_tag %> + <%= uploadcare_include_tag %>