murakumo 0.1.9 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,8 @@
1
1
  #!/usr/bin/env ruby
2
+ $: << File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))
3
+
4
+ require 'misc/murakumo_const'
5
+
2
6
  INIT_D_DIR = '/etc/init.d'
3
7
 
4
8
  begin
@@ -20,7 +24,7 @@ end
20
24
 
21
25
  bin_dir = ((RbConfig::CONFIG['bindir'] rescue nil) || '').strip
22
26
 
23
- `cp -i #{gem_dir}/murakumo-*/etc/murakumo.server #{INIT_D_DIR}/murakumo`
27
+ `cp -i #{gem_dir}/murakumo-#{Murakumo::VERSION}/etc/murakumo.server #{INIT_D_DIR}/murakumo`
24
28
  `chmod 755 #{INIT_D_DIR}/murakumo`
25
29
 
26
30
  unless bin_dir.empty?
@@ -1,5 +1,5 @@
1
1
  module Murakumo
2
- VERSION = '0.1.9'
2
+ VERSION = '0.2.0'
3
3
 
4
4
  # Priority
5
5
  MASTER = 1
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: murakumo
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 1
9
- - 9
10
- version: 0.1.9
8
+ - 2
9
+ - 0
10
+ version: 0.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - winebarrel