lumberjack_capture_device 1.0.0 → 1.0.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: a0dc972c9f7b08468a2c96f2535637fa81bb1ef826123c9f6c582f81fee3b0cd
4
- data.tar.gz: 8548fda4d9fcecd7791b948e8922b9394abe0e4fbadd0668a1cb8d15053941e9
3
+ metadata.gz: 35d8ad5610c0d02fbc90b22a141d58aac09de8f98dcbfa85ed71c69d90e3aae2
4
+ data.tar.gz: 96657c5cb4a6dfc2431b8fe1689469950f5f144db64f29413df79baa1bf18aeb
5
5
  SHA512:
6
- metadata.gz: c9d4da5e4da9081d9cd900467b1baa96b7316726fe28c080c1efeb06eaa64f96bc5797fe0fe0a4595c96ddc66105cfe63d30384546718ae690dc3166cff6a871
7
- data.tar.gz: d50a5ad769cabe38705f3a9c169e6f7203be84130d2dc008109ca06b704afc176731b46c0d709a2c3085550bf07d1d4763a5012dd214bbfb274c7db3d7a0c311
6
+ metadata.gz: f22f7e086c58df3f4fc180b8d84df5bb49c7fc3966f578ae644b8a9c95ca7a143ad71f82f277622af4607377e9ea7219af10f07af6d38bbd07d674a4e3746a9c
7
+ data.tar.gz: 706cf53df406ca2702b314d89b9f38e9d55c764e667a852a7c2e08fc30e808315a5199e7f603acab6af8748fb15b078da69b9985a10d60c16806b6569e43f48b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
- ## 1.0.0
1
+ # Changelog
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
2
6
 
3
- * Initial release.
7
+ ## 1.0.1
8
+ ### Added
9
+ - Ruby 3 compatibility
10
+
11
+ ## 1.0.0
12
+ ### Added
13
+ - Initial release.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -64,8 +64,8 @@ module Lumberjack
64
64
  # ```
65
65
  # logs.include(level: :warn, message: /something happened/, tags: {duration: instance_of(Float)})
66
66
  # ```
67
- def include?(message: nil, level: nil, tags: nil)
68
- !extract(message: message, level: level, tags: tags, limit: 1).empty?
67
+ def include?(args)
68
+ !extract(**args.merge(limit: 1)).empty?
69
69
  end
70
70
 
71
71
  # Return all the captured entries that match the specified filters. These filters are
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.0.0
4
+ version: 1.0.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: 2021-02-24 00:00:00.000000000 Z
11
+ date: 2021-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lumberjack