dynamic_curses_input 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: abd6d9170839e5a4e3c3612c28bdd38ed289a6bd608f05babd9b2c7aa64187be
4
- data.tar.gz: 7399a896660df0ffd778e420d465a5ef9b51e6086790a632e3627c4f68091744
3
+ metadata.gz: 304e49d29bb21a48c2bd170cf8d2fd946ec11c9ea029c1757e551c2da340707f
4
+ data.tar.gz: 87f16a5a4a040f32ec82789b217603d0edad41e58ce9229a320948994189ec2f
5
5
  SHA512:
6
- metadata.gz: e4b6155144005e614681ca2643ceb585a20f726530fd3df7f832aa743e904c9075a0187c600c0f23ccfb35daf80b887f49e39174a6ede1b2b72ed71dc047842e
7
- data.tar.gz: 5eb5070443e66adc6b431f0a31a703aadeecedfc264db73041ff0192c18914c39e923b917f16cf74133322a29e00233503d4201217a7e2ce90347e3ed41c9d0b
6
+ metadata.gz: 55398b16da9c9990b3b7b6948e43377dd28e654916f63e2bed7d8220306b6fc06b85f39ef26ffa27cddd9d7009dd5f09f0426673ebbfc2e5fc9d5a3672bc0f2b
7
+ data.tar.gz: 6668b04ac5098b3ce4d9d2a8b4dedf1505081cc448122aafc50b049a25fb3c4a5a17f95ab7144a2762e20bf148e514e6c647cb8e7ae0bd92a1f23d7461ab36c6
data/Gemfile CHANGED
@@ -5,10 +5,8 @@ source 'https://rubygems.org'
5
5
  # Specify your gem's dependencies in dynamic_curses_input.gemspec
6
6
  gemspec
7
7
 
8
- gem 'rake'
8
+ gem 'reline', '~> 0.3.8'
9
9
 
10
- gem 'rubocop'
10
+ gem 'curses', '~> 1.4'
11
11
 
12
- gem 'curses'
13
-
14
- gem 'reline'
12
+ gem 'rubocop', '~> 1.56'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dynamic_curses_input (1.1.0)
4
+ dynamic_curses_input (1.2.2)
5
5
  curses
6
6
  reline
7
7
 
@@ -9,6 +9,7 @@ GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
11
  ast (2.4.2)
12
+ base64 (0.1.1)
12
13
  curses (1.4.4)
13
14
  io-console (0.6.0)
14
15
  json (2.6.3)
@@ -19,12 +20,12 @@ GEM
19
20
  racc
20
21
  racc (1.7.1)
21
22
  rainbow (3.1.1)
22
- rake (13.0.6)
23
23
  regexp_parser (2.8.1)
24
- reline (0.3.7)
24
+ reline (0.3.8)
25
25
  io-console (~> 0.5)
26
26
  rexml (3.2.6)
27
- rubocop (1.55.0)
27
+ rubocop (1.56.3)
28
+ base64 (~> 0.1.1)
28
29
  json (~> 2.3)
29
30
  language_server-protocol (>= 3.17.0)
30
31
  parallel (~> 1.10)
@@ -44,11 +45,10 @@ PLATFORMS
44
45
  x86_64-linux
45
46
 
46
47
  DEPENDENCIES
47
- curses
48
+ curses (~> 1.4)
48
49
  dynamic_curses_input!
49
- rake
50
- reline
51
- rubocop
50
+ reline (~> 0.3.8)
51
+ rubocop (~> 1.56)
52
52
 
53
53
  BUNDLED WITH
54
- 2.4.16
54
+ 2.4.10
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  PixelRidge Business Exclusive General Public Use License for Software Executables (PixelRidge-BEGPULSE)
2
2
 
3
- ## Version 1.2
3
+ ## Version 1.3
4
4
 
5
5
  ### Preamble
6
6
 
@@ -20,7 +20,7 @@ Subject to the terms and conditions of this License, Licensor hereby grants you
20
20
 
21
21
  ### 3. Attribution
22
22
 
23
- You must provide proper attribution to the Licensor by including a plain-view backlink to the Licensor's website. This backlink must be easily visible to all users and not hidden under any circumstances.
23
+ You must provide attribution to the Licensor by including a plain-view URI (or link) to the Licensor's website. This link must be easily visible to all users and not hidden under any circumstances. It should be noted that this should only apply in the event that it can. In the event a public link is impossible due to the nature of the usage of the Software, it's expected that attribution be given in a way such that the attribution complies with the Open Source Initiative standards for Open Source Attribution.
24
24
 
25
25
  ### 4. Business Use
26
26
 
@@ -36,11 +36,11 @@ The Software is provided "AS-IS," without any warranty of any kind, either expre
36
36
 
37
37
  ### 7. Updates and Versioning
38
38
 
39
- PixelRidge Softworks may or may not provide updates to the Software in the future. There is no obligation to provide updates or support for the Software. The latest version of this License shall always be considered the governing terms. PixelRidge Softworks will provide reasonable notice in the event of a license change.
39
+ PixelRidge Softworks may or may not provide updates to the Software in the future. There is no obligation to provide updates or support for the Software. The latest version of this License shall always be considered the governing terms. PixelRidge Softworks will provide reasonable notice in the event of a license change. Notice shall be provided via email. Due to spam laws, we cannot just email you. You may opt into our specialized mailing list for licensing on our website.
40
40
 
41
41
  ### 8. Source Code Availability
42
42
 
43
- Any modifications to the Software must remain open-source and source-available in their entirety.
43
+ Any modifications to the Software must remain open-source and source-available in their entirety unless another agreement with the Licensor is formed.
44
44
 
45
45
  ### 9. Compliance Monitoring
46
46
 
@@ -68,4 +68,4 @@ This License shall be governed by the laws of Alberta, Canada.
68
68
 
69
69
  ### 15. Miscellaneous
70
70
 
71
- This License constitutes the entire agreement between you and PixelRidge Softworks concerning the Software. It may only be modified in writing, signed by both parties.
71
+ This License constitutes the entire agreement between you and PixelRidge Softworks concerning the Software.
@@ -5,23 +5,18 @@ require_relative 'lib/dynamic_curses_input/version'
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'dynamic_curses_input'
7
7
  spec.version = DynamicCursesInput::VERSION
8
- spec.authors = ['PixelRidge-Softworks']
9
- spec.email = ['connorc@pixelridgesoftworks.com']
8
+ spec.authors = ['PixelRidge Softworks']
9
+ spec.email = ['ceo@pixelridgesoftworks.com']
10
10
 
11
11
  spec.summary = 'A simple library for making Curses TUI input more dynamic and user-friendly'
12
12
  spec.description = "Dynamic Curses Input is a highly simple, yet powerful gem that allows simple implementation of
13
- dynamic typing in curses TUI menus built in Ruby. For example, one can't simply use their arrow
14
- keys to navigate and edit inputs in Curses TUI menus without adding a bunch of extra code to your
15
- project to handle it. A lot of which can be tricky to handle. This gem eliminates the need for
16
- that code, by providing simple to use methods that allow developers to capture user input, while
17
- allowing the special keys to work as the average user would expect.
18
- IE: When you press the left arrow key, the cursor moves to the left and allows you to delete a
19
- character you entered that isn't the last character you entered.
13
+ dynamic typing in curses TUI menus built in Ruby. It allows for the use of special keys inside
14
+ of Curses TUI menus without the need for a bunch of extra code.
20
15
 
21
16
  KNOWN BUG: X & Y coords for placing windows appear to be broken right now. Will fix with
22
- next update"
17
+ next real update, just use the preset window locations for now please!"
23
18
  spec.homepage = 'https://git.pixelridgesoftworks.com/PixelRidge-Softworks/dynamic_curses_input'
24
- spec.license = 'MIT'
19
+ spec.license = 'PixelRidge-BEGPULSE'
25
20
  spec.required_ruby_version = '3.2.2'
26
21
 
27
22
  spec.metadata['homepage_uri'] = spec.homepage
@@ -38,7 +33,8 @@ Gem::Specification.new do |spec|
38
33
 
39
34
  spec.require_paths = ['lib']
40
35
 
41
- spec.add_dependency 'curses'
42
- spec.add_dependency 'reline'
43
- spec.add_development_dependency 'rubocop'
36
+ spec.add_dependency 'curses', '~> 1.4'
37
+ spec.add_dependency 'reline', '~> 0.3.8'
38
+ spec.add_development_dependency 'rubocop', '~> 1.56'
39
+ spec.post_install_message = 'If you find this gem useful, consider supporting its development: https://www.paypal.com/donate/?hosted_button_id=YF5XS7ZXQ6F8A'
44
40
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DynamicCursesInput
4
- VERSION = '1.2.1'
4
+ VERSION = '1.2.2'
5
5
  end
@@ -11,6 +11,7 @@ require_relative 'dynamic_curses_input/color_window'
11
11
  module DynamicCursesInput
12
12
  class Error < StandardError; end
13
13
 
14
+ # Whether or not to output the user entered text to STDOUT
14
15
  def self.catch_input(echo)
15
16
  InputHandler.catch_input(echo)
16
17
  end
metadata CHANGED
@@ -1,71 +1,66 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynamic_curses_input
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
- - PixelRidge-Softworks
7
+ - PixelRidge Softworks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-07 00:00:00.000000000 Z
11
+ date: 2023-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: curses
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '1.4'
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: '0'
26
+ version: '1.4'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: reline
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: 0.3.8
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: 0.3.8
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '1.56'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '1.56'
55
55
  description: |-
56
56
  Dynamic Curses Input is a highly simple, yet powerful gem that allows simple implementation of
57
- dynamic typing in curses TUI menus built in Ruby. For example, one can't simply use their arrow
58
- keys to navigate and edit inputs in Curses TUI menus without adding a bunch of extra code to your
59
- project to handle it. A lot of which can be tricky to handle. This gem eliminates the need for
60
- that code, by providing simple to use methods that allow developers to capture user input, while
61
- allowing the special keys to work as the average user would expect.
62
- IE: When you press the left arrow key, the cursor moves to the left and allows you to delete a
63
- character you entered that isn't the last character you entered.
57
+ dynamic typing in curses TUI menus built in Ruby. It allows for the use of special keys inside
58
+ of Curses TUI menus without the need for a bunch of extra code.
64
59
 
65
60
  KNOWN BUG: X & Y coords for placing windows appear to be broken right now. Will fix with
66
- next update
61
+ next real update, just use the preset window locations for now please!
67
62
  email:
68
- - connorc@pixelridgesoftworks.com
63
+ - ceo@pixelridgesoftworks.com
69
64
  executables: []
70
65
  extensions: []
71
66
  extra_rdoc_files: []
@@ -87,12 +82,13 @@ files:
87
82
  - sig/dynamic_curses_input.rbs
88
83
  homepage: https://git.pixelridgesoftworks.com/PixelRidge-Softworks/dynamic_curses_input
89
84
  licenses:
90
- - MIT
85
+ - PixelRidge-BEGPULSE
91
86
  metadata:
92
87
  homepage_uri: https://git.pixelridgesoftworks.com/PixelRidge-Softworks/dynamic_curses_input
93
88
  source_code_uri: https://git.pixelridgesoftworks.com/PixelRidge-Softworks/dynamic_curses_input
94
89
  changelog_uri: https://git.pixelridgesoftworks.com/PixelRidge-Softworks/dynamic_curses_input/src/branch/main/CHANGELOG.md
95
- post_install_message:
90
+ post_install_message: 'If you find this gem useful, consider supporting its development:
91
+ https://www.paypal.com/donate/?hosted_button_id=YF5XS7ZXQ6F8A'
96
92
  rdoc_options: []
97
93
  require_paths:
98
94
  - lib
@@ -107,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
103
  - !ruby/object:Gem::Version
108
104
  version: '0'
109
105
  requirements: []
110
- rubygems_version: 3.5.0.dev
106
+ rubygems_version: 3.4.10
111
107
  signing_key:
112
108
  specification_version: 4
113
109
  summary: A simple library for making Curses TUI input more dynamic and user-friendly