tableware 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 69b5d44552a008ef030ca6682fc02c3a3bf8126f
4
- data.tar.gz: ced78747447507d98da78f2a4cadf886da00a827
3
+ metadata.gz: f277a6e8ac29aa0ba9072515a2dc07c54b5bb320
4
+ data.tar.gz: f0981e473a524701ab700f22d98a4df99d7528ff
5
5
  SHA512:
6
- metadata.gz: 6ceda8c05cc8d41bc89621943925503129b311a051731b1555e115090e383bf0868bbfaaa18b7846dab48d807ec2ce685ff29da56fc15222cca21dc2fd03f151
7
- data.tar.gz: 9ac79a39186fec5718341e09a440ab4bb642c9771228ca1162c7dabaf1e64154d3654f764e42fc553614a5328de7150180b9205cf330bbe0b36a6c319d4c4dd4
6
+ metadata.gz: ee68863b22ae9a7d91146fdc99d9c429b1119b4352117399e936403f6a099aa2a1d9dc6863e2cf9276c113c1020d8583df8619a2772ef27b9ded040864d351c1
7
+ data.tar.gz: a79187d9baac74596286f2652227bb3dceeba2b6761fc5841094a5c683bdad4fd4330a1da015506eaaa253c9cc0d7939aecd920e8d23ea06aec1b28e0eb211e1
data/.semver CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 1
4
- :patch: 2
4
+ :patch: 3
5
5
  :special: ''
6
6
  :metadata: ''
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ == v0.1.3 (16 August 2016)
2
+
3
+ * Allow spaces in the header delimiter row
4
+
1
5
  == v0.1.2 (16 August 2016)
2
6
 
3
7
  * Bump to play with Gem releases
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tableware (0.1.2)
4
+ tableware (0.1.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -25,7 +25,7 @@ class Tableware
25
25
  private def prepare_lines(input)
26
26
  lines = input.strip.lines
27
27
 
28
- @data_start = lines[1] =~ /^\s*[-=\|]+\s*$/ ? 2 : 0
28
+ @data_start = lines[1] =~ /^\s*[-=\| ]+\s*$/ ? 2 : 0
29
29
  if @data_start.nonzero?
30
30
  @headers = parse_line(lines[0])
31
31
  .map!(&:downcase)
@@ -1,5 +1,5 @@
1
1
  class Tableware
2
2
 
3
- VERSION = '0.1.2'.freeze
3
+ VERSION = '0.1.3'.freeze
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tableware
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Whittingham