bake-test-external 0.1.1 → 0.1.2
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 +0 -0
- data/bake/test/external.rb +10 -2
- data/lib/bake/test/external/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +28 -27
- 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: 3dafe25727045cf0105623e3774f0e51cbc66361a8afbb47581085a9c4597811
|
4
|
+
data.tar.gz: ff18b4bf185d423eb97dcf186690a7170d45283a7cc48dd003962f6edaf019b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c0fde3e09b10c240b84657551e9f5d37b728ab2f19d56f1a4bdce9a158b8632cd5bc6dff5b2a6893d17d84bb7c3c2a3a6f3722f1e0f0a139c9e3037c72ac139
|
7
|
+
data.tar.gz: adf3ef30573bb4edd1da1b67519d6496f3adf34ea5a109f8e0290002cd18cc80b8a28e32dc99a50e1c975a6c88c8b2fecf3317bfbc02f93eb5fee117d36040c5
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/bake/test/external.rb
CHANGED
@@ -1,16 +1,24 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
DEFAULT_EXTERNALS_PATH = 'config/external.yaml'
|
4
|
+
DEFAULT_COMMAND = "bake test"
|
5
|
+
|
3
6
|
# Run external tests.
|
4
7
|
# @parameter gemspec [String] The input gemspec path.
|
5
8
|
def external(input: nil, gemspec: self.find_gemspec)
|
6
9
|
require 'bundler'
|
7
10
|
require 'yaml'
|
8
11
|
|
9
|
-
input
|
12
|
+
if input.nil? and File.exist?(DEFAULT_EXTERNALS_PATH)
|
13
|
+
# symbolize_names is unsupported on Ruby 2.7
|
14
|
+
input = YAML.load_file(DEFAULT_EXTERNALS_PATH) # , symbolize_names: true)
|
15
|
+
end
|
10
16
|
|
11
17
|
input.each do |key, config|
|
18
|
+
config.transform_keys!(&:to_sym);
|
19
|
+
|
12
20
|
url = config[:url]
|
13
|
-
command = config
|
21
|
+
command = config.fetch(:command, DEFAULT_COMMAND)
|
14
22
|
|
15
23
|
Bundler.with_unbundled_env do
|
16
24
|
clone_and_test(gemspec.name, key, url, command)
|
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.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -10,33 +10,34 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
13
|
+
MIIE2DCCA0CgAwIBAgIBATANBgkqhkiG9w0BAQsFADBhMRgwFgYDVQQDDA9zYW11
|
14
|
+
ZWwud2lsbGlhbXMxHTAbBgoJkiaJk/IsZAEZFg1vcmlvbnRyYW5zZmVyMRIwEAYK
|
15
|
+
CZImiZPyLGQBGRYCY28xEjAQBgoJkiaJk/IsZAEZFgJuejAeFw0yMjA4MDYwNDUz
|
16
|
+
MjRaFw0zMjA4MDMwNDUzMjRaMGExGDAWBgNVBAMMD3NhbXVlbC53aWxsaWFtczEd
|
17
|
+
MBsGCgmSJomT8ixkARkWDW9yaW9udHJhbnNmZXIxEjAQBgoJkiaJk/I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Mra6PFiQyOE74kCtv7P+Fdc+FhgqI5lMon6tt9rNeXmnW/
|
33
|
+
c1NaMRdxy999hmRGzUSFjozcCwxpy/LwabxtdXwXgSay4mQ32EDjqR1TixS1+smp
|
34
|
+
8C/NCWgpIfzpHGJsjvmH2wAfKtTTqB9CVKLCWEnCHyCaRVuKkrKjqhYCdmMBqCws
|
35
|
+
JkxfQWC+jBVeG9ZtPhQgZpfhvh+6hMhraUYRQ6XGyvBqEUe+yo6DKIT3MtGE2+CP
|
36
|
+
eX9i9ZWBydWb8/rvmwmX2kkcBbX0hZS1rcR593hGc61JR6lvkGYQ2MYskBveyaxt
|
37
|
+
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
38
|
+
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
38
39
|
-----END CERTIFICATE-----
|
39
|
-
date: 2022-08-
|
40
|
+
date: 2022-08-06 00:00:00.000000000 Z
|
40
41
|
dependencies:
|
41
42
|
- !ruby/object:Gem::Dependency
|
42
43
|
name: bake
|
metadata.gz.sig
CHANGED
Binary file
|