foreman_maintain 1.1.6 → 1.1.8

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: 92257cd7abfa6ce1234f0d5223197de9c804a8f1aea3f6f9ceb1afc4fcaacb52
4
- data.tar.gz: 6dd2767bd384cc19871242c8bf68499b9c6d3b641584ab18685e6c0f3c6bcfed
3
+ metadata.gz: f2f1f46248f5eb70dad12acfe77a4bb729e1e1dd4d81d4bcf32ebbc50e2f9df1
4
+ data.tar.gz: e41ba501ec33dd5f329b7cdc11594d5c26935636696ae5f944830a02f08d30cb
5
5
  SHA512:
6
- metadata.gz: b60d2b4b6b9c19fbcc75a31aaef0fe79d155477215a88fa4a4b6ece8d92e4c69901ed50766db333934ce7ce84e120a45aa51eb1e5799b25e615881ad26ad190a
7
- data.tar.gz: b0790929f26f2cdf667551ec1ded6aaf312c49c804a6defaacbe23524ac23c1f213d440d090e369168593141582231b05c4c2b5f426379ce5e6c842ec2a31c88
6
+ metadata.gz: 70ae7599b2536967aab51c852a404c07ec47bb451cf6f55e3972c9e314c0f6a9500871a7e665941520756d99c35ec5d2e009fd5983fa223c844d542bf214baf3
7
+ data.tar.gz: 41034d192e3711ca505f270b2d8db559d036e08bebbb0357711030021ff9980320d3b43d8ab89223cf290efbf69ffe363b18c74c5a682378ffd26a61b9e05b93
@@ -2,12 +2,11 @@ module ForemanMaintain::Scenarios
2
2
  class SelfUpgradeBase < ForemanMaintain::Scenario
3
3
  include ForemanMaintain::Concerns::Downstream
4
4
  def target_version
5
- current_full_version = feature(:instance).downstream.current_version
6
- @target_version ||= current_full_version.bump
5
+ @target_version ||= Gem::Version.new(current_version).bump.to_s
7
6
  end
8
7
 
9
8
  def current_version
10
- feature(:instance).downstream.current_minor_version
9
+ feature(:instance).downstream.current_version.to_s[/^\d+\.\d+\.\d+/]
11
10
  end
12
11
 
13
12
  def maintenance_repo_label
@@ -20,7 +20,12 @@ yum-utils
20
20
  # el7 psql client dependencies
21
21
  rh-postgresql12-postgresql
22
22
  rh-postgresql12-postgresql-libs
23
+ rh-postgresql12-postgresql-syspaths
23
24
  rh-postgresql12-runtime
25
+ scl-utils
26
+ # el8 psql client dependencies
27
+ postgresql
28
+ libpq
24
29
  # el8 yum-utils dependencies
25
30
  dnf-plugins-core
26
31
  python3-dnf-plugins-core
@@ -1,3 +1,3 @@
1
1
  module ForemanMaintain
2
- VERSION = '1.1.6'.freeze
2
+ VERSION = '1.1.8'.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.1.6
4
+ version: 1.1.8
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: 2022-09-21 00:00:00.000000000 Z
11
+ date: 2022-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clamp
@@ -108,6 +108,20 @@ dependencies:
108
108
  - - '='
109
109
  - !ruby/object:Gem::Version
110
110
  version: 0.50.0
111
+ - !ruby/object:Gem::Dependency
112
+ name: minitest-stub-const
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
111
125
  description: Provides various features that helps keeping the Foreman/Satellite up
112
126
  and running.
113
127
  email: inecas@redhat.com
@@ -469,7 +483,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
469
483
  - !ruby/object:Gem::Version
470
484
  version: '0'
471
485
  requirements: []
472
- rubygems_version: 3.3.7
486
+ rubygems_version: 3.2.33
473
487
  signing_key:
474
488
  specification_version: 4
475
489
  summary: Foreman maintenance tool belt