katello 2.4.3 → 2.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/katello/tasks/upgrade_check.rake +4 -4
- data/lib/katello/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 56a2800c98067f22b2221686d066c9cf54ad6de4
|
|
4
|
+
data.tar.gz: 66d4a06e8b30b4d87ecd7ca2b4771accad6abf28
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e405ed7a20dcb77112bfe7747c57907f53d39711501596df0f0bfddc99f59261bafb27f92187c0c6c1b2e755dc49ac0e8e41c7113427ad34190d6305c3918762
|
|
7
|
+
data.tar.gz: 47d0cb49063a6f04d4cd0e0797a4bdd2ad802d507ddd5fe242894416706eeb390327fb966611d95e95e785261fceda9ae3248e5fea80a02f55e802b830287e00
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
DESIRED_VERSION = "2.4.
|
|
1
|
+
DESIRED_VERSION = Gem::Version.new("2.4.3")
|
|
2
2
|
CP_LISTEN_ACTION = "Actions::Candlepin::ListenOnCandlepinEvents"
|
|
3
3
|
|
|
4
4
|
def current_version
|
|
5
|
-
Katello::VERSION
|
|
5
|
+
Gem::Version.new(Katello::VERSION)
|
|
6
6
|
end
|
|
7
7
|
|
|
8
8
|
namespace :katello do
|
|
@@ -21,10 +21,10 @@ namespace :katello do
|
|
|
21
21
|
puts "[#{task_status}] - There are #{task_count} active tasks.\n\n"
|
|
22
22
|
|
|
23
23
|
# check the current version
|
|
24
|
-
version_status = current_version
|
|
24
|
+
version_status = current_version >= DESIRED_VERSION ? success : fail
|
|
25
25
|
puts "Checking the current version..."
|
|
26
26
|
puts "[#{version_status}] - Current version of Katello is #{current_version} " \
|
|
27
|
-
"and needs to
|
|
27
|
+
"and needs to greater than or equal to #{DESIRED_VERSION}\n\n"
|
|
28
28
|
|
|
29
29
|
# run the content host check
|
|
30
30
|
puts "Checking content hosts..."
|
data/lib/katello/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: katello
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.4.
|
|
4
|
+
version: 2.4.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- N/A
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-06-
|
|
11
|
+
date: 2016-06-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|