bonethug 0.0.96 → 0.0.97
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bonethug/syncer.rb +3 -3
- data/lib/bonethug/version.rb +2 -2
- data/scripts/ubuntu-14.04 +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 639a849014aa51df3e82507a038d877257907b56
|
4
|
+
data.tar.gz: 4c72e0a302eb1d1068fb3340689703cd5c6e2303
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ccdd33f291b1b2aca13e380cf5b206785b4b597de42dfba21c6ca668fb64f6d5b244c4bb95ba5565eccb7546da3c3d7bbcd5d805d0b18acbac9d27ec35388871
|
7
|
+
data.tar.gz: 974b20d0247c2f5f65c3b271c248a0841da472016d162f9410fd662290dbf564b04b5516ef5acc41787854a9f8abd5a012ef53ac2c8478befd2ad86b1b9a8ce6
|
data/lib/bonethug/syncer.rb
CHANGED
@@ -77,9 +77,9 @@ module Bonethug
|
|
77
77
|
db_local = db.get env_local
|
78
78
|
|
79
79
|
if push == 'local' and pull == 'remote'
|
80
|
-
cmd = "#{remote_ssh} \"mysqldump -u #{db_remote.get 'user'} -p#{db_remote.get 'pass'} #{db_remote.get 'name'} --verbose --single-transaction -CceKq | bzip2 -c\" | bunzip2 -c | mysql -u #{db_local.get 'user'} -p#{db_local.get 'pass'} #{db_local.get 'name'}"
|
80
|
+
cmd = "#{remote_ssh} \"mysqldump -u #{db_remote.get 'user'} -h #{db_remote.get 'host'} -p#{db_remote.get 'pass'} #{db_remote.get 'name'} --verbose --single-transaction -CceKq | bzip2 -c\" | bunzip2 -c | mysql -u #{db_local.get 'user'} -h #{db_local.get 'host'} -p#{db_local.get 'pass'} #{db_local.get 'name'}"
|
81
81
|
elsif pull == 'local' and push == 'remote'
|
82
|
-
cmd = "mysqldump -u #{db_local.get 'user'} -p#{db_local.get 'pass'} #{db_local.get 'name'} --verbose --single-transaction -CceKq | bzip2 -c | #{remote_ssh} \"bunzip2 -c | mysql -u #{db_remote.get 'user'} -p#{db_remote.get 'pass'} #{db_remote.get 'name'}\""
|
82
|
+
cmd = "mysqldump -u #{db_local.get 'user'} -h #{db_local.get 'host'} -p#{db_local.get 'pass'} #{db_local.get 'name'} --verbose --single-transaction -CceKq | bzip2 -c | #{remote_ssh} \"bunzip2 -c | mysql -u #{db_remote.get 'user'} -h #{db_remote.get 'host'} -p#{db_remote.get 'pass'} #{db_remote.get 'name'}\""
|
83
83
|
end
|
84
84
|
|
85
85
|
puts cmd
|
@@ -110,4 +110,4 @@ module Bonethug
|
|
110
110
|
|
111
111
|
end
|
112
112
|
|
113
|
-
end
|
113
|
+
end
|
data/lib/bonethug/version.rb
CHANGED
data/scripts/ubuntu-14.04
CHANGED
@@ -104,7 +104,7 @@ sudo touch /etc/apache2/mods-available/passenger.conf
|
|
104
104
|
# Node.js related
|
105
105
|
# -----------------------------------------------------
|
106
106
|
|
107
|
-
sudo npm install bower -g
|
107
|
+
sudo npm install bower npm gulp -g
|
108
108
|
|
109
109
|
# -----------------------------------------------------
|
110
110
|
# Restart stuff
|
@@ -118,4 +118,4 @@ sudo service php5-fpm restart
|
|
118
118
|
# -----------------------------------------------------
|
119
119
|
|
120
120
|
curl -sS https://getcomposer.org/installer | php
|
121
|
-
mv composer.phar /usr/local/bin/composer
|
121
|
+
sudo mv composer.phar /usr/local/bin/composer
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bonethug
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.97
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- azt3k
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -519,7 +519,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
519
519
|
version: '0'
|
520
520
|
requirements: []
|
521
521
|
rubyforge_project:
|
522
|
-
rubygems_version: 2.
|
522
|
+
rubygems_version: 2.4.5
|
523
523
|
signing_key:
|
524
524
|
specification_version: 4
|
525
525
|
summary: Bonethug
|