gluez 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gluez/impl/linux.rb +6 -0
- metadata +2 -2
data/lib/gluez/impl/linux.rb
CHANGED
@@ -152,6 +152,12 @@ CMD
|
|
152
152
|
:check => opts[:not_if],
|
153
153
|
:code => "su -l #{opts[:user, 'root']} -c '#{opts[:code]}'"
|
154
154
|
}
|
155
|
+
|
156
|
+
when :bundler
|
157
|
+
steps << {
|
158
|
+
:check => "\"$(su -l #{opts[:user]} -c 'cd #{name} && bundle check > /dev/null' && echo 'up2date')\" = \"up2date\"",
|
159
|
+
:code => "su -l #{opts[:user]} -c \"cd #{name} && bundle install\""
|
160
|
+
}
|
155
161
|
|
156
162
|
when :umount
|
157
163
|
steps << {
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: gluez
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.4
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Jan Zimmek
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-05-
|
13
|
+
date: 2011-05-07 00:00:00 +02:00
|
14
14
|
default_executable:
|
15
15
|
dependencies: []
|
16
16
|
|