bard 0.62.0 → 0.62.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: d24009e6972f214ff02cffed4b23dd3ff8f07f55c6cea8ca8d56e78d57793733
4
- data.tar.gz: 56b93c510186793a22f86ad5774850cf68f4e267f02a18b1ece70cf1be3fd86a
3
+ metadata.gz: fb0639401698f2f8efedc908dec19e665c0c7e067446fa6a8e3c38e877c072c0
4
+ data.tar.gz: '0510189b034d15caa908e1841f6223076a68ef429fa011dba4d6191e672d4bff'
5
5
  SHA512:
6
- metadata.gz: 50167a79d3331b5facaccaa4bb68c1426c1ffee6f8f49eeb44361d23239aac705365d0c99485146473ca33712a93a7ee57d6585db4e8f558f09928d8a8d79a60
7
- data.tar.gz: 25dc69a864a834cb7624a6fdf6b5df017a3fc038db9fd0fb2815bb34ce334a584f49ffbb6c63b2d1f425fc1b71509b7a658f198674aff64796c4bc6fd86a85c7
6
+ metadata.gz: d99981c90eef79bf61b4fe0cda6b6ebae19baf426ec555e38209d9d60a7bebe67f83b8b991ab0ebbfec7df24d7fddf03eb1afe1085a18f63b71a2a43bff98e07
7
+ data.tar.gz: 9b97be4d649e3d168327eeb63aab76bb2cf7a713540709a020dde53d143bf536c90292428636e063b7822481f06bd61046ba66593a29a6001b796d476f26d17c
@@ -7,6 +7,7 @@ on:
7
7
  jobs:
8
8
  build_ruby_cache:
9
9
  runs-on: ubuntu-22.04
10
+ timeout-minutes: 30
10
11
  steps:
11
12
  - uses: actions/checkout@v3
12
13
  - uses: ruby/setup-ruby@v1
@@ -13,6 +13,7 @@ permissions:
13
13
  jobs:
14
14
  test:
15
15
  runs-on: ubuntu-22.04-16core
16
+ timeout-minutes: 30
16
17
  env:
17
18
  RAILS_ENV: test
18
19
  RAILS_MASTER_KEY: ${{ secrets.RAILS_MASTER_KEY }}
@@ -37,6 +38,7 @@ jobs:
37
38
  autodeploy-dependabot-prs:
38
39
  needs: test
39
40
  runs-on: ubuntu-22.04
41
+ timeout-minutes: 30
40
42
  if: github.actor == 'dependabot[bot]'
41
43
  steps:
42
44
  - name: Merge Dependabot PR
@@ -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
- installed_deps = `apt list #{deps.join(' ')} --installed 2>/dev/null`.chomp.split("\n")[1..]
18
- .map { |line| line.split("/")[0] }
19
- deps - installed_deps
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
@@ -1,4 +1,4 @@
1
1
  module Bard
2
- VERSION = "0.62.0"
2
+ VERSION = "0.62.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: 0.62.0
4
+ version: 0.62.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-07-27 00:00:00.000000000 Z
11
+ date: 2024-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor