bake-test-external 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +4 -4
- data/lib/bake/test/external/controller.rb +16 -5
- data/lib/bake/test/external/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 424ec13c662cf8c186c1b59b9926443519e39a1cc24029eb0d54f56e12cc838f
|
4
|
+
data.tar.gz: 7c41b01f015434a83ae3143b2888d3db67f4baf2ae5928b59bd8d1ce5ceff4fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '09ab7f684dd2a651b2781ed03f24eef9e61df80afbc50f34c637a4e266b3a0cc473faf7efa74672326922db184af206a4e881793fd6b1b133dd138962bb9c442'
|
7
|
+
data.tar.gz: 452dfd1a635eec9c793a81255c0c6d1dc27df5b19f3895e36d5e904a535de1a67632bc35f24698f7bfc219657a3a6b68c8f7f285db2588c94c10bac69c482add
|
checksums.yaml.gz.sig
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
]���E�1���zsb�e��~��,��Q�K|�ZDq|r���8������VE�A�j������e^]��n3�F���\�jº?>X
|
2
|
+
���U����J
|
3
|
+
[~��~��C���Ii����M�y�T�I�x�Ig�7wŝ�Ni�8[�y}%�FI�4m�\�1O�Kܤ(`�Sv3�����}���AtsZ_���0"�C��B2��W��J�I �HM���-��=�Y��[":
|
4
|
+
�ށ��[n��t������?�oP�w�'qnM��c^5�(���ށ�'(��̚��F.� c��Q 4�ߗ���q�Y���%�D����Q�#�����{t
|
@@ -16,6 +16,10 @@ module Bake
|
|
16
16
|
@root = Pathname.new(root || Dir.pwd)
|
17
17
|
end
|
18
18
|
|
19
|
+
private def system!(*command, **options)
|
20
|
+
system(*command, **options, exception: true)
|
21
|
+
end
|
22
|
+
|
19
23
|
def find_gemspec(pattern = "*.gemspec")
|
20
24
|
paths = @root.glob(pattern)
|
21
25
|
|
@@ -29,9 +33,16 @@ module Bake
|
|
29
33
|
end
|
30
34
|
|
31
35
|
def clone_and_test(name, key, config)
|
36
|
+
$stderr.puts "Cloning external repository #{key}..."
|
32
37
|
path = clone_repository(name, key, config)
|
33
38
|
|
34
|
-
|
39
|
+
begin
|
40
|
+
$stderr.puts "Running external tests #{key}..."
|
41
|
+
test_repository(path, config)
|
42
|
+
rescue
|
43
|
+
$stderr.puts "External tests #{key} failed!"
|
44
|
+
raise
|
45
|
+
end
|
35
46
|
end
|
36
47
|
|
37
48
|
def clone_repository(name, key, config)
|
@@ -52,10 +63,10 @@ module Bake
|
|
52
63
|
end
|
53
64
|
|
54
65
|
command << url << path
|
55
|
-
system(config[:env], *command)
|
66
|
+
system!(config[:env], *command)
|
56
67
|
|
57
68
|
# I tried using `bundle config --local local.async ../` but it simply doesn't work.
|
58
|
-
# system("bundle", "config", "--local", "local.async", __dir__, chdir: path)
|
69
|
+
# system!("bundle", "config", "--local", "local.async", __dir__, chdir: path)
|
59
70
|
|
60
71
|
gemfile_path = self.gemfile_path(path, config)
|
61
72
|
relative_root = @root.relative_path_from(gemfile_path.dirname)
|
@@ -75,7 +86,7 @@ module Bake
|
|
75
86
|
end
|
76
87
|
end
|
77
88
|
|
78
|
-
system(config[:env], "bundle", "install", chdir: path)
|
89
|
+
system!(config[:env], "bundle", "install", chdir: path)
|
79
90
|
end
|
80
91
|
|
81
92
|
return path
|
@@ -85,7 +96,7 @@ module Bake
|
|
85
96
|
command = config.fetch(:command, DEFAULT_COMMAND)
|
86
97
|
|
87
98
|
Array(command).each do |line|
|
88
|
-
system(config[:env], *line, chdir: path)
|
99
|
+
system!(config[:env], *line, chdir: path)
|
89
100
|
end
|
90
101
|
end
|
91
102
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bake-test-external
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -39,7 +39,7 @@ cert_chain:
|
|
39
39
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
40
40
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
41
41
|
-----END CERTIFICATE-----
|
42
|
-
date: 2024-06-
|
42
|
+
date: 2024-06-20 00:00:00.000000000 Z
|
43
43
|
dependencies:
|
44
44
|
- !ruby/object:Gem::Dependency
|
45
45
|
name: bake
|
@@ -89,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
89
89
|
- !ruby/object:Gem::Version
|
90
90
|
version: '0'
|
91
91
|
requirements: []
|
92
|
-
rubygems_version: 3.5.
|
92
|
+
rubygems_version: 3.5.11
|
93
93
|
signing_key:
|
94
94
|
specification_version: 4
|
95
95
|
summary: Run external test suites to check for breakage.
|
metadata.gz.sig
CHANGED
Binary file
|