mason 0.0.12 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mason/buildpack.rb +1 -1
- data/lib/mason/cli.rb +7 -3
- data/lib/mason/version.rb +1 -1
- metadata +32 -51
data/lib/mason/buildpack.rb
CHANGED
@@ -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
|
data/lib/mason/cli.rb
CHANGED
@@ -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
|
-
|
51
|
-
|
52
|
-
|
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")
|
data/lib/mason/version.rb
CHANGED
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
|
-
|
5
|
-
|
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
|
-
|
18
|
-
|
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
|
-
|
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
|
-
|
29
|
-
- 0
|
30
|
-
version: "0"
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
31
22
|
type: :runtime
|
32
|
-
|
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
|
-
|
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
|
-
|
66
|
-
|
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
|
-
|
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.
|
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
|
-
|