tamashii-manager 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 877b4ee65f25bd00cea60d4e71d9dd83522fb703
4
- data.tar.gz: 50d20ec300ad913955b0e2609b3063b115e4f64e
3
+ metadata.gz: f1b2841ba421ed9ecb77583c8a780af01513d539
4
+ data.tar.gz: 2db5870e891c735b1820081b64c8f578521824c1
5
5
  SHA512:
6
- metadata.gz: 0ae7795479ae35dea4d5690c7672c7381255349448c159ec5502b79b442c1d21ddff6c480586d784fe91c3f4f49bc48059b451115b4a4475c9cdd9cc6b0ccaa3
7
- data.tar.gz: aa068cec259a95dc905a43547859076ff2dc81ecdf97e6a63be8824ca2889c7bdec9e048840e84febcc19c0996a87cbb4eee7a6d7e3229f37ab97335cf14325d
6
+ metadata.gz: dd05237721d077a021dedb53b41c2859858f9b5307098ca84834e73462f73dbe06ab9f124a90db6531ba227a33dd8e3ab271290788878fef3a06dfc833301eb4
7
+ data.tar.gz: 8c6c7100f244736d58bfc72494474618462dd877c26ecf9a58b2064684acac36b7fe221f4691ef6054135c19e94c0ea42f6c4eb2f814e908bfca6934cbcc60af
data/exe/tamashii-manager CHANGED
@@ -27,7 +27,11 @@ OptionParser.new do |opts|
27
27
  opts.on("-s", "--server SERVER", "Run Tamashii::Manager server") { |name| handlers.unshift(name.to_s) }
28
28
  opts.on("-o", "--host HOST", "The listen on HOST (default: 0.0.0.0)") { |host| options[:Host] = host.to_s; puts host }
29
29
  opts.on("-p", "--port PORT", "The listen on PORT (default: 3000)") { |port| options[:Port] = port.to_i }
30
- opts.on("-C", "--config FILE", "The external configuration file") { |config| require File.join(Dir.pwd, config) }
30
+ opts.on("-C", "--config FILE", "The external configuration file") do |config|
31
+ if File.exists? config
32
+ require config
33
+ end
34
+ end
31
35
 
32
36
  opts.parse! ARGV
33
37
  end
@@ -1,5 +1,5 @@
1
1
  module Tamashii
2
2
  module Manager
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tamashii-manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - 蒼時弦也
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2017-02-21 00:00:00.000000000 Z
13
+ date: 2017-03-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: puma