bake-test-external 0.5.1 → 0.6.0
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 +3 -0
- data/lib/bake/test/external/controller.rb +5 -2
- data/lib/bake/test/external/version.rb +1 -1
- data/lib/bake/test/external.rb +1 -1
- data/readme.md +3 -3
- data.tar.gz.sig +0 -0
- metadata +2 -2
- 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: cad0dc6534b7cd898db7beff369c42079d65d87730ec50216bb0799ccf89168b
|
4
|
+
data.tar.gz: 76543285d302b793e8474607c91d497cd004bcb0710e7c82659e731d0d7cf572
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b305620dc2c6c511c5c9e614b8e3836cf32597ab4817d3d412de59673c87da5706cb6f4ab092dc675ddb2376d272263b3016b1f34e2c3a2e325d93faca28da5
|
7
|
+
data.tar.gz: f18b88291a703425c1718b9ce89922326b49e5bba02fd98c010751f101451cf64d1573dfcc6433e0b35a4806a365f09734ce0dbb852fe623608b6a8e7dcc9f4e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/bake/test/external.rb
CHANGED
@@ -18,6 +18,9 @@ DEFAULT_EXTERNALS_PATH = 'config/external.yaml'
|
|
18
18
|
# Run external tests.
|
19
19
|
# @parameter gemspec [String] The input gemspec path.
|
20
20
|
def external(input: nil, gemspec: nil)
|
21
|
+
# Prepare the project for testing, e.g. build native extensions, etc.
|
22
|
+
context['before_test']&.call
|
23
|
+
|
21
24
|
input ||= default_input
|
22
25
|
|
23
26
|
controller = Bake::Test::External::Controller.new
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Released under the MIT License.
|
4
|
-
# Copyright,
|
4
|
+
# Copyright, 2024, by Samuel Williams.
|
5
5
|
|
6
6
|
require 'fileutils'
|
7
7
|
require 'pathname'
|
@@ -85,8 +85,11 @@ module Bake
|
|
85
85
|
file.puts(line)
|
86
86
|
end
|
87
87
|
end
|
88
|
-
|
88
|
+
|
89
89
|
system!(config[:env], "bundle", "install", chdir: path)
|
90
|
+
else
|
91
|
+
# This also sets the config[:env]['BUNDLE_GEMFILE'] if necessary:
|
92
|
+
self.gemfile_path(path, config)
|
90
93
|
end
|
91
94
|
|
92
95
|
return path
|
data/lib/bake/test/external.rb
CHANGED
data/readme.md
CHANGED
@@ -22,8 +22,8 @@ We welcome contributions to this project.
|
|
22
22
|
|
23
23
|
### Developer Certificate of Origin
|
24
24
|
|
25
|
-
|
25
|
+
In order to protect users of this project, we require all contributors to comply with the [Developer Certificate of Origin](https://developercertificate.org/). This ensures that all contributions are properly licensed and attributed.
|
26
26
|
|
27
|
-
###
|
27
|
+
### Community Guidelines
|
28
28
|
|
29
|
-
This project is
|
29
|
+
This project is best served by a collaborative and respectful environment. Treat each other professionally, respect differing viewpoints, and engage constructively. Harassment, discrimination, or harmful behavior is not tolerated. Communicate clearly, listen actively, and support one another. If any issues arise, please inform the project maintainers.
|
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.
|
4
|
+
version: 0.6.0
|
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-
|
42
|
+
date: 2024-08-21 00:00:00.000000000 Z
|
43
43
|
dependencies:
|
44
44
|
- !ruby/object:Gem::Dependency
|
45
45
|
name: bake
|
metadata.gz.sig
CHANGED
Binary file
|