Skip to content

Commit

Permalink
prepare for v4
Browse files Browse the repository at this point in the history
  • Loading branch information
bodrovis committed Jul 20, 2023
1 parent 4ac6053 commit 19b8fcb
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
matrix:
os: [ubuntu-latest]
ruby:
- 2.7
- '3.0'
- 3.1
- 3.2
Expand Down
5 changes: 4 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,7 @@ RSpec/MultipleMemoizedHelpers:
Max: 10

Metrics/AbcSize:
Max: 18
Max: 18

Gemspec/DevelopmentDependencies:
EnforcedStyle: gemspec
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Changelog

## Unreleased
## 4.0.0

* **Use ruby-lokalise-api version 8**. It should not introduce any breaking changes (as main methods have similar signatures) but you should be aware that v8 is a complete rewrite of the original SDK so please make sure your tests pass.
* Replace VCR with WebMock in tests
* Various minor updates
* Do not test with Ruby 2.7 (EOL)

## 3.3.0 (18-Nov-22)

Expand Down
2 changes: 1 addition & 1 deletion lib/lokalise_manager/global_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def translations_loader

# Converts translations data to the proper format
def translations_converter
@translations_converter || ->(raw_data) { YAML.dump(raw_data).gsub(/\\\\n/, '\n') }
@translations_converter || ->(raw_data) { YAML.dump(raw_data).gsub('\\\\n', '\n') }
end

# Infers lang ISO for the given translation file
Expand Down
2 changes: 1 addition & 1 deletion lib/lokalise_manager/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module LokaliseManager
VERSION = '3.3.0'
VERSION = '4.0.0'
end
2 changes: 1 addition & 1 deletion lokalise_manager.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
spec.extra_rdoc_files = ['README.md']
spec.require_paths = ['lib']

spec.add_dependency 'ruby-lokalise-api', '~> 7'
spec.add_dependency 'ruby-lokalise-api', '8.0.0.rc1'
spec.add_dependency 'rubyzip', '~> 2.3'
spec.add_dependency 'zeitwerk', '~> 2.4'

Expand Down

0 comments on commit 19b8fcb

Please sign in to comment.