dispel 0.0.2 → 0.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
  SHA1:
3
- metadata.gz: 79c60ba642498ac215494cfbee428f1630889047
4
- data.tar.gz: 16118c62b8d5a73823ceb455a6ab06caecef8c60
3
+ metadata.gz: 9ad721bc1aaf49b4fe3f4ac6bc910385631b679d
4
+ data.tar.gz: a5ded2dca56707bddafe54d81b46cbffa48a0e1b
5
5
  SHA512:
6
- metadata.gz: 3edd4d1fa6ea46eca07fc549b2a4d8eef6cf672d115599bf33279ea70c4fab77f37dd16961e09197ce5aaf06efb984c707e7f48d2d6e7b5d58cbea4ec6ae6a31
7
- data.tar.gz: 83fea979ec2dd1ff2ef9191466bad84d680cd76ffcbaa699f55172f672aaa7166159d8a1a53d71e2c6119ddf24e5af5dc86277b7e23e3507dfabde1a39385b73
6
+ metadata.gz: 8a926d25d2df33f9c4ba5de3a294e0610e1155004dce18ce5885342aebad406bec182a93c138771f3e3529bbe7dec4757a3d9f583feb84f3ccc0f40a0f5185b1
7
+ data.tar.gz: 0f952af0f1cace8c5da985618bcc2f725246204dadffac5178ba1d5be0163d6c8d030e36e78e9fa633d11463d3b410aac1a4db3041eb7200eac25e631f5ecd84
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -66,9 +66,8 @@ module Dispel
66
66
  styles = style_map[line_number]
67
67
 
68
68
  # expand line with whitespace to overwrite previous content
69
- missing = columns - line.size
70
- raise line if missing < 0
71
- line += " " * missing
69
+ # and remove overflow to avoid display errors
70
+ line = line.ljust(columns, " ").slice!(0, columns)
72
71
 
73
72
  # display tabs as single-space -> nothing breaks
74
73
  line.gsub!("\t",' ')
@@ -1,3 +1,3 @@
1
1
  module Dispel
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dispel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
@@ -29,7 +29,7 @@ cert_chain:
29
29
  y0kCSWmK6D+x/SbfS6r7Ke07MRqziJdB9GuE1+0cIRuFh8EQ+LN6HXCKM5pon/GU
30
30
  ycwMXfl0
31
31
  -----END CERTIFICATE-----
32
- date: 2013-12-14 00:00:00.000000000 Z
32
+ date: 2013-12-15 00:00:00.000000000 Z
33
33
  dependencies: []
34
34
  description:
35
35
  email: michael@grosser.it
metadata.gz.sig CHANGED
Binary file