foreman_templates 11.0.4 → 12.0.0

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: f7d317973b5134a8808e8596d9a8fcc70705c0020957839563acfc1bc419486f
4
- data.tar.gz: 9cf25187b93b67649547a57fcfbe5030ada20191f37ab6c36a450ac946c9ea3a
3
+ metadata.gz: fc415954b4524c184f437c65b73af4cf32b79978130dd8a6c05034e5aedb2dc3
4
+ data.tar.gz: 958ec743302e067606d2ea23ad2fb7a05d1216f4534e99e708fcd067cd748619
5
5
  SHA512:
6
- metadata.gz: b3dc070dacb426fc0bb30dfa4a74efca667ba87fe4b697bbbff3b97d25e205e202f7c51b242e174f4066c66f8bae5575a3ae929804f4566bdef8fc34d2429cfd
7
- data.tar.gz: 92f99de8779fe6e3030de6a15968d72f889cf5e0b30cbe28d6ddd65641ffcbf3994ec1751a90f9dffaf6d445074b3d88ad6c764b6defec20779414cee7b650a2
6
+ metadata.gz: 37659ab21dc4f6041adb3e817f4d686575b8c1ccd1a0ca6123aee16504713d274ca6c728a11b7b7a557ec6e88740f81e18599d851189941fb42c33a4edabb0bf
7
+ data.tar.gz: 06b044d86564b6255b21d5d2d963443fe206bec8d9bb519b8c0bbe5238da7219b10628eb256710219f82bce334de5c2f439378717e2fac603076d45dd02ca1f3
@@ -24,7 +24,7 @@ module ForemanTemplates
24
24
 
25
25
  initializer 'foreman_templates.register_plugin', :before => :finisher_hook do |_app|
26
26
  Foreman::Plugin.register :foreman_templates do
27
- requires_foreman '>= 3.15'
27
+ requires_foreman '>= 5.1'
28
28
  register_gettext
29
29
 
30
30
  register_global_js_file 'global'
@@ -1,3 +1,3 @@
1
1
  module ForemanTemplates
2
- VERSION = "11.0.4".freeze
2
+ VERSION = "12.0.0".freeze
3
3
  end
data/package.json CHANGED
@@ -6,10 +6,7 @@
6
6
  "directories": {
7
7
  "test": "test"
8
8
  },
9
- "scripts": {
10
- "test": "tfm-test --plugin",
11
- "lint": "tfm-lint --plugin -d /webpack"
12
- },
9
+ "scripts": {},
13
10
  "repository": {
14
11
  "type": "git",
15
12
  "url": "git+https://github.com/theforeman/foreman_templates.git"
@@ -20,15 +17,8 @@
20
17
  "url": "https://projects.theforeman.org"
21
18
  },
22
19
  "homepage": "https://github.com/theforeman/foreman_templates",
23
- "peerDependencies": {
24
- "@theforeman/vendor": "^10.1.0"
25
- },
26
20
  "devDependencies": {
27
21
  "@babel/core": "^7.7.0",
28
- "@theforeman/builder": ">= 12.0.1",
29
- "@theforeman/eslint-plugin-foreman": ">= 12.0.1",
30
- "@theforeman/vendor-dev": ">= 12.0.1",
31
- "@theforeman/test": ">= 12.0.1",
32
22
  "babel-eslint": "^10.0.0",
33
23
  "eslint": "^6.8.0",
34
24
  "eslint-plugin-patternfly-react": "0.2.0",
@@ -3,7 +3,7 @@ import { render, screen } from '@testing-library/react';
3
3
  import { Provider } from 'react-redux';
4
4
  import configureMockStore from 'redux-mock-store';
5
5
  import thunk from 'redux-thunk';
6
- import '@testing-library/jest-dom/extend-expect';
6
+ import '@testing-library/jest-dom';
7
7
  import { NewTemplateSync } from '../index';
8
8
  import { mockContextValues } from './testData';
9
9
 
@@ -3,7 +3,7 @@ import { render, screen, fireEvent } from '@testing-library/react';
3
3
  import { Provider } from 'react-redux';
4
4
  import configureMockStore from 'redux-mock-store';
5
5
  import thunk from 'redux-thunk';
6
- import '@testing-library/jest-dom/extend-expect';
6
+ import '@testing-library/jest-dom';
7
7
  import NewTemplateSyncForm from '../NewTemplateSyncForm';
8
8
  import { APIActions } from '../../../../../__mocks__/foremanReact/redux/API';
9
9
  import {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render, screen, fireEvent } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import SyncSettingField from '../SyncSettingField';
6
6
  import { mockContextValues } from '../../__tests__/testData';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render, screen } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
  import SyncSettingsFields from '../SyncSettingFields';
5
5
  import { mockContextValues } from '../../__tests__/testData';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render, screen, fireEvent } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import TemplateSyncResult from '../TemplateSyncResult';
6
6
  import {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { render, screen } from '@testing-library/react';
3
- import '@testing-library/jest-dom/extend-expect';
3
+ import '@testing-library/jest-dom';
4
4
 
5
5
  import SyncResultList from '../SyncResultList';
6
6
  import {
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { render, screen, fireEvent } from '@testing-library/react';
3
3
  import userEvent from '@testing-library/user-event';
4
- import '@testing-library/jest-dom/extend-expect';
4
+ import '@testing-library/jest-dom';
5
5
  import { deepPropsToCamelCase } from 'foremanReact/common/helpers';
6
6
  import SyncedTemplate from '../SyncedTemplate';
7
7
  import { mockContextValues } from '../../../NewTemplateSync/__tests__/testData';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import '@testing-library/jest-dom/extend-expect';
2
+ import '@testing-library/jest-dom';
3
3
  import { isEmpty } from 'lodash';
4
4
  import { render, screen } from '@testing-library/react';
5
5
  import {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_templates
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.0.4
4
+ version: 12.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Sutcliffe
@@ -27,16 +27,16 @@ dependencies:
27
27
  name: git
28
28
  requirement: !ruby/object:Gem::Requirement
29
29
  requirements:
30
- - - ">="
30
+ - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '0'
32
+ version: '4'
33
33
  type: :runtime
34
34
  prerelease: false
35
35
  version_requirements: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - ">="
37
+ - - "<"
38
38
  - !ruby/object:Gem::Version
39
- version: '0'
39
+ version: '4'
40
40
  description: Engine to synchronise provisioning templates from GitHub
41
41
  email: gsutclif@redhat.com
42
42
  executables: []