parlour 9.1.1 → 9.1.2

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: 906222c4fcb94c3f3596055c6b1468b1eeea54ef5931632a2645f14bf9742bfc
4
- data.tar.gz: 609ec24f2ff46cec34d42def81ef5149e550c7f4bf2297fb0a909699e37b0e6c
3
+ metadata.gz: db6d992a5fa3d12b575edd2393eef39ae0379ee67a1df958a874cbe8e5c07746
4
+ data.tar.gz: 3e29393a7abb71b6c41c96f1e3cea3e0bc797d12d26fe9e5122d9545c200fdf2
5
5
  SHA512:
6
- metadata.gz: e0088a07cdaa2bdd29111122b15c4631e7b50ffc909bfb001d043943ddb9eb7ced94ee330e87256a418aa81f11c737daf3b2eee121946c7b5393d4e990b2fcd8
7
- data.tar.gz: cbdac77bdc86e9037456b98394ea0127214f049e6fe01bae8117eaa3d80eaad1fcfbbf96586a86a10fbccc236b1125fd2ee46bd7d7c950f64bc5ea4af5bff146
6
+ metadata.gz: 30aef748223579ee52119408af76172c4a4bb5d724bc0938d4dad080a3034beedb4b28e2a1233ff99a318b56550faa2e6c31bb6adcf146028ebbe4abf115a6e8
7
+ data.tar.gz: 521b4d67ba15edc643256d8f8b11b20921f9cbf197cf49ea946ca4fe4c513d2bd59005c222f3a79cb89fbc004271570efc5b8404ff0a564808170be2921b36a4
data/CHANGELOG.md CHANGED
@@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file.
3
3
 
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
5
5
 
6
+ ## [9.1.2] - 2025-07-07
7
+ ### Fixed
8
+ - Fixed a possible hang when getting a file list from Sorbet during type loading. (Thanks @apiology
9
+ and @ojgarcia)
10
+
6
11
  ## [9.1.1] - 2025-05-28
7
12
  ### Fixed
8
13
  - Replaced YARD `@abstract` directives, as they now conflict with Sorbet's `abstract!` directives
@@ -55,14 +55,17 @@ module Parlour
55
55
  expanded_inclusions = inclusions.map { |i| File.expand_path(i, root) }
56
56
  expanded_exclusions = exclusions.map { |e| File.expand_path(e, root) }
57
57
 
58
- stdin, stdout, stderr, wait_thr = T.unsafe(Open3).popen3(
59
- 'bundle exec srb tc -p file-table-json',
58
+ cmd = 'bundle exec srb tc -p file-table-json'
59
+ stdout, _stderr, io_status = T.unsafe(Open3).capture3(
60
+ cmd,
60
61
  chdir: root
61
62
  )
62
63
 
63
- stdout = T.must(stdout.read)
64
+ # ignore output code, which may indicate type checking issues
65
+ # that aren't blocking us
64
66
  if stdout == ''
65
- raise 'unable to get Sorbet file table; the project may be empty or not have Sorbet initialised'
67
+ raise "unable to get Sorbet file table with #{cmd.inspect}; " \
68
+ 'the project may be empty or not have Sorbet initialised'
66
69
  end
67
70
 
68
71
  file_table_hash = JSON.parse(stdout)
@@ -1,5 +1,5 @@
1
1
  # typed: strong
2
2
  module Parlour
3
3
  # The library version.
4
- VERSION = '9.1.1'
4
+ VERSION = '9.1.2'
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parlour
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.1.1
4
+ version: 9.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Christiansen
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-05-28 00:00:00.000000000 Z
10
+ date: 2025-07-07 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: sorbet-runtime