lumberjack 1.3.1 → 1.3.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: 07e6e20fe9cf765f75723c6a3d3101f1c2387633d109a6cd4c85cb67a3a2d0ce
4
- data.tar.gz: e9321f97338038f863eff17801cf3b2620f88f1685631a0a894fb219578b0b8c
3
+ metadata.gz: 9350195577ae682b1f668a183aed2c0e1635e2bad8abb9af751c9f11f4b33fee
4
+ data.tar.gz: 3ebedf23e6eb462df564030b332ee9fd0f71d9198d6276480405ca21ce28d3f6
5
5
  SHA512:
6
- metadata.gz: 18cf33bd3e45a2d6fa703586447c66cf7848580a4c793da67f50a1fd2bbdb0724bb4e393165e4fdcade80a71f72e7ff6751f52e883d6993d02880e53bc64ea8a
7
- data.tar.gz: 4c87222be54db1f498b1d6369821df16906a0ea7d3503de4528a16af05de3ec87dde1c45dd759b233dbec451536571a5030f0f2d23b28aa3fd31214e32cda6da
6
+ metadata.gz: 6c8230a0536fe98b8f817c275a5cc6e9d5764ea5dab8f0b1b92e1c274280c1528cebfb94767538eecf886240dc6a3fa6fe6adededffaac38815577bcfb739675
7
+ data.tar.gz: 3e64d451e6aa85298c3a5877bcfcef109381acd09553a250861886528ea352e5f5194db323cf0c253f2018dc130f4323f21ed1d51753cfcad7c3dbb09390affc
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.3.2
8
+
9
+ ### Fixed
10
+
11
+ - Fixed `NoMethodError` when setting the device via the `Lumberjack::Logger#device=` method.
12
+
7
13
  ## 1.3.1
8
14
 
9
15
  ### Added
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.1
1
+ 1.3.2
@@ -96,9 +96,7 @@ module Lumberjack
96
96
  # @param [Lumberjack::Device] device The new logging device.
97
97
  # @return [void]
98
98
  def device=(device)
99
- @logdev = if device
100
- open_device(device, options)
101
- end
99
+ @logdev = device.nil? ? nil : open_device(device, {})
102
100
  end
103
101
 
104
102
  # Get the timestamp format on the device if it has one.
data/lumberjack.gemspec CHANGED
@@ -8,6 +8,12 @@ Gem::Specification.new do |spec|
8
8
  spec.homepage = "https://github.com/bdurand/lumberjack"
9
9
  spec.license = "MIT"
10
10
 
11
+ spec.metadata = {
12
+ "homepage_uri" => spec.homepage,
13
+ "source_code_uri" => spec.homepage,
14
+ "changelog_uri" => "#{spec.homepage}/blob/main/CHANGELOG.md"
15
+ }
16
+
11
17
  # Specify which files should be added to the gem when it is released.
12
18
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
13
19
  ignore_files = %w[
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lumberjack
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
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-20 00:00:00.000000000 Z
11
+ date: 2025-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -78,7 +78,10 @@ files:
78
78
  homepage: https://github.com/bdurand/lumberjack
79
79
  licenses:
80
80
  - MIT
81
- metadata: {}
81
+ metadata:
82
+ homepage_uri: https://github.com/bdurand/lumberjack
83
+ source_code_uri: https://github.com/bdurand/lumberjack
84
+ changelog_uri: https://github.com/bdurand/lumberjack/blob/main/CHANGELOG.md
82
85
  post_install_message:
83
86
  rdoc_options: []
84
87
  require_paths: