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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f6c7354acf1a09805b67a419f1ad8d278412093f
4
- data.tar.gz: da753c9a5489643551c0a05cb4e7b545af75c8c4
3
+ metadata.gz: 56a2800c98067f22b2221686d066c9cf54ad6de4
4
+ data.tar.gz: 66d4a06e8b30b4d87ecd7ca2b4771accad6abf28
5
5
  SHA512:
6
- metadata.gz: 23abb876559fd4263c4932656665b5371953a7eec6d8751a7c2d4609221cb89a4e924a9932f9363d9700ce4b8a97717be39062387d9f7eba8495198db1180552
7
- data.tar.gz: 7fc67b386840c7d21306a2e879cf7c65afba6e31393e7b0b50124813e0d6b0cd9227ee057b27a2ff83704eee0120423e77bab116223703aa1b1527304b3c4079
6
+ metadata.gz: e405ed7a20dcb77112bfe7747c57907f53d39711501596df0f0bfddc99f59261bafb27f92187c0c6c1b2e755dc49ac0e8e41c7113427ad34190d6305c3918762
7
+ data.tar.gz: 47d0cb49063a6f04d4cd0e0797a4bdd2ad802d507ddd5fe242894416706eeb390327fb966611d95e95e785261fceda9ae3248e5fea80a02f55e802b830287e00
@@ -1,8 +1,8 @@
1
- DESIRED_VERSION = "2.4.2"
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 == DESIRED_VERSION ? success : fail
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 be #{DESIRED_VERSION}\n\n"
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..."
@@ -1,3 +1,3 @@
1
1
  module Katello
2
- VERSION = "2.4.3"
2
+ VERSION = "2.4.4"
3
3
  end
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.3
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-13 00:00:00.000000000 Z
11
+ date: 2016-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails