web_translate_it 2.4.8 → 2.4.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 9deef6447dcb281c15e92dedce6223314e18b8c1
4
- data.tar.gz: 60e47ba7afe0ad87462c9ac28f8b2b83ae5caa38
2
+ SHA256:
3
+ metadata.gz: ee4e863643d0a26d473d758833bbb905bf5d375de25e0892cae8068d72c5a688
4
+ data.tar.gz: 8a3f926cb779cfc79a491d9a0085c1c5dc1a624877a503da3b06f1fe3ad1dd90
5
5
  SHA512:
6
- metadata.gz: 1094a19a6d0f19cdf4a19335e2f4034724d81338bae26f837acf2780dc9be539f446d40e3e0f8c72c7faef75d83530d9256963f5de841f8077ed67bd8606b43d
7
- data.tar.gz: 709988816f70f68dcc94aa3c9e2075aecd8e2a43577da4e9ce16be3911c9ea35ef2743c3b6f9af4b344d0ac080b4c972d6036ee8b2f1e14ccaa86d745fdc7784
6
+ metadata.gz: dc9b48b992ef306e4a4f8955f0fedab83a8f50a8715137cc8e93d0fc7f3552266d15f33a195f6767781c52335f1c8f0d22bf4fc266e1e77feaf810f55647e7c6
7
+ data.tar.gz: c2f83a87eb83ff79c4c6753bdcab18bd80aa5db17970b33a065b6267afb2b63e794e7c001a7aabddc883527d219b319392cc2e8e7d36511c35640cc1866e3736
data/bin/wti CHANGED
@@ -117,7 +117,7 @@ EOS
117
117
  puts show_commands
118
118
  exit
119
119
  else
120
- Trollop::die "Unknown subcommand #{command.inspect}"
120
+ Optimist::die "Unknown subcommand #{command.inspect}"
121
121
  end
122
122
  end
123
123
 
data/history.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## Version 2.4.9 / 2019-08-07
2
+
3
+ * Fix issue referencing old `Trollop` library. #149
4
+ * Fix issue with SSL certificates. If you encounter any issues you will need to update your CA certificates: https://github.com/AtelierConvivialite/webtranslateit/wiki/Update-CA-certificates
5
+
1
6
  ## Version 2.4.8 / 2018-09-06
2
7
 
3
8
  * Update deprecated gem `Trollop` to `Optimist`.
@@ -36,11 +36,6 @@ module WebTranslateIt
36
36
  http.set_debug_output($stderr) if @@debug
37
37
  begin
38
38
  http.verify_mode = OpenSSL::SSL::VERIFY_PEER
39
- if File.exists?('/etc/ssl/certs') # Ubuntu
40
- http.ca_path = '/etc/ssl/certs'
41
- else
42
- http.ca_file = File.expand_path('../cacert.pem', __FILE__)
43
- end
44
39
  @@http_connection = http.start
45
40
  yield @@http_connection if block_given?
46
41
  rescue OpenSSL::SSL::SSLError
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.8
4
+ version: 2.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edouard Briere
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-06 00:00:00.000000000 Z
11
+ date: 2019-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multipart-post
@@ -96,7 +96,6 @@ files:
96
96
  - history.md
97
97
  - lib/web_translate_it.rb
98
98
  - lib/web_translate_it/auto_fetch.rb
99
- - lib/web_translate_it/cacert.pem
100
99
  - lib/web_translate_it/command_line.rb
101
100
  - lib/web_translate_it/configuration.rb
102
101
  - lib/web_translate_it/connection.rb
@@ -143,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
142
  version: '0'
144
143
  requirements: []
145
144
  rubyforge_project:
146
- rubygems_version: 2.6.14
145
+ rubygems_version: 2.7.7
147
146
  signing_key:
148
147
  specification_version: 4
149
148
  summary: A CLI to sync locale files with WebTranslateIt.com.
@@ -1,22 +0,0 @@
1
- -----BEGIN CERTIFICATE-----
2
- MIIDrzCCApegAwIBAgIQCDvgVpBCRrGhdWrJWZHHSjANBgkqhkiG9w0BAQUFADBh
3
- MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW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