lumberjack_capture_device 1.2.0 → 1.2.1

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: 633b68181377b77f1940712d6a48261c5c74ed569fdf7d008636691d35add3d2
4
- data.tar.gz: c3b73c48ba4d513ef3416676fd38f5ce7877d1e820ba5f4a45ac8b527c468c05
3
+ metadata.gz: ee398d1d45c445f0afb2469285cfbbfc6896313251078684619ca5a12bbcc0e3
4
+ data.tar.gz: c81bc5da733d88a2213e7b6459d8b0be81a9501484862043dea0d3761c364b57
5
5
  SHA512:
6
- metadata.gz: 1656511eb767a622dec5a5b88500a82471e6c21d1976e7a2124429b117586cec570d27490d44ebdeeb539a99a2ab6dc8b786d886c7cffc46c0705c126412d320
7
- data.tar.gz: 6539f93f7a7d9b9d8c4d142dd89385c8143622f281beab396f51dea1706aa9e446653fc07811ae4fa1ade61213fbdb7a7234b7e004add5646c9e373bd583d699
6
+ metadata.gz: 790bc14321e6e30426098616d96ee5425d63b58b9041e251001856dc0b1abb8549a220f892570df4c1c85ca398002a3e94de37f395f45fb84b406c5331ccf655
7
+ data.tar.gz: 2512ec2c40dbefe1242abe07d3c7b0a391e9a425c18abc54247d9a76195f73a548f6a080d51d8463caa92512c34b96d9bff81e06179b60fc0569d98c4b1fc50f
data/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## 1.2.1
8
+
9
+ ### Changed
10
+
11
+ - Improve failure message for RSpec matcher by removing values that were not included in the original expectation.
12
+
7
13
  ## 1.2.0
8
14
 
9
15
  ### Added
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.2.1
@@ -51,9 +51,9 @@ module Lumberjack
51
51
  def formatted_expectation(expectation)
52
52
  expectation = expectation.transform_keys(&:to_s).compact
53
53
  message = []
54
- message << "level: #{expectation["level"].inspect}"
55
- message << "message: #{expectation["message"].inspect}"
56
- message << "progname: #{expectation["progname"].inspect}"
54
+ message << "level: #{expectation["level"].inspect}" if expectation.include?("level")
55
+ message << "message: #{expectation["message"].inspect}" if expectation.include?("message")
56
+ message << "progname: #{expectation["progname"].inspect}" if expectation.include?("progname")
57
57
  if expectation["tags"].is_a?(Hash) && !expectation["tags"].empty?
58
58
  tags = Lumberjack::Utils.flatten_tags(expectation["tags"])
59
59
  prefix = "tags: "
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lumberjack_capture_device
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Durand
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-26 00:00:00.000000000 Z
11
+ date: 2025-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lumberjack