icapps-translations 0.2.3 → 0.2.4

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
2
  SHA1:
3
- metadata.gz: cab96f0d82d6376116970da936ba38f547dd07da
4
- data.tar.gz: f290de2cb879cb094b2290266b0cbc0cf42351f2
3
+ metadata.gz: c232dbf106e8af4489f2c05f775dde38193db846
4
+ data.tar.gz: 2fe075b9ae2fbc36fd94077218e99a99ed429121
5
5
  SHA512:
6
- metadata.gz: 142560d6db50ec98c4c78d6c1e4e8b2f42e08d593f933a9b01b7a25701b169bdeb181e07b56efb8bfbea571c78fd66537b341f1c963316e8a068fb4fd668eeba
7
- data.tar.gz: 8674fe7031f0a389974ab8c5b80db14ef6230f0e0f5d1c91b5efaa26d1048c371cce04c600c0fcd85eecf0fe62488c00be7f26a27ce712f7dffc73e5650081a5
6
+ metadata.gz: 82ce0260f1a8f75a5e1e744039ed5e1af95fe1aceb225b939553d641cd8bede49b081ae53329ecb6a35817beffb0841ba044256c4bd8f83da66973518382c612
7
+ data.tar.gz: edb37ef1bb8fcb7ae0efb8272cc0b6078444bdbfdaefd078a64e83d1c0c9d1f5f7ce1f0d54df4b585168fb41be5a7753b41933954d04f93e543466736c48828a
@@ -1,12 +1,15 @@
1
1
  require 'colorize'
2
2
  require 'net/http'
3
3
  require 'json'
4
+ require 'openssl'
4
5
 
5
6
  module Icapps
6
7
  module Translations
7
8
  class Http
8
9
  class << self
9
10
  def authenticated_response(path, is_json = false)
11
+ OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
12
+
10
13
  uri = URI("#{config.url}/#{path}")
11
14
  puts "[VERBOSE] Connecting to url '#{uri}'.".colorize(:white) if options[:verbose]
12
15
 
@@ -1,5 +1,5 @@
1
1
  module Icapps
2
2
  module Translations
3
- VERSION = '0.2.3'
3
+ VERSION = '0.2.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: icapps-translations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jelle Vandebeeck