wonder_oracle_database 1.2.0 → 1.3.0

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: 687f8c858046c82fd21cf982a64172296296da25ae57416d72ada2e9d3fd8a00
4
- data.tar.gz: 5bc9e5ba30947223e6c01270e7161b4b1e2849a24c83cc514361c832a631318c
3
+ metadata.gz: db15a655ffe78246f8b8a2987c2b9d235d8863a5b97dcb65338db67bb9dca5f2
4
+ data.tar.gz: 81d586fbbc49a48fa1f7a9c27df7fa12622ba700aedacf2580798f7420950e2e
5
5
  SHA512:
6
- metadata.gz: 935ee59d389ed96d8f24632d629b579e1358229479df3dd0ce55024194766f7a1819a5a0a241adcdf5d7cffc012f8e7097df838001887d86a64e8541c5a7b506
7
- data.tar.gz: b71536c7244e389393d8b1c12326c98b56a1e4393d082528de3494f3e7e32e19eef20a7797270e6194d31657e84be2d3fea28523803575e96c8fa799dd3aed95
6
+ metadata.gz: 46d25cfcf59dc0b121b445dd50afdfa8a79f84357eef14c098ea01b0f926ca1985059dacc29774598842cf1512a7929b621164b18b2beb5d1745973603e659f2
7
+ data.tar.gz: 1eafdadec62e6d8d2079808348b19466c3a86b62547706ed14c514abf72bbd7ef8001bd81f068b4005d5498f8c7bd6f507b02f5bdb65d98de75db8fd01f566c0
data/Gemfile.lock CHANGED
@@ -1,52 +1,52 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- wonder_oracle_database (1.2.0)
4
+ wonder_oracle_database (1.3.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  ast (2.4.0)
10
10
  diff-lcs (1.3)
11
- docile (1.1.5)
11
+ docile (1.3.1)
12
12
  json (2.1.0)
13
- parallel (1.12.1)
14
- parser (2.5.0.5)
13
+ parallel (1.13.0)
14
+ parser (2.6.0.0)
15
15
  ast (~> 2.4.0)
16
- powerpack (0.1.1)
16
+ powerpack (0.1.2)
17
17
  rainbow (3.0.0)
18
- rake (12.3.1)
19
- rspec (3.7.0)
20
- rspec-core (~> 3.7.0)
21
- rspec-expectations (~> 3.7.0)
22
- rspec-mocks (~> 3.7.0)
23
- rspec-core (3.7.1)
24
- rspec-support (~> 3.7.0)
25
- rspec-expectations (3.7.0)
18
+ rake (12.3.2)
19
+ rspec (3.8.0)
20
+ rspec-core (~> 3.8.0)
21
+ rspec-expectations (~> 3.8.0)
22
+ rspec-mocks (~> 3.8.0)
23
+ rspec-core (3.8.0)
24
+ rspec-support (~> 3.8.0)
25
+ rspec-expectations (3.8.2)
26
26
  diff-lcs (>= 1.2.0, < 2.0)
27
- rspec-support (~> 3.7.0)
28
- rspec-mocks (3.7.0)
27
+ rspec-support (~> 3.8.0)
28
+ rspec-mocks (3.8.0)
29
29
  diff-lcs (>= 1.2.0, < 2.0)
30
- rspec-support (~> 3.7.0)
31
- rspec-support (3.7.1)
32
- rubocop (0.54.0)
30
+ rspec-support (~> 3.8.0)
31
+ rspec-support (3.8.0)
32
+ rubocop (0.56.0)
33
33
  parallel (~> 1.10)
34
34
  parser (>= 2.5)
35
35
  powerpack (~> 0.1)
36
36
  rainbow (>= 2.2.2, < 4.0)
37
37
  ruby-progressbar (~> 1.7)
38
38
  unicode-display_width (~> 1.0, >= 1.0.1)
39
- rubocop-rspec (1.25.1)
40
- rubocop (>= 0.53.0)
41
- ruby-progressbar (1.9.0)
42
- simplecov (0.13.0)
43
- docile (~> 1.1.0)
39
+ rubocop-rspec (1.27.0)
40
+ rubocop (>= 0.56.0)
41
+ ruby-progressbar (1.10.0)
42
+ simplecov (0.16.1)
43
+ docile (~> 1.1)
44
44
  json (>= 1.8, < 3)
45
45
  simplecov-html (~> 0.10.0)
46
46
  simplecov-html (0.10.2)
47
- unicode-display_width (1.3.0)
48
- wonder-ruby-style (0.54.0)
49
- rubocop (~> 0.49)
47
+ unicode-display_width (1.4.1)
48
+ wonder-ruby-style (0.56.0)
49
+ rubocop (= 0.56.0)
50
50
  rubocop-rspec (~> 1.15)
51
51
 
52
52
  PLATFORMS
@@ -61,4 +61,4 @@ DEPENDENCIES
61
61
  wonder_oracle_database!
62
62
 
63
63
  BUNDLED WITH
64
- 1.16.2
64
+ 1.17.2
@@ -1,3 +1,3 @@
1
1
  module WonderOracleDatabase
2
- VERSION = '1.2.0'.freeze
2
+ VERSION = '1.3.0'.freeze
3
3
  end
@@ -4,7 +4,10 @@ module WonderOracleDatabase
4
4
  class << self
5
5
  def variable_candidates
6
6
  %w[
7
- DATABASE_URL
7
+ PROBUS_NEXT_DATABASE_URL
8
+ PROBUS_DATABASE_URL
9
+ WONDER_DATABASE_URL
10
+ W_DATABASE_URL
8
11
  W_HOST_DB_SERVER
9
12
  ]
10
13
  end
@@ -72,7 +75,9 @@ module WonderOracleDatabase
72
75
  end
73
76
 
74
77
  def invalid_variable_error
75
- puts "W_HOST_DB_SERVER inválida: deve ser usuario/senha@[ip/]banco ou obfuscada, valor da variável: #{environment}."
78
+ message = "Configuração de banco de dados inválida: deve ser no " +
79
+ "formato usuario/senha@[ip/]banco ou obfuscada, valor " +
80
+ "da variável: `#{environment}`."
76
81
 
77
82
  false
78
83
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wonder_oracle_database
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wonder Sistemas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-28 00:00:00.000000000 Z
11
+ date: 2019-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler