dbdoc 0.3.4 → 0.3.5

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: a7e266dfe29eeefbadfbf4353780b2d11c2aaa4819e45043706bc76fbd3ff5a0
4
- data.tar.gz: 4b00555f08f373c7f582d1f6d2ea4dcbc6617d067df2c4b2b2bf38dbba4ec9ca
3
+ metadata.gz: c25899d4d18291f22be12f731230d64669f353e422f63d069791bd030ba3d9a8
4
+ data.tar.gz: be30d30193572b1b4dcf5141c010e9593e373d90c099f5e41ab40f5a06cf7e40
5
5
  SHA512:
6
- metadata.gz: c4ec1c074de225ece7266cab3fd918934d9d8d9ecb767498547b22b24ef58c8527aacecca9cb4e172fd1c84719691cac27805de4eea1ed4167e66671778cbc59
7
- data.tar.gz: a98f9589d6f766561da8d69b4cf5879349941c95daeec1f9b5fe764ed0f72e9df12940ef488f9d19fd6b737bb63fbb512b805c73d89b62edfd0bd2194dc40041
6
+ metadata.gz: ecc79a5cabb4a5cea63e5ae92c9b2c5b331c539590da6464aef4a789c96167a50a9aa876a840186b8e4ac3d29c5db4db6024b0bc5c2183c02bf44037c89cf09b
7
+ data.tar.gz: d7b19650e610c9a2b0c4b7c26250571f3811f459016740b85925d6e82d56d8c72b7119a2b0c6c14237638b295d832156e7a4ab7784da9748670e290a96a33618
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dbdoc (0.3.4)
4
+ dbdoc (0.3.5)
5
5
  httparty (~> 0.18)
6
6
  kramdown (~> 2.3)
7
7
 
@@ -13,9 +13,13 @@ module Dbdoc
13
13
  end
14
14
 
15
15
  def load
16
- config_file = File.join(@local_path, "config.yml")
16
+ local_config_file = File.join(@local_path, "config.yml")
17
17
 
18
- YAML.load(File.read(config_file))
18
+ if File.exist?(local_config_file)
19
+ YAML.load(File.read(local_config_file))
20
+ else
21
+ {}
22
+ end
19
23
  end
20
24
  end
21
25
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dbdoc
4
- VERSION = "0.3.4"
4
+ VERSION = "0.3.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dbdoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anatoli Makarevich