euax_gems_validator 1.0.0.beta5 → 1.0.0.beta6

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
  SHA256:
3
- metadata.gz: 0e0ac044c148f9990de33952a809f9699cd3f0fbcde0f4049d07b9639a74a564
4
- data.tar.gz: 0fb7f4dbc498cce9c10ece02b8a6d6592ae98ca11296bee65e60a017b42a99b1
3
+ metadata.gz: b9e53a25cef4582348781768424b3b8140454b59e9db5ac0a8757fb44bd08982
4
+ data.tar.gz: cdd36ccd5b908a867c799f6c82efdf439ed85c43ef499322e73d7f8bd2e1a8a8
5
5
  SHA512:
6
- metadata.gz: b43484099d72460143a2f16e2d22e3cbc241f335014a805b01728c21e74f8e322b523c1d21db0b0bbf6461ef17e36c54631ea0b3b357ea0b73169bbc78fd8b08
7
- data.tar.gz: 26c9586f4e461dbd8e419849ba0b829aac03d6138d914d64e2e71ec6acc49079e2a82cdf8546ae15e85e789b819f4840abfab67bea6ffb4f6279a6a45590c6c6
6
+ metadata.gz: 0fb369686fd42d822a4389beff584b1d0399ad3d11a5f8d8d91149a28c3308b25a23f55052c4ba7d5085ab44589995bacf98a2a63712d8fe6ce153d9a3abb904
7
+ data.tar.gz: 28c23787f0453a17bd1feaf2aef3972259201d2a78df03ef03838c4f8864fb77f565eeb99d7ceeea276b2d30f574174137f4dd59045dabddf73cbc6de6ae5353
@@ -38,7 +38,7 @@ module GemsValidator
38
38
  request.body = { username: 'viewer', password: 'viewer@euax' }.to_json
39
39
  request['Content-Type'] = 'application/json'
40
40
 
41
- Net::HTTP.start(uri.host, uri.port) do |http|
41
+ Net::HTTP.start(uri.host, uri.port, :use_ssl => true, verify_mode: 0) do |http|
42
42
  response = http.request request
43
43
  response.header['access_token']
44
44
  end
@@ -49,7 +49,7 @@ module GemsValidator
49
49
  begin
50
50
  access_token = get_token
51
51
 
52
- Net::HTTP.start(uri.host, uri.port) do |http|
52
+ Net::HTTP.start(uri.host, uri.port, :use_ssl => true, verify_mode: 0) do |http|
53
53
  request = Net::HTTP::Get.new uri
54
54
  request["Authorization"] = access_token
55
55
  response = http.request request
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GemsValidator
4
- VERSION = "1.0.0.beta5"
4
+ VERSION = "1.0.0.beta6"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: euax_gems_validator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta5
4
+ version: 1.0.0.beta6
5
5
  platform: ruby
6
6
  authors:
7
7
  - henriquesml