foreman-tasks 3.0.1 → 3.0.2

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: dc7a0cd7f208321abcb3a5360623c6a639cbe6ae7e4f00c89987db5c18de95cb
4
- data.tar.gz: 7cc406baeb19a74bb7ac645349050d192ff1d3f62edb7895eada9744f1d39fd4
3
+ metadata.gz: c51f734a6c321d30bd6c3aa93499d9924b93435cadfd48bf129452758ed88338
4
+ data.tar.gz: ffd67ecf17550277bf7bcbc86f8fb98a1ac566c1d386350ff4ed1aa97ffad9e3
5
5
  SHA512:
6
- metadata.gz: 04ec2f1a2096462df40eea233da31072e713dfa2d75314a0a7c271a7b48cca32a46f9785b831f684dda45ad1c5efcf65da1c2941aad8c6f39deee25bf324f54f
7
- data.tar.gz: 5d8dbdeeff9b3bb1287707cc2abb13847fcece48f986e81240ec687b280811c2249200ea497901061ed789f9481a1ba8ec639918ab5010b0cf52ea341b5b34a5
6
+ metadata.gz: 68b31fa072fbf39a1bd93184dfd6a0588270f897ba4a546d79a4f25be2e5815473eedf9a2975eb57c5344a024f7581e8427f39219af00cf6478ce0697b9fb403
7
+ data.tar.gz: b531f627380fc77b93c930b6b22051b60e4adad8861cc137cbedfee30237e05fa70a1226b1651b4e7268bd618816a3256ba8b2993a27b5bf04771c3f73c776da
@@ -9,7 +9,6 @@
9
9
  <%= notifications %>
10
10
  <div id="organization-id" data-id="<%= Organization.current.id if Organization.current %>" ></div>
11
11
  <div id="user-id" data-id="<%= User.current.id if User.current %>" ></div>
12
- <div id="foremanTasksReactRoot"></div>
12
+ <%= react_component('ForemanTasks') %>
13
13
  <% end %>
14
14
  <%= render file: "layouts/base" %>
15
- <%= mount_react_component('ForemanTasks', '#foremanTasksReactRoot') %>
@@ -15,9 +15,4 @@
15
15
  switcher_item_url: foreman_tasks_task_path(:id => ':id')
16
16
  ) %>
17
17
 
18
-
19
- <div class="task-details" id="foremanTaskDetails">
20
- </div>
21
-
22
-
23
- <%= mount_react_component('TaskDetails', '#foremanTaskDetails') %>
18
+ <%= react_component('TaskDetails') %>
@@ -7,6 +7,7 @@ require "foreman_tasks/version"
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "foreman-tasks"
9
9
  s.version = ForemanTasks::VERSION
10
+ s.license = 'GPL-3.0'
10
11
  s.authors = ["Ivan Nečas"]
11
12
  s.email = ["inecas@redhat.com"]
12
13
  s.homepage = "https://github.com/theforeman/foreman-tasks"
@@ -1,3 +1,3 @@
1
1
  module ForemanTasks
2
- VERSION = '3.0.1'.freeze
2
+ VERSION = '3.0.2'.freeze
3
3
  end
@@ -49,4 +49,14 @@
49
49
  .dynflow-button > span {
50
50
  pointer-events: auto;
51
51
  }
52
+
53
+ pre {
54
+ white-space: pre;
55
+ word-break: normal;
56
+ }
57
+
58
+ .param-name {
59
+ display: inline-block;
60
+ width: 10em;
61
+ }
52
62
  }
@@ -60,7 +60,6 @@ const TasksTablePage = ({
60
60
  onSearch={onSearch}
61
61
  header={createHeader(props.actionName)}
62
62
  breadcrumbOptions={getBreadcrumbs(props.actionName)}
63
- toastNotifications="foreman-tasks-cancel"
64
63
  toolbarButtons={
65
64
  <React.Fragment>
66
65
  <Button onClick={() => props.reloadPage(url, props.parentTaskID)}>
@@ -14,16 +14,6 @@
14
14
  }
15
15
  }
16
16
 
17
- .param-name {
18
- display: inline-block;
19
- width: 10em;
20
- }
21
-
22
- .task-details pre {
23
- white-space: pre;
24
- word-break: normal;
25
- }
26
-
27
17
  .tasks-time-row .time-label {
28
18
  float: left;
29
19
  }
@@ -66,7 +66,6 @@ exports[`TasksTablePage rendering render with Breadcrubs and edit permissions 1`
66
66
  }
67
67
  searchQuery="a=b"
68
68
  searchable={true}
69
- toastNotifications="foreman-tasks-cancel"
70
69
  toolbarButtons={
71
70
  <React.Fragment>
72
71
  <Button
@@ -202,7 +201,6 @@ exports[`TasksTablePage rendering render with minimal props 1`] = `
202
201
  }
203
202
  searchQuery="a=b"
204
203
  searchable={true}
205
- toastNotifications="foreman-tasks-cancel"
206
204
  toolbarButtons={
207
205
  <React.Fragment>
208
206
  <Button
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman-tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Nečas
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-02 00:00:00.000000000 Z
11
+ date: 1980-01-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dynflow
@@ -137,7 +137,6 @@ files:
137
137
  - app/assets/javascripts/foreman_tasks/foreman_tasks.js
138
138
  - app/assets/javascripts/foreman_tasks/trigger_form.js
139
139
  - app/assets/stylesheets/foreman_tasks/foreman_tasks.css
140
- - app/assets/stylesheets/foreman_tasks/tasks.scss
141
140
  - app/assets/stylesheets/foreman_tasks/trigger_form.css
142
141
  - app/controllers/foreman_tasks/api/recurring_logics_controller.rb
143
142
  - app/controllers/foreman_tasks/api/tasks_controller.rb
@@ -586,9 +585,10 @@ files:
586
585
  - webpack/stories/decorators/index.js
587
586
  - webpack/stories/decorators/withCardsDecorator.js
588
587
  homepage: https://github.com/theforeman/foreman-tasks
589
- licenses: []
588
+ licenses:
589
+ - GPL-3.0
590
590
  metadata: {}
591
- post_install_message:
591
+ post_install_message:
592
592
  rdoc_options: []
593
593
  require_paths:
594
594
  - lib
@@ -603,8 +603,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
603
603
  - !ruby/object:Gem::Version
604
604
  version: '0'
605
605
  requirements: []
606
- rubygems_version: 3.0.3
607
- signing_key:
606
+ rubygems_version: 3.1.2
607
+ signing_key:
608
608
  specification_version: 4
609
609
  summary: Foreman plugin for showing tasks information for resources and users
610
610
  test_files:
@@ -1,9 +0,0 @@
1
- .param-name {
2
- display: inline-block;
3
- width: 10em;
4
- }
5
-
6
- .task-details pre {
7
- white-space: pre;
8
- word-break: normal;
9
- }