gluez 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/gluez/impl/linux.rb +6 -0
  2. metadata +2 -2
@@ -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.3
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-05 00:00:00 +02:00
13
+ date: 2011-05-07 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies: []
16
16