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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ca08d63adeb5cb5ccb9b721d7768dbf97e9cced1ffd058364c6831e26225f422
4
- data.tar.gz: f59d7933c5eb5ee6c09bf86f40c54f08f341ce973ec3bfcc2d63aea26d6baaa9
3
+ metadata.gz: 903c8378274aec54507ad88c4ba555fbe72653a8f83147edbc8b866148cdb92b
4
+ data.tar.gz: 98c390065be27c4091d4b36f7892b058930941afb92d2dc58fa5261c0489a560
5
5
  SHA512:
6
- metadata.gz: 5858ad42d57204763a12d3c462103056ae5be5e2d25e0f286a5d846308c03dc0cb625eec7a40ee16e265628a52183cdfd33123eaa7668ce4edc55913b96e2f16
7
- data.tar.gz: 9865b1c8f6938f47438d4b3c28d0fe28beeed7f2b6fe3b413b289d8d0b5c9341745a7f632e0da31dcbc7668c0ef9209557347e13b9d2c30eb5a657e657b528dc
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
- ::EacRubyUtils::Envs.local.command('bundle', 'exec', 'rake', test_task_name)
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
@@ -4,5 +4,5 @@ module EacRedmineBase0
4
4
  AUTHOR = 'Eduardo Henrique Bogoni'
5
5
  HOMEPAGE = 'https://github.com/esquilo-azul/eac_redmine_base0'
6
6
  SUMMARY = 'E.A.C. base for 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: eac_redmine_base0
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: 2019-09-18 00:00:00.000000000 Z
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.9'
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.9'
46
+ version: '0.4'
27
47
  - !ruby/object:Gem::Dependency
28
48
  name: rubocop
29
49
  requirement: !ruby/object:Gem::Requirement