epub_book 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/epub_book/version.rb +1 -1
- data/lib/epub_book.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e4b4e7ecf61eeac4fa5d7aba678cd896c0bfbf5
|
4
|
+
data.tar.gz: 93d917c915f27c762a8d614a3db76b8928d48243
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 490269203cc094c1debfe06324fe2d9b595a2becf7293e672704035e566c313e8db4148852fb802164644e1954d15fbdbf3738f4c845ee81352d47a53f038996
|
7
|
+
data.tar.gz: ebd9829cd406bd795c2bbb9c0ebe721fe36c3e14cfef59f75928b8f9485ce011d45772bf31fa40eb11767b73fbdd52a3bf503ffc9cfe83853d0ac9cca7ec8896
|
data/lib/epub_book/version.rb
CHANGED
data/lib/epub_book.rb
CHANGED
@@ -48,7 +48,7 @@ module EpubBook
|
|
48
48
|
#you can set in configure block or default_setting.yml,and configure block prior the yml setting
|
49
49
|
def self.default_config
|
50
50
|
unless @default_config
|
51
|
-
@default_config= YAML.load(config.setting_file ||
|
51
|
+
@default_config= YAML.load(File.open(config.setting_file || "#{`pwd`.strip}/default_setting.yml"))
|
52
52
|
configure do |_config|
|
53
53
|
@default_config['smtp_config'].each_pair do |key,value|
|
54
54
|
_config[key] ||= value
|