fatty 0.99.8.1 → 0.99.8.2
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7587a39968cfcfad6e8f4d1c0cd61be2a471c5a0946830108315f5b6eeec9cba
|
|
4
|
+
data.tar.gz: a5c84ea5819e495d554ffc5cfcd1570a0547795c7cd09967f7768a552e6b6379
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b3e988c6ca1404032644fb8de4c606b072ffe59aa1324ebae3fb58212fab46272e3d52a51bfd660a8f0a7e45606a3c4362ffecde98cad375a06c1786cc2c2a89
|
|
7
|
+
data.tar.gz: 607be99da8e0fd128ceebb55b666e7f17c0d6c33318b4ce2d339439cef1155cb0c887c2f1896e0fc5cb6156720f92f0d5e489ba9a09ef2814e2d8b468350b3a1
|
|
@@ -254,9 +254,9 @@ module Fatty
|
|
|
254
254
|
def visible_lines
|
|
255
255
|
@visible_lines ||=
|
|
256
256
|
if narrowed?
|
|
257
|
-
terms = narrow_query.split
|
|
257
|
+
terms = narrow_query.downcase.split
|
|
258
258
|
output.lines.each_with_index.filter_map do |text, index|
|
|
259
|
-
visible_text = visible_output_text(text)
|
|
259
|
+
visible_text = visible_output_text(text).downcase
|
|
260
260
|
next unless terms.all? { |term| visible_text.include?(term) }
|
|
261
261
|
|
|
262
262
|
VisibleLine.new(
|
data/lib/fatty/version.rb
CHANGED