server-blender-manifest 0.0.18 → 0.0.19
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/blender/manifest/mixer.rb +11 -0
- data/lib/blender/manifest/root.rb +1 -1
- data/server-blender-manifest.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.19
|
@@ -1,4 +1,15 @@
|
|
1
1
|
module Blender::Manifest::Mixer
|
2
|
+
# installs cookbook gems if needed and loads them into the environment
|
3
|
+
def cookbook(cb, version)
|
4
|
+
# skip cookbooks that are unapcked into the /cookbooks/ directory
|
5
|
+
return if File.directory?("cookbooks/#{cb}/files") || File.directory?("cookbooks/#{cb}/lib")
|
6
|
+
|
7
|
+
gem cb, version
|
8
|
+
rescue Gem::LoadError
|
9
|
+
system "gem install --no-ri --no-rdoc #{cb} -v#{version}"
|
10
|
+
gem cb, version
|
11
|
+
end
|
12
|
+
|
2
13
|
# mixes recipe module
|
3
14
|
#
|
4
15
|
# The purpose is to make the mixing of recipes cleaner and easier on the eyes :)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: server-blender-manifest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 57
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 19
|
10
|
+
version: 0.0.19
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Vitaly Kushner
|