foreman_ansible 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/foreman_ansible/version.rb +1 -1
- data/webpack/components/ReportJsonViewer.js +17 -0
- data/webpack/index.js +4 -0
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1b51e2ee078f80efdc740694e7b27dd61bc6143420f7452db7d44dd085b6a30
|
4
|
+
data.tar.gz: f45a78080c31ffe8e5ad6595fb45ed5f81d151b68a113c1059615471c62cc245
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 238e18d65857e84570cb3c7fe9429c945d5c6eb05bcc9cd2dd814181ab47a0d2e271edc056c3a0a0497c424b990af57ad8113ddbda1779eddadffd0c142b2794
|
7
|
+
data.tar.gz: 38e1705a05da9f3d6885ec03bb7dcc0353eaac253896b0d5466aea839973d1ae25a51e3a1aee6eb98c7b9079d0494bf5e2991e1d6ac150c443460e1646dc844a
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import JSONTree from 'react-json-tree';
|
3
|
+
|
4
|
+
const theme = {
|
5
|
+
scheme: 'foreman',
|
6
|
+
backgroundColor: 'rgba(0, 0, 0, 255)',
|
7
|
+
base00: 'rgba(0, 0, 0, 0)',
|
8
|
+
};
|
9
|
+
|
10
|
+
class ReportJsonViewer extends React.Component {
|
11
|
+
render() {
|
12
|
+
return <div className="report-json-viewer">
|
13
|
+
<JSONTree data={this.props.data} hideRoot theme={theme} />
|
14
|
+
</div>;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
export default ReportJsonViewer;
|
data/webpack/index.js
ADDED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_ansible
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Lobato Garcia
|
@@ -219,6 +219,8 @@ files:
|
|
219
219
|
- test/unit/services/roles_importer_test.rb
|
220
220
|
- test/unit/services/structured_fact_importer_test.rb
|
221
221
|
- test/unit/services/ui_roles_importer_test.rb
|
222
|
+
- webpack/components/ReportJsonViewer.js
|
223
|
+
- webpack/index.js
|
222
224
|
homepage: https://github.com/theforeman/foreman_ansible
|
223
225
|
licenses:
|
224
226
|
- GPL-3.0
|