foreman_leapp 0.1.12 → 0.1.13

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: 4ccc8006d2858984a80d8370a93af82704ff1734dc8f73990e60416e75ee00a1
4
- data.tar.gz: 60c327e53286b5141288c36cd8fee4ac602b8897373b6215f4864c35646f560b
3
+ metadata.gz: 3173a33316597f24d209c062497bd965c93106c19edf76f1291425194cc79336
4
+ data.tar.gz: e446b3499164d5f8c23ec0eff250fac06944ee69c52f8f09c495364e63eb21f5
5
5
  SHA512:
6
- metadata.gz: 18ebdf0f64f30536376fbeb66ee5feab67a219f6ac3c08dc868aba6ea5786936dd4f9f88a9f2cb02b8f97d76a322205760b64b186a85018b0a5ebc5c2ec84ccd
7
- data.tar.gz: 27d71b3c90c6bd5ef3548aace9e3326aea7716ce07cee664e888fbbcd8ea50697946dada672756dbd5d06a15d1fe2364f7fa2a764e6f979aecc198b6d0dee9e1
6
+ metadata.gz: e3f32e6f6a49e3fc2c844bdb0ec68a7ddd48836122af5daa535cc5ad82f2535fd81999b9eb712ba9e0d2b77bef0a811bb92210103773a3735845379f34371d62
7
+ data.tar.gz: 004dd1b8eaa7ef27dff3d14986fe133a04511caf7af49eeac825dfa0a29dfa97690e1f136de5e03ca93adcb3152b75439bbdacbc9bcc20b5d19d01cb0264093c
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ForemanLeapp
4
- VERSION = '0.1.12'
4
+ VERSION = '0.1.13'
5
5
  end
data/package.json CHANGED
@@ -25,15 +25,15 @@
25
25
  },
26
26
  "homepage": "https://github.com/oamg/foreman_leapp",
27
27
  "peerDependencies": {
28
- "@theforeman/vendor": ">= 8.3.3"
28
+ "@theforeman/vendor": ">= 8.16.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@babel/core": "^7.7.0",
32
- "@theforeman/builder": "^8.3.3",
33
- "@theforeman/eslint-plugin-foreman": "8.3.3",
34
- "@theforeman/stories": "^8.3.3",
35
- "@theforeman/test": "^8.3.3",
36
- "@theforeman/vendor-dev": "^8.3.3",
32
+ "@theforeman/builder": "^10.0",
33
+ "@theforeman/eslint-plugin-foreman": "^10.0",
34
+ "@theforeman/stories": "^10.0",
35
+ "@theforeman/test": "^10.0",
36
+ "@theforeman/vendor-dev": "^10.0",
37
37
  "babel-eslint": "^10.0.0",
38
38
  "eslint": "^6.8.0",
39
39
  "jest-svg-transformer": "^1.0.0",
@@ -1,4 +1,4 @@
1
- import React, { useEffect, useRef } from 'react';
1
+ import React, { useEffect } from 'react';
2
2
  import { useDispatch, useSelector } from 'react-redux';
3
3
  import PropTypes from 'prop-types';
4
4
 
@@ -29,20 +29,13 @@ const WrappedPreupgradeReports = ({ url, newJobInvocationUrl }) => {
29
29
 
30
30
  const reportsExpected = useSelector(state => selectReportsExpected(state));
31
31
 
32
- const previousInvocationRef = useRef();
33
- useEffect(() => {
34
- previousInvocationRef.current = invocationPending;
35
- });
36
-
37
- const previousInvocationPending = previousInvocationRef.current;
38
-
39
32
  const dispatch = useDispatch();
40
33
 
41
34
  useEffect(() => {
42
- if (previousInvocationPending && !invocationPending) {
35
+ if (!invocationPending) {
43
36
  dispatch(getPreupgradeReportsAction(url));
44
37
  }
45
- }, [dispatch, url, invocationPending, previousInvocationPending]);
38
+ }, [dispatch, url, invocationPending]);
46
39
 
47
40
  return (
48
41
  <PreupgradeReports
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_leapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Foreman Leapp team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-23 00:00:00.000000000 Z
11
+ date: 2023-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: foreman_remote_execution