pangrid 0.4.0 → 0.4.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 +4 -4
- data/lib/pangrid/plugins/exolve.rb +1 -1
- data/lib/pangrid/plugins/reddit.rb +1 -0
- data/lib/pangrid/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b922856376c54ffb6833389f2ac8d853931bfbd9201426f1349cac4c2c967a89
|
4
|
+
data.tar.gz: 0a003d8ba96839df14cf901d12f5ccbae16b298534358aafc094b8f9cc4c5271
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad9155c77fe8ef2d3b7cc75873fc606a92af5f4783f3f2a96ce402e5d52a634c6c0b3cf8e2228b2d2f2bacab5ac91948ce1755a3b0eee53b2b8825ecc64778ff
|
7
|
+
data.tar.gz: 4e09a65ed0ead53dac843bf6fa570bc319369c44cd22280199e2c018f7ca663bb3e386bc40faff0bd8ad77237729b09805d0033da13a7a2306e8454a4aa2449b
|
@@ -92,6 +92,7 @@ class RedditBlank < Plugin
|
|
92
92
|
#
|
93
93
|
# we have to be careful about leading/trailing |s
|
94
94
|
ix = lines.find_index {|row| row =~ /^[|\s-]+$/}
|
95
|
+
check("Could not find grid") { not ix.nil? }
|
95
96
|
width = lines[ix].gsub(/\s/, '').split('|').reject(&:empty?).length
|
96
97
|
lines = [lines[(ix - 1)]] + lines[(ix + 1) .. -1]
|
97
98
|
grid = lines.take_while {|i| is_grid_row(i)}
|
data/lib/pangrid/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pangrid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin DeMello
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: martindemello@gmail.com
|