redmine_tasks_scheduler 0.3.3 → 0.3.4
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: 55f930540ef356f1c4b032bd4fbcff89a2f02b4d76a25fd3c3516bb646d43ff1
|
4
|
+
data.tar.gz: 845efdf57bf7bd56cf9b8a3aa483ff7e21185b46002a0d3483a8e5de7ec29529
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ee9d3ef297ab2a17a98a52ad841443435482c9ef75e791d93429a6f788a05ed957e6a23a1ca0fad0aa41cfc0a33a05115d36e39529e2f9c2e42077027e4ce38
|
7
|
+
data.tar.gz: b8e894e2f0157b5ca5ba5cc652297ccd68ed6458e407ec5cbcaa74002cadc302792154ff8de5cea296d8a45fb1d79375f098b0c5e8bd3a26b8c24e7ee37e2760
|
@@ -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.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- 0.3.
|
7
|
+
- 0.3.4
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-17 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.12
|
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.12
|
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)
|