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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f456ece118ec6f05c0457692a01b6a6ab4515d96d8c332df3ae542d63d7c0bde
4
- data.tar.gz: d0934f134fcf9724af3c624a542ec371079f5b5f4ababe62a59eab45dbe17f6b
3
+ metadata.gz: d0a59bfcbd384bbf61cdde408df5256714a93f8cffd195545061b5bf99c896ac
4
+ data.tar.gz: e9f716126f8ac5ca5b95a86cf161b8dc84ce61e59f96f4ace29411c81053a3a7
5
5
  SHA512:
6
- metadata.gz: bb7f8a102e4b6cc4926365f5584168b93cd774484fa8891ed84db92e62b9556306d62ef51f503e8b4a05ece3c36b9a6f5c787e3668665ada2fdec2e9cc4c7dec
7
- data.tar.gz: 2c5b475fd42ef87c2e672ac1532b167dbda49b2f1df41382cd06b3db4985e74c3ef774e1ac40ea1772d765a4bf336ccb93ed4a13f3b0ee4dc842e12a827d9beb
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.skip_before_action(:local_find_taxonomy, only: :download_debug_certificate)
119
- Katello::Api::V2::OrganizationsController.add_smart_proxy_filters(
120
- [:index, :download_debug_certificate],
121
- features: ForemanRhCloud.on_prem_smart_proxy_features
122
- )
123
- Katello::Api::V2::OrganizationsController.before_action(:local_find_taxonomy, only: :download_debug_certificate)
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.skip_before_action(:find_product, only: :index)
128
- Katello::Api::V2::RepositoriesController.skip_before_action(:find_optional_organization, only: :index)
129
- Katello::Api::V2::RepositoriesController.add_smart_proxy_filters(
130
- :index,
131
- features: ForemanRhCloud.on_prem_smart_proxy_features
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
 
@@ -1,3 +1,3 @@
1
1
  module ForemanRhCloud
2
- VERSION = '13.0.2'.freeze
2
+ VERSION = '13.0.3'.freeze
3
3
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foreman_rh_cloud",
3
- "version": "13.0.2",
3
+ "version": "13.0.3",
4
4
  "description": "Inventory Upload =============",
5
5
  "main": "index.js",
6
6
  "scripts": {
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.2
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.14.0.rc1.1
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.14.0.rc1.1
53
+ version: '4.18'
54
54
  - !ruby/object:Gem::Dependency
55
55
  name: rdoc
56
56
  requirement: !ruby/object:Gem::Requirement