redhat_access 2.1.2 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/redhat_access/engine.rb +7 -17
- data/lib/redhat_access/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d916f80c59e024f3195d569ce9fe36e262a45911
|
|
4
|
+
data.tar.gz: 80927289cc313f6fe3316ba0cb22c1a7ae5f505b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a0aa09dd79cc0f52d6319ddb40f8c3b86bc9e0934a5f3dcbe78af930c056b1ff3a89ddb622882984f1c0ad41f623a303eb30d3de2ddc5d0e028d32cd52aa1f61
|
|
7
|
+
data.tar.gz: 1a06a78071a9ab699f6096be547adde50d1cd305050d3883a5ea027aa473b14b142a41efb784f0bb47c785619a78845acb8bebc62d6dfe64fbaea043b138a6f5
|
data/lib/redhat_access/engine.rb
CHANGED
|
@@ -44,22 +44,6 @@ module RedhatAccess
|
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
# Precompile any JS or CSS files under app/assets/
|
|
48
|
-
# If requiring files from each other, list them explicitly here to avoid precompiling the same
|
|
49
|
-
# content twice.
|
|
50
|
-
assets_to_precompile = [
|
|
51
|
-
'redhat_access/application.js',
|
|
52
|
-
'redhat_access/application.css',
|
|
53
|
-
'insights/application.js',
|
|
54
|
-
'insights/application.css'
|
|
55
|
-
]
|
|
56
|
-
initializer 'redhat_access.assets.precompile' do |app|
|
|
57
|
-
app.config.assets.precompile += assets_to_precompile
|
|
58
|
-
end
|
|
59
|
-
initializer 'redhat_access.configure_assets', :group => :assets do
|
|
60
|
-
SETTINGS[:redhat_access] = {:assets => {:precompile => assets_to_precompile}}
|
|
61
|
-
end
|
|
62
|
-
|
|
63
47
|
initializer :security_initialization do |app|
|
|
64
48
|
app.config.filter_parameters << :authToken
|
|
65
49
|
end
|
|
@@ -108,6 +92,12 @@ module RedhatAccess
|
|
|
108
92
|
requires_foreman '>= 1.15'
|
|
109
93
|
#requires_foreman_plugin 'katello', '> 3.0.0'
|
|
110
94
|
|
|
95
|
+
precompile_assets([
|
|
96
|
+
'redhat_access/application.js',
|
|
97
|
+
'redhat_access/application.css',
|
|
98
|
+
'insights/application.js',
|
|
99
|
+
'insights/application.css'
|
|
100
|
+
])
|
|
111
101
|
|
|
112
102
|
# permission section
|
|
113
103
|
security_block :redhat_access_security do
|
|
@@ -151,7 +141,7 @@ module RedhatAccess
|
|
|
151
141
|
menu :header_menu,
|
|
152
142
|
:LogViewer,
|
|
153
143
|
:url => '/redhat_access/logviewer',
|
|
154
|
-
:url_hash => {:controller => :"redhat_access/logs", :action => :logs},
|
|
144
|
+
:url_hash => {:controller => :"redhat_access/logs", :action => :logs},
|
|
155
145
|
:engine => RedhatAccess::Engine,
|
|
156
146
|
:caption => N_('Logs'),
|
|
157
147
|
:turbolinks => false
|