sus-fixtures-console 0.1.0 → 0.2.0

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: 9aa8518936e96db8c1dab52282efa4accd76a9c61b6056129dc3567b868f7f16
4
- data.tar.gz: 4d8bf1c4cb832764b6ab426c13e45cea2329bc810243627011d5e1f5b748e4b2
3
+ metadata.gz: cf11bc18560953e5a0b88de1d08dc6a94d976e91b7c0cbec5df39b1a46820e0e
4
+ data.tar.gz: 22258297bc0b93d2d8116f6776f6320703fe0cfcfa8be612c221667925e418f4
5
5
  SHA512:
6
- metadata.gz: ecfc6a917e00758e0cbfc195eb82a73e47437a6ad72383e0122863b61e46b1adfe86c1bf8159f392766d2aab35ee877af475c4a3e3b4d1f6af2997bb5b860f6a
7
- data.tar.gz: 57ea2d3fb0be0174fc1d6f2f1b222b695bff2d2b4525867b912a1be2bc33db20ac6708c5f2d03aca9a123caf17b91bf3804cebbb0d83fd2eef4ec3639acc3f22
6
+ metadata.gz: e2d8f8d8ac3c72a5321725fbe182d7073cd78dc8e96f55ef984e0f524d1cd991c1444581b728acf16ccd95b6d976bc885bd0cdf2908b25cb5f1d0e109b4194f6
7
+ data.tar.gz: db8e47627617b6989f899359360f9241e77a190a4d4806876e017ad888918bfedbc7618321a2bd61cca74671ab90f6520e3565bf83dda720c3f3fc7dbf56c75f
checksums.yaml.gz.sig CHANGED
Binary file
@@ -16,10 +16,10 @@ module Sus
16
16
  let(:logger) {::Console::Logger.new(capture, level: ::Console::Logger::DEBUG)}
17
17
 
18
18
  def around
19
- Fiber.new do
20
- ::Console.logger = logger
21
- super
22
- end.resume
19
+ ::Console.logger = logger
20
+ super
21
+ ensure
22
+ ::Console.logger = nil
23
23
  end
24
24
  end
25
25
  end
@@ -15,10 +15,10 @@ module Sus
15
15
  let(:logger) {::Console::Logger.new(::Console::Output::Null.new)}
16
16
 
17
17
  def around
18
- Fiber.new do
19
- ::Console.logger = logger
20
- super
21
- end.resume
18
+ ::Console.logger = logger
19
+ super
20
+ ensure
21
+ ::Console.logger = nil
22
22
  end
23
23
  end
24
24
  end
@@ -6,7 +6,7 @@
6
6
  module Sus
7
7
  module Fixtures
8
8
  module Console
9
- VERSION = "0.1.0"
9
+ VERSION = "0.2.0"
10
10
  end
11
11
  end
12
12
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sus-fixtures-console
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -37,7 +37,7 @@ cert_chain:
37
37
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
38
38
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
39
39
  -----END CERTIFICATE-----
40
- date: 2024-05-03 00:00:00.000000000 Z
40
+ date: 2024-05-28 00:00:00.000000000 Z
41
41
  dependencies:
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: console
metadata.gz.sig CHANGED
Binary file