web_translate_it 2.3.1 → 2.3.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1bdcd0cd4aade89d74fde98a60a41426ccf84f1b
4
- data.tar.gz: 6a75a120a3cbcd3b4bbca2481ae3f6dd0ab6b233
3
+ metadata.gz: e98ca3e0e2a1ef39f74b497a9df6d2390f0cf121
4
+ data.tar.gz: a7c660d81277a07162c9006d7dbce5eaf0a7978d
5
5
  SHA512:
6
- metadata.gz: 9a94f470ae6fa25ee9431b4c7f59d0fbde967897d0998cf61ec5fbc3855a71cb7374ee5ddf0fe4ad4e5eb7197295a8188c80de845a5089f4a0eee1501253b78a
7
- data.tar.gz: 58cca903874466f756ee2dfee217e2d67dce2e2d65022c3b89d72b0fc80ec60cbe6438395ec12a949acdd33cacb1c4c326b5c270c6da4ab26d433a63be26e98c
6
+ metadata.gz: 3d972d63b8bdd348c496348973b0b43c3d4293e5f65d97d7228e37c86a1df07d323686a14c690773c23e3b9b0dc0aa06662dc11c8d29644b1a299b97cae807c3
7
+ data.tar.gz: f9ba82b683f23cbb1643681bb446e8d210a838438fc5ab85e656fe718708238018a6698136f747599fd59944b8694bae7ef6cb8f65b73338490713760b59a325
data/history.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## Edge
2
+
3
+ * Use longer timeout.
4
+
1
5
  ## Version 2.3.1 / 2014-05-07
2
6
 
3
7
  * The `.wti` configuration file is now parsed by ERB so the API token can be stored in an environment variable instead of in the `.wti` file. #118
@@ -30,7 +30,7 @@ module WebTranslateIt
30
30
  proxy = ENV['http_proxy'] ? URI.parse(ENV['http_proxy']) : OpenStruct.new
31
31
  http = Net::HTTP::Proxy(proxy.host, proxy.port, proxy.user, proxy.password).new('webtranslateit.com', 443)
32
32
  http.use_ssl = true
33
- http.open_timeout = http.read_timeout = 30
33
+ http.open_timeout = http.read_timeout = 60
34
34
  begin
35
35
  http.verify_mode = OpenSSL::SSL::VERIFY_PEER
36
36
  if File.exists?('/etc/ssl/certs') # Ubuntu
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.3.1
4
+ version: 2.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edouard Briere
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-07 00:00:00.000000000 Z
11
+ date: 2014-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multipart-post