foreman_theme_satellite 13.3.3 → 13.3.5
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: b645f856d7ea57369fd9a68ff7678128ef128bb4e1aa35fdc924e5c1707e629e
|
4
|
+
data.tar.gz: 705cd83639b01c0d6127fc1a1b189ff053e5622c7d9f7d3f9e8b4cbe2c0d7c18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b592183b7687a2aa5d8abf813c0322c59433d4e503b9a47830f631b2815aa9356541a4f024f88a511ec41f97e42abea21045fb5eceb4ac0e73888ad1048dbec
|
7
|
+
data.tar.gz: 9ba641db8a59669f4005d550497c3f990c4b97072dea74fe1655baf337c6edc661a8eb9b5d72a019931284c0eb2db0d60883e37809cbec019479422b839a3b7f
|
@@ -100,6 +100,11 @@ module ForemanThemeSatellite
|
|
100
100
|
ForemanRhCloud::BranchInfo.send :prepend, BranchInfoBranding
|
101
101
|
end
|
102
102
|
|
103
|
+
if defined?(ForemanOpenscap)
|
104
|
+
require 'foreman_theme_satellite/scap_bulk_upload_extensions'
|
105
|
+
ForemanOpenscap::BulkUpload.send :prepend, ScapBulkUploadExtensions
|
106
|
+
end
|
107
|
+
|
103
108
|
UINotifications::StringParser.send :prepend, DeprecationNotification::StringParser
|
104
109
|
Notification.singleton_class.send :prepend, DeprecationNotification::Notification
|
105
110
|
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: 13.3.
|
4
|
+
version: 13.3.5
|
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:
|
12
|
+
date: 2025-02-11 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
|