biran 0.1.3 → 0.1.4

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
  SHA1:
3
- metadata.gz: 8470cbb2e2142307700fbeea5b7a48aba4bb3357
4
- data.tar.gz: aeff0f453952e6e9ed1bccabaefa0402f4c50a84
3
+ metadata.gz: 946e308c43c28a09b4c90113f9533328f615dee9
4
+ data.tar.gz: 488dcaa372866cdebfb1c53258c78b2c79bb415f
5
5
  SHA512:
6
- metadata.gz: b0978e52db21286c230b2bccf45d56767ebac4e15a79ff63cb6c4f8b51ff7e2149fcf89bbe13095a1e3b23ae5bdee1f4d34362abad3ebaa73df8963a3994587b
7
- data.tar.gz: 1354fb6e0c821c7fc3dc88154f7abe2f774dd268c1a46987ac2575147d3e3dc613a23a0b329729cd3ea527dd4913a0454fb12040e9e191f9405df5d4502b459e
6
+ metadata.gz: 4897976d2db39d47780d270877206d443ae58c220a573b71c492f61c430643a3def83882bed2297c1cff34624df7ae1660df6434aa52b2b3aed73db8d8aff95c
7
+ data.tar.gz: 031fed4e1ed5333026540ac3449ff4a1b71a22a28f883ba522585d6f831d7aa62d085e9feaf1dd8c6179b09a6b2e29a873ef9877d490c2eeff2371d63cbf80fb
@@ -72,6 +72,8 @@ module Biran
72
72
  end
73
73
 
74
74
  def base_db_config
75
+ return @base_db_config if @base_db_config
76
+ return @base_db_config = {} unless File.exists? default_db_config_file
75
77
  @base_db_config ||= process_config_file(default_db_config_file)
76
78
  end
77
79
 
@@ -1,3 +1,3 @@
1
1
  module Biran
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: biran
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - javierg
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-01-05 00:00:00.000000000 Z
13
+ date: 2018-01-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: railties