specinfra 1.20.0 → 1.21.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9442638d0b2afa5e51c603132e54e58d43d17d7f
4
- data.tar.gz: 2a346243cacf54129b9f7440e864351d89f4a251
3
+ metadata.gz: 4113c8dba49526c18e7053c4953980bb946939e2
4
+ data.tar.gz: f4e44193b0ae65e7a64e90513da808d759664303
5
5
  SHA512:
6
- metadata.gz: 21fdbb27bb12f1251ad762df72e33fdf7dff8ddc26c68cfd9305e1b3c8dd323a97a31cc4735312aa4ecd10f63adc4c35c7850ae524f7f2af77d2cc1b4431ebcb
7
- data.tar.gz: c2aa5b824919de8ddd18e4d12f51f5e1cabf04f1e984df9c7c4d0abb635f9776724e9845391a3c9e0f4810cbdcb85d09c01b4b43b814ef5c22c6b3be0b52e928
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
@@ -1,3 +1,3 @@
1
1
  module SpecInfra
2
- VERSION = "1.20.0"
2
+ VERSION = "1.21.0"
3
3
  end
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.20.0
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-09 00:00:00.000000000 Z
11
+ date: 2014-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler