specinfra 1.20.0 → 1.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/specinfra/command/base.rb +0 -8
- data/lib/specinfra/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4113c8dba49526c18e7053c4953980bb946939e2
|
4
|
+
data.tar.gz: f4e44193b0ae65e7a64e90513da808d759664303
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30563ece4c15e57f120732fd17e772ac9565a5df5697c67e0d66a18b70c92ba2c96aa360cc235395d3759702fb23a3c4376671fdbaf06fa5018336b825bfbb16
|
7
|
+
data.tar.gz: 746c69443b60c736de71c81c80d20635f2fe1821ad6490e94ac0f7a3feb41e05133aa3b8f64c3e977259ea972f62a38a1d05ce60ebe153b101dd97336b3141f9
|
@@ -352,14 +352,6 @@ module SpecInfra
|
|
352
352
|
def get_ipaddress_of_host(name)
|
353
353
|
"getent hosts #{escape(name)} | awk '{print $1}'"
|
354
354
|
end
|
355
|
-
|
356
|
-
def check_mysql(host, user, password, database)
|
357
|
-
cmd = "mysql -e 'SHOW DATABASES;' -h #{escape(host)}"
|
358
|
-
cmd = "#{cmd} -u #{escape(user)}" if user
|
359
|
-
cmd = "#{cmd} --password=#{escape(password)}" if password
|
360
|
-
cmd = "#{cmd} #{escape(database)}" if database
|
361
|
-
cmd
|
362
|
-
end
|
363
355
|
end
|
364
356
|
end
|
365
357
|
end
|
data/lib/specinfra/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: specinfra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.21.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gosuke Miyashita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|