eac_redmine_base0 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/lib/eac_redmine_base0/plugins_test.rb +6 -3
- data/lib/eac_redmine_base0/version.rb +1 -1
- metadata +25 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 903c8378274aec54507ad88c4ba555fbe72653a8f83147edbc8b866148cdb92b
|
4
|
+
data.tar.gz: 98c390065be27c4091d4b36f7892b058930941afb92d2dc58fa5261c0489a560
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 481c246a56dbd5127ceee3814d9d60079391b82d51a01dcff9b2f608b94e64c997eafcee24bdf4867fff748ffa773344d6b0bd76311962d2f9cea7c00cdef6b1
|
7
|
+
data.tar.gz: 3c0acfa34a0780172ae145d57dd49a5aebde0764420975e39cad453b31ebfba2813458e6262ffa448ce38a7323234203db34f5d8d9d39cf669740471b5025fd0
|
@@ -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'
|
@@ -91,6 +92,10 @@ module EacRedmineBase0
|
|
91
92
|
)
|
92
93
|
end
|
93
94
|
|
95
|
+
def rails_gem_uncached
|
96
|
+
::EacRubyGemsUtils::Gem.new(::Rails.root)
|
97
|
+
end
|
98
|
+
|
94
99
|
def run_test_uncached
|
95
100
|
r = run_test_command.execute
|
96
101
|
::File.write(stderr_log, r.fetch(:stderr))
|
@@ -99,9 +104,7 @@ module EacRedmineBase0
|
|
99
104
|
end
|
100
105
|
|
101
106
|
def run_test_command
|
102
|
-
|
103
|
-
.envvar('RAILS_ENV', 'test')
|
104
|
-
.chdir(::Rails.root)
|
107
|
+
rails_gem.bundle('exec', 'rake', test_task_name).envvar('RAILS_ENV', 'test')
|
105
108
|
end
|
106
109
|
end
|
107
110
|
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.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: 2020-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avm-tools
|
@@ -16,14 +16,34 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.44'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 0.44.1
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.44'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 0.44.1
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: eac_ruby_gems_utils
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0.4'
|
20
40
|
type: :runtime
|
21
41
|
prerelease: false
|
22
42
|
version_requirements: !ruby/object:Gem::Requirement
|
23
43
|
requirements:
|
24
44
|
- - "~>"
|
25
45
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0.
|
46
|
+
version: '0.4'
|
27
47
|
- !ruby/object:Gem::Dependency
|
28
48
|
name: rubocop
|
29
49
|
requirement: !ruby/object:Gem::Requirement
|