foreman_scc_manager 2.2.2 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 46cbbf8777ca42bcf0ab8828746d60c111614daa9b768ff72d85204e0ff0523c
4
- data.tar.gz: c8b7fc8c3429b9cc799a3b4e1984d1a5161312f007fba99e92053f3c73a974ea
3
+ metadata.gz: 2f7df3a5bea97772300a408ebdcf5114915449510084b9fa111b1f7ebe133e4c
4
+ data.tar.gz: 3373ab2bc92dc32b5c934c9ab50251667c13544a5d73bdb4e069902c2e50b2d1
5
5
  SHA512:
6
- metadata.gz: 36e041e06a3ca227fd41b9dfbb6cb859568e1aefb6d900a6fa9cc650df831deb77b7c2bc218918737ca9b0d3ab0b2b627c0b1c79fc1ca8ac98e9219b5f664cc5
7
- data.tar.gz: 5c7de9aba4683f1abb36e56410a3c5278d2bfd6091bd3a4928992f732ffcf0c23b964f8767088636e8cc00df174673529bc28c09459b7124fa6eed67ce060e7c
6
+ metadata.gz: d1b9ec8379635886f59945f15804030a641bc43afbac4967f8431bd29b8d65702872c2c0c1bd9eaf3f8f91660bd3a0096794707ca0a34efdbd3b932f117a3d82
7
+ data.tar.gz: 6297e013b72dc40a15c6d0fe96f4b74a02f02de7a267c64c7c0452caa5706928a1939790a4f8f956e66eec8af17b1c201790f953f689068a4602de99ae0e8fbc
@@ -1,3 +1,3 @@
1
1
  module ForemanSccManager
2
- VERSION = '2.2.2'.freeze
2
+ VERSION = '2.3.0'.freeze
3
3
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foreman_scc_manager",
3
- "version": "1.8.16",
3
+ "version": "2.2.23",
4
4
  "description": "Foreman plugin to sync SUSE Customer Center products and repositories into Katello ",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -16,24 +16,21 @@
16
16
  "url": "git+ssh://git@github.com/ATIX-AG/foreman_scc_manager.git"
17
17
  },
18
18
  "peerDependencies": {
19
- "@theforeman/vendor": ">= 4.14.0"
19
+ "@theforeman/vendor": ">= 8.16.0"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@babel/core": "^7.7.0",
23
- "babel-eslint": "^10.0.0",
24
- "babel-loader": "^8.0.0",
25
- "@theforeman/builder": ">= 4.14.0",
26
- "@theforeman/eslint-plugin-foreman": ">= 8.16.0",
27
- "@theforeman/find-foreman": ">= 4.14.0",
28
- "@theforeman/stories": ">= 4.14.0",
29
- "@theforeman/test": ">= 4.14.0",
30
- "@theforeman/vendor-dev": ">= 4.14.0",
23
+ "babel-eslint": ">= 10.0.3",
24
+ "@theforeman/builder": ">= 10.0",
25
+ "@theforeman/eslint-plugin-foreman": ">= 10.0",
26
+ "@theforeman/find-foreman": ">= 10.0",
27
+ "@theforeman/test": ">= 10.0",
28
+ "@theforeman/vendor-dev": ">= 10.0",
31
29
  "eslint": "^6.7.2",
32
- "eslint-plugin-spellcheck": "0.0.17",
33
- "eslint-plugin-react": "^7.27.1",
34
- "eslint-plugin-react-hooks": "^4.3.0",
35
- "prettier": "^2.5.1",
36
- "react-redux-test-utils": "^0.2.0"
30
+ "eslint-plugin-spellcheck": ">= 0.0.17",
31
+ "eslint-plugin-react": ">= 7.27.1",
32
+ "eslint-plugin-react-hooks": ">= 4.3.0",
33
+ "prettier": "^2.5.1"
37
34
  },
38
35
  "keywords": [
39
36
  "SUSE",
@@ -46,5 +43,5 @@
46
43
  "bugs": {
47
44
  "url": "https://github.com/ATIX-AG/foreman_scc_manager/issues"
48
45
  },
49
- "homepage": "https://github.com/ATIX-AG/foreman_scc_manager#readme",
46
+ "homepage": "https://github.com/ATIX-AG/foreman_scc_manager#readme"
50
47
  }
@@ -33,11 +33,11 @@ const addParentToTree = (tree, par) => {
33
33
 
34
34
  const addSCCRepoPickerToTree = (
35
35
  tree,
36
- disableRepos,
37
36
  activateDebugFilter,
38
37
  setSelectedReposFromChild
39
38
  ) => {
40
- tree.customBadgeContent[0] = (
39
+ tree.customBadgeContent = [];
40
+ tree.customBadgeContent.push(
41
41
  <Tooltip content={__('Filter repositories')}>
42
42
  <SCCRepoPicker
43
43
  sccRepos={tree.scc_repositories}
@@ -47,7 +47,7 @@ const addSCCRepoPickerToTree = (
47
47
  sccProductId={tree.id}
48
48
  sccProductName={tree.name}
49
49
  setSelectedReposFromChild={setSelectedReposFromChild}
50
- />{' '}
50
+ />
51
51
  </Tooltip>
52
52
  );
53
53
  return tree;
@@ -59,14 +59,8 @@ const setupTreeViewListItem = (
59
59
  activateDebugFilter,
60
60
  setSelectedReposFromChild
61
61
  ) => {
62
- tree.customBadgeContent = [];
63
62
  addCheckBoxToTree(tree);
64
- addSCCRepoPickerToTree(
65
- tree,
66
- tree.product_id === null,
67
- activateDebugFilter,
68
- setSelectedReposFromChild
69
- );
63
+ addSCCRepoPickerToTree(tree, activateDebugFilter, setSelectedReposFromChild);
70
64
  if ('children' in tree) {
71
65
  tree.children = tree.children.map((p) =>
72
66
  setupTreeViewListItem(
@@ -90,7 +84,6 @@ const checkAllParents = (
90
84
  tree.checkProps.checked = true;
91
85
  addSCCRepoPickerToTree(
92
86
  tree,
93
- false,
94
87
  activateDebugFilter,
95
88
  setSelectedReposFromChild
96
89
  );
@@ -114,7 +107,6 @@ const uncheckAllChildren = (
114
107
  tree.checkProps.checked = false;
115
108
  addSCCRepoPickerToTree(
116
109
  tree,
117
- true,
118
110
  activateDebugFilter,
119
111
  setSelectedReposFromChild
120
112
  );
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.2.2
4
+ version: 2.3.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: 2023-05-16 00:00:00.000000000 Z
11
+ date: 2023-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdoc