metacon 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/VERSION +1 -1
- data/lib/metacon/loaders/rvm.rb +2 -1
- data/lib/metacon/project.rb +7 -0
- data/metacon.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
data/lib/metacon/loaders/rvm.rb
CHANGED
@@ -77,7 +77,8 @@ module MetaCon
|
|
77
77
|
# * Prepend full string w/ 'bash: ' so that it gets evalled in the
|
78
78
|
# current context.
|
79
79
|
# * Enjoy!
|
80
|
-
|
80
|
+
o,e,s = shc("rvm '#{ruby}'@'#{gemset}' do rvm tools identifier", false)
|
81
|
+
identstr = o.strip
|
81
82
|
envsettings = "~/.rvm/environments/#{identstr}"
|
82
83
|
cmds = process_env_commands(IO.readlines(File.expand_path(envsettings)))
|
83
84
|
puts cmds.join("\n") if opts[:shell]
|
data/lib/metacon/project.rb
CHANGED
@@ -93,6 +93,13 @@ module MetaCon
|
|
93
93
|
def refresh_conf; @config = Config.new(@root_dir) end
|
94
94
|
|
95
95
|
def setup_context(opts)
|
96
|
+
# TODO: if there is no ruby or python dependency, switch them to some
|
97
|
+
# "neutral"/default version + packages so the user doesn't accidentally
|
98
|
+
# pollute an env-specific gemset etc.
|
99
|
+
# TODO: read in all the dependencies first to calculate
|
100
|
+
# interdependencies. For example, make sure that the ruby version is
|
101
|
+
# switched before any gems are installed, etc. This'll have to be
|
102
|
+
# abstracted somehow for the add-on libraries.
|
96
103
|
dependencies = self.conf['dependencies']
|
97
104
|
incomplete = false
|
98
105
|
emitted = {}
|
data/metacon.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metacon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 2
|
10
|
+
version: 0.2.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Joseph Wecker
|