Skip to content

Commit

Permalink
prepare for v9
Browse files Browse the repository at this point in the history
  • Loading branch information
bodrovis committed Nov 8, 2023
1 parent 4a9be26 commit fedefd2
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- '3.0'
- 3.1
- 3.2
- '3.3.0-preview2'
runs-on: ${{ matrix.os }}
env:
LOKALISE_API_TOKEN: 123abc
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require:
- rubocop-rake

AllCops:
TargetRubyVersion: 2.7
TargetRubyVersion: 3.0
NewCops: enable

Metrics/BlockLength:
Expand Down
4 changes: 4 additions & 0 deletions docs/additional_info/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 9.0.0 (08-11-2023)

* **Breaking change**: require Ruby 3+. Version 2.7 has reached end-of-life and thus we are not planning to support it anymore. If you need support for Ruby 2.7, please stay on 8.0.1.

## 8.0.1 (24-Aug-2023)

* Code updates and improvements
Expand Down
4 changes: 3 additions & 1 deletion docs/api/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@

## Installation and requirements

This gem requires [Ruby 2.7+](https://www.ruby-lang.org/en/) and [RubyGems package manager](https://rubygems.org/pages/download).
This gem requires [Ruby 3.0+](https://www.ruby-lang.org/en/) and [RubyGems package manager](https://rubygems.org/pages/download).

Install it by running:

gem install ruby-lokalise-api

Use v8.0.1 if you need support for Ruby 2.7.

## Initializing the client

In order to perform API requests, you require a special token that can be obtained in your [personal profile](https://lokalise.com/profile#apitokens) (*API tokens* section).
Expand Down
2 changes: 1 addition & 1 deletion lib/ruby_lokalise_api/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module RubyLokaliseApi
VERSION = '8.0.1'
VERSION = '9.0.0'
end
2 changes: 1 addition & 1 deletion ruby-lokalise-api.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
spec.homepage = 'https://github.com/lokalise/ruby-lokalise-api'
spec.license = 'BSD-3-Clause'
spec.platform = Gem::Platform::RUBY
spec.required_ruby_version = '>= 2.7'
spec.required_ruby_version = '>= 3.0'

spec.files = Dir['README.md', 'LICENSE',
'CHANGELOG.md', 'lib/**/*.rb', 'lib/ruby_lokalise_api/data/*.yml',
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

require_relative '../lib/ruby_lokalise_api'

Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].sort.each { |f| require f }
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

RSpec.configure do |config|
config.include TestClient
Expand Down

0 comments on commit fedefd2

Please sign in to comment.