still_active 1.2.0 → 1.3.0
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 +13 -0
- data/lib/helpers/bundler_helper.rb +1 -0
- data/lib/helpers/ruby_helper.rb +14 -6
- data/lib/still_active/version.rb +1 -1
- data/still_active.gemspec +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: a7aee27885f6f98048897a021e6fca1f60f991a6c7812d125c5ed61fa497a691
|
|
4
|
+
data.tar.gz: 75c494745c87bb74f9e5c770cb374d98746727c103eb7393b1e838c9495daefe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6864d20e743742e1da0a8f5dc8353444ece8593fa541733414404297b06c370e6ef620528d0303b01348548d15a5f619f1d98a8d48dd0405200823a97c46665d
|
|
7
|
+
data.tar.gz: 9bf1c0e5c85375bf23ad38704b4c45166793a261967749e6b434b07be4984b157ad5da166cfc8670618aacae08ebdc152f9e2a020985907d240abe789b5d45d9
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.3.0] - 2026-04-08
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- **BREAKING:** Bump minimum Ruby version to 3.3 (3.2 is EOL); transitive dependencies (e.g. `io-event`) now require Ruby >= 3.3
|
|
8
|
+
|
|
9
|
+
## [1.2.1] - 2026-02-20
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- Ruby version freshness reported the running Ruby (e.g. 4.0.1) instead of the target project's Ruby from `Gemfile.lock`; now reads `RUBY VERSION` section from lockfile, falls back to running version only when absent
|
|
14
|
+
- Platform-specific gems (e.g. `nokogiri` on multiple architectures) were processed once per platform, wasting API calls and inflating the progress counter total
|
|
15
|
+
|
|
3
16
|
## [1.2.0] - 2026-02-20
|
|
4
17
|
|
|
5
18
|
### Added
|
data/lib/helpers/ruby_helper.rb
CHANGED
|
@@ -11,12 +11,12 @@ module StillActive
|
|
|
11
11
|
ENDOFLIFE_URI = URI("https://endoflife.date/")
|
|
12
12
|
|
|
13
13
|
def ruby_freshness
|
|
14
|
-
|
|
14
|
+
current = current_ruby_version
|
|
15
|
+
return if current.nil?
|
|
15
16
|
|
|
16
17
|
cycles = fetch_cycles
|
|
17
18
|
return if cycles.nil?
|
|
18
19
|
|
|
19
|
-
current = current_ruby_version
|
|
20
20
|
current_cycle = find_cycle(cycles, current)
|
|
21
21
|
latest_cycle = cycles.first
|
|
22
22
|
|
|
@@ -43,12 +43,20 @@ module StillActive
|
|
|
43
43
|
|
|
44
44
|
private
|
|
45
45
|
|
|
46
|
-
def
|
|
47
|
-
RUBY_ENGINE == "ruby"
|
|
46
|
+
def current_ruby_version
|
|
47
|
+
lockfile_ruby_version || (RUBY_ENGINE == "ruby" ? RUBY_VERSION : nil)
|
|
48
48
|
end
|
|
49
49
|
|
|
50
|
-
def
|
|
51
|
-
|
|
50
|
+
def lockfile_ruby_version
|
|
51
|
+
gemfile = ENV["BUNDLE_GEMFILE"]
|
|
52
|
+
return unless gemfile
|
|
53
|
+
|
|
54
|
+
lockfile_path = "#{gemfile}.lock"
|
|
55
|
+
return unless File.exist?(lockfile_path)
|
|
56
|
+
|
|
57
|
+
content = File.read(lockfile_path)
|
|
58
|
+
match = content.match(/^RUBY VERSION\n\s+ruby (\d+\.\d+\.\d+)/)
|
|
59
|
+
match&.[](1)
|
|
52
60
|
end
|
|
53
61
|
|
|
54
62
|
def fetch_cycles
|
data/lib/still_active/version.rb
CHANGED
data/still_active.gemspec
CHANGED
|
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
|
19
19
|
"A comprehensive alternative to running bundle outdated, bundler-audit, and libyear-bundler separately."
|
|
20
20
|
spec.homepage = "https://github.com/SeanLF/still_active"
|
|
21
21
|
spec.license = "MIT"
|
|
22
|
-
spec.required_ruby_version = ">= 3.
|
|
22
|
+
spec.required_ruby_version = ">= 3.3.0"
|
|
23
23
|
|
|
24
24
|
spec.metadata["homepage_uri"] = spec.homepage
|
|
25
25
|
spec.metadata["source_code_uri"] = spec.homepage
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: still_active
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sean Floyd
|
|
@@ -220,14 +220,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
220
220
|
requirements:
|
|
221
221
|
- - ">="
|
|
222
222
|
- !ruby/object:Gem::Version
|
|
223
|
-
version: 3.
|
|
223
|
+
version: 3.3.0
|
|
224
224
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
225
225
|
requirements:
|
|
226
226
|
- - ">="
|
|
227
227
|
- !ruby/object:Gem::Version
|
|
228
228
|
version: '0'
|
|
229
229
|
requirements: []
|
|
230
|
-
rubygems_version: 4.0.
|
|
230
|
+
rubygems_version: 4.0.6
|
|
231
231
|
specification_version: 4
|
|
232
232
|
summary: Audit your Ruby dependencies for maintenance health, outdated versions, vulnerabilities,
|
|
233
233
|
and abandoned gems.
|