eac_redmine_base0 0.2.0 → 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: 95d72359e3318bc85e2c3f2efd13b782ecdfd27f5e144c6cc5cbd2b27c4659a0
|
4
|
+
data.tar.gz: c1cec1f021f6bcdca5f8afcf899ff0d14daec2169bf6bee80524b9af9f0eed2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bf70fbb6c3410e1d365133bb91601f9eb84cc3a237a4ec81bff80a379d518e422fe3bef831489dea56336f8f779325d683ddf846cc0061526deee65500c4f39
|
7
|
+
data.tar.gz: 75728edd2a79097cdc70ec7cf8d7053cbed99040e23b3e74454aafed0d1aae92bfe2a0367ec38a9fdf4df4b46f60c2b30c82121d340a4631bf4024bc50fdd159
|
@@ -5,7 +5,8 @@ require 'redmine/plugin'
|
|
5
5
|
module EacRedmineBase0
|
6
6
|
MAINTAINED_PLUGINS_NAMES = %w[
|
7
7
|
eac_redmine_base0 eac_redmine_usability notifyme redmine_avm redmine_events_manager
|
8
|
-
redmine_nonproject_modules redmine_plugins_helper
|
8
|
+
redmine_installer redmine_nonproject_modules redmine_plugins_helper redmine_remotes
|
9
|
+
redmine_tasks_scheduler redmine_with_git
|
9
10
|
].freeze
|
10
11
|
|
11
12
|
class << self
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'avm/result'
|
4
|
+
require 'eac_ruby_gems_utils/gem'
|
4
5
|
require 'eac_ruby_utils/console/speaker'
|
5
6
|
require 'eac_ruby_utils/envs'
|
6
7
|
require 'eac_ruby_utils/simple_cache'
|
@@ -11,7 +12,7 @@ module EacRedmineBase0
|
|
11
12
|
|
12
13
|
def run
|
13
14
|
@plugins = []
|
14
|
-
::Redmine::Plugin.registered_plugins.
|
15
|
+
::Redmine::Plugin.registered_plugins.each_value do |plugin|
|
15
16
|
check_plugin(plugin)
|
16
17
|
end
|
17
18
|
check_results
|
@@ -86,11 +87,14 @@ module EacRedmineBase0
|
|
86
87
|
return ::Avm::Result.neutral("task \"#{test_task_name}\" not found") unless test_task?
|
87
88
|
|
88
89
|
::Avm::Result.success_or_error(
|
89
|
-
run_test
|
90
|
-
run_test
|
90
|
+
run_test, 'success', "failed (Log: #{stdout_log})"
|
91
91
|
)
|
92
92
|
end
|
93
93
|
|
94
|
+
def rails_gem_uncached
|
95
|
+
::EacRubyGemsUtils::Gem.new(::Rails.root)
|
96
|
+
end
|
97
|
+
|
94
98
|
def run_test_uncached
|
95
99
|
r = run_test_command.execute
|
96
100
|
::File.write(stderr_log, r.fetch(:stderr))
|
@@ -99,9 +103,7 @@ module EacRedmineBase0
|
|
99
103
|
end
|
100
104
|
|
101
105
|
def run_test_command
|
102
|
-
|
103
|
-
.envvar('RAILS_ENV', 'test')
|
104
|
-
.chdir(::Rails.root)
|
106
|
+
rails_gem.bundle('exec', 'rake', test_task_name).envvar('RAILS_ENV', 'test')
|
105
107
|
end
|
106
108
|
end
|
107
109
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eac_redmine_base0
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- 0.
|
7
|
+
- 0.3.4
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avm-tools
|
@@ -16,42 +16,48 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.58'
|
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.58'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: eac_ruby_gems_utils
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: '0.4'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: '0.4'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: eac_ruby_gem_support
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
48
|
-
|
47
|
+
version: '0.1'
|
48
|
+
- - ">="
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: 0.1.2
|
51
|
+
type: :development
|
49
52
|
prerelease: false
|
50
53
|
version_requirements: !ruby/object:Gem::Requirement
|
51
54
|
requirements:
|
52
55
|
- - "~>"
|
53
56
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
57
|
+
version: '0.1'
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 0.1.2
|
55
61
|
description:
|
56
62
|
email:
|
57
63
|
executables: []
|
@@ -82,8 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
88
|
- !ruby/object:Gem::Version
|
83
89
|
version: '0'
|
84
90
|
requirements: []
|
85
|
-
|
86
|
-
rubygems_version: 2.7.7
|
91
|
+
rubygems_version: 3.0.8
|
87
92
|
signing_key:
|
88
93
|
specification_version: 4
|
89
94
|
summary: E.A.C. base for Redmine.
|