Skip to content

Commit

Permalink
Version 5.2.0 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
bodrovis committed Jan 26, 2023
1 parent 9927217 commit fd7db52
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 5.2.0 (26-Jan-2023)

* The gem can now be added to the `development` group instead of `production` to reduce the bundle size
* Update dependences, test with Ruby 3.2

## 5.1.0 (26-Aug-2022)

* Fixed an issue with `\n` being improperly imported
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ group :test do
gem 'rubocop-performance', '~> 1.5'
gem 'rubocop-rake', '~> 0.6'
gem 'rubocop-rspec', '~> 2.6'
gem 'simplecov', '~> 0.16'
gem 'simplecov', '~> 0.22'
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]
gem 'webmock', '~> 3.14'
end
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Lokalise team, Ilya Krukowski
Copyright (c) 2023 Lokalise team, Ilya Krukowski

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Alternatively, you can utilize a token obtained via OAuth 2 flow. When using suc

### Installation

Add the gem to your `Gemfile`:
Add the gem to your `Gemfile` (it can be added to the `development` group if you're not planning to import/export translations in production):

```ruby
gem 'lokalise_rails'
Expand Down
4 changes: 1 addition & 3 deletions lib/lokalise_rails/version.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# frozen_string_literal: true

# :nocov:
module LokaliseRails
VERSION = '5.2.0'
end
# :nocov:
end
8 changes: 3 additions & 5 deletions spec/dummy/config/lokalise_rails.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# frozen_string_literal: true

if defined?(LokaliseRails) && defined?(LokaliseRails::GlobalConfig)
LokaliseRails::GlobalConfig.config do |c|
c.api_token = ENV.fetch('LOKALISE_API_TOKEN', nil)
c.project_id = ENV.fetch('LOKALISE_PROJECT_ID', nil)
end
c.api_token = ENV['LOKALISE_API_TOKEN']
c.project_id = ENV['LOKALISE_PROJECT_ID']
end
end

0 comments on commit fd7db52

Please sign in to comment.