build 2.4.2 → 2.4.3

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: 94281feda7cae3256e0e31ddc228b8d721e9ec666e166e8a5624774062e19a04
4
- data.tar.gz: f8e4db89acdc0a5da9330fc31b4fc174dcf481dab143819e9aed7a8b93b54b8e
3
+ metadata.gz: de02209fea129a8295890304f597655333368b615027255848e87dd0051f13de
4
+ data.tar.gz: 967b59ec6c8db022e172517b6d6a225eec22f3a4971875e82ec1028ec0f4109c
5
5
  SHA512:
6
- metadata.gz: d8d1c9a6836cd95b2cf26f05fbcd7eff1f00de6f51fe6f4ab422cd527ea4462b7083192b9ebd66d756846f143f5c6b6ce518d0194488ed5ff38d4df50a4c2048
7
- data.tar.gz: 4aa70fbc51b87ab726406d25b6e7d8558632d7859c5f4f1bc1408463babaa12dac18b43802b18eb019f5a9c1286f660a9f14dd164a09c28ff8846deb71089b10
6
+ metadata.gz: af6e78ab91755ab2bf86a1f866c3b55b8fe29ca500387eb5e915894a4de54b9209275c7772a368fa5aed36f78ac9888211e6d2dd0d369301f014b0fb72799674
7
+ data.tar.gz: '09e74758c4762c6de1ed59e89c70701f7c9f66fe9eb16a686b0f5e3af2fd69db2d7d50d41a1f7f2643fb56631f61b6ac51ee2c98dceac6dae95cbecfa14d600a'
@@ -34,6 +34,10 @@ module Build
34
34
  super(Files::List::NONE, :inherit, chain)
35
35
  end
36
36
 
37
+ def name
38
+ @environment.name
39
+ end
40
+
37
41
  def task_class
38
42
  Task
39
43
  end
@@ -21,7 +21,7 @@
21
21
  require 'fileutils'
22
22
  require 'build/graph'
23
23
 
24
- require 'console/shell'
24
+ require 'console/event/spawn'
25
25
 
26
26
  module Build
27
27
  # This task class serves as the base class for the environment specific task classes genearted when adding targets.
@@ -55,6 +55,10 @@ module Build
55
55
  @logger = logger
56
56
  end
57
57
 
58
+ def to_s
59
+ "\#<#{Task} #{node.name}>"
60
+ end
61
+
58
62
  attr :group
59
63
  attr :logger
60
64
 
@@ -64,7 +68,7 @@ module Build
64
68
 
65
69
  def spawn(*arguments)
66
70
  if wet?
67
- @logger&.info(self) {Console::Shell.for(*arguments)}
71
+ @logger&.info(self) {Console::Event::Spawn.for(*arguments)}
68
72
  status = @group.spawn(*arguments)
69
73
 
70
74
  if status != 0
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Build
22
- VERSION = "2.4.2"
22
+ VERSION = "2.4.3"
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: build
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.2
4
+ version: 2.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -200,7 +200,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
200
200
  - !ruby/object:Gem::Version
201
201
  version: '0'
202
202
  requirements: []
203
- rubygems_version: 3.0.2
203
+ rubygems_version: 3.0.3
204
204
  signing_key:
205
205
  specification_version: 4
206
206
  summary: Build is a framework for working with task based build systems.