ratatui_ruby-devtools 0.1.1 → 0.1.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 +4 -4
- data/CHANGELOG.md +11 -0
- data/lib/ratatui_ruby/devtools/site_tasks/build.rake +12 -11
- data/lib/ratatui_ruby/devtools/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c8c5679ebecec0f0509dff4a4cb133da9ea13ae6e94a220d0c46f6a446b5b19a
|
|
4
|
+
data.tar.gz: a8ba4986a2589d593c9c33615a00eefa2bbdfa86dc9a866bad25e272a3b84db3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 117ec1293081d02740032dc8e438259b54828e4f651e25b955c718ec80a22420dd4b8e997d5a246a8571caa2acb189e61b37d6057193dc9a4cba56c79a7d1e5b
|
|
7
|
+
data.tar.gz: e6d26fc2f63555e73012a7d3b98b6d0f642207709d9979aea7ab61c2672c60ea54c4edc14c6d841d7e5625991eed63adfe1873f8cd4c065b7382e8fd6a84ddfe
|
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.1.2] - 2026-02-02
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
### Changed
|
|
29
|
+
|
|
30
|
+
### Fixed
|
|
31
|
+
|
|
32
|
+
### Removed
|
|
33
|
+
|
|
24
34
|
## [0.1.1] - 2026-01-26
|
|
25
35
|
|
|
26
36
|
### Added
|
|
@@ -56,5 +66,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
56
66
|
### Removed
|
|
57
67
|
|
|
58
68
|
[Unreleased]: https://git.sr.ht/~kerrick/ratatui_ruby-devtools/refs/HEAD
|
|
69
|
+
[0.1.2]: https://git.sr.ht/~kerrick/ratatui_ruby-devtools/refs/v0.1.2
|
|
59
70
|
[0.1.1]: https://git.sr.ht/~kerrick/ratatui_ruby-devtools/refs/v0.1.1
|
|
60
71
|
[0.1.0]: https://git.sr.ht/~kerrick/ratatui_ruby-devtools/refs/v0.1.0
|
|
@@ -25,22 +25,23 @@ def load_source_gem_metadata
|
|
|
25
25
|
raise "No version.rb found in #{SOURCE_GEM_DIR}" if version_files.empty?
|
|
26
26
|
|
|
27
27
|
version_file = version_files.first
|
|
28
|
-
|
|
28
|
+
version_content = File.read(version_file)
|
|
29
29
|
|
|
30
|
-
#
|
|
31
|
-
|
|
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]
|
|
38
|
+
|
|
39
|
+
# Get gem_name from gemspec for other metadata
|
|
32
40
|
gemspec_files = Dir.glob(File.join(SOURCE_GEM_DIR, "*.gemspec"))
|
|
33
41
|
raise "No gemspec found in #{SOURCE_GEM_DIR}" if gemspec_files.empty?
|
|
34
42
|
|
|
35
43
|
gem_name = File.basename(gemspec_files.first, ".gemspec")
|
|
36
44
|
|
|
37
|
-
# Convert gem_name to module name (e.g., ratatui_ruby -> RatatuiRuby)
|
|
38
|
-
module_name = gem_name.split("_").map(&:capitalize).join
|
|
39
|
-
.split("-").map(&:capitalize).join("::")
|
|
40
|
-
|
|
41
|
-
full_version = Object.const_get(module_name)::VERSION
|
|
42
|
-
raise "Could not load VERSION from #{version_file}" unless full_version
|
|
43
|
-
|
|
44
45
|
# Compute docs version (major.minor only) using Gem::Version
|
|
45
46
|
segments = Gem::Version.new(full_version).segments
|
|
46
47
|
docs_version = segments.first(2).join(".")
|
|
@@ -64,7 +65,7 @@ def load_source_gem_metadata
|
|
|
64
65
|
end
|
|
65
66
|
|
|
66
67
|
def current_source_sha
|
|
67
|
-
Dir.chdir(SOURCE_GEM_DIR) { `git rev-parse trunk`.strip }
|
|
68
|
+
Dir.chdir(SOURCE_GEM_DIR) { `git rev-parse origin/trunk`.strip }
|
|
68
69
|
end
|
|
69
70
|
|
|
70
71
|
def docs_content_hash
|