foreman_theme_satellite 14.2.0 → 14.3.0

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: fc257863281454246c7a885e532ca75a8ae52de374e37a0300d8b01496278f4a
4
- data.tar.gz: fa16b3506869471c1a63c3e7f9ee7d55c1f6f26328bb50563e7ab6be94df8f6b
3
+ metadata.gz: 2dc7c4d5b7c14c4b2cd22cfb35d190b9ec44de8a84bb18af5b0d4a76278277fa
4
+ data.tar.gz: e49ba9ca470614d2112ddcb1543534602e16041538e38dc834e53c09d8dd8f48
5
5
  SHA512:
6
- metadata.gz: 0c084a27421fd358d3e2e830421efd953c48f43310c24adb3b84f80f9930e5ca9f21277e3ae547e74141986ea5d10b1d162b1222272699ae853f516d6fd595fe
7
- data.tar.gz: 0a3cd6726391e62602599f81317a1f3549966a8e2fea68c0e67350b84aa0581d1497bcc93a4dd36e0b2415f50cf068cca7884f0a117b2a045b29b95b6829e0a5
6
+ metadata.gz: dcd422681436334d7bdbd99d0d9bec10dbc7932edad92f7a8f719438bd9f0f84f7d2c0f4ca8789b2e12aa490fb82a4456cae799935c2df6dcd72af8abeef4b54
7
+ data.tar.gz: 9df3dd2a91ab36965d123fc3083252dde8135f18a4736f7e755faddf27ee3e78b75d6c1e55b75722e6e187586c2e2db549e86a4d023e424548d6c2753c7deab6
@@ -85,6 +85,10 @@ module ForemanThemeSatellite
85
85
  ForemanRhCloud::BranchInfo.send :prepend, BranchInfoBranding
86
86
  end
87
87
 
88
+ if defined?(ForemanOpenscap)
89
+ ForemanOpenscap::BulkUpload.send :prepend, ScapBulkUploadExtensions
90
+ end
91
+
88
92
  UINotifications::StringParser.send :prepend, DeprecationNotification::StringParser
89
93
  Notification.singleton_class.send :prepend, DeprecationNotification::Notification
90
94
  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 = '14.2.0'.freeze
2
+ VERSION = '14.3.0'.freeze
3
3
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foreman_theme_satellite",
3
- "version": "14.2.0",
3
+ "version": "14.3.0",
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: 14.2.0
4
+ version: 14.3.0
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-11-26 00:00:00.000000000 Z
12
+ date: 2024-12-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -154,6 +154,7 @@ files:
154
154
  - lib/foreman_theme_satellite/pry_rack.rb
155
155
  - lib/foreman_theme_satellite/replacer_repository.rb
156
156
  - lib/foreman_theme_satellite/rss_checker_branding.rb
157
+ - lib/foreman_theme_satellite/scap_bulk_upload_extensions.rb
157
158
  - lib/foreman_theme_satellite/version.rb
158
159
  - lib/generators/foreman_theme_satellite/color_diff_generator.rb
159
160
  - lib/generators/foreman_theme_satellite/lib/color_changer.rb