mason 0.0.12 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -47,7 +47,7 @@ class Mason::Buildpack
47
47
  end
48
48
  raise "compile failed" unless $?.exitstatus.zero?
49
49
  end
50
- release = YAML.load(`#{script('release')}`)
50
+ release = YAML.load(`#{script('release')} "#{compile_dir}"`)
51
51
  write_env(compile_dir, release, env_file)
52
52
  write_procfile(compile_dir, release)
53
53
  compile_dir
@@ -47,9 +47,13 @@ class Mason::CLI < Thor
47
47
  raise "no such output format: #{type}" unless %w( dir img tgz ).include?(type)
48
48
 
49
49
  if stack = options[:stack]
50
- print "* booting stack #{stack} (this may take a while)... "
51
- Mason::Stacks.up(stack)
52
- puts "done"
50
+ if Mason::Stacks.state(stack) == :up
51
+ puts "* using stack #{stack}"
52
+ else
53
+ print "* booting stack #{stack} (this may take a while)... "
54
+ Mason::Stacks.up(stack)
55
+ puts "done"
56
+ end
53
57
 
54
58
  buildpacks_dir = File.expand_path("~/.mason/share/#{stack}/buildpacks")
55
59
  compile_dir = File.expand_path("~/.mason/share/#{stack}/app")
@@ -1,3 +1,3 @@
1
1
  module Mason
2
- VERSION = "0.0.12"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,84 +1,65 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: mason
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 0
8
- - 12
9
- version: 0.0.12
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - David Dollar
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
-
17
- date: 2012-04-25 00:00:00 -07:00
18
- default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-06-05 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: thor
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70190815166060 !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- segments:
29
- - 0
30
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
31
22
  type: :runtime
32
- version_requirements: *id001
23
+ prerelease: false
24
+ version_requirements: *70190815166060
33
25
  description: Build things
34
26
  email: ddollar@gmail.com
35
- executables:
27
+ executables:
36
28
  - mason
37
29
  extensions: []
38
-
39
30
  extra_rdoc_files: []
40
-
41
- files:
42
- - README.md
31
+ files:
43
32
  - bin/mason
44
33
  - data/Vagrantfile.template
34
+ - lib/mason/buildpack.rb
45
35
  - lib/mason/buildpacks.rb
46
- - lib/mason/version.rb
47
36
  - lib/mason/cli.rb
48
- - lib/mason/buildpack.rb
49
37
  - lib/mason/stacks.rb
38
+ - lib/mason/version.rb
50
39
  - lib/mason.rb
51
- has_rdoc: true
40
+ - README.md
52
41
  homepage: http://github.com/ddollar/mason
53
42
  licenses: []
54
-
55
43
  post_install_message:
56
44
  rdoc_options: []
57
-
58
- require_paths:
45
+ require_paths:
59
46
  - lib
60
- required_ruby_version: !ruby/object:Gem::Requirement
47
+ required_ruby_version: !ruby/object:Gem::Requirement
61
48
  none: false
62
- requirements:
63
- - - ">="
64
- - !ruby/object:Gem::Version
65
- segments:
66
- - 0
67
- version: "0"
68
- required_rubygems_version: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ! '>='
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
53
+ required_rubygems_version: !ruby/object:Gem::Requirement
69
54
  none: false
70
- requirements:
71
- - - ">="
72
- - !ruby/object:Gem::Version
73
- segments:
74
- - 0
75
- version: "0"
55
+ requirements:
56
+ - - ! '>='
57
+ - !ruby/object:Gem::Version
58
+ version: '0'
76
59
  requirements: []
77
-
78
60
  rubyforge_project:
79
- rubygems_version: 1.3.7
61
+ rubygems_version: 1.8.11
80
62
  signing_key:
81
63
  specification_version: 3
82
64
  summary: Build things
83
65
  test_files: []
84
-