meroku 0.1.35 → 0.1.36

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 91e2ceaff2d416e07af7f9413301587de0552c96
4
- data.tar.gz: 6648c0da177cbac851bf8e0c26e55b84728852f9
3
+ metadata.gz: 1fab3d36f45378aa59a84fc257ce6d9345ef595c
4
+ data.tar.gz: 84f8f421c5c7e795ead29392f81b9108e0a5ebb3
5
5
  SHA512:
6
- metadata.gz: 91d4b099b499c4ad1eaba04cdd9560e92b29f45a796e64c7aaaad166eace0c887fb332b0a7c659d932fdd1a48de1f18efb6c77d5a4b0a143bbe6f7610be25987
7
- data.tar.gz: 2df4be2b5d5e27ec590ae007549beeb6c45e7ea63cf54e4b59b4a62d111823b47d654c3e9c53d34e34c7a4789c111053cd0fb8ad98fc8e95c023bd9a388530f0
6
+ metadata.gz: 4e00f9cb57c26266c9efae0ee5a382d5c09ea5280308f1cd0ca8da2ac9929cfacd07c7aace13d8cf976eb7a26affc7906b9bef900496a6ab11f41440dabb81b7
7
+ data.tar.gz: 3c22eeeb9f45fe757720c659e59b6fac0d4869d7b5c6d0c75725e43d5cf02b6a619cd54c6366d7dae6dc6b18298a57b5f03e570470e29d58ec776ae0e8f3b480
@@ -100,8 +100,6 @@ module Meroku
100
100
  ssh2(ip,"sudo mkdir /opt/githooks; sudo chmod 777 /opt/githooks")
101
101
  ssh2(ip,'cp ~/meroku/misc/githook_post-receive /opt/githooks/post-receive')
102
102
  ssh2(ip,'cp ~/meroku/misc/start_app /opt/githooks/start_app')
103
- ssh2(ip,'cp ~/meroku/misc/app_id_by_name /opt/githooks/app_id_by_name')
104
- ssh2(ip,'cp ~/meroku/misc/user_id_by_name /opt/githooks/user_id_by_name')
105
103
 
106
104
  ssh2(ip,"sudo chmod 777 /opt/githooks/* ")
107
105
  ssh2(ip,"sudo ln -s /usr/bin/install /bin/install")
data/lib/meroku/util.rb CHANGED
@@ -136,7 +136,7 @@ module Meroku
136
136
  Meroku::App.all.each do |app|
137
137
  puts "DB8 Starting app #{app.id} #{app.name}"
138
138
  app_owner_id = Meroku::App::Collaborator.where(app_id: app.id).first.user_id
139
- `sudo -i -u u#{app_owner_id} /bin/bash -c 'source /opt/githooks/start_app; start_app "/home/u#{app_owner_id}/#{app.name}.git"'`
139
+ `sudo -i -u u#{app_owner_id} /bin/bash -lc 'source /opt/githooks/start_app; start_app "/home/u#{app_owner_id}/#{app.name}.git"'`
140
140
  end
141
141
  end
142
142
 
@@ -1,3 +1,3 @@
1
1
  module Meroku
2
- VERSION = "0.1.35"
2
+ VERSION = "0.1.36"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meroku
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.35
4
+ version: 0.1.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - Meroku System