natty-ui 0.11.0 → 0.11.1

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: bbaeb874eda95058545f313e3b0c2ea93235681c917b35419d3d6c1d00da96b0
4
- data.tar.gz: 8af26d5eddcfd85a61053ccde48eef9c8fd5a12a67ebd22d2a904adba29deba1
3
+ metadata.gz: 4c2fdc1d9e9799f56f2781822273de9239840e94ceadac332710fe70fc1082bd
4
+ data.tar.gz: e33e6c658e86259f364f320f1e060d7d2f8a7444e07119d125cd0a335cb23313
5
5
  SHA512:
6
- metadata.gz: 3203253d6b8142f3b4bc31e4c2f3c065313bc41b3629d426d0b51bf2c1c0ca26cdb12c91c08c014b261180836cda36534cec0d43a96bf681beeac183ed010cf5
7
- data.tar.gz: b3e2b15c64aca2aa9b7e955414e902ea103a04427487a06f64c24bd6c6173c230122fa7e65df5cf82cbf45fe1783374fa87704da17a976e3bb5bc56bf52ab254
6
+ metadata.gz: b8fc4cfe81f56efafb0b605d9694e7b592bbd4daa4edab2b6b0d1e7a81ba87704f4fb4d0f8acc9572907cd4f3d815762d41002b64082bb04c9a085f5709e4be5
7
+ data.tar.gz: 4cab9391a300aaf0c7f74f6861c7805f008df6c824de3813eeaaebda0cbc42ff661b14da4a71e2c0860687e971dd98f680d33573fdb9da8f4b38bf4d2ef21bf2
data/examples/read_key.rb CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  require_relative '../lib/natty-ui'
4
4
 
5
- ui.puts '⌨️ Display Keyboard Input [[bright_black]](Exit with Ctrl+C)'
5
+ ui.puts '⌨️ Display Keyboard Input [bright_black](Exit with Ctrl+C)'
6
6
 
7
- ui.section prefix: '[[blue]]:[[/]] ' do
7
+ ui.section prefix: '[blue]:[/] ' do
8
8
  while true
9
9
  raw, name = NattyUI.read_key(mode: :both)
10
- ui.puts "[[yellow]]#{raw.inspect}[[/]] [[bold bright_green]]#{name}[[/]]"
10
+ ui.puts "[yellow]#{raw.inspect}[/] [bold bright_green]#{name}[/]"
11
11
  break if name == 'Ctrl+C'
12
12
  end
13
13
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module NattyUI
4
4
  # The version number of the gem.
5
- VERSION = '0.11.0'
5
+ VERSION = '0.11.1'
6
6
  end
@@ -16,7 +16,7 @@ module NattyUI
16
16
  # # => apple banana blueberry pineapple strawberry
17
17
  #
18
18
  # @example (unordered) list with red dot
19
- # ui.ls('apple', 'banana', 'blueberry', 'pineapple', 'strawberry', glyph: '[[red]]•[[/]]')
19
+ # ui.ls('apple', 'banana', 'blueberry', 'pineapple', 'strawberry', glyph: '[red]•[/]')
20
20
  # # => • apple • banana • blueberry • pineapple • strawberry
21
21
  #
22
22
  # @example ordered list
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: natty-ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Blumtritt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-31 00:00:00.000000000 Z
11
+ date: 2024-08-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
14
  This is the beautiful, nice, nifty, fancy, neat, pretty, cool, lovely,