tty_string 2.0.2 → 2.0.3

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: fed365cd62d837aec3621a4c1a1f9055871aaf7050d4c136206ca1b6ef6e6a5b
4
- data.tar.gz: adfbc75cc2f3ec31be690d30a26848ba9ca6b43f83612f8a9ccf698bfc8a7d1e
3
+ metadata.gz: '0871e6dfccd838c2ffdb0344372676f8ff8ddc3f47b80779e5004d039f633c73'
4
+ data.tar.gz: b11e7a5191970b01936738d9170fa43ebbd2e140356aaf084a66dc7cbc270868
5
5
  SHA512:
6
- metadata.gz: edf12a947a46e36cdb82ec8f2b8ba26c111b189a78d1f35e7136771499605d4bfba8c96b251595555c5b83bfaa0f3059aec868958590d3ae5d012c37772a3145
7
- data.tar.gz: 3a4487855eecdb533dd8f3382752c3f7b35bcd119a2516c7a02dba077580dff64837f1374a86bb4aa88628dc93eb51a1b9296873df53c19022a8ab75ba8505f7
6
+ metadata.gz: 1bb8c9fa2fd94705ea65618f320d6bad5f3f9c72781317dda4ded795517d486ca973d5a098054999439b4d1832f85d6ac0d28f40c8612d865922416bd01d527a
7
+ data.tar.gz: 35f5c6f2bcf0adf045816ba45db968ef387e9148b952bc86635216452a79aaf8d92f6d037416933c9b4b1d435c68adff90c3a3249576da2d1be357c026dacc05
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # v2.0.3
2
+ - Improve whitespace handling more
3
+
1
4
  # v2.0.2
2
5
  - Improve whitespace handling
3
6
 
@@ -12,7 +12,7 @@ module TTYString
12
12
 
13
13
  def initialize(initial_style:)
14
14
  @cursor = Cursor.new
15
- @screen = []
15
+ @screen = [Row.new(newline_style: initial_style)]
16
16
  @current_style = @initial_style = initial_style
17
17
  end
18
18
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TTYString
4
- VERSION = '2.0.2'
4
+ VERSION = '2.0.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tty_string
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dana Sherson