katello 3.0.0.rc3 → 3.0.0.rc4

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of katello might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bcf466b607593accd6ccc627041d411c26cc1139
4
- data.tar.gz: abdebb1a909e6c2c51d0dade21571f0342e8eb8c
3
+ metadata.gz: 653220497b16edc164524fa46a3ca1701a3ec997
4
+ data.tar.gz: 1d2bb6d2639fb75c3753d79374bb247b234d59f1
5
5
  SHA512:
6
- metadata.gz: b44891c5cff52cb9f94c585e752d9a5d45687cdd9078b33bd24d8ff760e74a75dc212af47cbd35cb820e2c8d46a6eea4d1370a07683411e4a615fc99667651fb
7
- data.tar.gz: 93876b0c4423e0ebf63506433bf91c1b6e4ba50e54705b083a4be0b5d83a34a4917854bfde1e4d0ae3c8c47b0cd75954a60f266642b5d7e23fb77e3176fe4cfb
6
+ metadata.gz: 5ed4b7a5aef272f8d8f8c1033e0fd6a9ee67608cb09a1065fd782b142cbae65ee486e324180b7ed8a4c0ae473ba50c81e97788db18ea6f15c9c251ebe30e35cd
7
+ data.tar.gz: 03a81beeeac30c24ccb7fc8150b0c2541fc49d70fe2fa40527e0ad625158e8e90ed91b8eee6e281f5d83dedfadb220caad92c1202a475767ec628d815668764a
@@ -15,7 +15,7 @@ module Actions
15
15
  def finalize
16
16
  ::Host.where(:id => input[:host_ids]).each do |host|
17
17
  host.content_facet.try(:import_applicability)
18
- host.content_facet.update_errata_status
18
+ host.get_status(::Katello::ErrataStatus).refresh!
19
19
  end
20
20
  end
21
21
  end
@@ -54,7 +54,6 @@ module Actions
54
54
  host.content_facet.save!
55
55
  host.subscription_facet.update_from_consumer_attributes(host.subscription_facet.candlepin_consumer.consumer_attributes)
56
56
  host.subscription_facet.save!
57
- host.refresh_global_status!
58
57
  connect_to_smart_proxy(host)
59
58
 
60
59
  system = ::Katello::System.find(input[:system_id])
@@ -69,7 +69,7 @@ module Katello
69
69
  remove_errata_applicability(to_remove) unless to_remove.blank?
70
70
  end
71
71
  end
72
- self.update_errata_status
72
+ host.get_status(::Katello::ErrataStatus).refresh!
73
73
  end
74
74
 
75
75
  def self.in_content_view_version_environments(version_environments)
@@ -120,11 +120,6 @@ module Katello
120
120
  self.host.installed_packages.where("#{Katello::InstalledPackage.table_name}.name" => 'katello-agent').any?
121
121
  end
122
122
 
123
- def update_errata_status
124
- host.get_status(::Katello::ErrataStatus).refresh!
125
- host.refresh_global_status!
126
- end
127
-
128
123
  private
129
124
 
130
125
  def insert_errata_applicability(uuids)
@@ -44,7 +44,6 @@ module Katello
44
44
 
45
45
  def update_subscription_status
46
46
  host.get_status(::Katello::SubscriptionStatus).refresh!
47
- host.refresh_global_status!
48
47
  end
49
48
 
50
49
  def self.new_host_from_facts(facts, org, location)
@@ -1,3 +1,3 @@
1
1
  module Katello
2
- VERSION = "3.0.0.rc3"
2
+ VERSION = "3.0.0.rc4"
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: 3.0.0.rc3
4
+ version: 3.0.0.rc4
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-04-19 00:00:00.000000000 Z
11
+ date: 2016-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails