tolq-parsers-csv 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 94ccec23f2b9ed6aca02230487b8f7066fb43412
4
- data.tar.gz: 4a26a86c228b7eba43c1c915b80c7142bb1d4103
3
+ metadata.gz: 7be72ed5bca2afea101a8730b76b7d343a8e72b9
4
+ data.tar.gz: eeec7078310453d3ce357768b6231e86545fa645
5
5
  SHA512:
6
- metadata.gz: 919650c2a4c132df4c99da194ff8414dd07587c8bb197eb9347be49588b2620937102c623cd702996250482c7186bcb5f8ee8f9d97204c5f5be3a18ca143582f
7
- data.tar.gz: 47e1cb3b4642cb89e82e8033088d7fd712299fe0a2cb161a87fa90b89d50257b4ece2c55850bb5a95a46049b83302df998b11b809d4e0297eb5791051c1a0908
6
+ metadata.gz: 76b8c166f3ccda4b9a43538ccb4a0602e997d1a4f896a08a5b7b58a5d489e3a213d536510a444d24e15ad3952ecce4e9e253b9aa1ff7be401e9a516605d27297
7
+ data.tar.gz: b74da6601b71c2816da38ab93286ad6cd01c7f9d0e68663d32b97be1e4ff7e1e40f00e3b67ebc49cda95330f1d8418258d118fc1ceae4d91325a536e215beadc
@@ -24,7 +24,7 @@ module Tolq::Parsers::CSV
24
24
  end
25
25
 
26
26
  def self.from_char_notation(key)
27
- char, row = key.scan(/(\w+)(\d+)/).first
27
+ char, row = key.scan(/([aA-zZ]+)(\d+)/).first
28
28
  return row.to_i - 1, ColumnHelper.char_to_column(char)
29
29
  end
30
30
  end
data/lib/csv/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Tolq
2
2
  module Parsers
3
3
  module CSV
4
- VERSION = "0.2.2"
4
+ VERSION = "0.2.3"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tolq-parsers-csv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timon Vonk