t-rex 3.0.0 → 4.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/bin/t-rex +3 -1
  3. metadata +6 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bda263ef3b6b6b69f0272489a81fafc7623b2036a6b59227dd9eb853db87fd67
4
- data.tar.gz: c6799af1fa2a8948fc55ce5eda92527e5191b63e2d249e141e43d73186eb7156
3
+ metadata.gz: 11ce780f74a30148f7aa34d93bfea6a23b0e095672db7c4a0b6cd13671ae2571
4
+ data.tar.gz: 1698cfd7f1916d939903c02f725381ba7bacee9f5ef2f41f7c2ad51ed60f6e71
5
5
  SHA512:
6
- metadata.gz: 83161d11c2b81512b2107570354b1b90ba8c400737b9984c849cd5b8c8603a261ddf617e90d4bda5a64bfb2a0d5b8a4975b3d37835ba1ed7a23f734a71aa6693
7
- data.tar.gz: cfcfc97c5c5dcea7ecbc2b11ac836cbafc1d61f0474b6d8fc71bfedb7d17e6a8690cf478785f28c5f265ea2cb7ccbbe336bc487f9c59f7911b0a9150d76b848a
6
+ metadata.gz: 46571a5e15b3b5298c6f600e0c5be05e31c16b220e7fcc0317f7a472adb374c213d81a456f1d80e6a719ad04ff4bcc0a22ba489e247c20ed3dafce63c063c798
7
+ data.tar.gz: bf2b31f512ef80c35a385a1b77eac7ca5f7ef32c1d76fde5dc810a632cf92cbcd4213d698c63a175d17b1d4d22eb6b1d13c67e04237966c6e01a5c654fbbe9e2
data/bin/t-rex CHANGED
@@ -12,7 +12,7 @@
12
12
  # for any damages resulting from its use. Further, I am under no
13
13
  # obligation to maintain or extend this software. It is provided
14
14
  # on an 'as is' basis without any expressed or implied warranty.
15
- @version = "3.0.0" # Major XRPN integration: hybrid mode, enhanced functions, program execution, scrolling
15
+ @version = "4.0.0" # Breaking change - requires rcurses 6.0.0+ with explicit initialization for Ruby 3.4+ compatibility
16
16
 
17
17
  require 'rcurses'
18
18
  include Rcurses::Input
@@ -1413,6 +1413,8 @@ def conf_write # WRITE TO .t-rex.conf
1413
1413
  end
1414
1414
 
1415
1415
  # MAIN PROGRAM
1416
+ # Initialize rcurses (required for rcurses 6.0.0+)
1417
+ Rcurses.init!
1416
1418
  refresh
1417
1419
  Rcurses::Cursor.hide
1418
1420
  begin # Capture main loop
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: t-rex
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 4.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-07-05 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: rcurses
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.5'
19
+ version: '6.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: '3.5'
26
+ version: '6.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: xrpn
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -40,10 +40,8 @@ dependencies:
40
40
  version: '3.0'
41
41
  description: 'This is a terminal curses RPN calculator similar to the traditional
42
42
  calculators from Hewlett Packard. See https://www.hpmuseum.org/rpn.htm for info
43
- on RPN (Reverse Polish Notation). New in 3.0: Major XRPN integration with hybrid
44
- calculation modes, enhanced mathematical functions, program execution environment,
45
- program editor, base conversions, factorial safety, and comprehensive scrolling
46
- support.'
43
+ on RPN (Reverse Polish Notation). Version 4.0.0: Breaking change - requires rcurses
44
+ 6.0.0+ with explicit initialization for Ruby 3.4+ compatibility.'
47
45
  email: g@isene.com
48
46
  executables:
49
47
  - t-rex