hotdog 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hotdog/application.rb +2 -1
- data/lib/hotdog/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a3c16d26c86f2acfa512dbe269fca33fd347de1
|
4
|
+
data.tar.gz: 65c61ead6106d761cf32988bfedd80cd4b9db8f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16af49f02a2eb754e8f0966efa8af1ef9392cb3945ac14819587f5b5912582f84e66ce04760c818480e8e2fcadda359477fe15614c3b5c59c8cd73eac69cc6dd
|
7
|
+
data.tar.gz: 8aac2b1202e35c118dc774e6bbce2c8f818cf3cf08701b5ae0fd164629cd244b6a8e8b0513d3096c6e2ca1b1da2b597e63d69149e7632efffaf855fce846e7fc
|
data/lib/hotdog/application.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
+
require "erb"
|
3
4
|
require "logger"
|
4
5
|
require "optparse"
|
5
6
|
require "yaml"
|
@@ -45,7 +46,7 @@ module Hotdog
|
|
45
46
|
def main(argv=[])
|
46
47
|
config = File.join(options[:confdir], "config.yml")
|
47
48
|
if File.file?(config)
|
48
|
-
loaded = YAML.load(File.read(config))
|
49
|
+
loaded = YAML.load(ERB.new(File.read(config)).result)
|
49
50
|
if Hash === loaded
|
50
51
|
@options = @options.merge(Hash[loaded.map { |key, value| [Symbol === key ? key : key.to_s.to_sym, value] }])
|
51
52
|
end
|
data/lib/hotdog/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hotdog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yamashita Yuu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|