redmine_tasks_scheduler 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/initializers/001_patches.rb +4 -0
- data/config/initializers/alert.rb +0 -1
- data/config/initializers/menu.rb +0 -1
- data/init.rb +1 -1
- data/lib/redmine_tasks_scheduler/patches/tasks_scheduler_controller_patch.rb +2 -0
- data/lib/redmine_tasks_scheduler/patches/tasks_scheduler_info_patch.rb +7 -0
- data/lib/redmine_tasks_scheduler/version.rb +1 -1
- metadata +8 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c5016b169504c1e44b1928f80cc5447a275fada282d7531c2d38007dfbd8bff
|
4
|
+
data.tar.gz: bc363ec6ae8967ed1d0cdfbdbda82687d0527b2c4f151a42c8a90fd429a163bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b49c17b8da8d302969049db0364cc2139ebb939268d3a3e6aef38be4557ee38c52838bf51becdd5733e5f5f3613f74e3abc181bb692a79eb0403437b30513443
|
7
|
+
data.tar.gz: e41411965eaf0bf93753578985aff63059c5f660e373ea64afbbaa6e2dfa391763df6d30be841e1a1ff150f46ee55b16f7e33b6c8a4827f916c4046a38867f62
|
@@ -1,6 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require_dependency 'redmine_tasks_scheduler/patches/tasks_scheduler_controller_patch'
|
4
3
|
GroupPermission.add_permission(::TasksSchedulerDaemonController::PERMISSIONS)
|
5
4
|
Redmine::MenuManager.map :top_menu do |menu|
|
6
5
|
menu.push :tasks_scheduler_alert,
|
data/config/initializers/menu.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require_dependency 'redmine_tasks_scheduler/patches/tasks_scheduler_controller_patch'
|
4
3
|
GroupPermission.add_permission(::ScheduledTasksController::PERMISSIONS)
|
5
4
|
Redmine::MenuManager.map :admin_menu do |menu|
|
6
5
|
menu.push :scheduled_tasks, { controller: 'scheduled_tasks', action: 'status', id: nil },
|
data/init.rb
CHANGED
@@ -8,6 +8,6 @@ Redmine::Plugin.register :redmine_tasks_scheduler do
|
|
8
8
|
name 'Redmine Tasks Scheduler'
|
9
9
|
author 'eduardobogoni@gmail.com'
|
10
10
|
description 'Scheduler for rake tasks on Redmine.'
|
11
|
-
version '0.2.
|
11
|
+
version '0.2.3'
|
12
12
|
settings default: { 'daemon_autostart' => '1' }, partial: 'settings/redmine_tasks_scheduler'
|
13
13
|
end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# To-do: remove when fixed in gem "tasks_scheduler"
|
4
|
+
require 'tasks_scheduler/info'
|
5
|
+
const_name = 'TASKS_LIMIT_DEFAULT_VALUE'
|
6
|
+
::TasksScheduler::Info.send(:remove_const, const_name)
|
7
|
+
::TasksScheduler::Info.const_set(const_name, -1)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redmine_tasks_scheduler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- 0.3.
|
7
|
+
- 0.3.1
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tasks_scheduler
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.6'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0.
|
26
|
+
version: '0.6'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: eac_ruby_gem_support
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -54,6 +54,7 @@ files:
|
|
54
54
|
- app/assets/stylesheets/redmine_tasks_scheduler.css
|
55
55
|
- app/views/settings/_redmine_tasks_scheduler.html.erb
|
56
56
|
- config/initializers/000_dependencies.rb
|
57
|
+
- config/initializers/001_patches.rb
|
57
58
|
- config/initializers/alert.rb
|
58
59
|
- config/initializers/daemon_auto_start.rb
|
59
60
|
- config/initializers/menu.rb
|
@@ -62,6 +63,7 @@ files:
|
|
62
63
|
- init.rb
|
63
64
|
- lib/redmine_tasks_scheduler.rb
|
64
65
|
- lib/redmine_tasks_scheduler/patches/tasks_scheduler_controller_patch.rb
|
66
|
+
- lib/redmine_tasks_scheduler/patches/tasks_scheduler_info_patch.rb
|
65
67
|
- lib/redmine_tasks_scheduler/settings.rb
|
66
68
|
- lib/redmine_tasks_scheduler/version.rb
|
67
69
|
homepage: https://github.com/esquilo-azul/redmine_tasks_scheduler
|
@@ -82,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
84
|
- !ruby/object:Gem::Version
|
83
85
|
version: '0'
|
84
86
|
requirements: []
|
85
|
-
rubygems_version: 3.0.
|
87
|
+
rubygems_version: 3.0.8
|
86
88
|
signing_key:
|
87
89
|
specification_version: 4
|
88
90
|
summary: Scheduler for rake tasks on Redmine.
|