konbikol 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/konbikol/ticket.rb +1 -1
- data/lib/konbikol/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: 6716fa0d342aecd16b4d6d9fcb21c29588e022c315236f7e19ab4d0592b1ab82
|
4
|
+
data.tar.gz: c8c28fe2eeaee2b9449b64d5bbef0cc2585a97e6045c96475b75409b45179c3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2dd655e812f2883802d9cfabafc92edea9ab4e1e4f69e939991c46b51ac80c57108b2b38c9bcb8deccdeffde75c49af79d18ecd63c1f42781ff42dbd51ccaad
|
7
|
+
data.tar.gz: 737d18d23341d4b7e1bd6a90261050c51c876bafba1994e75ef9f08ee4264e6f3b9c5254f3ac2b584be7486b092fd74fd54c528f48ebfcad9f432773f015c638
|
data/Gemfile.lock
CHANGED
data/lib/konbikol/ticket.rb
CHANGED
@@ -170,7 +170,7 @@ module Konbikol
|
|
170
170
|
return @departure_line_index if @departure_line_index
|
171
171
|
|
172
172
|
lines_with_index = ticket_text.lines.each_with_index
|
173
|
-
header_line_index = lines_with_index.find { |line, _| line =~ /Stacja\s+Data
|
173
|
+
header_line_index = lines_with_index.find { |line, _| line =~ /Stacja\s+Data\s+Godzina/ }.last
|
174
174
|
|
175
175
|
# Find the next line after the header line that's not empty.
|
176
176
|
@departure_line_index = lines_with_index.to_a
|
data/lib/konbikol/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: konbikol
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rafał Cieślak
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|