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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2dc7c4d5b7c14c4b2cd22cfb35d190b9ec44de8a84bb18af5b0d4a76278277fa
|
4
|
+
data.tar.gz: e49ba9ca470614d2112ddcb1543534602e16041538e38dc834e53c09d8dd8f48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/package.json
CHANGED
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.
|
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-
|
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
|