rcurses 5.1.6 → 6.0.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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rcurses.rb +4 -3
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd5e0ec070d80452ce6733eed313a97b78b33db8ec992f329d2153ae3fcb6901
4
- data.tar.gz: b9b7a0c97d31385dc2698e18b2e29baa0c95c9d584eaf7b7f0acde11b1c8910b
3
+ metadata.gz: a5b3327d242e4e2b4644033802a3acf428683be84817eeaadb6660e81c8ecbc6
4
+ data.tar.gz: b0b8a0b6c96d949bb82c61db5a328294c85b58d16f40039161cdb9c313edc54b
5
5
  SHA512:
6
- metadata.gz: a0e343b3cad38bd4f96b1ba47ca414ba84456c836a9fb1c64c624665101d7e0c214895a34ecaae8dfb87fc3de14c0e2dceb44db36f0c86e72303cb82a20b182f
7
- data.tar.gz: 226e33514574213c955582af9eddbe3d45d18c5ecc3b84fd4f78250e2d2fb376261ea28120f4944fbe2c166edd3597006a0f5b13a752767cc93e9a761ce5010a
6
+ metadata.gz: 75ada84fd5db957fb04f494ebc2d9db4ae0bbf3930d70a47edbf8330102e10c45b116d8dc2255908babb8eb0ce5c362801eaff294054c66fb397dd31fbcb34cf
7
+ data.tar.gz: 264a82852322b446424bf9572ba992afe1981bd036b5a80c9341e10efcfd810badbcede9c4703403b6d931c589b507d5df898f2fcf41f6edf6533d550a16c608
data/lib/rcurses.rb CHANGED
@@ -5,7 +5,7 @@
5
5
  # Web_site: http://isene.com/
6
6
  # Github: https://github.com/isene/rcurses
7
7
  # License: Public domain
8
- # Version: 5.1.6: Ruby 3.4+ compatibility - handle potential raw!/cooked! blocking
8
+ # Version: 6.0.0: Breaking change - no auto-init, apps must call Rcurses.init!
9
9
 
10
10
  require 'io/console' # Basic gem for rcurses
11
11
  require 'io/wait' # stdin handling
@@ -163,8 +163,9 @@ module Rcurses
163
163
  end
164
164
  end
165
165
 
166
- # Kick off initialization as soon as the library is required.
167
- init!
166
+ # BREAKING CHANGE in 6.0.0: No more auto-initialization
167
+ # All apps must now explicitly call Rcurses.init! when ready to use rcurses
168
+ # This ensures compatibility with Ruby 3.4+ and gives apps better control
168
169
  end
169
170
 
170
171
  # vim: set sw=2 sts=2 et filetype=ruby fdn=2 fcs=fold\:\ :
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rcurses
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.6
4
+ version: 6.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geir Isene
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-08-14 00:00:00.000000000 Z
11
+ date: 2025-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clipboard
@@ -29,9 +29,9 @@ description: 'Create curses applications for the terminal easier than ever. Crea
29
29
  up text (in panes or anywhere in the terminal) in bold, italic, underline, reverse
30
30
  color, blink and in any 256 terminal colors for foreground and background. Use a
31
31
  simple editor to let users edit text in panes. Left, right or center align text
32
- in panes. Cursor movement around the terminal. 5.0.0: Major improvements - memory
33
- leak fixes, terminal state protection, Unicode support, and enhanced error handling
34
- while maintaining full backward compatibility and 4.8.3 performance.'
32
+ in panes. Cursor movement around the terminal. VERSION 6.0.0 BREAKING CHANGE: Apps
33
+ must now explicitly call Rcurses.init! - auto-initialization has been removed for
34
+ Ruby 3.4+ compatibility.'
35
35
  email: g@isene.com
36
36
  executables: []
37
37
  extensions: []