euax_gems_validator 1.0.0.beta11 → 1.0.0.beta12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/euax_gems_validator/gems-service.rb +1 -1
- data/lib/euax_gems_validator/version.rb +1 -1
- data/lib/euax_gems_validator.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29a5d5a407d78b8ef1c4bd46b057586822d8c9749cc3aefbda35396e664bf02c
|
4
|
+
data.tar.gz: 3d6cefe3873d2222a1c84a6db21fc7bb65bfd3ae5706716a3c04b30f0b16fc60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f1f92469e5ab6b1618b7d7cd6ab16963b766bf7e5bc07cd292e4fb21fb2b4eb194a558b17e94694667e8afdd4173fc2456272c2aafc3b569bde96f244d30f5f
|
7
|
+
data.tar.gz: 6353c711f9ddd1c51d5e394d3abe86f1a722dc3c047ba79713e6eb4535658ce4339e1b0511d4b732c3935728929f58141d8fcef71383a03f664d5e4d7e0b1f8f
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
p ENV['RAILS_ENV']
|
3
3
|
p "#{Dir.pwd}/config/environments/.env.#{ENV['RAILS_ENV'] || 'development'}"
|
4
|
-
|
4
|
+
|
5
5
|
|
6
6
|
module GemsValidator
|
7
7
|
API_BASE_URL = ENV['API_BASE_URL']
|
data/lib/euax_gems_validator.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
-
|
2
|
+
require 'dotenv'
|
3
3
|
require 'bundler'
|
4
4
|
require 'net/http'
|
5
5
|
require 'uri'
|
@@ -11,6 +11,8 @@ require_relative "euax_gems_validator/gems-service"
|
|
11
11
|
require_relative "euax_gems_validator/validate"
|
12
12
|
require_relative "euax_gems_validator/version"
|
13
13
|
|
14
|
+
Dotenv.load("#{Dir.pwd}/config/environments/.env.#{ENV['RAILS_ENV'] || 'development'}")
|
15
|
+
|
14
16
|
module GemsValidator
|
15
17
|
class << self
|
16
18
|
def register
|