bard 1.1.0 → 1.1.2

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
  SHA256:
3
- metadata.gz: 60643d6e6625f8282271b1c48632b2d58d0f06fb3f15c8381a7c874763804b93
4
- data.tar.gz: 68ca4b9ccde0f014918f8dcd652d5a55ab6ccaf0ce7038405989e73f25a4b1a0
3
+ metadata.gz: 588cdbfd25f55995fcc7a63da8cca7d8ca0f85aa0493e707e42b0684a09814d4
4
+ data.tar.gz: 3936e7c7ff76faec65b7865641ad271c78b5f1e1d1f0e76cab72d2c59c83ff42
5
5
  SHA512:
6
- metadata.gz: 76ba32e8b731544a78c2e4d40346d12a1ae6132f1807e12f00da17c30ebc4300d7e364d52e4620458b1b42fdc9b9b2a6b2db9c9e093d83aade05333af902cfe4
7
- data.tar.gz: eba8b5a401b1ab505c0efde3c1c5897e934639cbf87b938ba016500ba3bb0e3311374b742196e6d905ec3842b6e0d1c717fc360c41b19f82a53ca499b2b7883d
6
+ metadata.gz: a30e2048f3c2d8c64c5f2d83babce66b0c008145cab3bfa2e1fa7685edb710b75ca204258bb946f8361d99a43af8f52c468eae24af41222f5d69479e5b6f667b
7
+ data.tar.gz: 642c7e6c47280b94f3b21439534b7b932debea8ecb72704f3a34ca241cbace3094c5f59ed521f3b412d818a5929e0d331eba44a36c816f5f85b00e1611d066c1
@@ -15,7 +15,7 @@ class Bard::Provision::MySQL < Bard::Provision
15
15
  end
16
16
 
17
17
  def mysql_responding?
18
- provision_server.run "sudo service mysql status | cat", home: true, quiet: true
18
+ provision_server.run "sudo systemctl is-active --quiet mysql", home: true, quiet: true
19
19
  end
20
20
  end
21
21
 
data/lib/bard/server.rb CHANGED
@@ -72,12 +72,13 @@ module Bard
72
72
  end
73
73
 
74
74
  def rsync_uri file_path=nil
75
- ssh_uri.dup.tap do |uri|
75
+ str = ssh_uri.dup.tap do |uri|
76
76
  uri.scheme = nil
77
77
  uri.port = nil
78
- uri.path = ":#{path}"
79
- uri.path += "/#{file_path}" if file_path
80
78
  end.to_s[2..]
79
+ str += ":#{path}"
80
+ str += "/#{file_path}" if file_path
81
+ str
81
82
  end
82
83
 
83
84
  def with(attrs)
data/lib/bard/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Bard
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.2"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bard
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-28 00:00:00.000000000 Z
11
+ date: 2024-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor