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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e2490065b5707b51aab31f7174f41275b1d44845
4
- data.tar.gz: c52dd464d912e282bffccf045c776451b781b126
3
+ metadata.gz: d916f80c59e024f3195d569ce9fe36e262a45911
4
+ data.tar.gz: 80927289cc313f6fe3316ba0cb22c1a7ae5f505b
5
5
  SHA512:
6
- metadata.gz: 4f1205a7b6b2168a71cce633ee27ae9e3be59314796fe003aeafb2e6d85142469cb8f43d3aa891829ad95da8e063f0a0c9bd40457b4db7c3302c8a9056c1671f
7
- data.tar.gz: 3f61e50b0f154b3c8c4683f7dccec218f44cfe51ccf7b183ca7b2045e5fb5b6cb088fba2b524ca7593e7183c5240bffa93cbd475732672529cc6834b9238ec87
6
+ metadata.gz: a0aa09dd79cc0f52d6319ddb40f8c3b86bc9e0934a5f3dcbe78af930c056b1ff3a89ddb622882984f1c0ad41f623a303eb30d3de2ddc5d0e028d32cd52aa1f61
7
+ data.tar.gz: 1a06a78071a9ab699f6096be547adde50d1cd305050d3883a5ea027aa473b14b142a41efb784f0bb47c785619a78845acb8bebc62d6dfe64fbaea043b138a6f5
@@ -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
@@ -1,3 +1,3 @@
1
1
  module RedhatAccess
2
- VERSION = "2.1.2"
2
+ VERSION = "2.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redhat_access
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lindani Phiri