giterm 2.0.4 → 2.0.5

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/giterm +14 -14
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a01a43a0c33b199d4c4295839aeaa21accde4c8e9dee216c635ecc7835176e53
4
- data.tar.gz: 1f0ac3d3d407e7e25e1e13513b67fff172b84d82d3ca15a70067941c4b685128
3
+ metadata.gz: 53b5e1ec2107115bc1d1b4ab6f65a466b65aa5a5702855d96439c16e14428fd0
4
+ data.tar.gz: a3fdd847c3d070482cf3454223c48db5106d7ea06e26e5cbe0b36b5dec2953d7
5
5
  SHA512:
6
- metadata.gz: 5c421275ade0738dbe055be7e0b2581471610111d125dfee77e99fb8a6a711e8416f5cf2d225a7fda1b745ebf2c41dc0c23159d37f861d2fcd09f29f20e0f1da
7
- data.tar.gz: 003f4737089d19deecbac244b25201ca5fcacb97642c64abdb0f100c9b97c3abbe6519dd201f4e15e9940e0448d02f075419085f6499a1d81661ed2054c1b128
6
+ metadata.gz: da1850c2c21cc3665464754db30ff51f7ea23f50578ba405425cab78ed4c03e5ccc246325d3a51b69a5474dc7ae5b45ba056efa2e8ceb53eb03bd4a009806978
7
+ data.tar.gz: 9d765a7501cb42d820a85dfb45a14e1c1f320f47ce36bb349f5a2b2a7803c4a8ced05da83c82649625110833e83bf8773a93802f5100ea9fbf778b45b30d3bd4
data/giterm CHANGED
@@ -555,7 +555,7 @@ def show_repo_overview
555
555
  return
556
556
  end
557
557
 
558
- content = "Repository Overview\n".b.fg(156)
558
+ content = "Repository Overview\n".bd.fg(156)
559
559
  content += ('=' * 30) + "\n\n"
560
560
 
561
561
  # Get repository information
@@ -1018,7 +1018,7 @@ def show_github_setup_in_nongit
1018
1018
  @mode = :status # Use status mode but show special message
1019
1019
  @status_items = [] # Empty items list
1020
1020
 
1021
- content = "GiTerm - GitHub Terminal UI\n".b.fg(156)
1021
+ content = "GiTerm - GitHub Terminal UI\n".bd.fg(156)
1022
1022
  content += ('=' * 35) + "\n\n"
1023
1023
 
1024
1024
  content += "Not in a Git repository\n".fg(196)
@@ -1045,7 +1045,7 @@ def show_github_setup_in_nongit
1045
1045
 
1046
1046
  @p_right.clear
1047
1047
  if @github_token.empty?
1048
- help_text = "GitHub Setup Guide\n".b.fg(156)
1048
+ help_text = "GitHub Setup Guide\n".bd.fg(156)
1049
1049
  help_text += ('=' * 25) + "\n\n"
1050
1050
  help_text += "1. Press 'T' to start token setup\n".fg(249)
1051
1051
  help_text += "2. Follow the instructions\n".fg(249)
@@ -1085,7 +1085,7 @@ def github_repos
1085
1085
  @p_bottom.say('Loading GitHub repositories...')
1086
1086
 
1087
1087
  if @github_token.empty?
1088
- content = "GitHub Integration Setup\n".b.fg(156)
1088
+ content = "GitHub Integration Setup\n".bd.fg(156)
1089
1089
  content += ('=' * 35) + "\n\n"
1090
1090
  content += "[!] No GitHub token found\n\n".fg(196)
1091
1091
 
@@ -1208,9 +1208,9 @@ def show_repo_details(repo, immediate_extended_fetch = false)
1208
1208
  end
1209
1209
 
1210
1210
  def display_basic_repo_info(repo)
1211
- content = (repo[:full_name] || 'Unknown repository').b.fg(156) + "\n"
1211
+ content = (repo[:full_name] || 'Unknown repository').bd.fg(156) + "\n"
1212
1212
  content += ('=' * 60) + "\n\n"
1213
-
1213
+
1214
1214
  # Basic repo info with nil protection (always shown immediately)
1215
1215
  content += 'Description: '.fg(249) + (repo[:description] || 'No description') + "\n"
1216
1216
  content += 'Private: '.fg(249) + (repo[:private] ? 'Yes' : 'No') + "\n"
@@ -1238,9 +1238,9 @@ def fetch_and_display_extended_content(repo)
1238
1238
  log_debug("EXECUTING fetch_and_display_extended_content for: #{repo[:full_name]}")
1239
1239
 
1240
1240
  # Build the basic content again
1241
- content = (repo[:full_name] || 'Unknown repository').b.fg(156) + "\n"
1241
+ content = (repo[:full_name] || 'Unknown repository').bd.fg(156) + "\n"
1242
1242
  content += ('=' * 60) + "\n\n"
1243
-
1243
+
1244
1244
  content += 'Description: '.fg(249) + (repo[:description] || 'No description') + "\n"
1245
1245
  content += 'Private: '.fg(249) + (repo[:private] ? 'Yes' : 'No') + "\n"
1246
1246
  content += 'Language: '.fg(249) + (repo[:language] || 'Not specified') + "\n"
@@ -1253,7 +1253,7 @@ def fetch_and_display_extended_content(repo)
1253
1253
  # Fetch README
1254
1254
  readme_content = fetch_readme(repo[:full_name])
1255
1255
  if readme_content
1256
- content += "README.md".b.fg(154) + "\n"
1256
+ content += "README.md".bd.fg(154) + "\n"
1257
1257
  content += ('-' * 20) + "\n"
1258
1258
  content += readme_content + "\n\n"
1259
1259
  end
@@ -1261,7 +1261,7 @@ def fetch_and_display_extended_content(repo)
1261
1261
  # Fetch directory structure
1262
1262
  files_content = fetch_repo_files(repo[:full_name])
1263
1263
  if files_content
1264
- content += "Repository Files".b.fg(154) + "\n"
1264
+ content += "Repository Files".bd.fg(154) + "\n"
1265
1265
  content += ('-' * 20) + "\n"
1266
1266
  content += files_content
1267
1267
  end
@@ -1459,7 +1459,7 @@ def display_github_issues
1459
1459
  end
1460
1460
 
1461
1461
  def show_issue_details(issue)
1462
- content = "##{issue[:number]} #{issue[:title]}".b.fg(156) + "\n"
1462
+ content = "##{issue[:number]} #{issue[:title]}".bd.fg(156) + "\n"
1463
1463
  content += ('=' * 60) + "\n\n"
1464
1464
  content += 'Author: '.fg(249) + issue[:user] + "\n"
1465
1465
  content += 'Created: '.fg(249) + issue[:created_at] + "\n"
@@ -1551,7 +1551,7 @@ def display_github_prs
1551
1551
  end
1552
1552
 
1553
1553
  def show_pr_details(pull_request)
1554
- content = "##{pull_request[:number]} #{pull_request[:title]}".b.fg(156) + "\n"
1554
+ content = "##{pull_request[:number]} #{pull_request[:title]}".bd.fg(156) + "\n"
1555
1555
  content += ('=' * 60) + "\n\n"
1556
1556
  content += 'Author: '.fg(249) + pull_request[:user] + "\n"
1557
1557
  content += 'Created: '.fg(249) + pull_request[:created_at] + "\n"
@@ -1693,9 +1693,9 @@ def show_search_repo_details(repo, immediate_extended_fetch = false)
1693
1693
  end
1694
1694
 
1695
1695
  def display_basic_search_repo_info(repo)
1696
- content = (repo[:full_name] || 'Unknown repository').b.fg(156) + "\n"
1696
+ content = (repo[:full_name] || 'Unknown repository').bd.fg(156) + "\n"
1697
1697
  content += ('=' * 60) + "\n\n"
1698
-
1698
+
1699
1699
  # Basic repo info with more details for search results (always shown immediately)
1700
1700
  content += 'Owner: '.fg(249) + (repo[:owner] || 'Unknown') + "\n"
1701
1701
  content += 'Description: '.fg(249) + (repo[:description] || 'No description') + "\n"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: giterm
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geir Isene
8
8
  autorequire:
9
9
  bindir: "."
10
10
  cert_chain: []
11
- date: 2026-03-21 00:00:00.000000000 Z
11
+ date: 2026-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rcurses
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '6.0'
19
+ version: '7.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '6.0'
26
+ version: '7.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop
29
29
  requirement: !ruby/object:Gem::Requirement