eac_ruby_gems_utils 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0fea6448e900008bc2f0ed5055b36f40690945dd730fe3719f54641703f9347b
|
|
4
|
+
data.tar.gz: 5f96fbb4c19ad7be2619accaac5045a4ac7f882b4713442cbd95267d02b8d222
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8d73a5810d33db4c819ece473a58bcb6a1b254d5464bbd96c72f562905cb1c137a6cc8bd784bc2eeb2dc265c8ec6d294e2cfb489262651e4b5d540907288e885
|
|
7
|
+
data.tar.gz: fb0cc049c124d4c4a44e62bf0bc80e51af5a9e2c28bfed7b59dbbde7414039d7eeeacffdd106dc488ee738fbb04b20b99947e0878a2106fc84a81c55f6d50849
|
|
@@ -44,13 +44,11 @@ module EacRubyGemsUtils
|
|
|
44
44
|
def result_uncached
|
|
45
45
|
return RESULT_NONEXISTENT unless elegible?
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
exec_run_with_log ? RESULT_SUCCESSFUL : RESULT_FAILED
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
def exec_run
|
|
51
|
-
|
|
52
|
-
::Dir.chdir(gem.root) { gem.send(exec_method, *exec_args).execute }
|
|
53
|
-
end
|
|
51
|
+
gem.bundle('exec', *bundle_exec_args).chdir_root.execute
|
|
54
52
|
end
|
|
55
53
|
|
|
56
54
|
def exec_run_with_log
|
|
@@ -5,12 +5,8 @@ require 'eac_ruby_gems_utils/tests/base'
|
|
|
5
5
|
module EacRubyGemsUtils
|
|
6
6
|
module Tests
|
|
7
7
|
class Minitest < ::EacRubyGemsUtils::Tests::Base
|
|
8
|
-
def
|
|
9
|
-
%w[test]
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
def exec_method
|
|
13
|
-
:rake
|
|
8
|
+
def bundle_exec_args
|
|
9
|
+
%w[rake test]
|
|
14
10
|
end
|
|
15
11
|
|
|
16
12
|
def dependency_gem
|
|
@@ -5,12 +5,8 @@ require 'eac_ruby_gems_utils/tests/base'
|
|
|
5
5
|
module EacRubyGemsUtils
|
|
6
6
|
module Tests
|
|
7
7
|
class Rspec < ::EacRubyGemsUtils::Tests::Base
|
|
8
|
-
def
|
|
9
|
-
%w[
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
def exec_method
|
|
13
|
-
:bundle
|
|
8
|
+
def bundle_exec_args
|
|
9
|
+
%w[rspec]
|
|
14
10
|
end
|
|
15
11
|
|
|
16
12
|
def dependency_gem
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: eac_ruby_gems_utils
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Esquilo Azul Company
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-05-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: eac_ruby_utils
|