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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c00af4b7f7ab258d4427813a2ab061bbf65e2444fa1e6502421226f1775fe23d
4
- data.tar.gz: b21fa1eceaecdb2579b6d097a5153dace4852a2f0a011316758ea5722966889a
3
+ metadata.gz: 2c5016b169504c1e44b1928f80cc5447a275fada282d7531c2d38007dfbd8bff
4
+ data.tar.gz: bc363ec6ae8967ed1d0cdfbdbda82687d0527b2c4f151a42c8a90fd429a163bb
5
5
  SHA512:
6
- metadata.gz: 1dc434430aa865bf79338533a14107dd7f70272f6dba7e72080fbe7d5e6cf5cea61dc9c8a41384362a7ea6e893f833facca09cea7f462130f9d5d5654365ef57
7
- data.tar.gz: a2c1421a2fda981a29139b961419f032df3aeb2f7ddabf3e4b003d7cbd263ffd9541312ea697c492631de5512be3d3d24c01150e0b3b21908db33b93bbc587f2
6
+ metadata.gz: b49c17b8da8d302969049db0364cc2139ebb939268d3a3e6aef38be4557ee38c52838bf51becdd5733e5f5f3613f74e3abc181bb692a79eb0403437b30513443
7
+ data.tar.gz: e41411965eaf0bf93753578985aff63059c5f660e373ea64afbbaa6e2dfa391763df6d30be841e1a1ff150f46ee55b16f7e33b6c8a4827f916c4046a38867f62
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_dependency 'redmine_tasks_scheduler/patches/tasks_scheduler_controller_patch'
4
+ require_dependency 'redmine_tasks_scheduler/patches/tasks_scheduler_info_patch'
@@ -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,
@@ -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.2'
11
+ version '0.2.3'
12
12
  settings default: { 'daemon_autostart' => '1' }, partial: 'settings/redmine_tasks_scheduler'
13
13
  end
@@ -10,6 +10,8 @@ module RedmineTasksScheduler
10
10
 
11
11
  require_permission const_get('PERMISSIONS')
12
12
  layout 'admin'
13
+ helper :scheduled_tasks
14
+ helper :tasks_scheduler
13
15
  end
14
16
  end
15
17
  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)
@@ -4,5 +4,5 @@ module RedmineTasksScheduler
4
4
  AUTHOR = 'Eduardo Henrique Bogoni'
5
5
  HOMEPAGE = 'https://github.com/esquilo-azul/redmine_tasks_scheduler'
6
6
  SUMMARY = 'Scheduler for rake tasks on Redmine.'
7
- VERSION = '0.3.0'
7
+ VERSION = '0.3.1'
8
8
  end
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.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
- - 0.3.0
7
+ - 0.3.1
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-21 00:00:00.000000000 Z
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.5'
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.5'
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.6
87
+ rubygems_version: 3.0.8
86
88
  signing_key:
87
89
  specification_version: 4
88
90
  summary: Scheduler for rake tasks on Redmine.