euax_gems_validator 1.0.0.beta16 → 1.0.0.beta18

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: 0ff34417b5f6e5e9750662ef23de52a72a2698fbab4b5d234942083077649ba2
4
- data.tar.gz: 90b8cf25a8a26453b874b65ccafa2fc27bbb599a03662e05d688a50f2e54f9ea
3
+ metadata.gz: 4c0fc2718244b8b84342807135cf431bf36e0a0c60b5dbb2fb81492ca640d307
4
+ data.tar.gz: 7f31715314638c1fb51637c067b6a944fdb12310c0307cf7394552412fbece6d
5
5
  SHA512:
6
- metadata.gz: c8995d4962d7e40ab78234363f37fc35c6a6329053dfaff26e7a93c51e635b98e7a5b52f0bc9881896878750aa3d3c18b4b39160dbfd3639fe73d1989db52b0c
7
- data.tar.gz: 74c360de51fb74f9a50fb80690d229d3730a7a9ccc46864417c5dbf2808bee3ee960e89d967d8a3d181a4e0c0cfac883a0ef2907900ba9c9254ce450a97c7f5b
6
+ metadata.gz: 18d33c0bf63774cf9b34e12b29c0eed1d4984b83fec49a7689443558bf815701462d5dd4561c3498099e6c0c33160e1f50c716fd522b927af59ead091df015f9
7
+ data.tar.gz: 39e7351a07812698064853b0b4ff199655b08f331bf66959f812e28f2c4f1597d944666f60e7a31f5af1fb83d96e4fa996119725638e386198ae8c9c2a14d3a4
data/Gemfile.lock CHANGED
@@ -1,77 +1,22 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- euax_gems_validator (1.0.0.beta13)
5
- dotenv-rails (= 2.8.1)
4
+ euax_gems_validator (1.0.0.beta16)
6
5
 
7
6
  GEM
8
7
  remote: https://rubygems.org/
9
8
  specs:
10
- actionpack (5.2.8.1)
11
- actionview (= 5.2.8.1)
12
- activesupport (= 5.2.8.1)
13
- rack (~> 2.0, >= 2.0.8)
14
- rack-test (>= 0.6.3)
15
- rails-dom-testing (~> 2.0)
16
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
17
- actionview (5.2.8.1)
18
- activesupport (= 5.2.8.1)
19
- builder (~> 3.1)
20
- erubi (~> 1.4)
21
- rails-dom-testing (~> 2.0)
22
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
23
- activesupport (5.2.8.1)
24
- concurrent-ruby (~> 1.0, >= 1.0.2)
25
- i18n (>= 0.7, < 2)
26
- minitest (~> 5.1)
27
- tzinfo (~> 1.1)
28
- builder (3.2.4)
29
9
  bundler-audit (0.9.1)
30
10
  bundler (>= 1.2.0, < 3)
31
11
  thor (~> 1.0)
32
- concurrent-ruby (1.1.10)
33
- crass (1.0.6)
34
- dotenv (2.8.1)
35
- dotenv-rails (2.8.1)
36
- dotenv (= 2.8.1)
37
- railties (>= 3.2)
38
- erubi (1.11.0)
39
- i18n (1.12.0)
40
- concurrent-ruby (~> 1.0)
41
- loofah (2.19.0)
42
- crass (~> 1.0.2)
43
- nokogiri (>= 1.5.9)
44
- method_source (1.0.0)
45
- mini_portile2 (2.4.0)
46
- minitest (5.15.0)
47
- nokogiri (1.10.10)
48
- mini_portile2 (~> 2.4.0)
49
- rack (2.2.4)
50
- rack-test (2.0.2)
51
- rack (>= 1.3)
52
- rails-dom-testing (2.0.3)
53
- activesupport (>= 4.2.0)
54
- nokogiri (>= 1.6)
55
- rails-html-sanitizer (1.4.3)
56
- loofah (~> 2.3)
57
- railties (5.2.8.1)
58
- actionpack (= 5.2.8.1)
59
- activesupport (= 5.2.8.1)
60
- method_source
61
- rake (>= 0.8.7)
62
- thor (>= 0.19.0, < 2.0)
63
12
  rake (13.0.6)
64
13
  thor (1.2.1)
65
- thread_safe (0.3.6)
66
- tzinfo (1.2.10)
67
- thread_safe (~> 0.1)
68
14
 
69
15
  PLATFORMS
70
16
  ruby
71
17
 
72
18
  DEPENDENCIES
73
19
  bundler-audit
74
- dotenv-rails (= 2.8.1)
75
20
  euax_gems_validator!
76
21
  rake (~> 13.0)
77
22
 
@@ -1,12 +1,10 @@
1
1
  # frozen_string_literal: true
2
- p ENV['RAILS_ENV']
3
- p "#{Dir.pwd}/config/environments/.env.#{ENV['RAILS_ENV'] || 'development'}"
4
2
 
5
3
  module GemsValidator
6
- API_BASE_URL = ENV['API_BASE_URL']
7
- API_VIEWER_USERNAME = ENV['API_VIEWER_USERNAME']
8
- API_VIEWER_PASSWORD = ENV['API_VIEWER_PASSWORD']
9
- p API_BASE_URL, API_VIEWER_USERNAME, API_VIEWER_PASSWORD
4
+ API_BASE_URL = ENV['HOMOLOGATED_LIBRARIES_API_BASE_URL']
5
+ API_VIEWER_USERNAME = ENV['HOMOLOGATED_LIBRARIES_API_VIEWER_USERNAME']
6
+ API_VIEWER_PASSWORD = ENV['HOMOLOGATED_LIBRARIES_API_VIEWER_PASSWORD']
7
+
10
8
  class GemsService
11
9
  def initialize()
12
10
  @pwd = Dir.pwd
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GemsValidator
4
- VERSION = "1.0.0.beta16"
4
+ VERSION = "1.0.0.beta18"
5
5
  end
@@ -1,5 +1,4 @@
1
1
  # frozen_string_literal: true
2
- require 'dotenv'
3
2
  require 'bundler'
4
3
  require 'net/http'
5
4
  require 'uri'
@@ -11,8 +10,6 @@ require_relative "euax_gems_validator/gems-service"
11
10
  require_relative "euax_gems_validator/validate"
12
11
  require_relative "euax_gems_validator/version"
13
12
 
14
- Dotenv.load("#{Dir.pwd}/config/environments/.env.#{ENV['RAILS_ENV'] || 'development'}")
15
-
16
13
  module GemsValidator
17
14
  class << self
18
15
  def register
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.beta16
4
+ version: 1.0.0.beta18
5
5
  platform: ruby
6
6
  authors:
7
7
  - henriquesml
@@ -9,21 +9,7 @@ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
11
  date: 2022-12-07 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: dotenv-rails
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - '='
18
- - !ruby/object:Gem::Version
19
- version: 2.8.1
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - '='
25
- - !ruby/object:Gem::Version
26
- version: 2.8.1
12
+ dependencies: []
27
13
  description: euax_gems_validator
28
14
  email:
29
15
  - henrique_schmeller@hotmail.com