wonder_oracle_database 1.3.0 → 1.4.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: db15a655ffe78246f8b8a2987c2b9d235d8863a5b97dcb65338db67bb9dca5f2
4
- data.tar.gz: 81d586fbbc49a48fa1f7a9c27df7fa12622ba700aedacf2580798f7420950e2e
3
+ metadata.gz: f12aec00e02d1c4ebf21dd77bba36af1b42249f4a7b360788c3ebdb4c0700f2e
4
+ data.tar.gz: '080de8308f48979af85a8c63a80ac0cf7b46de34d1354b9cd0edbc0c9df55960'
5
5
  SHA512:
6
- metadata.gz: 46d25cfcf59dc0b121b445dd50afdfa8a79f84357eef14c098ea01b0f926ca1985059dacc29774598842cf1512a7929b621164b18b2beb5d1745973603e659f2
7
- data.tar.gz: 1eafdadec62e6d8d2079808348b19466c3a86b62547706ed14c514abf72bbd7ef8001bd81f068b4005d5498f8c7bd6f507b02f5bdb65d98de75db8fd01f566c0
6
+ metadata.gz: 159150c3af976c30ac1cdffe2dbbbb736b67860978c8c9efa5aec6dfe8c9f04842308da3223687f180d554bb430354f1ada7102638d8632006c87ab4f6a34b22
7
+ data.tar.gz: 7c1805ea65193faf139a9f3f2fb02372adffcdee855699868e0a16193340eed26bf9d2df4dc150105bf8b486a48fd3fca205559022c80e229056a67ba1a9eba8
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- wonder_oracle_database (1.3.0)
4
+ wonder_oracle_database (1.4.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -41,16 +41,17 @@ module WonderOracleDatabase
41
41
  end
42
42
 
43
43
  def parsed_env
44
- match = parse_obfuscated_variable.match(/^(\w+)\/(\w+)@(.+)$/)
44
+ match = parse_obfuscated_variable.match(/^(\w+)\/(\w+)@([\d+\.\:]+)\/?(.+)?$/)
45
45
 
46
46
  return invalid_variable_error unless match
47
47
 
48
- usuario, senha, banco = match.captures
48
+ usuario, senha, host, banco = match.captures
49
49
 
50
50
  {
51
51
  username: usuario,
52
52
  password: senha,
53
53
  database: banco,
54
+ host: host,
54
55
  adapter: 'oracle_enhanced',
55
56
  shared: true,
56
57
  encoding: 'unicode'
@@ -1,3 +1,3 @@
1
1
  module WonderOracleDatabase
2
- VERSION = '1.3.0'.freeze
2
+ VERSION = '1.4.0'.freeze
3
3
  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.3.0
4
+ version: 1.4.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: 2019-01-22 00:00:00.000000000 Z
11
+ date: 2019-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler