web_translate_it 2.7.1 → 2.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/history.md +8 -0
- data/lib/web_translate_it/translation_file.rb +1 -1
- data/lib/web_translate_it.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92adb002b0df15870368f976f18aaaa8f360b456517ea5d9e7448c44bc82e455
|
4
|
+
data.tar.gz: c2511b8b3f37936d476e2af8f0e23f5dfb60831466f7dad70de9d587fa174a3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f2085374587cbe5a78ded34b5675ee56d26658bd16529149268952fa93c606b39008d6bd73f96a77b7e5eb21c7058ac8ce864fb17d5dce9e022c856f2f162e5
|
7
|
+
data.tar.gz: 40df440171537d90c6cf54a7ae3499b042a4727f28150c7817f9b24c814844b5e3e03177019d8140952bfd814cf7aa55df542b4b6bd665837468257daf55e4e7
|
data/history.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
## Version 2.7.3 / 2022-10-28
|
2
|
+
|
3
|
+
* Relax dependency on `multipart_post`. Also made sure that wti works with `multipart_post >= 2.0.0 and < 2.3`.
|
4
|
+
|
5
|
+
## Version 2.7.2 / 2022-10-14
|
6
|
+
|
7
|
+
* Specify a minimum version for dependency `multipart_post`.
|
8
|
+
|
1
9
|
## Version 2.7.1 / 2022-10-14
|
2
10
|
|
3
11
|
* Potential fix potential for issue `uninitialized constant WebTranslateIt::TranslationFile::Multipart`.
|
@@ -96,7 +96,7 @@ module WebTranslateIt
|
|
96
96
|
if File.exist?(file_path)
|
97
97
|
if force || (remote_checksum != local_checksum)
|
98
98
|
File.open(file_path) do |file|
|
99
|
-
params = {'file' => Multipart::Post::UploadIO.new(file, 'text/plain', file.path), 'merge' => merge, 'ignore_missing' => ignore_missing, 'label' => label, 'low_priority' => low_priority, 'minor_changes' => minor_changes}
|
99
|
+
params = {'file' => ::Multipart::Post::UploadIO.new(file, 'text/plain', file.path), 'merge' => merge, 'ignore_missing' => ignore_missing, 'label' => label, 'low_priority' => low_priority, 'minor_changes' => minor_changes}
|
100
100
|
params['name'] = destination_path unless destination_path.nil?
|
101
101
|
params['rename_others'] = rename_others
|
102
102
|
request = Net::HTTP::Put::Multipart.new(api_url, params)
|
data/lib/web_translate_it.rb
CHANGED
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: 2.7.
|
4
|
+
version: 2.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Edouard Briere
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|
@@ -114,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
114
114
|
- !ruby/object:Gem::Version
|
115
115
|
version: '0'
|
116
116
|
requirements: []
|
117
|
-
rubygems_version: 3.3.
|
117
|
+
rubygems_version: 3.3.23
|
118
118
|
signing_key:
|
119
119
|
specification_version: 4
|
120
120
|
summary: A CLI tool to sync locale files with WebTranslateIt.com.
|