ratatui_ruby-devtools 0.2.0 → 0.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: 9c8afb78c4a4395a9d4e4db32fcec1e83e6c1b495d6e7f5928c1b12d50aa775b
4
- data.tar.gz: afb0898067b88c44a135e9f56053b7b265b82cc14ace609453fdbaaec0f36461
3
+ metadata.gz: c1befd01f5a77d88a9f412a2391e5d63313ae753f911a40559a5f224a34ff689
4
+ data.tar.gz: 468f3157501a4d3db5bec7f5792a78a62ef6c9f0331c2653cc27022f544a6186
5
5
  SHA512:
6
- metadata.gz: aed171dd40f1a07454b7ec6f82d404cda4847335b1b899d7738ec83346aedd7a4b107c3df71e08b115d0fd81081673dc4438c7f144c80fb2b9eb067112a6ab3b
7
- data.tar.gz: f0e0abce6a99bf42a4891e1cb1e0bdbe0739d4a0e9bec1473081d7f6080482a3e3fa54d090efe40044d1c82b3b0a589fd367428d920053bb112e36cb9bf8af7b
6
+ metadata.gz: 5626c5277c857d8672a0755d8e65f885802aea22d70ef241992b70bf486cc391d91e87de04c2dcf9548ba14604a3d02038d0271156a955e2030bfffc603e8711
7
+ data.tar.gz: 6629beaf798067670830272e51ea5d78e8fd06c86432d7560995d65848cab37b2ea8ac42ab90e6595ac7ea44771e6180ba9e29faa9037a634cb1eea5ed096b7d
data/CHANGELOG.md CHANGED
@@ -21,6 +21,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
21
21
 
22
22
  ### Removed
23
23
 
24
+ ## [0.2.1] - 2026-02-16
25
+
26
+ ### Added
27
+
28
+ ### Changed
29
+
30
+ ### Fixed
31
+
32
+ ### Removed
33
+
24
34
  ## [0.2.0] - 2026-02-16
25
35
 
26
36
  ### Added
@@ -86,6 +96,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
86
96
  ### Removed
87
97
 
88
98
  [Unreleased]: https://git.sr.ht/~kerrick/ratatui_ruby-devtools/refs/HEAD
99
+ [0.2.1]: https://git.sr.ht/~kerrick/ratatui_ruby-devtools/refs/v0.2.1
89
100
  [0.2.0]: https://git.sr.ht/~kerrick/ratatui_ruby-devtools/refs/v0.2.0
90
101
  [0.1.3]: https://git.sr.ht/~kerrick/ratatui_ruby-devtools/refs/v0.1.3
91
102
  [0.1.2]: https://git.sr.ht/~kerrick/ratatui_ruby-devtools/refs/v0.1.2
@@ -20,21 +20,16 @@ BUILT_SHA_FILE = File.join(PUBLIC_DOCS_DIR, ".built_sha")
20
20
 
21
21
  # Shared helper to load version metadata from source gem
22
22
  def load_source_gem_metadata
23
- # Find the version.rb file dynamically
24
- version_files = Dir.glob(File.join(SOURCE_GEM_DIR, "lib/**/version.rb"))
25
- raise "No version.rb found in #{SOURCE_GEM_DIR}" if version_files.empty?
26
-
27
- version_file = version_files.first
28
- version_content = File.read(version_file)
29
-
30
- # Parse module name and VERSION directly from file content
31
- module_match = version_content.match(/^\s*module\s+(\w+(?:::\w+)*)/)
32
- raise "No module declaration found in #{version_file}" unless module_match
33
-
34
- version_match = version_content.match(/VERSION\s*=\s*["']([^"']+)["']/)
35
- raise "No VERSION found in #{version_file}" unless version_match
36
-
37
- full_version = version_match[1]
23
+ # Derive full_version from the highest git tag, not version.rb.
24
+ # Patch releases live on release branches; trunk stays at the
25
+ # minor baseline (e.g. 1.4.0) until the next minor ships.
26
+ full_version = Dir.chdir(SOURCE_GEM_DIR) do
27
+ tags = `git tag`.split.grep(/^v\d/)
28
+ latest = tags.map { |t| Gem::Version.new(t.sub(/^v/, "")) }
29
+ .max
30
+ raise "No version tags found in #{SOURCE_GEM_DIR}" unless latest
31
+ latest.to_s
32
+ end
38
33
 
39
34
  # Get gem_name from gemspec for other metadata
40
35
  gemspec_files = Dir.glob(File.join(SOURCE_GEM_DIR, "*.gemspec"))
@@ -8,6 +8,6 @@
8
8
  module RatatuiRuby
9
9
  module Devtools
10
10
  # Current version of the ratatui_ruby-devtools gem.
11
- VERSION = "0.2.0"
11
+ VERSION = "0.2.1"
12
12
  end
13
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ratatui_ruby-devtools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kerrick Long