web_translate_it 2.4.3 → 2.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/history.md +4 -0
- data/lib/web_translate_it/project.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7bbb563a2df9617fbb5579e120e415faa9513a19
|
4
|
+
data.tar.gz: 36070610d446970fd65874925c8ad009ebfb6454
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00d161f18b42da553e0506ae7e76c7a704d33c4576199fe832d2ce5b4e67983869975b2123f28de5029ec646638c538d14ada53d2c3b943b1e3271396889e383
|
7
|
+
data.tar.gz: 816da17d99694a60a001ce979e4e2e4fc44c4b1a945daceeaf9074e3b7eb68b980060c90e889ce8000b47910ed3e396e4e6e22def82373531a142d18c91778e9
|
data/history.md
CHANGED
@@ -41,7 +41,7 @@ module WebTranslateIt
|
|
41
41
|
request = Net::HTTP::Get.new("/api/projects/#{api_key}/stats.yaml")
|
42
42
|
request.add_field("X-Client-Name", "web_translate_it")
|
43
43
|
request.add_field("X-Client-Version", WebTranslateIt::Util.version)
|
44
|
-
Util.handle_response(http.request(request), true)
|
44
|
+
return Util.handle_response(http.request(request), true)
|
45
45
|
end
|
46
46
|
rescue Timeout::Error
|
47
47
|
puts "Request timeout. Will retry in 5 seconds."
|
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.4.
|
4
|
+
version: 2.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Edouard Briere
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multipart-post
|