euax_gems_validator 1.0.0.beta4 → 1.0.0.beta5

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: cdcb39475a17966c6c23d7fd53d0ed50883112dce946a8acbf9eaf47248e8eeb
4
- data.tar.gz: b73bb5de670b2edfc244152142e117e5d2c479b2bf905d2f20625481a9ed364c
3
+ metadata.gz: 0e0ac044c148f9990de33952a809f9699cd3f0fbcde0f4049d07b9639a74a564
4
+ data.tar.gz: 0fb7f4dbc498cce9c10ece02b8a6d6592ae98ca11296bee65e60a017b42a99b1
5
5
  SHA512:
6
- metadata.gz: d8892dc88373e99901067eb15b1d204f43aa2c6c4d1bf14be4b7deecc6c2d375a99bc4dd5b3a9ab29c91c4623c730de0c0b2b15103ba2cb4a13f4b0fab2c876b
7
- data.tar.gz: f85d50a25dd4495f642fc83b79cdac9ef306244766e7e1658e8abf8545cc24d087db5e891d979d50b978f790efb3f47f18ed0ce584d34f1acf46c91951ea25af
6
+ metadata.gz: b43484099d72460143a2f16e2d22e3cbc241f335014a805b01728c21e74f8e322b523c1d21db0b0bbf6461ef17e36c54631ea0b3b357ea0b73169bbc78fd8b08
7
+ data.tar.gz: 26c9586f4e461dbd8e419849ba0b829aac03d6138d914d64e2e71ec6acc49079e2a82cdf8546ae15e85e789b819f4840abfab67bea6ffb4f6279a6a45590c6c6
data/Dockerfile CHANGED
@@ -1,5 +1,9 @@
1
1
  FROM ruby:2.3.8
2
2
 
3
+ RUN apt-get update -y
4
+ RUN apt --only-upgrade install -y ca-certificates
5
+ RUN update-ca-certificates
6
+
3
7
  WORKDIR /app
4
8
 
5
9
  COPY . .
@@ -39,7 +39,6 @@ module GemsValidator
39
39
  request['Content-Type'] = 'application/json'
40
40
 
41
41
  Net::HTTP.start(uri.host, uri.port) do |http|
42
- http.use_ssl = true
43
42
  response = http.request request
44
43
  response.header['access_token']
45
44
  end
@@ -51,7 +50,6 @@ module GemsValidator
51
50
  access_token = get_token
52
51
 
53
52
  Net::HTTP.start(uri.host, uri.port) do |http|
54
- http.use_ssl = true
55
53
  request = Net::HTTP::Get.new uri
56
54
  request["Authorization"] = access_token
57
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.beta4"
4
+ VERSION = "1.0.0.beta5"
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.beta4
4
+ version: 1.0.0.beta5
5
5
  platform: ruby
6
6
  authors:
7
7
  - henriquesml