yap-rawline 0.1.0 → 0.1.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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rawline/line.rb +4 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 76acdc9b7eb8468db86e98f86c2eb40383b61497
4
- data.tar.gz: 54fe99a5a89a602cdcbe0ad54cbf139ff041423a
3
+ metadata.gz: 4658b19ad0748955062a2bb15a923376f463bb3b
4
+ data.tar.gz: 34445d368f9cd1ec0be6bd4214f89bab269ca174
5
5
  SHA512:
6
- metadata.gz: 6000eefda9f5121e4d2f697f09b9dcd95980b377b685192a23fe6e62934ff06224f6ed3874532974eae7d25dfb9093284c3fe3853ae8245307f2d3b547be26c0
7
- data.tar.gz: d982956b2abe6c8a0531060072117f15513809dc5ba1cbd6260236376f4a7753f0327da46a1046a96b539e308feb0dfffd34d98bf4b1ad62e97dfbaa458ca2ad
6
+ metadata.gz: 05ec5c1a59bd35812e6d61aa6866fb6da500ec730e50f7084d6da244572f0387dbb0a611d14411f9e6b8dedada4ea8418905f54489daa2c0417b48b3a618875c
7
+ data.tar.gz: 19305570b3e546dc452df02f1b6155c8a6d8716f2fdfa1d7900ee05d82523be003dfedd0b29676d8d97ab3dbecde8129341406e7d10dd48cc301f922c4277c45
data/lib/rawline/line.rb CHANGED
@@ -52,6 +52,10 @@ module RawLine
52
52
  terminal_size[0]-@offset
53
53
  end
54
54
 
55
+ def text=(val)
56
+ @text = ANSIString.new(val)
57
+ end
58
+
55
59
  #
56
60
  # Return information about the current word, as a Hash composed by the following
57
61
  # elements:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yap-rawline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabio Cevasco