bard 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bard/server.rb +4 -3
- data/lib/bard/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 588cdbfd25f55995fcc7a63da8cca7d8ca0f85aa0493e707e42b0684a09814d4
|
4
|
+
data.tar.gz: 3936e7c7ff76faec65b7865641ad271c78b5f1e1d1f0e76cab72d2c59c83ff42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a30e2048f3c2d8c64c5f2d83babce66b0c008145cab3bfa2e1fa7685edb710b75ca204258bb946f8361d99a43af8f52c468eae24af41222f5d69479e5b6f667b
|
7
|
+
data.tar.gz: 642c7e6c47280b94f3b21439534b7b932debea8ecb72704f3a34ca241cbace3094c5f59ed521f3b412d818a5929e0d331eba44a36c816f5f85b00e1611d066c1
|
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
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.
|
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-
|
11
|
+
date: 2024-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|