redmine_tasks_scheduler 0.3.3 → 0.3.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db3d5a7b7eed1fd5e7293fca602d03228c618c696940c8f647b163b5864637bb
|
4
|
+
data.tar.gz: 8b3b6ff51b2ba28a2e545b9acfd9eaaf0636a2bdaaac0c08e4eb83f0834983d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: faeed3015651880ba97068ab8790a52377b1214bae4a9e2d76c41b014b97892e2fe163b698419935540fa2e232b14c3f1d86096dbbf413bee3afca64463aa941
|
7
|
+
data.tar.gz: 4ee28e6e5170d2879a3e6a6234de31350a62edd6e0a035e925719eefe0e910533bec48385228c7e9c093535b49a8ee8de4c8f4fe3621ec38cecbdb077242169b
|
@@ -1,23 +1,17 @@
|
|
1
1
|
//= require 'tasks_scheduler'
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
},
|
16
|
-
complete: function (result) {
|
17
|
-
_A.setNextRefresh();
|
18
|
-
}
|
19
|
-
});
|
20
|
-
};
|
3
|
+
function addGlobalFalseToAjaxDataFunction(obj, functionName) {
|
4
|
+
var originalFunctionName = "original_" + functionName;
|
5
|
+
obj[originalFunctionName] = obj[functionName];
|
6
|
+
obj[functionName] = function() {
|
7
|
+
var result = obj[originalFunctionName]();
|
8
|
+
result.global = false;
|
9
|
+
return result;
|
10
|
+
};
|
11
|
+
}
|
12
|
+
|
13
|
+
addGlobalFalseToAjaxDataFunction(TasksScheduler.Alert, 'refreshAjaxData');
|
14
|
+
addGlobalFalseToAjaxDataFunction(TasksScheduler.Status, 'updateAjaxData');
|
21
15
|
|
22
16
|
TasksScheduler.Alert.init({
|
23
17
|
element_selector: '.tasks-scheduler-alert'
|
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.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- 0.3.
|
7
|
+
- 0.3.5
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tasks_scheduler
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '0.6'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.6.
|
22
|
+
version: 0.6.13
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '0.6'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 0.6.
|
32
|
+
version: 0.6.13
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: eac_ruby_gem_support
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -63,7 +63,6 @@ files:
|
|
63
63
|
- init.rb
|
64
64
|
- lib/redmine_tasks_scheduler.rb
|
65
65
|
- lib/redmine_tasks_scheduler/patches/tasks_scheduler_controller_patch.rb
|
66
|
-
- lib/redmine_tasks_scheduler/patches/tasks_scheduler_info_patch.rb
|
67
66
|
- lib/redmine_tasks_scheduler/settings.rb
|
68
67
|
- lib/redmine_tasks_scheduler/version.rb
|
69
68
|
homepage: https://github.com/esquilo-azul/redmine_tasks_scheduler
|
@@ -1,7 +0,0 @@
|
|
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)
|