kuzushi 0.0.28 → 0.0.29

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/kuzushi.rb +7 -5
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.28
1
+ 0.0.29
@@ -18,8 +18,9 @@ class Kuzushi
18
18
  def initialize(url)
19
19
  @url = url
20
20
  @base_url = File.dirname(url)
21
- if @url =~ /s3.amazonaws.com.*\/([^\/]*).tar.gz/
21
+ if @url =~ /s3.amazonaws.com.*\/([^\/]*).(\d+).tar.gz/
22
22
  @name = $1
23
+ @version = $2
23
24
  end
24
25
  @config_names = []
25
26
  @configs = []
@@ -33,14 +34,15 @@ class Kuzushi
33
34
  end
34
35
 
35
36
  def boot
36
- "mkdir -p /tmp/kuzushi/"
37
- "cd /tmp/kuzushi/ ; curl '#{@url}' | tar xzvf"
37
+ shell "mkdir -p /tmp/kuzushi/"
38
+ shell "cd /tmp/kuzushi/ ; curl --silent '#{@url}' | tar xzv"
38
39
  @config = JSON.parse(File.read("/tmp/kuzushi/#{@name}/config.json"))
40
+ @config_names = [ @name ]
39
41
  end
40
42
 
41
43
  def start
42
- load_config_stack(@name)
43
- process_stack
44
+ # load_config_stack(@name)
45
+ # process_stack
44
46
  log "----"
45
47
  @tasks.each do |t|
46
48
  log "TASK: #{t[:description]}"
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 28
9
- version: 0.0.28
8
+ - 29
9
+ version: 0.0.29
10
10
  platform: ruby
11
11
  authors:
12
12
  - Orion Henry