foreman_maintain 1.6.5 → 1.6.6

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: 9832b114fa0e778b687140d47774ffa583742e69c0883f7e0738fad23e6d0f87
4
- data.tar.gz: dfd33002a93b7171aab581342c169d0eef6cee318302bad7d24108581e05b514
3
+ metadata.gz: 49e4ffcc4a0a5899887cc3bc1dad11b10381deb25add42d732e8285787307959
4
+ data.tar.gz: e9ae9b2138d6a6ab9cb6c5cd36332467aab83c2f4cd8f8d6b46150067d072053
5
5
  SHA512:
6
- metadata.gz: 30c727eed2a0f6fb4402caedfcbca2b5e8466b322f94f938523e16726b9439d3b00737950d88c41993fdd61f8cedea7c67752d1917e91ff6a6dde57dfbca1544
7
- data.tar.gz: fd20b2f2ea602071e1371266b62e7640b945a942208469019f0ee173ab90afd51de78e91c9790c525d1d6e689f5d47779e57ce22c032a1a1d3c53f61eb566135
6
+ metadata.gz: 4b242b0cb68111062213960792f2b712ba5770a5887d088f824a957fa193dc8d3b49425b3e94e0ac9752cf504ee9a7b2ff7d52417a5edb077d6890aaee6c8859
7
+ data.tar.gz: 8a09714780cf70012aabeab9d919c80b3c62ca2859c5a208b5838bfbb83a658a38c753b9db0508d36d094053570be027428517760212acb30ca431310f172a5f
@@ -21,7 +21,7 @@ module Checks::Repositories
21
21
  if feature(:instance).downstream.subscribed_using_activation_key?
22
22
  skip 'Your system is subscribed using custom activation key'
23
23
  else
24
- @version ||= package_version(feature(:instance).downstream.package_name)
24
+ @version ||= package_version(feature(:instance).downstream.package_name).version
25
25
 
26
26
  with_spinner("Validating availability of repositories for #{@version}") do |spinner|
27
27
  find_absent_repos(spinner)
@@ -27,7 +27,7 @@ module ForemanMaintain::PackageManager
27
27
  # rubocop:enable Lint/UnusedMethodArgument
28
28
 
29
29
  def clean_cache(assumeyes: false)
30
- apt_action('clean', :assumeyes => assumeyes)
30
+ apt_action('clean', [], :assumeyes => assumeyes)
31
31
  end
32
32
 
33
33
  def find_installed_package(name, queryfm = '')
@@ -60,8 +60,6 @@ module ForemanMaintain::PackageManager
60
60
  false
61
61
  end
62
62
 
63
- private
64
-
65
63
  def sys
66
64
  ForemanMaintain::Utils::SystemHelpers
67
65
  end
@@ -138,7 +138,7 @@ module ForemanMaintain::PackageManager
138
138
  packages = [packages].flatten(1)
139
139
 
140
140
  dnf_options << '-y' if assumeyes
141
- dnf_topions << '--downloadonly' if download_only
141
+ dnf_options << '--downloadonly' if download_only
142
142
  dnf_options << '--disableplugin=foreman-protector'
143
143
 
144
144
  command = ['dnf', dnf_options.join(' '), action]
@@ -1,3 +1,3 @@
1
1
  module ForemanMaintain
2
- VERSION = '1.6.5'.freeze
2
+ VERSION = '1.6.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_maintain
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.5
4
+ version: 1.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Nečas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-29 00:00:00.000000000 Z
11
+ date: 2024-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clamp