web_translate_it 3.0.1 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/history.md +13 -0
- data/lib/web_translate_it/command_line.rb +1 -1
- data/readme.md +5 -5
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a410c5520af87fa8446a857f61051afda3c9e9818828ed011b0d1562b4579fd9
|
4
|
+
data.tar.gz: 2e7d71a0e9ffa71705da20139be1bb6be24981b32d724b9f0880bdca5db14c36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c5812f7cea5a567985fe983c4cf175e1484a230bd0e4e1a3dfc2c88857cfbc423182dd8356fb3fc3515004f14e0dd4c7e3c90f6e1af8c56f6b52e945c5c7cd7
|
7
|
+
data.tar.gz: 9e117a6ee91369ffadf1d0a89e4aa5f7a1aceb329b87426dbf188bffee419dbc37fcb3c3869cdc0a5ef434bcdf2b6a1e1471454389957bff4aa3b9abed0497dc
|
data/history.md
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
## Version 3.1.0 / 2024-09-19
|
2
|
+
|
3
|
+
* Remove support for ruby 2.7. Minimum supported ruby version is 3.0. #328
|
4
|
+
* Dependency updates.
|
5
|
+
|
6
|
+
## Version 3.0.2 / 2024-01-08
|
7
|
+
|
8
|
+
* Fix: Limit the amount of threads used. #294
|
9
|
+
|
10
|
+
## Version 3.0.1 / 2023-11-30
|
11
|
+
|
12
|
+
Fix frozen string literal bug happening when pulling long files names needing truncation. #288
|
13
|
+
|
1
14
|
## Version 3.0.0 / 2023-09-20
|
2
15
|
|
3
16
|
* Remove dependency on `multipart_post`. #255
|
@@ -60,7 +60,7 @@ module WebTranslateIt
|
|
60
60
|
time = Time.now
|
61
61
|
threads = []
|
62
62
|
n_threads = [(files.size.to_f / 3).ceil, 10].min
|
63
|
-
files.each_slice(n_threads).each do |file_array|
|
63
|
+
files.each_slice((files.size.to_f / n_threads).round).each do |file_array|
|
64
64
|
next if file_array.empty?
|
65
65
|
|
66
66
|
threads << Thread.new(file_array) do |f_array|
|
data/readme.md
CHANGED
@@ -25,12 +25,12 @@ wti lets you easily sync your language files with [WebTranslateIt.com](https://w
|
|
25
25
|
|
26
26
|
## Installation
|
27
27
|
|
28
|
-
You will also need ruby to run `wti`. We require ruby version
|
28
|
+
You will also need ruby to run `wti`. We require ruby version 3.0 or newer. On Linux or a Mac, it’s already installed. Install [RubyInstaller](http://rubyinstaller.org/) if you’re using Windows. [See detailed installation instructions for Windows users](https://github.com/webtranslateit/webtranslateit/wiki/Install-wti-on-Windows).
|
29
29
|
|
30
30
|
``` bash
|
31
31
|
$ gem install web_translate_it
|
32
|
-
Fetching: web_translate_it-
|
33
|
-
Successfully installed web_translate_it-
|
32
|
+
Fetching: web_translate_it-3.0.2.gem (100%)
|
33
|
+
Successfully installed web_translate_it-3.0.2
|
34
34
|
1 gem installed
|
35
35
|
```
|
36
36
|
|
@@ -38,7 +38,7 @@ At this point you should have the `wti` executable working:
|
|
38
38
|
|
39
39
|
``` bash
|
40
40
|
$ wti -v
|
41
|
-
wti version
|
41
|
+
wti version 3.0.2
|
42
42
|
```
|
43
43
|
|
44
44
|
We also provide `wti` as a Docker packages. [See our packages and instructions to install](https://github.com/webtranslateit/wti-docker/pkgs/container/wti-docker).
|
@@ -272,4 +272,4 @@ fr: 100% translated, 100% completed.
|
|
272
272
|
|
273
273
|
# License
|
274
274
|
|
275
|
-
Copyright (c) 2009-
|
275
|
+
Copyright (c) 2009-2024 [WebTranslateIt Software S.L](https://webtranslateit.com), released under the MIT License.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: web_translate_it
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Edouard Briere
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|
@@ -92,14 +92,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
92
92
|
requirements:
|
93
93
|
- - ">="
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: '
|
95
|
+
version: '3.0'
|
96
96
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
97
|
requirements:
|
98
98
|
- - ">="
|
99
99
|
- !ruby/object:Gem::Version
|
100
100
|
version: '0'
|
101
101
|
requirements: []
|
102
|
-
rubygems_version: 3.
|
102
|
+
rubygems_version: 3.5.19
|
103
103
|
signing_key:
|
104
104
|
specification_version: 4
|
105
105
|
summary: A CLI tool to sync locale files with WebTranslateIt.com.
|