foreman_theme_satellite 13.3.2 → 13.3.4

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: 78de52218bf1a707dfe0f6ce468939002bbc45f410ccddfd158889f74f5c4d98
4
- data.tar.gz: eb0fb26e46a4dc2e6f6d81ecce42a620dfc1686c9b49afa855e4eac00705b30f
3
+ metadata.gz: 966937c6f4d5139ef3de22690a5f37c31efdd3e0e2984f3f45bd674e723c2bd7
4
+ data.tar.gz: f5d308d9c3f2ad7d7afe5261d9a030e1ec3c8320daa22839075b6a2bfbbebe19
5
5
  SHA512:
6
- metadata.gz: 34845967451db88360cb2c3fcd8aecc34c0a273298961686f55ea03a98a67e646c6258003a2b18b3b9c3c5017af9cc7669911a095718644396782e328f31c7b1
7
- data.tar.gz: 798d983082f412bfef5ed74f8ae79a363dd202f38113ec33e2d58d2d895b5be6e3247dbe918467dbff495940c0965266e4737277435c0302cd9bbdc659c56446
6
+ metadata.gz: fd805d2d514558645424acfceb29802214ea754bbbd57b8e3802e4e025aa5933e0f5cc497d4136584ce39637970b041dfad82cf4bf310b15888f209cafecf7a9
7
+ data.tar.gz: 360171d52536b20796d6db57e7acbce8cef80cbe41548ed33b30bfdf564a5f1ab7b48a76fda6db477d6fbf5bdb4dc7ef2fe65b9c3fd7e81719f3530f57c2a2ae
@@ -21,7 +21,7 @@ end %>
21
21
  <% end %>
22
22
  <div class="eol-banner-content">
23
23
  <%= _("For up to date information about Satellite's lifecycle see ") %><a href="https://access.redhat.com/support/policy/updates/satellite"><%= _("Red Hat Satellite Product Life Cycle") %></a>.
24
- <%= _("Kindly plan to upgrade Satellite to the supported version, for upgrade guidance see ") %><a href="<%= ForemanThemeSatellite.documentation_server %>/labsinfo/satelliteupgradehelper "><%= _("Red Hat Satellite Upgrade Helper") %>.
24
+ <%= _("Kindly plan to upgrade Satellite to the supported version, for upgrade guidance see ") %><a href="https://access.redhat.com/labsinfo/satelliteupgradehelper "><%= _("Red Hat Satellite Upgrade Helper") %>.
25
25
  </div>
26
26
  </div>
27
27
  <span id="satellite-oel-banner-dismiss-button" style="position: absolute; font-size: 20px; top: 0px; right: 5px; cursor: pointer;">&times;</span>
@@ -100,6 +100,10 @@ module ForemanThemeSatellite
100
100
  ForemanRhCloud::BranchInfo.send :prepend, BranchInfoBranding
101
101
  end
102
102
 
103
+ if defined?(ForemanOpenscap)
104
+ ForemanOpenscap::BulkUpload.send :prepend, ScapBulkUploadExtensions
105
+ end
106
+
103
107
  UINotifications::StringParser.send :prepend, DeprecationNotification::StringParser
104
108
  Notification.singleton_class.send :prepend, DeprecationNotification::Notification
105
109
  LinksController.prepend DocumentationControllerBranding
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ module ForemanThemeSatellite
4
+ module ScapBulkUploadExtensions
5
+ extend ActiveSupport::Concern
6
+
7
+ def security_guide_packages
8
+ packages = super
9
+ packages.unshift('scap-security-guide-satellite')
10
+ packages
11
+ end
12
+
13
+ def extract_name_from_file(file)
14
+ # SCAP datastream files are in format of ssg-sat-<OS>-ds.xml
15
+ # We wish to extract the <OS> and create a name of it
16
+ super.gsub('sat-', '')
17
+ end
18
+ end
19
+ end
@@ -1,3 +1,3 @@
1
1
  module ForemanThemeSatellite
2
- VERSION = '13.3.2'.freeze
2
+ VERSION = '13.3.4'.freeze
3
3
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foreman_theme_satellite",
3
- "version": "13.3.2",
3
+ "version": "13.3.4",
4
4
  "description": "Satellite theme =============",
5
5
  "main": "index.js",
6
6
  "scripts": {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_theme_satellite
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.3.2
4
+ version: 13.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shimon Stein
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-09-27 00:00:00.000000000 Z
12
+ date: 2025-02-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -152,6 +152,7 @@ files:
152
152
  - lib/foreman_theme_satellite/pry_rack.rb
153
153
  - lib/foreman_theme_satellite/replacer_repository.rb
154
154
  - lib/foreman_theme_satellite/rss_checker_branding.rb
155
+ - lib/foreman_theme_satellite/scap_bulk_upload_extensions.rb
155
156
  - lib/foreman_theme_satellite/version.rb
156
157
  - lib/generators/foreman_theme_satellite/color_diff_generator.rb
157
158
  - lib/generators/foreman_theme_satellite/lib/color_changer.rb
@@ -194,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
194
195
  - !ruby/object:Gem::Version
195
196
  version: '0'
196
197
  requirements: []
197
- rubygems_version: 3.5.16
198
+ rubygems_version: 3.5.22
198
199
  signing_key:
199
200
  specification_version: 4
200
201
  summary: This is a plugin that enables building a theme for Foreman.