escualo 0.2.10 → 0.2.11

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: 7f0a63bbae41367d0f761667624c067f0e66daae
4
- data.tar.gz: 974621879149eabd874d4ca17365919fd1bdcdfc
3
+ metadata.gz: 4c0951eb874ee119a65eaa91b6d50ab1cb76e058
4
+ data.tar.gz: ed03539fd3fecb873a501d5c637cf333743ecbcb
5
5
  SHA512:
6
- metadata.gz: 91895f4f1ce62316b43309012a1ea094bb5d2a87508e1ee8c9b157edf533c06f32863d33ea51e0a872f79fd8b8739c55ee8f1a5ad1616f08dd10c816b5a2c1c2
7
- data.tar.gz: fa47740e4ba68845e904cd0de51e91f87458de897ce0197c4194732e73148a6aa4d009d73b27f371c77cf4f49ada50fe558596173a32ba3e3c890882de353ebb
6
+ metadata.gz: fb5227e4f06f3cd315b4151b26709e00a112451e0639ddfdda5027918e97e4f700b84d6930a66dc888b675a14fcbf319a9e69bfbc0414cc99c77380ffbbc365e
7
+ data.tar.gz: 0c97bd4efe4a6b44eda27703e99ebeed1e0e5ff5324259b762eb723ddd4a361012df86a1597aa0553cb089aa4954ddeebeb4cd061e26de2ae5d216b184b55e2c
@@ -11,7 +11,7 @@ module Escualo::Plugin
11
11
  echo 'host all all 127.0.0.1/32 md5' >> #{pg_hba_conf} &&
12
12
  cd / &&
13
13
  sudo -u postgres PGDATABASE='' psql <<EOF
14
- create role \\$POSTGRESQL_DB_USERNAME with createdb login password '\\$POSTGRESQL_DB_PASSWORD';
14
+ create role $POSTGRESQL_DB_USERNAME with createdb login password '$POSTGRESQL_DB_PASSWORD';
15
15
  EOF
16
16
  }, options
17
17
  end
@@ -1,4 +1,4 @@
1
1
  module Escualo
2
- VERSION = '0.2.10'
2
+ VERSION = '0.2.11'
3
3
  BASE_VERSION = '3.1'
4
4
  end
data/lib/ssh/session.rb CHANGED
@@ -54,7 +54,7 @@ class Net::SSH::Connection::Session
54
54
 
55
55
  def wrap(command)
56
56
  "bash -i -s <<EOBASH
57
- #{command}
57
+ #{command.gsub('$', '\$')}
58
58
  EOBASH"
59
59
  end
60
60
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: escualo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Leonardo Bulgarelli