lazy_rotator 0.4.0 → 0.4.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 +4 -4
- data/CHANGELOG.md +7 -0
- data/all_rubies +2 -2
- data/lib/lazy_rotator/file/touch.rb +3 -1
- data/lib/lazy_rotator/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ed34cb3f8a5d1473166f6081f9e69f982eb5a446099c20895a2be5c124560dae
|
|
4
|
+
data.tar.gz: d3abd18f2fd080e54499a4e06cf5762b41af233c58ef6835ffdc3a505a3433af
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 37275bb7ecbb915c1aa5e707ff7b70d23c2a4e4f60bbd3ddf350165249f9e2a7a7160c6dd668d10ac9627bf250f3f3c34e001f60d0f30c460c3f369b29b45ac0
|
|
7
|
+
data.tar.gz: d9b6ec8c47183a209dcf86f4674f32bee9cff68a4e0de0b18badf3b52a4dfa6c585bafd6e5ae24c39d1dba3ee125747a2d37c596bc6f6da9021f0d26502ebcf2
|
data/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,13 @@
|
|
|
14
14
|
|
|
15
15
|
- N/A
|
|
16
16
|
|
|
17
|
+
## [0.4.1 (2025-10-03)](https://github.com/jlw/lazy_rotator/compare/v0.4.0...v0.4.1)
|
|
18
|
+
|
|
19
|
+
### Changes
|
|
20
|
+
|
|
21
|
+
- Bump minor versions of Ruby 3.2, 3.3, 3.4 under test
|
|
22
|
+
- Fix File::Touch for some Ruby 3.4 Rails apps
|
|
23
|
+
|
|
17
24
|
## [0.4.0 (2025-04-12)](https://github.com/jlw/lazy_rotator/compare/v0.3.0...v0.4.0)
|
|
18
25
|
|
|
19
26
|
### Changes
|
data/all_rubies
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
2
|
|
|
3
|
-
versions=('3.2.
|
|
3
|
+
versions=('3.2.9' '3.3.9' '3.4.6')
|
|
4
4
|
|
|
5
5
|
switcher=`which asdf`
|
|
6
6
|
if [[ $switcher = *[!\ ]* ]]; then
|
|
7
|
-
verb="
|
|
7
|
+
verb="current ruby"
|
|
8
8
|
else
|
|
9
9
|
switcher=`which rbenv`
|
|
10
10
|
if [[ $switcher = *[!\ ]* ]]; then
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
require 'fileutils'
|
|
4
|
+
|
|
3
5
|
module LazyRotator
|
|
4
6
|
module File
|
|
5
7
|
# Ensure the initial file is in place
|
|
@@ -7,7 +9,7 @@ module LazyRotator
|
|
|
7
9
|
def process
|
|
8
10
|
return unless number.zero?
|
|
9
11
|
|
|
10
|
-
|
|
12
|
+
FileUtils.touch file_name
|
|
11
13
|
end
|
|
12
14
|
end
|
|
13
15
|
end
|
data/lib/lazy_rotator/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lazy_rotator
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jeremy Weathers
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: bundler
|
|
@@ -158,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
158
158
|
- !ruby/object:Gem::Version
|
|
159
159
|
version: '0'
|
|
160
160
|
requirements: []
|
|
161
|
-
rubygems_version: 3.6.
|
|
161
|
+
rubygems_version: 3.6.9
|
|
162
162
|
specification_version: 4
|
|
163
163
|
summary: Lazily rotate log files
|
|
164
164
|
test_files: []
|