foreman_rh_cloud 13.0.2 → 13.0.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/foreman_rh_cloud/engine.rb +12 -15
- data/lib/foreman_rh_cloud/version.rb +1 -1
- data/package.json +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0a59bfcbd384bbf61cdde408df5256714a93f8cffd195545061b5bf99c896ac
|
4
|
+
data.tar.gz: e9f716126f8ac5ca5b95a86cf161b8dc84ce61e59f96f4ace29411c81053a3a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b179d356096619930bbdf9adc7e5874c438564bbf4a511835980982e423f091ad77d2832b05e0c6e504414dadbd45ba8f8a02044ce3f652156948d9bc7f17679
|
7
|
+
data.tar.gz: 8358d42ea4c3c9360a6e3fddbf12336ede6f519050db998c0367942d4fee0d11b2d2b9998514767da2997f768f5d2735b498a81fa9ac35bbdc8f6bbcc723f722
|
@@ -115,23 +115,20 @@ module ForemanRhCloud
|
|
115
115
|
if defined?(Katello) && !Foreman.in_setup_db_rake?
|
116
116
|
Katello::Api::V2::OrganizationsController.include Foreman::Controller::SmartProxyAuth
|
117
117
|
# patch the callbacks order for :download_debug_certificate, since local_find_taxonomy has to run after the user is already initialized
|
118
|
-
Katello::Api::V2::OrganizationsController.
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
118
|
+
Katello::Api::V2::OrganizationsController.before_find_taxonomy_actions do
|
119
|
+
Katello::Api::V2::OrganizationsController.add_smart_proxy_filters(
|
120
|
+
[:index, :download_debug_certificate],
|
121
|
+
features: ForemanRhCloud.on_prem_smart_proxy_features
|
122
|
+
)
|
123
|
+
end
|
125
124
|
Katello::Api::V2::RepositoriesController.include Foreman::Controller::SmartProxyAuth
|
126
125
|
# patch the callbacks order for :index, since find_product has to run after the user is already initialized
|
127
|
-
Katello::Api::V2::RepositoriesController.
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
Katello::Api::V2::RepositoriesController.before_action(:find_product, only: :index)
|
134
|
-
Katello::Api::V2::RepositoriesController.before_action(:find_optional_organization, only: :index)
|
126
|
+
Katello::Api::V2::RepositoriesController.before_index_actions do
|
127
|
+
Katello::Api::V2::RepositoriesController.add_smart_proxy_filters(
|
128
|
+
:index,
|
129
|
+
features: ForemanRhCloud.on_prem_smart_proxy_features
|
130
|
+
)
|
131
|
+
end
|
135
132
|
end
|
136
133
|
end
|
137
134
|
|
data/package.json
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_rh_cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 13.0.
|
4
|
+
version: 13.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Foreman Red Hat Cloud team
|
@@ -43,14 +43,14 @@ dependencies:
|
|
43
43
|
requirements:
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 4.
|
46
|
+
version: '4.18'
|
47
47
|
type: :runtime
|
48
48
|
prerelease: false
|
49
49
|
version_requirements: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 4.
|
53
|
+
version: '4.18'
|
54
54
|
- !ruby/object:Gem::Dependency
|
55
55
|
name: rdoc
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|