foreman_scc_manager 2.0.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/app/controllers/api/v2/scc_accounts_controller.rb +8 -0
- data/app/controllers/scc_accounts_controller.rb +2 -0
- data/app/lib/actions/scc_manager/subscribe_product.rb +5 -7
- data/app/models/scc_account.rb +29 -0
- data/app/models/scc_product.rb +2 -5
- data/app/views/api/v2/scc_accounts/main.json.rabl +1 -1
- data/app/views/scc_accounts/_form.html.erb +8 -4
- data/db/migrate/20210713092440_add_permissions.rb +2 -2
- data/db/migrate/20221013214310_add_sync_options_to_scc_account.rb +11 -0
- data/lib/foreman_scc_manager/version.rb +1 -1
- data/locale/Makefile +9 -4
- data/locale/action_names.rb +87 -4
- data/locale/de/LC_MESSAGES/foreman_scc_manager.mo +0 -0
- data/locale/de/foreman_scc_manager.po +398 -12
- data/locale/el/LC_MESSAGES/foreman_scc_manager.mo +0 -0
- data/locale/el/foreman_scc_manager.po +595 -0
- data/locale/en/LC_MESSAGES/foreman_scc_manager.mo +0 -0
- data/locale/en/foreman_scc_manager.po +394 -8
- data/locale/foreman_scc_manager.pot +603 -47
- data/locale/ja/LC_MESSAGES/foreman_scc_manager.mo +0 -0
- data/locale/ja/foreman_scc_manager.po +598 -0
- data/locale/ka/LC_MESSAGES/foreman_scc_manager.mo +0 -0
- data/locale/ka/foreman_scc_manager.po +595 -0
- data/locale/zh_CN/LC_MESSAGES/foreman_scc_manager.mo +0 -0
- data/locale/zh_CN/foreman_scc_manager.po +598 -0
- data/test/controllers/scc_accounts_controller_test.rb +1 -1
- data/test/fixtures/models/katello_root_repositories.yml +0 -12
- data/test/test_plugin_helper.rb +0 -6
- metadata +26 -31
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_scc_manager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ATIX AG
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdoc
|
@@ -73,33 +73,19 @@ dependencies:
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
|
-
name:
|
76
|
+
name: katello
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
79
|
- - ">="
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '
|
81
|
+
version: '3.16'
|
82
82
|
type: :runtime
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - ">="
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: '
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: rails
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - ">="
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: '5.1'
|
96
|
-
type: :runtime
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - ">="
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '5.1'
|
88
|
+
version: '3.16'
|
103
89
|
description: Foreman plugin to sync SUSE Customer Center products and repositories
|
104
90
|
into Katello.
|
105
91
|
email:
|
@@ -171,6 +157,7 @@ files:
|
|
171
157
|
- db/migrate/20220429102717_populate_scc_katello_repositories.rb
|
172
158
|
- db/migrate/20220513132652_populate_upstream_authentication_token.rb
|
173
159
|
- db/migrate/20220531120722_add_product_category_to_scc_products.rb
|
160
|
+
- db/migrate/20221013214310_add_sync_options_to_scc_account.rb
|
174
161
|
- lib/foreman_scc_manager.rb
|
175
162
|
- lib/foreman_scc_manager/engine.rb
|
176
163
|
- lib/foreman_scc_manager/version.rb
|
@@ -182,10 +169,18 @@ files:
|
|
182
169
|
- locale/action_names.rb
|
183
170
|
- locale/de/LC_MESSAGES/foreman_scc_manager.mo
|
184
171
|
- locale/de/foreman_scc_manager.po
|
172
|
+
- locale/el/LC_MESSAGES/foreman_scc_manager.mo
|
173
|
+
- locale/el/foreman_scc_manager.po
|
185
174
|
- locale/en/LC_MESSAGES/foreman_scc_manager.mo
|
186
175
|
- locale/en/foreman_scc_manager.po
|
187
176
|
- locale/foreman_scc_manager.pot
|
188
177
|
- locale/gemspec.rb
|
178
|
+
- locale/ja/LC_MESSAGES/foreman_scc_manager.mo
|
179
|
+
- locale/ja/foreman_scc_manager.po
|
180
|
+
- locale/ka/LC_MESSAGES/foreman_scc_manager.mo
|
181
|
+
- locale/ka/foreman_scc_manager.po
|
182
|
+
- locale/zh_CN/LC_MESSAGES/foreman_scc_manager.mo
|
183
|
+
- locale/zh_CN/foreman_scc_manager.po
|
189
184
|
- package.json
|
190
185
|
- test/actions/sync_test.rb
|
191
186
|
- test/controllers/api/v2/scc_accounts_test.rb
|
@@ -248,27 +243,27 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
248
243
|
- !ruby/object:Gem::Version
|
249
244
|
version: '0'
|
250
245
|
requirements: []
|
251
|
-
rubygems_version: 3.2
|
246
|
+
rubygems_version: 3.1.2
|
252
247
|
signing_key:
|
253
248
|
specification_version: 4
|
254
249
|
summary: Suse Customer Center plugin for Foreman
|
255
250
|
test_files:
|
251
|
+
- test/support/fixtures_support.rb
|
252
|
+
- test/unit/foreman_scc_manager_test.rb
|
253
|
+
- test/actions/sync_test.rb
|
254
|
+
- test/test_plugin_helper.rb
|
255
|
+
- test/factories/foreman_scc_manager_factories.rb
|
256
256
|
- test/models/scc_product_test.rb
|
257
257
|
- test/models/scc_account_test.rb
|
258
|
-
- test/
|
259
|
-
- test/
|
260
|
-
- test/controllers/api/v2/scc_products_test.rb
|
258
|
+
- test/features/sync_test.rb
|
259
|
+
- test/fixtures/models/scc_repositories.yml
|
261
260
|
- test/fixtures/models/katello_root_repositories.yml
|
262
261
|
- test/fixtures/models/scc_accounts.yml
|
263
262
|
- test/fixtures/models/scc_products.yml
|
264
|
-
- test/fixtures/models/scc_repositories.yml
|
265
|
-
- test/fixtures/files/data_products_page2.json
|
266
263
|
- test/fixtures/files/data_products_page1.json
|
267
264
|
- test/fixtures/files/data_subscriptions.json
|
265
|
+
- test/fixtures/files/data_products_page2.json
|
268
266
|
- test/fixtures/files/data_repositories.json
|
269
|
-
- test/
|
270
|
-
- test/
|
271
|
-
- test/
|
272
|
-
- test/support/fixtures_support.rb
|
273
|
-
- test/factories/foreman_scc_manager_factories.rb
|
274
|
-
- test/test_plugin_helper.rb
|
267
|
+
- test/controllers/scc_accounts_controller_test.rb
|
268
|
+
- test/controllers/api/v2/scc_products_test.rb
|
269
|
+
- test/controllers/api/v2/scc_accounts_test.rb
|