bard 0.50.2 → 0.50.3

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: 805a92390c2917eeada517a6bc16b6e2e05269d203d7865a1fa6eecd67100026
4
- data.tar.gz: d90481a4f76a4aeaf82368c391c30e525e29565cfefbe5517aa7e88c98476031
3
+ metadata.gz: be37d580380ed839c71802d1957700a394a4425eef2dec647dd36f3eeeab756a
4
+ data.tar.gz: 1df460eb38491080b05e3322b0033a758bd350c650cb4ee4d23f21f1528d2767
5
5
  SHA512:
6
- metadata.gz: 1863f7bf1bf5336de2227dee80ef71fb7792b11dd3c31b4102f66b898a770f860b260cec73680ea50fe1516d9aa19360130e2a12950ec0bb7d5ed3d58aaacd07
7
- data.tar.gz: 00650d41d9add6bdffe44701a21b7649868bdf9948e84d8490a341bbb4252257171288715bd2535649f384cf8e2171460f976b70d8840278e2aa61b03c085fda
6
+ metadata.gz: b802d5b13a84c8a4c7b2655892144266505f9ee39e75ab9a30246d9e63776e48ff300229ccb882f31c7695065ff200396966f2d3d8adb0dc0c674a7a291e7a64
7
+ data.tar.gz: c9bff3498db70bf2dd2806af9f39fda3d0cb7b6998192cf5fce3e6a6bc6ea4dabac9c3aa99f0d9d46a0dfdb43ac5768795e8aaf470b65e0b749b48fcff7f361a
@@ -4,17 +4,17 @@ module AptDependencies
4
4
  def self.ensure!
5
5
  return "true" if deps_to_install.none?
6
6
  if sudo_password_required? && ENV["RAILS_ENV"] != "development"
7
- $stderr.puts "sudo requires password! cannot install #{deps_to_install.join}"
7
+ $stderr.puts "sudo requires password! cannot install #{deps_to_install.join(' ')}"
8
8
  exit 1
9
9
  else
10
- "sudo apt install -y #{deps_to_install.join}"
10
+ "sudo apt 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
- installed_deps = `apt list imagemagick thunderbird --installed 2>/dev/null`.chomp.split("\n")[1..]
17
+ installed_deps = `apt list #{deps.join(' ')} --installed 2>/dev/null`.chomp.split("\n")[1..]
18
18
  .map { |line| line.split("/")[0] }
19
19
  deps - installed_deps
20
20
  end
data/lib/bard/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Bard
2
- VERSION = "0.50.2"
2
+ VERSION = "0.50.3"
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: 0.50.2
4
+ version: 0.50.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-16 00:00:00.000000000 Z
11
+ date: 2023-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor