ratatui_ruby-devtools 0.1.1 → 0.1.3

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: 13d0c21c772a1be88c23b0345200140bc7d8befcbaf1c20d25a88230847188be
4
- data.tar.gz: 54de2f06a6849dbe99f182967834c5f3ca6a24963fc98ee929cd5fc59529fbb2
3
+ metadata.gz: 178d6ede6d1e403e0bfe2cf20840e22bbfbd572d656fd99bb0dd4993c37f2c28
4
+ data.tar.gz: b5503f3d81a218ca9eca8f1216287ee73cdb3296afcd4c0fc7ab69708baae11b
5
5
  SHA512:
6
- metadata.gz: 28ce8dacd601f0fc068c34665d5e455523ff78fb5d43db7601341304d35c825d21fdb528ff1af09db13e35137894a3d9c0742f45b728672dce44e6da084f359f
7
- data.tar.gz: 8dbf94f55d3259e14735e7b55bb57d3d4ad57d7d0423699a012b73ce820393622220a15f9fab02eb0fea47fb1db2d3a290ceda2a51cce5a696aab6bd5e7ca9b5
6
+ metadata.gz: 9512eab47f5280108963e898bb4c7e903a834782ade183ef130e19bffd7156ce98362c1faa2e1496b9675fef047fbf72c63c542b63979b545f9b09c63942b121
7
+ data.tar.gz: 230dcc59e440c07f5b5fae2bbb60decd19f0ec2b2a512b6c2eb024127f518b3838ff903ab17e14c11d04b7594fe650c6ee23499fc43b6f28efdc72a9d0c73fa9
data/CHANGELOG.md CHANGED
@@ -21,6 +21,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
21
21
 
22
22
  ### Removed
23
23
 
24
+ ## [0.1.3] - 2026-02-02
25
+
26
+ ### Added
27
+
28
+ ### Changed
29
+
30
+ ### Fixed
31
+
32
+ ### Removed
33
+
34
+ ## [0.1.2] - 2026-02-02
35
+
36
+ ### Added
37
+
38
+ ### Changed
39
+
40
+ ### Fixed
41
+
42
+ ### Removed
43
+
24
44
  ## [0.1.1] - 2026-01-26
25
45
 
26
46
  ### Added
@@ -56,5 +76,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
56
76
  ### Removed
57
77
 
58
78
  [Unreleased]: https://git.sr.ht/~kerrick/ratatui_ruby-devtools/refs/HEAD
79
+ [0.1.3]: https://git.sr.ht/~kerrick/ratatui_ruby-devtools/refs/v0.1.3
80
+ [0.1.2]: https://git.sr.ht/~kerrick/ratatui_ruby-devtools/refs/v0.1.2
59
81
  [0.1.1]: https://git.sr.ht/~kerrick/ratatui_ruby-devtools/refs/v0.1.1
60
82
  [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
- load version_file
28
+ version_content = File.read(version_file)
29
29
 
30
- # Find the module that defines VERSION
31
- # Convention: the namespace matches the gem name
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
@@ -112,7 +112,7 @@ class Edge < Version
112
112
 
113
113
  # Git branch name for archive extraction.
114
114
  def ref
115
- "trunk"
115
+ "origin/trunk"
116
116
  end
117
117
 
118
118
  # Identifies this as unreleased for "(dev)" labels in menus.
@@ -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.1.1"
11
+ VERSION = "0.1.3"
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.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kerrick Long