bard 0.62.0 → 0.62.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/install_files/apt_dependencies.rb +4 -4
- 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: f18316a4dc7dcd513e1dcac34f50fb757cfbf9072a617680ba1241a53c484539
|
4
|
+
data.tar.gz: 1c8fcb0539271a4f86e22cf442b65cf3ee864388c4705ef6b1b2243e7a46e5cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ef61f9c77b19fbff8231eb2707501c9f6185eb343b8da84507d00673bf38ec5c28da1e636a972955f976237f256e8f40b890c750350665a6b28819b74fa76d5
|
7
|
+
data.tar.gz: 5da351a322da23ac6f8351a46161939d4b0288538a9e4610e7a5d92eec4599932f00fd1972bb4b3b130d9dbe4b0ba6ad8151824c11b85380ccdbcb4813692f86
|
@@ -7,16 +7,16 @@ module AptDependencies
|
|
7
7
|
$stderr.puts "sudo requires password! cannot install #{deps_to_install.join(' ')}"
|
8
8
|
exit 1
|
9
9
|
else
|
10
|
-
"sudo apt update && sudo apt install -y #{deps_to_install.join(' ')}"
|
10
|
+
system "sudo DEBIAN_FRONTEND=noninteractive apt-get update -y && sudo DEBIAN_FRONTEND=noninteractive apt-get install -y #{deps_to_install.join(' ')}"
|
11
11
|
end
|
12
12
|
end
|
13
13
|
|
14
14
|
private
|
15
15
|
|
16
16
|
def deps_to_install
|
17
|
-
|
18
|
-
|
19
|
-
|
17
|
+
deps.reject do |dep|
|
18
|
+
system("dpkg-query -W -f='${Status}' #{dep} 2>/dev/null > /dev/null")
|
19
|
+
end
|
20
20
|
end
|
21
21
|
|
22
22
|
def deps
|
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: 0.62.
|
4
|
+
version: 0.62.1
|
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-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|