trailblazer-developer 0.0.11 → 0.0.12

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: 1bd9598d12d74fcd1dcbe20a50d53642ee2fe9ca8aad9648332630dee4b8fb7a
4
- data.tar.gz: bc6b62c30541f118e756d72646da251cdbc2eef1d95dcb806c22aca10c1b64d3
3
+ metadata.gz: 2066fad0487e4eb57650c25b4b57d3575b237330e49232ab69386ec858c32dd4
4
+ data.tar.gz: 281820207adaffb5b38f837580c5ae0ca44042dfb3aff434df363672df674f4d
5
5
  SHA512:
6
- metadata.gz: ce2bc17462233a132411006e1bcb0d2b992e8e378faef8293d2be1d2916c691aba17def994644d7ae1428f65302d8d6496dc0fe583e484c036015415d9e4349e
7
- data.tar.gz: f621040bab0043a71332f8a5ff325aae117612ba105116c527b57b4caacdeb52e067a2d8b5d5f6fadd5d290231fbb1c07ca1a036635d17d13a92d52c3e702629
6
+ metadata.gz: 50f9ddb3ce5635909db47aac06c96a604f2c69d1a4e57522d6189b0e06426d6a60710958bf37929f3645619bb7815ddb54ecf4711734c67d1c85f40d87ff8a81
7
+ data.tar.gz: de4b719a86630c7c1f8eba21d83211715667e57e5f05498a4abff67e8275cc3746e72d3dbf435c9dc24f13d4b77319197b618f36091a3c705bf66e7ae45934bb
@@ -1,3 +1,7 @@
1
+ # 0.0.12
2
+
3
+ * Revert Hash#compact usage to support Rubies <= 2.4
4
+
1
5
  # 0.0.11
2
6
 
3
7
  * Allow injecting custom data collector in Trace API, to collect custom input/output ctx of task nodes.
@@ -30,7 +30,12 @@ module Trailblazer
30
30
  # message: "WTF!"
31
31
  # seq: [:a]
32
32
  def tree_nodes_for(level, input:, output:, **options)
33
- input_output_nodes = { Input: input, Output: output }.compact.collect do |table_header, entity|
33
+ # TODO: Reverting `Hash#compact` usage as it is not supported in Ruby <= 2.4
34
+ # Once the support is droped, revert actual code with below and remove entity check.
35
+ # input_output_nodes = { Input: input, Output: output }.compact.collect do |table_header, entity|
36
+
37
+ input_output_nodes = { Input: input, Output: output }.collect do |table_header, entity|
38
+ next unless entity
34
39
  next unless Array( entity.data[:focused_variables] ).any?
35
40
 
36
41
  table = vertical_table_for(entity.data[:focused_variables], table_header: table_header)
@@ -1,7 +1,7 @@
1
1
  module Trailblazer
2
2
  module Version
3
3
  module Developer
4
- VERSION = "0.0.11"
4
+ VERSION = "0.0.12"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trailblazer-developer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sutterer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-03 00:00:00.000000000 Z
11
+ date: 2020-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -193,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0'
195
195
  requirements: []
196
- rubygems_version: 3.0.6
196
+ rubygems_version: 3.0.8
197
197
  signing_key:
198
198
  specification_version: 4
199
199
  summary: Developer tools for Trailblazer.